Closed sschwetz closed 1 year ago
I just published 0.9.10 - this reworked the code a bit to allow for additional modules (I was planning to do this anyway), and added in the basis for airlink support.
For now, I should have the temp and humidity working. Basis for PM sensors is in place, I just gotta figure out how to add them to the list for Homekit.
Give it a shot, and let me know if it works, thanks!
Hi, work has been hectic and I didnt get a notification for this, and just checked back. I have updated this plugin but get the following in the logs
[9/30/2023, 1:30:29 PM] [Airlink] Loaded homebridge-davis v0.9.50 child bridge successfully
/var/lib/homebridge/node_modules/homebridge-davis/index.js:120
.on("get", this.getPM2p5.bind(this));
^
TypeError: Cannot read properties of undefined (reading 'on')
at davis.getServices (/var/lib/homebridge/node_modules/homebridge-davis/index.js:120:5)
at BridgeService.createHAPAccessory (/var/lib/homebridge/node_modules/homebridge/src/bridgeService.ts:461:41)
at ChildBridgeFork.startBridge (/var/lib/homebridge/node_modules/homebridge/src/childBridgeFork.ts:175:46)
[9/30/2023, 1:30:29 PM] [Airlink] Child bridge process ended
To assist I have published the API here: http://14.202.65.230:1234/v1/current_conditions
There's something wrong with the PM2.5 reading - I'm not exactly sure what, however. Please leave the weather data open if you don't mind, so I can continue to work at it. In short term, I've disabled the PM2.5 data stream, will be uploading a interim module a little later, want to look at other bug first.
Turns out, Apple named it differently than the rest of the world, of course.
Works now. Unless something's weird on your end, I don't need the data anymore. Thank you for your help!
Thanks for doing this, working perfectly
Hi, would it be possible to add the davis airlink to be supported by this plugin.
API call is the same as weatherlink, and will return the below
This is returning Fahrenheit even though it is configured to be celsius in the app.
I would love to get the 2.5ppm and 10ppm counts in as homekit sensors