Skip to content

vivekatoffice/axis-aq-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use case: To build a dashboard opensource maps for displaying Axis Air Quality Sensor data

Programming languages: Python, HTML, CSS, JavaScript

Use opensource maps: Leaflet

Light mode and dark mode toggle available.

Interface to add new sensor and remove sensor.

Dashboard should be responsive and should work on mobile devices.

Dashboard should be able to display the data from multiple sensors.

Data required from user8 to add device is IP address , Port , Password , https(basic auth)

Device related data is available using https://developer.axis.com/vapix/network-video/basic-device-information/

Read:

https://developer.axis.com/vapix/device-configuration/environmental-sensor/air-quality-api/

https://developer.axis.com/vapix/device-configuration/environmental-sensor/dashboard-stream-api/

Debugged the device and found that the device webpage using the websocket connection to get the data from the sensor.

wss://192.168.50.148/vapix/ws-data-stream?sources=events

{ "apiVersion": "1.0", "method": "events:notify", "params": { "notification": { "topic": "tnsaxis:AirQualityMonitor/Metadata", "timestamp": 1777441495061, "message": { "source": { "sensor_name": "D6310" }, "key": {}, "data": { "HeatIndex": "22", "PM4.0": "11.700000", "PM1.0": "8.700000", "CO2": "465", "VOC": "100.000000", "Humidex": "23", "Humidity": "35.950001", "Temperature": "23.090000", "AQI": "0", "PM10.0": "12.300000", "PM2.5": "10.500000", "NOx": "1.000000" } } } } }

Python based websocket subscription proof of concept:

https://github.com/orgs/AxisCommunications/discussions/263#discussioncomment-6966737

Virtual loan tool device details: AXIS M1055-L with AXIS D6210 Air Quality Sensor (https://www.axis.com/products/axis-d6210-air-quality-sensor)(Portcast enables simple connection to a system)

AXIS D6310 Air Quality Sensor Axis OS: 12.10.61

Get the virtual loan tool access to verify the websocket data as standalone device. https://www.axis.com/products/axis-d6310-air-quality-sensor

Set and Get the GPS data to D6310 Air Quality Sensor:

https://developer.axis.com/vapix/network-video/geolocation-api/

Demo

About

Use case: To build a dashboard opensource maps for displaying Axis Air Quality Sensor data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors