Air Things View Plus

No unit, just a number.

There are a few different model features and PM is valid model. I am also not sure what rssi is? I am thinking it has to do with hub to device communication speeds. ??

I think rssi is the wifi signal strength.

Received signal strength indication

2 Likes

Are you sure time is not available? It would be nice to know a time stamp of the values.

1 Like

Thank you, sir, for all of your work. Do you have a link to where I can send you some donation to buy you lunch or dinner, or whatever you want to do with it.

1 Like

Agreed! I'm happy to Paypal some funds for beer or lu ch money for your work!

1 Like

Try v0.0.6 of the device driver - should pull in the PMs and the as of time if the sensor supplies them.

This was a fun exercise, which is all the payment I need. Enjoy seeing what I can decipher and create.

2 Likes

Yup, that worked!

1 Like

I think the time might be a bit off…. :wink:

Just coming here to ask where it gets it’s time.

This is awesome! Thank you for your effort.

1 Like

Looks like the time value is a little off, going to drop it for now. - v0.0.7

I've added the capability to generate a custom tile for the dashboard to the device driver. In doing this I added code from a couple of libraries

https://raw.githubusercontent.com/thebearmay/hubitat/main/libraries/localFileMethods.groovy
https://raw.githubusercontent.com/thebearmay/hubitat/main/libraries/templateProcessing.groovy
which makes going to the Bundles tab and selecting Import from the URL
https://github.com/thebearmay/hubitat/raw/main/airthings/AirThings.zip
the easiest way to get the full set of updated code until I get it into HPM.

The custom tile option will be looking for a template in the HE File Manager. You can use the Tile Template Generator, code your own, or grab the sample code below (also available at https://raw.githubusercontent.com/thebearmay/hubitat/main/airthings/tileTemplate.txt) and store it in the file manager.

<table>
<tr><th>CO<sub>2</sub></th><td><%co2%></td></tr>
<tr><th>Humidity</th><td><%humidity%></td></tr>
<tr><th>Pressure</th><td><%pressure%></td></tr>
<tr><th>Radon</th><td><%radonShortTermAvg%></td></tr>
<tr><th>Temperature</th><td><%temperature%></td></tr>
<tr><th>VOC</th><td><%voc%></td></tr>
</table>
1 Like

I did the above and not seeing values in the tile.

Screenshot 2022-10-14 161636

Attribute is there, just need to create an attribute tile on your dashboard and select the html attribute. Although not seeing values...

I have hit refresh and the cycle time has happened many times

In just checking the device event table I have many entries for all other attributes but only the 1 for html when it first ran

Looks like html is not getting refreshed

Only see an event if it changes... but not pulling attribute values.

Nothing in the logs and I am not sure what to do next.

I found it... Pulled in the wrong template library. Try reimporting the bundle.

dev:6522022-10-14 04:43:35.440 pm errorjava.lang.NullPointerException: Cannot invoke method split() on null object on line 443 (method dataRefresh)

dev:6522022-10-14 04:43:35.431 pm errorRead Error: status code: 404, reason phrase: Not Found

dev:6522022-10-14 04:42:35.124 pm errorjava.lang.NullPointerException: Cannot invoke method split() on null object on line 443 (method dataRefresh)

dev:6522022-10-14 04:42:35.114 pm errorRead Error: status code: 404, reason phrase: Not Found

dev:6522022-10-14 04:42:32.210 pm errorjava.lang.NullPointerException: Cannot invoke method split() on null object on line 443 (method dataRefresh)

dev:6522022-10-14 04:42:32.182 pm errorRead Error: status code: 404, reason phrase: Not Found

dev:6522022-10-14 04:42:31.695 pm debugupdated()

dev:6522022-10-14 04:42:21.974 pm errorjava.lang.NullPointerException: Cannot invoke method split() on null object on line 443 (method dataRefresh)

dev:6522022-10-14 04:42:21.949 pm errorRead Error: status code: 404, reason phrase: Not Found

dev:6522022-10-14 04:42:12.262 pm errorjava.lang.NullPointerException: Cannot invoke method split() on null object on line 443 (method dataRefresh)

dev:6522022-10-14 04:42:12.212 pm errorRead Error: status code: 404, reason phrase: Not Found