I made this version because by trial and error I found out that a Homey source device can have different states. This is important for PBTH to handle errors and to (re)start polling or listening to source device updates.
It is mostly undocumented in the Athom docs, so I had to go through different scenario’s to find out.
I hope I have been able to tackle all scenario’s now:
The source device was once paired, but is deleted
The source device was paired, but the source app is not running
The source device is running, but is in a ‘unavailable’ state
The source device is running and available, but for some reason PBTH is not polling or listening to the source device
The source device is running and available, and PBTH is polling or listening to the source device
I have a solaredge modbus meter, and solar panels. Is it possible to also se the consumption “by the hour”? Now I only se my solar production. The device I added is connected to the solarEdge app
Thanks for a good app.
I’m not familiar with solar edge. But after some googling I see it is a 3 phase meter. If it can measure both production and consumption I assume the meter in the solar edge app will count up and down respectively. PBTH will simply show the net result per hour. This is both for production and consumption. But if the meter has a daily reset to 0 PBTH can only show a positive net result.
So I don’t know what your device reports, and I don’t know how the Homey solar edge app reports that data. PBTH simply uses the reported data and shows the net result every hour.
Can you share a screenshot of how the app is reporting production and consumption?
Your meter is resetting to 0 every midnight. So you need to figure out a virtual month start and year start that results in the correct values for you. I guess you need to set a negative value in the device settings for that.
First of all, thanks very much for all your effort and this nice app!
I know you’ve said before that you are not planning to make it calculate to euro’s in real time.
I know there is software like enelogic that does this already, but it would be so nice to add it to my homeydash as a device to watch it whenever I want on the dashboard (I’ve got the dashboard wall mounted running all day long)
If there is already another way to make a (virtual) device to create a tile that shows euro instead of kWh I would be very interested to learn how to do that.
And also, is there a way to make the tile update in real time? or per minute or so? instead of having to refresh the whole dashboard every time?