Hi,
I have a Denon Receiver which responds wonderfully to http requests. When i fire a command in the web browser, the receiver responds accordingly.
I made a switch to power the Denon on and Off. This works fine.
Then i wanted to expand the capabilities by creating a selector switch to change the source of the receiver.
In the actions pane i added the various urls to control the receiver. This does not work. The receiver does not respond to my requests.
Could it be that the selector switch does something to the urls which makes them unreadable for the receiver?
Here is an example of a url that works in the web browser but not from the selector switch:
http://192.168.1.244/MainZone/index.put ... eStatus%2F
Then i tried to fix this in blockly:
This also does not work, i think because the "Quoted" string is not recognized... when i tell blockly to look for != "Game" then the script fires and acts accordingly.
Any help would be greatly appreciated!
Selector switch URL's
Moderator: leecollings
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Selector switch URL's
Hi,
Did you change your switch type from "On/Off" to "Selector"?
This can cause problems. If so then try it again by creating a new switch from Dummy hardware type.
With your Blockly, try using the Selector "Level" in the If block:
If Selector = Level 20%
Sent from my SM-T820 using Tapatalk
Did you change your switch type from "On/Off" to "Selector"?
This can cause problems. If so then try it again by creating a new switch from Dummy hardware type.
With your Blockly, try using the Selector "Level" in the If block:
If Selector = Level 20%
Sent from my SM-T820 using Tapatalk
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Re: Selector switch URL's
Hi, thanks for your reply!StanHD wrote: ↑Monday 19 August 2019 1:01 Hi,
Did you change your switch type from "On/Off" to "Selector"?
This can cause problems. If so then try it again by creating a new switch from Dummy hardware type.
With your Blockly, try using the Selector "Level" in the If block:
If Selector = Level 20%
Sent from my SM-T820 using Tapatalk
I think i didnt change the type, but i will check tonight if making a new dimmer switch will do the trick.
I also tried the level percentages in blockly and this did not work..
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Selector switch URL's
Apologies, you're correct.
The "If" should work with the level name and the "Set" should work with the level name or level %. The below is working:-
Both "Kitchen Extract Manual" and "Extract Fan" are selector switches created from the Virtual Dummy hardware.
The "If" should work with the level name and the "Set" should work with the level name or level %. The below is working:-
Both "Kitchen Extract Manual" and "Extract Fan" are selector switches created from the Virtual Dummy hardware.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Selector switch URL's
@StanHD, does the set level name also works for labels other then Off ? (cannot test right now)
btw. Please use uploaded images ( the link might not work in the future )
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Selector switch URL's
@waaren, I don't think it does. I just looked through my Blockleys and in every instance (other than "off") I have used the Level %.
(I also use 0% to set switch to off)
I will find out about uploading images, thanks for the tip.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Selector switch URL's
OK, so here's some testing:-
Neither Set instructions work: Both Set instructions work
Both Set instructions work So I was incorrect (again ). When I analyzed my existing Blockleys that utilise "Off", I found them not working correctly. (I was sure they used to work), I stand corrected.
Neither Set instructions work: Both Set instructions work
Both Set instructions work So I was incorrect (again ). When I analyzed my existing Blockleys that utilise "Off", I found them not working correctly. (I was sure they used to work), I stand corrected.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Re: Selector switch URL's
Thanks for the reply's. They pointed me in the right direction
The substype of "Denon Source" was lightwave-RF and not Selector Switch.
I deleted the device and made a new one, after that i added the various url's.
Now evertything works as it should.
Thanks again!
Ps. Is it possible to mark this topic as solved?
The substype of "Denon Source" was lightwave-RF and not Selector Switch.
I deleted the device and made a new one, after that i added the various url's.
Now evertything works as it should.
Thanks again!
Ps. Is it possible to mark this topic as solved?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Selector switch URL's
As topic starter you should be able to do that yourself. Do you see the V symbol ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 0 guests