Deploying nukes.. v0.1.3
Yup, the nukes worked! It created my linked device and also my hub, got the values from the cloud - very nice!!!
Hmmm should have skipped the hub, what device type did it report? (Should be in the data block.)
Ah! I thought you might have just added it:
Itās both a hub and a detectorā¦
In that case Iāll leave it beā¦
Looks like the attributes arenāt filling correclyā¦ need to make a slight adjustment.
Using 0.02 driver and have set toggles to use Fahrenheit and pCi/L but not see the change.
Will you break the values out into different attributes?
Try re-importing v0.0.3 ā¦
You got the values seperated, just an error for the .celciusToFahrenheit() routine.
errorgroovy.lang.MissingMethodException: No signature of method: user_driver_thebearmay_Air_Things_Device_989.celciusToFahrenheit() is applicable for argument types: (java.math.BigDecimal) values: [22.1] on line 103 (method dataRefresh)
v0.0.4ā¦.
Thanks for all of your work on this. I am so happy to be getting this and rid of IFTTT.
I was wondering if it would make sense to round the radon setting to 1 decimal place like in the Air Things App. Just seems to flow better.
dang!
groovy.lang.MissingMethodException: No signature of method: java.math.BigDecimal.round() is applicable for argument types: (java.lang.Integer) values: [1]
Possible solutions: round(java.math.MathContext), find(), pow(int), power(java.lang.Integer), find(groovy.lang.Closure), and(java.lang.Number) on line 108 (method dataRefresh)
V0.0.5 BigDecimal trips me up everytime on that oneā¦
Nice work guys!
I've had a radon detector for quite a few years now-I think it's a Safety Siren, or something like that. The radon fan only uses 15 watts, but in an effort to save electricity, I thought I'd cycle the fan to keep the short term value under 4. It seems to work, now, at 12 hours on and 12 hours off.
Radon values vary over the course of the year though. It would be interesting to vary the fan's duty cycle to keep it under a set value, say 4.
My radon detector is in the basement.
This is awesome progress to see! I'll loan up the app and driver tonight as well.
Here in Canada was use the bq/m3 for radon so it would be great to have that as the unit displayed for radon levels.
I also have the Airthings Viewplus which is a hub and detector.
That did it. Fantastic! I am seeing a Time attribute with just AM, not sure what it is for.
Time really isnāt there - if you refresh the page (not the device) it will disapear; that being said it really shouldnāt be showing up. Same for a few of the others which brings me to the question what are the pmās and should they be showing up?
PMs are particul matter or something like thatā¦. Thereās two sizes of particles in the air that it will detect.
They disappeared when I refreshed the page, but those should be thereā¦
What unit does it use for the PMs?