Virtual HTTP Light Devices, supporting RGB(WW), Dimmers, Switch and much more (Tasmota, ESP*, Shelly)

@therealdb
Hello!
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?

1 Like

http://192.168.xxx.xxx/relay/0?turn=on

Channel assignment: channel 1: “0”, channel 2: “1”; adjust accordingly!

https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.shelly-support.eu/lexikon/index.php%3Fentry-pdf-export/136-http-request-shelly-2-5/&ved=2ahUKEwirxKO1-7foAhXNTsAKHdfYDZsQFjAFegQIBRAJ&usg=AOvVaw1-zYk2RYSRiRfWwgqa0r1B

Hello!
Thanks for the answer!
I already made the change but still is not responding! :frowning:
It is a print

Try reloading the luup engine.

Already tried…
I deleted the device …
I created one again and went back to programming, but nothing … remains the same … :frowning:

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! :slight_smile:

Yep, try it in a browser. It should work.

Hello everyone

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?
Thanks

This is the “Params” page on Vera! Any bad config?

You have to post the variables, not the params.

Here goesimagem

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.
some questions
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.

Good morning guys!
In channel 1 everything works normal! I leave the switch one settings here!

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! :slight_smile:

you should be able to see all this in the shelly cloud app.