Domoticz as slave

Moderator: leecollings

Post Reply
Denman1
Posts: 2
Joined: Wednesday 04 May 2022 12:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Domoticz as slave

Post 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
User avatar
psubiaco
Posts: 203
Joined: Monday 20 August 2018 9:38
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Italy
Contact:

Re: Domoticz as slave

Post 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
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
Denman1
Posts: 2
Joined: Wednesday 04 May 2022 12:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz as slave

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests