Attached is a script I wrote to pull PurpleAir sensor data into a HS device. From https://www.purpleair.com/map
[ATTACH]n1424062[/ATTACH]
I read multiple stations and then put the average into HS.

You will need a single HomeSeer virtual device. If you configure it like the picture below it should give the best display.
I have attached the icons.
[ATTACH]n1424063[/ATTACH]

I pulled the icons from dzee's GitHub post and from his forums post here:
https://forums.homeseer.com/forum/ho...index-solution
I received a lot of information from that post.
The script file is documented and will need minor modifications for it to work on your system, like adding your deivceID number, and PurpleAir station numbers.
Remove the .txt extension and place in your scripts directory, use an event to call the script when you want.
I hope you like it.
thanks,
Scott
[ATTACH]n1424062[/ATTACH]
I read multiple stations and then put the average into HS.
You will need a single HomeSeer virtual device. If you configure it like the picture below it should give the best display.
I have attached the icons.
[ATTACH]n1424063[/ATTACH]
I pulled the icons from dzee's GitHub post and from his forums post here:
https://forums.homeseer.com/forum/ho...index-solution
I received a lot of information from that post.
The script file is documented and will need minor modifications for it to work on your system, like adding your deivceID number, and PurpleAir station numbers.
Remove the .txt extension and place in your scripts directory, use an event to call the script when you want.
I hope you like it.
thanks,
Scott
Comment