Page 1 of 1

Script execution from signals

Posted: Fri Mar 17, 2023 9:45 am
by marbo
I create my.sh script to /usr/local/share/telldus/scripts/sensorevent/
My script is:

Code: Select all

#!/bin/bash
echo "datatype: ${DATATYPE} timestamp: ${TIMESTAMP}" >> /folder/out.txt
Why this is not working?

EDIT: And yes, i have TelldusCenter 2.12 beta 8. So this one have to work?

Re: Script execution from signals

Posted: Fri Mar 17, 2023 9:45 am
by Zapper
I don't know if it is important in this case but it might need executable rights. so set the script to 755

Script execution from signals

Posted: Fri Mar 17, 2023 9:45 am
by marbo
Thanks for reply but i already do that and that one not help.

Re: Script execution from signals

Posted: Fri Mar 17, 2023 9:45 am
by Zapper
restarted telldusd ?

Re: Script execution from signals

Posted: Fri Mar 17, 2023 9:45 am
by marbo
Zapper wrote:restarted telldusd ?
Yep sure and i restart whole machine too and no help. :(

Re: Script execution from signals

Posted: Fri Mar 17, 2023 9:45 am
by Zapper
Hmm I'm going real far backwards here but have you switched to the unstable repo and updated to the beta ?

Re: Script execution from signals

Posted: Fri Mar 17, 2023 9:45 am
by marbo
I do clean install.

Re: Script execution from signals

Posted: Fri Mar 17, 2023 9:45 am
by murre87
marbo wrote:I do clean install.
Did you make it work? How?