Besides the error you do an echo of its dtarting volume. You left out sibgle or doublequotes...
I saw you also checked rights... it looks like whats mentioned is a use or group... not sure which.
When you run the script manually within WinSCP, how are you connected? Which user.
Perhaps try that ...
Search found 10 matches
- Wednesday 16 March 2016 19:50
- Forum: PHP and all others
- Topic: Bash script error returned: 32256 synology
- Replies: 7
- Views: 5218
- Wednesday 16 March 2016 19:24
- Forum: PHP and all others
- Topic: Bash script error returned: 32256 synology
- Replies: 7
- Views: 5218
Re: Bash script error returned: 32256 synology
[quote="mavl"]I have the same error 32256 running a LUA-script from Domoticz on a Synology NAS. Where you able to solve it?
Hi mavl,
This works for me:
os.execute ("sh //volume1/@appstore/domoticz/var/scripts/Denon_Uitzetten.sh &")
But i also have problems with permissions. It look like my ...
Hi mavl,
This works for me:
os.execute ("sh //volume1/@appstore/domoticz/var/scripts/Denon_Uitzetten.sh &")
But i also have problems with permissions. It look like my ...
- Sunday 07 February 2016 14:02
- Forum: PHP and all others
- Topic: Bash: grep and bc Not working
- Replies: 5
- Views: 2237
Bash: grep and bc Not working
Hi,
On my bootstrapped Synology NAS ds212+ i installed:
IKPG:
- grep
- sed
- Bash
- bc
- Domoticz 2.4020
What happends:
I have a bash script with cmod 777 rights and there are zero hidden characters (cat -v) (user DOMOTICZ).
In a shell box like Putty or command box the script works just ...
On my bootstrapped Synology NAS ds212+ i installed:
IKPG:
- grep
- sed
- Bash
- bc
- Domoticz 2.4020
What happends:
I have a bash script with cmod 777 rights and there are zero hidden characters (cat -v) (user DOMOTICZ).
In a shell box like Putty or command box the script works just ...
- Sunday 31 January 2016 17:16
- Forum: PHP and all others
- Topic: Bash script error returned: 32256 synology
- Replies: 7
- Views: 5218
Bash script error returned: 32256 synology
Hi,
i made this script (with Dutch comments :lol: :)
#!/bin/bash
#-------------------------------------------------------------------------------------------------------
#Met dit script wordt het volume bij uitschakelen steeds verminderd met 0.5 tot -80 wat geheel uit is ...
i made this script (with Dutch comments :lol: :)
#!/bin/bash
#-------------------------------------------------------------------------------------------------------
#Met dit script wordt het volume bij uitschakelen steeds verminderd met 0.5 tot -80 wat geheel uit is ...
- Saturday 23 January 2016 20:41
- Forum: PHP and all others
- Topic: Show DENON AV reciever input in Text switch
- Replies: 61
- Views: 264643
Re: Show DENON AV reciever input in Text switch
Hi there,
I am not too familiar with sed but maybe this works:
sed -n -e 's/.*\<Power><value>\(.*\)<\/value>.*/\1/p' test.txt
Replace the values and txt file to suit your needs.
Hi Mooseknuckle,
It took me a day to get everything running :D i am not that good in programming but it works :D ...
I am not too familiar with sed but maybe this works:
sed -n -e 's/.*\<Power><value>\(.*\)<\/value>.*/\1/p' test.txt
Replace the values and txt file to suit your needs.
Hi Mooseknuckle,
It took me a day to get everything running :D i am not that good in programming but it works :D ...
- Wednesday 20 January 2016 18:49
- Forum: PHP and all others
- Topic: Show DENON AV reciever input in Text switch
- Replies: 61
- Views: 264643
Re: Show DENON AV reciever input in Text switch
Dear Mooseknuckle,
I am running Domoticz on a Synology NAS and get the following errors while i am trying to run the Denon.sh script
/volume1/cron$ sh /volume1/cron/denon.sh
0.413 ms
1
grep: invalid option -- 'P'
BusyBox v1.16.1 (2015-10-28 13:19:22 CST) multi-call binary.
Usage: grep ...
I am running Domoticz on a Synology NAS and get the following errors while i am trying to run the Denon.sh script
/volume1/cron$ sh /volume1/cron/denon.sh
0.413 ms
1
grep: invalid option -- 'P'
BusyBox v1.16.1 (2015-10-28 13:19:22 CST) multi-call binary.
Usage: grep ...
- Saturday 24 October 2015 17:33
- Forum: Show your projects
- Topic: Intergas Incomfort Heater control
- Replies: 103
- Views: 53545
Re: Intergas Incomfort Heater control
Sorry for the late response. Maybe you figured out already. I think I have the answer.
Your settings say the IP address of the lan2rf interface is 10.0.0.103.
On line 34 I think you also put the IP of the lan2rf interface. That should be the IP address of your domoticz installation.
Thanks for ...
Your settings say the IP address of the lan2rf interface is 10.0.0.103.
On line 34 I think you also put the IP of the lan2rf interface. That should be the IP address of your domoticz installation.
Thanks for ...
- Thursday 01 October 2015 19:20
- Forum: Show your projects
- Topic: Intergas Incomfort Heater control
- Replies: 103
- Views: 53545
Re: Intergas Incomfort Heater control
Another problem occurs,
If i change the currentlyset value in my living room(by app or physical) the system works for about 2 minutes and then i get this error in the Domoticz log. Also after a time the Thermostaat value is not changing, The icon changed to red (like there is no connection) while ...
If i change the currentlyset value in my living room(by app or physical) the system works for about 2 minutes and then i get this error in the Domoticz log. Also after a time the Thermostaat value is not changing, The icon changed to red (like there is no connection) while ...
- Wednesday 30 September 2015 20:29
- Forum: Show your projects
- Topic: Intergas Incomfort Heater control
- Replies: 103
- Views: 53545
Re: Intergas Incomfort Heater control
YES :D :D :D
I Fix my problem myself :-)
After you have copieed,changed the scripts and if the scripts are running(with the error i had), then you have to manually update(adjustment) the 2 Temp sensors each with a different value. (because 0 and 0 will be a nil value :-) )
Now i have to changed ...
I Fix my problem myself :-)
After you have copieed,changed the scripts and if the scripts are running(with the error i had), then you have to manually update(adjustment) the 2 Temp sensors each with a different value. (because 0 and 0 will be a nil value :-) )
Now i have to changed ...
- Tuesday 29 September 2015 19:53
- Forum: Show your projects
- Topic: Intergas Incomfort Heater control
- Replies: 103
- Views: 53545
Re: Intergas Incomfort Heater control
Hello,
Thanks for this great script but i have 2 errors and i don't know how to fix this:-(
Error: EventSystem: ...i/domoticz/scripts/lua/script_time_intergasincomfort.lua:56: attempt to perform arithmetic on field '?' (a nil value)
Error: EventSystem: ...domoticz/scripts/lua/script_device ...
Thanks for this great script but i have 2 errors and i don't know how to fix this:-(
Error: EventSystem: ...i/domoticz/scripts/lua/script_time_intergasincomfort.lua:56: attempt to perform arithmetic on field '?' (a nil value)
Error: EventSystem: ...domoticz/scripts/lua/script_device ...