Hi jvdz,
Thank you! That worked a charm. The url works in a browser for ESPEasy. It now works in Domoticz. It's just an update to a MAX7219 LED display. So simple but I just couldn't figureit out.
Thank you again, Waaren and jvdz for helping me out.
Search found 4 matches
- Wednesday 11 July 2018 13:46
- Forum: Other questions and discussions
- Topic: Concatenating an URL with values from sensors.
- Replies: 19
- Views: 1555
- Wednesday 11 July 2018 13:29
- Forum: Other questions and discussions
- Topic: Concatenating an URL with values from sensors.
- Replies: 19
- Views: 1555
Re: Concatenating an URL with values from sensors.
Hi Waaren.
I tried your code and I get;
Error: EventSystem: in Portable LED Display: [string "-- Send Undercot Temp ..."]:6: attempt to index global 'domoticz' (a nil value)
I am using this in Events. I realise I didn't mention that before, does that make a difference?
I tried your code and I get;
Error: EventSystem: in Portable LED Display: [string "-- Send Undercot Temp ..."]:6: attempt to index global 'domoticz' (a nil value)
I am using this in Events. I realise I didn't mention that before, does that make a difference?
- Wednesday 11 July 2018 12:13
- Forum: Other questions and discussions
- Topic: Concatenating an URL with values from sensors.
- Replies: 19
- Views: 1555
Re: Concatenating an URL with values from sensors.
Hi Waaren, thanks for having a look for me. -- Variables baseurlESPEasy = "http://192.168.1.xx/control?cmd=" commandArray = {} if devicechanged['Undercot_Temperature'] then commandArray[1]={['OpenURL'] = baseurlESPEasy..'7dt,'..333 } end This works. I just can't figure out how to put a value from a ...
- Wednesday 11 July 2018 7:32
- Forum: Other questions and discussions
- Topic: Concatenating an URL with values from sensors.
- Replies: 19
- Views: 1555
Concatenating an URL with values from sensors.
Hi, I am running Domoticzs on a Synology NAS and I am trying to send a value to an ESPEasy LED display. I can send the dummy info, just as a straight number, e.g. commandArray[1]={['OpenURL'] = baseurlESPEasy..'7dt,'..333 } but I can't substitute a sensor value for the number, e.g. commandArray[1 ...