Hello, I’m new to HA development. I’m still just playing, maybe I’m asking something simple. I’ve took a quick look on documentation, but didn’t find quick answers.
The only useful thing this device can do regarding integration is to send every x seconds simple Get request with with set of params - something like:
[servername]?Mac=$M&C1=$C1&C2=$C2
Where C1, C2 etc is the current value of the meeter. Request is configurable to the extend of naming parmams. It provides user/password possibility, but I’m not sure it is really working. We can forget about auth tokens.
The question is how (or where to start reading in a doc) to expose some service (if that is matters I’m using HA in docker on Synology NAS). Or what other strategy to use? Ideally make something useful not just for me.
The I’ll need to make this service create instances for each metric (but that is in documentation and in github examples).
I’m not sure it is proper use of persistent values (such as total value of meter this way). For electricity I’ve put device_class: “power”. But I don’t see device class for water or gaz in the docs.
Hi, so good job. I think you found the best way to explore ecodevice. xml of this material isn’t so good, but there are possibilities.
On the last line, you used T1_BASE for your calcul, but after many researches, and on my own ecodevice, this valor is many many time at “0”. T1_PPAP is better for more calcul.
I found other man who created automation for shelly detector: https://www.canaletto.fr/post/home-assistant-and-energie
I think it’s the way to calculate for 1h / 1day /1week / 1 month the consumption. But i haven’t enought competence to do them.
Hope it will help you for your futur upgrade