FYI the IKEA BADRING Zigbee water sensor (only $10 each, very small) can be used to shut off the Phyn Plus valve with this integration… loving this integration! THANK YOU to everybody who contributed to this especially jordanruthe and MizterB!
I’d love to try to work on pulling the entity-linked consumption as shown in the Phyn app for a single day. I would like to be able to try to either create entities for each type (sink, shower, toilet) or somehow link them to other existing entities.
@shdw - in your work have you seen whether and what part of the phyn API might return this information?
Long story short, you could make an entity that aggregates and tracks hourly/daily consumption for the different types, but you couldn’t really record singular events.
I haven’t looked into the apis for this, but it would be trivial to figure it out. The way reporting works in home assistant, I haven’t felt like it would be worth the effort.
The problem is that the events happen in realtime but don’t get announced over the mqtt connection. So, the information would be received after the fact. Home assistant really only cares to record real time information, so you can’t retroactively add an event.
It has been some time since I’ve looked at this, so maybe something has changed on the HA front. But the only way to do it previously was in a way that breaks the HA architecture and make direct database calls, which integrations shouldn’t be doing.
Hi all-
Just wondering if internet connection is needed for the shutoff command.
Basically, if the internet goes out but my network is still up, will the shutoff command work?
I believe it uses the phyn api so if internet goes out it will not work