Now that I have bitten by the HA bug, I am looking at ways to automate more things in my house. But, I prefer wired over wireless where possible. And I am looking into using a Railduino PLC to connect over ethernet to HASS using modbus (over ethernet).
I do not have this setup yet, but am asking because I am researching what I am getting myself into if I do
The main thing I want to know now is this: I am replacing several toggle wallswitches to momentary switched. If those are connected to a PLC (railduino) input, who does the polling to see the state change or the momentary button? Is that somethings that is handled in the PLC, and gets send as a message/event to HASS. Or does HASS need to continuously poll the PLC (say at 10Hz to “catch” a 100+ms button press)?
Anyone with PLC+HASS experience that cares to share some knowledge and experience?