Hi,
I have a strange case with my HASS running in a virtual DietPi machine (VMWare).
I have an Eco-Eye powerusage monitor with a serial interface, sending actual usage.
I have the serial interface available in my DietPi HASS VM and confirmed that the data is available at serial port ttyS0.
Using minicom -D /dev/ttyS0, I get the actual usage, updated every few seconds:
002.31
002.31
002.38
002.38
etc…
My configuration,yaml:
- platform: serial
#name: serial_input_ampere
serial_port: /dev/ttyS0
baudrate: 19200
Still, in HASS I now have a serial_sensor available, no error in the log, but state is ‘unknown’.
Any suggestions?
EDIT: configuration code, thanks to sjee