Page 1 of 1
Domoticz as slave
Posted: Wednesday 04 May 2022 12:33
by Denman1
Hello,
Is there a way to send existing devices via modbus to a PLC, for example I want to retrieve an existing temperature reading via a plc.
Thank you in advance
Re: Domoticz as slave
Posted: Wednesday 04 May 2022 12:51
by psubiaco
You can write a simple script that is activated when a device changes, and if the changed device is the temperature sensor of your interest, call an external program that send data to your PLC by RS485/Modbus.
Several libs for ModBus are available, in Linux. If Domoticz runs in windows/mac, maybe you'll find a modbus lib as well.
Regards.
Paolo
Re: Domoticz as slave
Posted: Wednesday 04 May 2022 22:23
by Denman1
Hello Paolo.
my knowledge of Domoticz/linux is not very good yet, I am more involved with PLCs.
Do you maybe have an example so I have something to start with.
thanks for your time
Dennis