Search found 4 matches
- Wednesday 03 February 2016 8:48
- Forum: LUA
- Topic: executing os command
- Replies: 8
- Views: 3824
Re: executing os command
Ye last night i did that, and works quite nice. Thing is its not only a colour - the whole string is hex and contains few other parameters like MAC address, ip etc. (https://www.domoticz.com/forum/viewtopic.php?f=51&t=7957#p57175) I was thinking that those could be put in description of device ...
- Wednesday 03 February 2016 0:30
- Forum: LUA
- Topic: executing os command
- Replies: 8
- Views: 3824
Re: executing os command
Thing is that next step i want is to get rgb from colour picker (or at least try it) so calling external script is not really i seek since its a. slower b. u cant push parameters that easy. Was thinking about lua script that is able to do it.
- Tuesday 02 February 2016 21:06
- Forum: LUA
- Topic: executing os command
- Replies: 8
- Views: 3824
Re: executing os command
i did try escape - its not working - script runs but nothing happens so i have no idea what went wrong
- Tuesday 02 February 2016 21:00
- Forum: LUA
- Topic: executing os command
- Replies: 8
- Views: 3824
executing os command
question is probalby easy but i cannot overcome problem here is the script i want to be run commandArray = {} if (devicechanged['SWRGB'] == 'On') then -- for i, v in pairs(otherdevices) do print(i, v) end os.execute('echo -ne "$(echo fbebfff9950000b959d6 | sed -e 's/../\\x&/g')" | nc -u -w1 192.168 ...