Search found 5 matches
- Monday 28 September 2020 13:31
- Forum: Switches and Scenes
- Topic: Strange users in switch logs
- Replies: 1
- Views: 987
Strange users in switch logs
Hi, recently I found out one of my z-wave sensors was not working. after some investigation I found in the switch log of this sensor users with different script names switching the sensor on and off. further investigation revealed those users at several sensors. User is something like "EventSystem ...
- Sunday 02 April 2017 16:52
- Forum: LUA
- Topic: No JSON from script, only from browser
- Replies: 8
- Views: 2765
Re: No JSON from script, only from browser
@lonebaggie, you were totally right, I kept trying and funny enough for me the solution was removing the &.
Don't have a clue why this is not working with the commandArray['OpenURL'] but I'm happy this works with curl now.
thanks for your support
Don't have a clue why this is not working with the commandArray['OpenURL'] but I'm happy this works with curl now.
thanks for your support
- Saturday 01 April 2017 0:01
- Forum: LUA
- Topic: No JSON from script, only from browser
- Replies: 8
- Views: 2765
Re: No JSON from script, only from browser
reordering indeed fixed that part of the problem, funny thing is that still the json command is not executed but when I copy the string from the log and enter it in a browser it works like a charm. any other ideas?
- Thursday 30 March 2017 21:18
- Forum: LUA
- Topic: No JSON from script, only from browser
- Replies: 8
- Views: 2765
Re: No JSON from script, only from browser
Just went through my notes again . I also had issues with Json commands. Are you suffering from this<br abp="338"><br abp="339"> https://www.domoticz.com/forum/viewtopic.php?t=13906 <br abp="340"><br abp="341">LUa seems to produce an illegal character when sending some Json calls . I had to reorder ...
- Thursday 30 March 2017 10:40
- Forum: LUA
- Topic: No JSON from script, only from browser
- Replies: 8
- Views: 2765
No JSON from script, only from browser
Hi, I'm pretty new to Domoticz and scripting there so I hope someone can shine a light on this. In LUA I tried; 1. commandArray['OpenURL']='http://127.0.0.1:8080/json.htm?type=command¶m=addlogmessage&message=MESSAGE' 2. os.execute('curl -s "http://username:[email protected]:8080/json.htm ...