mochard Cm15pro bash

All kinds of 'OS' scripts
Post Reply
Posts: 16
Joined: Friday 16 December 2016 15:58
Target OS: Raspberry Pi
Domoticz version:
Location: barcelona,SPAIN

mochard Cm15pro bash

Post by webtense » Tuesday 13 March 2018 11:24

ood morning,

I'm using a script that runs when the device starts.

but I must do something wrong ..

sudo -u pi echo "pl a8 on" | nc localhost 1099 sleep 30 | sudo -u pi sudo -u pi echo "pl a8 off" | nc localhost 1099

the idea is to start A8 and after 30 seconds turn off

Post Reply

Who is online

Users browsing this forum: l0gic and 1 guest