run switch script from another pi ?
Posted: Friday 19 October 2018 18:32
i have 4 pi's doing different stuff and want to run just one dashboard on pi 1
sending data (temp/hum) from the others to pi 1 should be no problem i just change the ip address in the script running on the others but how would i go about running a script in pi 1 domo to open & close a switch on pi 2,3,4 ? (i want to avoid using mqqt at the moment if i can until i get my head around it)
ie instead of this on pi 1 (192.168.8.30)
can i simply do something like this in pi 1 domo dashboard
not sure what the url structure would be ?
sending data (temp/hum) from the others to pi 1 should be no problem i just change the ip address in the script running on the others but how would i go about running a script in pi 1 domo to open & close a switch on pi 2,3,4 ? (i want to avoid using mqqt at the moment if i can until i get my head around it)
ie instead of this on pi 1 (192.168.8.30)
Code: Select all
script:///home/pi/domoticz/scripts/on1.shCode: Select all
http://192.168.8.31/scripts/on1.sh