Is it possible to create a specifical alert for a particular sensor (i.e. when the temperature drops below 25ºC or when PM2,5 reaches 25 ppm)?
Thanks,
Ferran
Is it possible to create a specifical alert for a particular sensor (i.e. when the temperature drops below 25ºC or when PM2,5 reaches 25 ppm)?
Thanks,
Ferran
Not at the moment via the website. But you could create your own shell script to query the API every X minutes and parse the values.
Example:
cronjob
on a linux server to call the script every X minutes or hour.curl
to get the data.Quick example you can try in a terminal:
curl https://api.smartcitizen.me/devices/5353 | jq '.data.sensors[2].value'