sandood / purpleairstation Goto Github PK
View Code? Open in Web Editor NEWPurpleAir Air Quality Station for SmartThings & Hubitat
PurpleAir Air Quality Station for SmartThings & Hubitat
First and foremost, thanks for all of your work!
I'm converting over from Smartthings to Hubitat and unable to get PurpleAir driver to work. New .14 version states a metadata error due to missing metadata capability "Air Quality Sensor" that was recently added to the code. Try to go back to .13 version and get missing method exception. This is after making the hubitat code modification in 2 places. Any thoughts or pointers would be appreciated. Exception below:
dev:2072019-03-26 04:19:07.295 pm errorgroovy.lang.MissingMethodException: No signature of method: user_driver_sandood_PurpleAir_Air_Quality_Station_322.asynchttpget() is applicable for argument types: (java.lang.String, java.util.LinkedHashMap) values: [purpleAirResponse, [uri:https://www.purpleair.com, path:/json, ...]] on line 259 (getPurpleAirAQI)
Hi there, thanks so much for this. Works awesome in the classic app! Anyway to update it for the new smartthings app?
PurpleAir now has an official REST API!
From the PurpleAir Facebook user group:
PurpleAir Users Group, here is a great little preview and early release for you. We now have a “proper” REST API!!
Documentation is at https://api.purpleair.com and please email [email protected] for keys if you want to play. It includes a cool “groups” feature where you can create your own lists of sensors that you are interested in.
Nice program.
As a feature suggestion: it would be useful to be able to trigger an event based on air quality. I only see temperature and humidity under "automation" (I am running the new smartthings app, so maybe that's the issue?).
Background: I have a whole house fan that I would love to turn off when the air quality (in this case smoke from CA fires) is poor. I went to bed the other night with an air quality reading of 5 and woke up with air at 187. Would have liked the fan to shut off before fumigating the house!
2019-04-12 12:30:24.448 pm errorjava.lang.NullPointerException: Cannot get property 'temp_f' on null object on line 485 (purpleAirResponse)
I have no clue when it comes to groovy... os i thought i'd create an issue
this is on hubitat version 2.0.8.113
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.