Thanks, well done , great work.
Virtual HTTP Light Devices, supporting RGB(WW), Dimmers, Switch and much more (Tasmota, ESP*, Shelly)
First of all I want to congratulate you for the excellent work!
It’s 5 stars!
Now I have a little problem,
Yesterday I installed a Shelly 2.5 to control two switches.
I added it to vera and the 1st switch is working 5 stars.
I can know the status of it and if someone turns on the light manually vera recognizes it …
Now on the 2nd switch I am not able to control it via the vera …
Is it because the IP of the shelly is the same?
I put exactly the same programming as the 1st switch.
In the shelly app it says that 1 is channel 1 and the other is channel 2!
But how do I program in Vera?
Channel assignment: channel 1: “0”, channel 2: “1”; adjust accordingly!
Try reloading the luup engine.
I deleted the device …
I created one again and went back to programming, but nothing … remains the same …
Well i don’t understand why it wouldn’t work, maybe @therealdb will have more help for you.
Have you tried using the link in a browser to see if it works from there.
I’m not home…
Right when I get home from work I try …
But thanks for the help!
Yep, try it in a browser. It should work.
I just tested it on the browser http: //192.168.xxxx/relay/1? Turn = on and it works, if it goes to Vera to turn it off he says he turned it off, but the light doesn’t turn off …
What can it be?
You have to post the variables, not the params.
AFAIK you have to use the correct case for the querystring part and this doesn’t seem correct. Turn=On vs turn=on
The urls looks correct to me.
all works when set to channel 1 “0”?
Have you set the out_on_url and off in the shelly settings for both channels?
What is the error showing on your screenshots?
I too suspect it’s something (else) weird going on, since the device will just call the URL. These virtual device are really simple.
if I run the link in the browser “http://192.168.1.101/relay/1?turn=on” the lights turn on and Vera changes the state everything is normal … but if you follow Vera off, the lights do not turn off and Vera appears as off …
What doe a call to http://yourdeviceip/settings return?
Now I’m at work and only at the end of the day can I see this information! I can barely say!
Thanks again for your help!