mochard Cm15pro bash

All kinds of 'OS' scripts

Moderator: leecollings

Post Reply
webtense
Posts: 16
Joined: Friday 16 December 2016 14:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: barcelona,SPAIN
Contact:

mochard Cm15pro bash

Post by webtense »

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: No registered users and 0 guests