Switch gpio output on slave

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
barts2108
Posts: 25
Joined: Wednesday 17 June 2020 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Arnhem
Contact:

Switch gpio output on slave

Post by barts2108 »

I am wondering if it is possible to do the following.

Currently I have a pi 4 setup with Domoticz (beta channel) and it is working quite well so far. I have done some small lua scripts for the smart meter to send me the meter T1, T2 and gas values every sunday at 19:00:00 through telegram. All works fine.

Now I want to add the doorbell to an GPIO input (not sure yet how but assume here it will be a high pulse when the doorbell is pressed.

I want to make a slave Domoticz system in my bedroom where a an output will be switched on for a lamp.

When the doorbell is pressed, say a pulse of 1 or 2 seconds should trigger a script in the slave device. That script then should flash some light for 10 times or so, or until a button is pressed (connected to input of the slave).

Is such construction possible? I am most interested to know if a script can be triggered in a slave device. The scripting how to flash the light etc I can find out myself.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest