sinty/Siemens-LOGO-smart-home

Pyton code crash homeassitant

Opened this issue · 5 comments

Hi Sinty,
i'm very interesting to control Siemens Logo from HA, I placed your pyton script in config>/python_scripts/ folder to exposed as a service but HA was crashed.
i wroged?
how did you integrated in HA?
many thanks and best regards
Gabrio79

sinty commented

Hi Gabrio,
I use mqtt protocol to connect my logo controller to HA. My script works like gateway from siemens protocol to mqtt.
If you have modern version of logo controller you can use ModbusTcp directly from HA.
Please let me know your logo controller version and I will explain you how to connect it to HA.

Hi Sinty, many thanks for your very fast answer!
I have a new logo 8.fs4 12/24V.

On HA I already use mosquito to collect shellycloud sensors via MQTT, do you think that modbus is better?

sinty commented

Hi,
I think Modbus Tcp is most easy and reliable way to connect HA and Logo.

i tried with modbus, but nodered seems connected (modbus read) but nothing received :-(
image
image
image

suggestion?