When I put that same luup line as the command in lua section of a scene (Also, execute the following Luup code:) it does not work when I manually run the scene…
I’m perplexed. I have been doing for years with other http get commands…
anything obvious?
could it be the scene is expecting a certain return response or code? whereas the test luup code doesn’t care?
I think the formatting is just the forum. I played around with deleting and reinserting the quotes in the Vera scene editor just to be sure. Also used notepad instead of MSWORD. No effect. I saw others threads on the pretty quote issue.
Its odd the exact same string works in the Vera LUUP test window but not as a line of LUUP code in a scene.
This same command works perfectly fine from a meshbot on EzloPlus (run as a http get).
The two forward slashes before cmd: was just a design choice at the other end. It could be anything that is just what I went with. Syntax is http://ipaddress//cmd:command+pwd:password
I think somehow it relates to the pasting of the quotes being the wrong character (curly quotes) and maybe I didn’t realize what had happened. I thought I had that covered but I guess not. I did tick the box in security tab “Enable potentially unsafe lua code, like wget and RunLua.” so maybe that was part of it.
Anyway another reason to move off of Vera to EzloPlus for my primary home. Ezlo handles HTML Gets/Puts much more elegantly. The AND NOT OR in meshbot triggers will save me a lot of cryptic LUUP code I have in Vera simply to create an AND function on the trigger. Just need to see more stability on Ezlo still for me to make the leap of faith…
Appreciate the help.
1 Like
Best Home Automation shopping experience. Shop at Ezlo!