I noticed the lack of HomeKit support and was surprised to see no one had put together a Homebridge plugin yet. I took the liberty and put one together for everyone to use. Now you can make Apple Home automations based on some of your Tempest sensor readings.
It’s currently limited to a Temperature Sensor, Light Sensor and Fan (used to mock wind speed). It allows for flexibly for what temperature and wind speed readings you’d like to target.
Nicely done! We were just re-exploring creating a HomeBridge plug-in this week! (separate from our effort to build native HomeKit integration into the ProHub) Can’t wait to check yours out!
After updating to the latest version, I’m getting the following errors:
[5/20/2023, 12:20:04 PM] [WeatherFlow Tempest Platform] Adding new accessory: undefined
[5/20/2023, 12:20:04 PM] [WeatherFlow Tempest Platform] AssertionError [ERR_ASSERTION]: Accessories must be created with a non-empty displayName.
at new Accessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:491:11)
at new PlatformAccessory (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:71:9)
at WeatherFlowTempestPlatform.initAccessory (/usr/local/lib/node_modules/homebridge-weatherflow-tempest/src/platform.ts:266:25)
at WeatherFlowTempestPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-weatherflow-tempest/src/platform.ts:210:14)
at /usr/local/lib/node_modules/homebridge-weatherflow-tempest/src/platform.ts:95:16
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
generatedMessage: false,
code: ‘ERR_ASSERTION’,
actual: undefined,
expected: true,
operator: ‘==’
}
I have installed and reinstalled. Updated the settings. I’m not sure what I have done wrong.
The new 3.0.0 release is not backwards compatible and in most cases will require you to delete all your accessories and restart OR directly edit the Homebridge configuration JSON file.
Please share your configuration JSON file for the Weatherflow Platform and please redact any sensitive information.