Hi,
I have been reading through the forums but cannot seem to figure out why this is not working.
I have a scene which turns on the light which is working fine. Now I would like to add a timer to it let's say 10 minutes. I have updated the scene and all works after 10 minutes the light shuts off as per timer.
also tested this using:
http://192.168.1.4:8080/json.htm?type=c ... itchcmd=On
I would like to have this button on my iphone so accoording to the instructions i created a virtual device with type switch on/off:
On action: http://192.168.1.4:8080/json.htm?type=c ... itchcmd=On
Off Action: 600 (equal to my to my scene 10 minutes)
I reduced all to 10 sec for my testing, hoever it does not work when i press the scene in the webif.
virtual switch goes to "On" light does not turn on as per On action command
After 10 seconds (as per instruction) the dummy switch goes to Off
I tried:
http://192.168.1.4:8080/json.htm?type=c ... itchcmd=On
http://192.168.1.4:8080/json.htm?type=c ... cmd=Toggle
http://192.168.1.4:8080/json.htm?type=c ... tchcmd=Off
but none of these work "On Action" however they all work through the browser, any ideas?
Cheers,
Hemant
Scene trigger not working
Moderator: leecollings
-
hemant5400z
- Posts: 114
- Joined: Monday 05 November 2018 17:41
- Target OS: Linux
- Domoticz version:
- Contact:
- jvdz
- Posts: 2445
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Scene trigger not working
What does the domoticz log show at the time the dummy is switched? Any errors for the On/Off actions?
Jos
Jos
-
hemant5400z
- Posts: 114
- Joined: Monday 05 November 2018 17:41
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Scene trigger not working
Hi,
I get the following:
Error opening url: http://192.168.1.4:8080/json.htm?type=c ... cmd=Toggle
While http://192.168.1.4:8080/json.htm?type=c ... cmd=Toggle works in my browser.
Hemant
I get the following:
Error opening url: http://192.168.1.4:8080/json.htm?type=c ... cmd=Toggle
While http://192.168.1.4:8080/json.htm?type=c ... cmd=Toggle works in my browser.
Hemant
-
hemant5400z
- Posts: 114
- Joined: Monday 05 November 2018 17:41
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Scene trigger not working
Hi,
Strange, i tried this Yesterday several times but nothing was working, no I do the same and no error and seems to be working.
Hemant
Strange, i tried this Yesterday several times but nothing was working, no I do the same and no error and seems to be working.
Hemant
- bewo
- Posts: 74
- Joined: Monday 13 July 2015 12:27
- Target OS: Linux
- Domoticz version: 2021.1
- Location: Bavaria - Germany
- Contact:
Re: Scene trigger not working
Is your iPhone in the same network and is there a authentication?
What happens if you open http://192.168.1.4:8080 from your phone?
I would prefer an ON-Link like: "http://localhost:8080/json.htm?type=c ... cmd=Toggle"
What happens if you open http://192.168.1.4:8080 from your phone?
I would prefer an ON-Link like: "http://localhost:8080/json.htm?type=c ... cmd=Toggle"
Individual projects:
Domoticz on a Intel Xeon Server | AeonLabs Z-Wave Gen.5 | RFXCOM RFXtrx433E USB | ESP-Wifi-Modules | Shellys
Wall-mounted 22" Touch Control Display (self construct) | LUA wind monitor| LUA heating control | and many many more :)
Domoticz on a Intel Xeon Server | AeonLabs Z-Wave Gen.5 | RFXCOM RFXtrx433E USB | ESP-Wifi-Modules | Shellys
Wall-mounted 22" Touch Control Display (self construct) | LUA wind monitor| LUA heating control | and many many more :)
- jvdz
- Posts: 2445
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Scene trigger not working
Are you using a Userid/Password login for your domoticz?
You could change the url to: http://127.0.0.1:8080/json.htm?type=com ... cmd=Toggle
..and ensure that 127.0.0.1 is in the Local Networks field in your setup. This avoids any need for UserId/Password.
Jos
You could change the url to: http://127.0.0.1:8080/json.htm?type=com ... cmd=Toggle
..and ensure that 127.0.0.1 is in the Local Networks field in your setup. This avoids any need for UserId/Password.
Jos
-
hemant5400z
- Posts: 114
- Joined: Monday 05 November 2018 17:41
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Scene trigger not working
Hi Yes,
That is probably why it is working
i had both 127.0.0.1, and 192.168.1.* in my config for some reason 192.168.1.x still requires a password while localhost works fine so issue is solved.
thanks!
That is probably why it is working
i had both 127.0.0.1, and 192.168.1.* in my config for some reason 192.168.1.x still requires a password while localhost works fine so issue is solved.
thanks!
Who is online
Users browsing this forum: No registered users and 1 guest