Just thought I’d share my flows; perhaps it will inspire someone to do something similar.
My gas and electricity data is loaded into Domoticz (running on a Synology NAS) with a P1 cable. This data is queried by Homey every 15 minutes with this flow:
Check the calculations; I have created variables in Better Logic so I only have to update my actual gas and electricity price within the Better Logic App (and not in the flows). Also, all outcome is rounded to two decimals with the round() function.
Ordered in in China for € 8,62🙀Reviews were good, so hope it works ok. Will try to get the data with MQTT in Homey. But still have to figure out how MQTT exactly works. Have MQTT now running on my NAS. Testing this was waiting for the cable. Cable will arrive today. So hope i figure it out next week(or weeks😿)
Also still working on a script for my SolarPanels. Would be nice to combine all these data
I am curious how you have created the virtual devices which are displaying the values. I managed to get the data from domoticz and put this in the variable, I am unable to show this on a virtual switch. I am using the VD app for this, but especially for gas there is no capability??? I am pretty new to this all
@Eternity One more question and then I’ll leave you alone
In your example you can see the value on the “button” and in my case I have to hold button to see the value? Any specific settings I need to make to achieve this?
That’s because you see an image taken from Homeydash. Unfortunately in the official Athom dash, I can’t see the value either. I too have too push the button to see it.
@JPe4619 Really dirty, but it works The only thing is that you are limited (the maximum is the number 200 you can use, so converting to KwH works fine for me. Thanks