Nettigo Air Monitor
Connecting Nettigo Air Monitor to 2minlog.
Componets
Nettigo Air Monitor is improved sensor coming from Sensor.community. It is intended for outdoor use. It can monitor:
- Temperature
- Pressure
- Humidity
- Particles in air - PM2.5 and PM10
It features
- Sensirion SHT30 sensor to measure temperature and humidity
- Bosch BME280 to mesaure pressure, humidity and temperature
- Nova Fitness SDS011 PM Air Quality Sensor to measure air particles PM2.5 and PM10
Data
It generates output in this form:
{
"esp8266id":"1234567",
"software_version":"NAMF-2020-46rc6",
"sensordatavalues":[
{
"value_type":"SDS_P1",
"value":"5.10"
},
{
"value_type":"SDS_P2",
"value":"3.10"
},
{
"value_type":"HECA_temperature",
"value":"25.70"
},
{
"value_type":"HECA_humidity",
"value":"39.38"
},
{
"value_type":"HECA_Tdc",
"value":"0.00"
},
{
"value_type":"HECA_RHdc",
"value":"0.00"
},
{
"value_type":"HECA_dc",
"value":"0.00"
},
{
"value_type":"BME280_temperature",
"value":"25.50"
},
{
"value_type":"BME280_pressure",
"value":"98408.27"
},
{
"value_type":"BME280_humidity",
"value":"37.62"
},
{
"value_type":"samples",
"value":"106008"
},
{
"value_type":"min_micro",
"value":"264"
},
{
"value_type":"max_micro",
"value":"72289"
},
{
"value_type":"signal",
"value":"-85"
}
]
}
Setup
Dataset setting:
- Create a new Dataset
- Go to settings of the Dataset
- Click on the settings icon
- Click on Rest Secret. It will generate a shorter secret string of 20 upper/lower case characters. Nettigo does not support 40 characters UUID strings.
- Rename the dataset to
Nettigo data
Nettigo: go to Home / COnfiguration / API. You need to set:
- Server:
api1.2minlog.com
(you cannot useapi.2minlog.com
, as Nettigo supports certificates, which are available onapi1
only) - Path:
/log
- Port: 443
- User: 2minlog
- Password: Dataset secret
Graph settings:
- Create a new graph
- Go to settings
- Set Dataset history to past two days:
2D
- Go to Set default data source and select
Nettigo data
- Copy/paste the code below
- Click on Deploy
Here is the complete code.
Independent display
Open URL in form of https://api.2minlog.com/img?graphPublic=GPUB-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
You can use https://imgtuner.com service to automatically display the image in full screen and refresh the image every 5 minutes. You can display the image under this URL: https://imgtuner.com/?img=https://api.2minlog.com/img?graphPublic=GPUB-xxxxx-xxxx-xxxx-xxxxxxxxxxxx.
It takes approximatelly 2s to generate the image and each image is 750 kB long. I.e., you can refresh the image every 5minutes and you still fit into Silver plan of 45 seconds per hour and 35 MB for download.
You can display it, e.g. on an old Android tablet.