Hi,
i have a switch with a script launched when it goes to On (an action)
I would like to know how to define the output of this script.
Indeed if a use script:///home/pi/domoticz/scripts/python/script.py >> /var/log/etat.log 2>&1 does not work.
Thank you for your help
How to save output script of a Light switch action
Moderators: leecollings, remb0
-
YellowSky
- Posts: 65
- Joined: Tuesday 12 May 2015 12:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Last
- Location: Belgium
- Contact:
Re: How to save output script of a Light switch action
By defaut, domoticz can't write to /var/log so first option is to give rights the second is to write into /home/pi/xxx where domoticz can write text
Who is online
Users browsing this forum: No registered users and 1 guest