I try to extract from my Electric meter (French Linky) my consumption date from serial port.
HA read the port with ‘plateform serial’ (this works)
HA refuse to create slave sensors for tagged data (something is clearly wrong in my config)
My meter format is a line format: ‘key-word’ (TAB) value1 (TAB) value2 …
I find few samples on this blog, but unfortunately I still fail to make it work as I want.
With following config. I create a sensor named ‘enedis’ that display the ASCII line send my my meter. But the slave sensor ‘va_instant’ is not create when at minimum I was expecting ‘VA waiting’
My current understanding is that:
serial create a sensor named ‘enedis’ that hold the full line
each time a new line arrive it apply the template
in template I may create as many sensors as I want depending on the filter I apply
I’ve done some progress. I now get the value display within sensors. Next issue is how to hide Serial sensor in dashboard because it lack a unique_id. Any idea on how hide serial sensor ?
I got a partial solution to render data from Enedis/Linky within HA energy dashboard.
Shifting to the new template with sensor ‘state_class’ I now get the data from my electric meter (French Linky) to be rendered within HA energy dashboard. Nevertheless I still fail to set a ‘unique-id’ to serial sensors and thus can not hide it from default builtin dashboard.