# I created a Homebridge Plugin so you didn't have to

**URL:** <https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951>\
**Category:** Third-Party Integrations\
**Tags:** ios, tempest\
**Created:** [November 1, 2022, 3:28am UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951 "2022-11-01T03:28:52Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![chasenicholl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chasenicholl/32/14879_2.png) [@chasenicholl](https://community.tempest.earth/u/chasenicholl)\
**Post date:** [November 1, 2022, 3:28am UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/1 "2022-11-01T03:28:52Z")

</div>

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.

> **[homebridge-weatherflow-tempest](https://www.npmjs.com/package/homebridge-weatherflow-tempest)**
>
> Exposes WeatherFlow Tempest Station data as Temperature Sensors, Light Sensors, Humidity Sensors and Fan Sensors (for Wind Speed).. Latest version: 3.0.3, last published: 6 days ago. Start using homebridge-weatherflow-tempest in your project by...

Enjoy!

---

<div class="post-metadata">

**Author:** ![chasenicholl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chasenicholl/32/14879_2.png) [@chasenicholl](https://community.tempest.earth/u/chasenicholl)\
**Post date:** [November 1, 2022, 3:14pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/2 "2022-11-01T15:14:04Z")

</div>

I updated it to also include a Humidity Sensor. [homebridge-weatherflow-tempest - npm](https://www.npmjs.com/package/homebridge-weatherflow-tempest)

Enjoy!

---

<div class="post-metadata">

**Author:** ![chasenicholl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chasenicholl/32/14879_2.png) [@chasenicholl](https://community.tempest.earth/u/chasenicholl)\
**Post date:** [November 1, 2022, 7:22pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/3 "2022-11-01T19:22:45Z")

</div>

Plugin is now officially [Homebridge Verified](https://github.com/homebridge/homebridge/wiki/Verified-Plugins#verified-plugins). Enjoy!

---

<div class="post-metadata">

**Author:** ![dsj](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/dsj/32/3_2.png) [@dsj](https://community.tempest.earth/u/dsj)\
**Post date:** [November 1, 2022, 9:06pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/4 "2022-11-01T21:06:32Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![chasenicholl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chasenicholl/32/14879_2.png) [@chasenicholl](https://community.tempest.earth/u/chasenicholl)\
**Post date:** [November 1, 2022, 10:17pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/5 "2022-11-01T22:17:43Z")

</div>

Thanks @dsj! Let me know if you or your team have any ideas or if any of your Engineers would like to collaborate? Thanks!

---

<div class="post-metadata">

**Author:** ![lauraf13](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/lauraf13/32/7596_2.png) [@lauraf13](https://community.tempest.earth/u/lauraf13)\
**Post date:** [May 20, 2023, 5:34pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/6 "2023-05-20T17:34:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![chasenicholl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chasenicholl/32/14879_2.png) [@chasenicholl](https://community.tempest.earth/u/chasenicholl)\
**Post date:** [May 20, 2023, 6:22pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/7 "2023-05-20T18:22:26Z")

</div>

Hi!

I’m sorry to hear you are having an issue.

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.

Additionally you can report the issue and your config here: [Issues · chasenicholl/homebridge-weatherflow-tempest · GitHub](https://github.com/chasenicholl/homebridge-weatherflow-tempest/issues)

Thank you!

---

<div class="post-metadata">

**Author:** ![lauraf13](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/lauraf13/32/7596_2.png) [@lauraf13](https://community.tempest.earth/u/lauraf13)\
**Post date:** [May 20, 2023, 6:29pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/8 "2023-05-20T18:29:09Z")

</div>

I deleted the weather flow plugin and reinstalled because of it not being backwards compatible, but it didn’t seem to help.

Here is my configuration JSON file:  
{  
“name”: “WeatherFlow Tempest Platform”,  
“token”: “hidden,  
“station\_id”: hidden,  
“interval”: 10,  
“units”: “Standard”,  
“sensors”: [  
{  
“sensor\_type”: “Temperature Sensor”,  
“temperature\_properties”: {  
“value\_key”: “air\_temperature”  
}  
},  
{  
“sensor\_type”: “Humidity Sensor”,  
“humidity\_properties”: {  
“value\_key”: “relative\_humidity”  
}  
}  
],  
“platform”: “WeatherFlowTempest”  
}

---

<div class="post-metadata">

**Author:** ![chasenicholl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chasenicholl/32/14879_2.png) [@chasenicholl](https://community.tempest.earth/u/chasenicholl)\
**Post date:** [May 22, 2023, 3:11pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/9 "2023-05-22T15:11:38Z")

</div>

Hi @lauraf13 you are missing the “name” property. For your two Accessories you need to add a “name”: “” above each Sensor Type.

For example.

```auto
{
    "name": "WeatherFlow Tempest Platform",
    "token": "hidden",
    "station_id": hidden,   
    "interval": 10,
    "units": "Standard",
    "sensors": [
        {
            "name": "Outside Temperature",
            "sensor_type": "Temperature Sensor",
            "temperature_properties": {
                "value_key": "air_temperature"
            }
        },
        {
            "name": "Outside Humidity",
            "sensor_type": "Humidity Sensor",
            "humidity_properties": {
                "value_key": "relative_humidity"
            }
        }
    ],
    "platform": "WeatherFlowTempest"
}

```

Please let me know if that resolves your issue? Thank you.

---

<div class="post-metadata">

**Author:** ![lauraf13](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/lauraf13/32/7596_2.png) [@lauraf13](https://community.tempest.earth/u/lauraf13)\
**Post date:** [May 22, 2023, 3:23pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/10 "2023-05-22T15:23:44Z")

</div>

Yes, that fixed my issue. Thanks for your help.

---

<div class="post-metadata">

**Author:** ![chasenicholl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chasenicholl/32/14879_2.png) [@chasenicholl](https://community.tempest.earth/u/chasenicholl)\
**Post date:** [May 22, 2023, 3:26pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/11 "2023-05-22T15:26:30Z")

</div>

Additionally for anyone else who runs into this. We just released a `3.0.1` patch that should prevent this happening to others. Thanks for the feedback!

---

<div class="post-metadata">

**Author:** ![wimleers](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/wimleers/32/15871_2.png) [@wimleers](https://community.tempest.earth/u/wimleers)\
**Post date:** [August 28, 2023, 7:26am UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/12 "2023-08-28T07:26:09Z")

</div>

Thanks for this plugin! It _works well_ but is not integrated as _deeply_ into HomeKit as I’d like 😇

I found [GitHub - naofireblade/homebridge-weather-plus: A comprehensive weather plugin for homebridge.](https://github.com/naofireblade/homebridge-weather-plus) and saw that somebody was working on a PR that added _local_ Tempest Weatherflow support … and I reviewed it and helped convince the maintainers to merge it. That Homebridge plugin supports multiple weather services, has been around for a very long time and has hence had the opportunity to mature much more.

Tempest Weatherflow support has been available in the `3.3.0` release since a month and works very well — give it a try: [Release 3.3.0 · naofireblade/homebridge-weather-plus · GitHub](https://github.com/naofireblade/homebridge-weather-plus/releases/tag/v3.3.0) 😊

_Much_ more detail, much more control, but you will need to use the Eve, Home+ or Controller app to set up automations using it. If you don’t want that, if you specifically only want to use Apple’s default Home app, then this plugin is possibly preferable.

I’m curious if the author of _this_ plugin sees opportunities to improve things in _that_ plugin so we could join forces? 🤞

(I just figured it’d have been much more effort to figure out all the details that other plugin has figured out over the course of the last _seven_ 😮 years and port that into this plugin than it was to add support for Tempest Weatherflow. There’s only so much free time we all have, so reducing the collective effort to maintain this is rather important to ensure long-term supportability!)

---

<div class="post-metadata">

**Author:** ![chasenicholl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chasenicholl/32/14879_2.png) [@chasenicholl](https://community.tempest.earth/u/chasenicholl)\
**Post date:** [November 8, 2023, 1:12am UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/14 "2023-11-08T01:12:09Z")

</div>

Thanks for the feedback. I’d be happy to contribute to the `homebridge-weather-plus` plugin (I use it myself 😀). However, I do intend to continue supporting my very lightweight and single focus plugin for WeatherFlow Tempest. We are also about to release local API support! Thanks.

---

<div class="post-metadata">

**Author:** ![leo.corvino](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@leo.corvino](https://community.tempest.earth/u/leo.corvino)\
**Post date:** [December 17, 2024, 6:37pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/15 "2024-12-17T18:37:48Z")

</div>

Hi @chasenicholl,  
Thanks so much for your plugin!  
I’m having a bit of trouble using it to start automations in case of rain.  
Could you point me in the right direction with the settings I’ve attached?  
Thanks again,  
Leo

```
    "sensors": [
        {
            "name": "Pioggia",
            "sensor_type": "Occupancy Sensor",
            "occupancy_properties": {
                "value_key": "precip",
                "trigger_value": 0.01
            },
            "contact_properties": {
                "trigger_distance": 0
            }

```

 ![Screenshot 2024-12-17 at 19.31.48](https://us1.discourse-cdn.com/flex020/uploads/sws/original/3X/f/0/f00bec7a408ced04d0d60f48b1751ebf07510b2e.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/sws/original/3X/9/5/954d64c24c1612a76fabaaa3298be78bac443b7f.png) [@system](https://community.tempest.earth/u/system)\
**Post date:** [June 10, 2026, 6:38pm UTC](https://community.tempest.earth/t/i-created-a-homebridge-plugin-so-you-didnt-have-to/18951/16 "2026-06-10T18:38:45Z")

</div>

This topic was automatically closed 540 days after the last reply. New replies are no longer allowed.
