ronaldombre / ReBrewie

Custom, Open-Source firmware for the Brewie B20+ (and maybe B20)
MIT License
11 stars 5 forks source link

Home Assistant Plugin - Expose sensor, valve and brew step state information #13

Open zymotik opened 8 months ago

zymotik commented 8 months ago

I'd like to develop an open source Home Assistant plugin for Brewie's so that we can see the current status of a brew and even setup automations. For example, imagine if a house light turns on when the brew is finished, you receive an alert from the Home Assistant app or you could automatically start an external cooling pump. This is all possible with Home Assistant.

My first step would be to get all the sensor, valve and brew status information and make it available to Home Assistant. Preferably this would be broadcast from the Brewie, but I could use polling to query the Brewie if it's far easier.

Second would be to publish events to the Brewie.

Considering step one first, do you have any tips on how I could achieve this please? I remember there used to be an app that could connect to the local Brewie and show state. How did this work?

Thank you for all your hard work to make my machines continue to function!