Changed IP address?? What does that mean?devros wrote: Friday 06 April 2018 11:21 any idea what could be this problem?
when tried setNightMode(), decreaseBrightness(), increaseBrightness()
i geturl link looks ok when i use it manually with changed IP adress it worksCode: Select all
EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua 2018-04-04 23:05:32.730 Error: Error opening url: http://127.0.0.1:8050/json.htm?param=nightlight&type=command&idx=514
in domoticz preferences is set 192.168.3.*,127.0.0.1
any idea whats wrong ?
its dzVents bug, domoticz problem, or something on my side
thanks
dZvents broken with 3.9165
Moderator: leecollings
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dZvents broken with 3.9165
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Re: dZvents broken with 3.9165
my domoticz ip is 192.168.3.167, so from other computer url
http://192.168.3.167:8050/json.htm?para ... nd&idx=514
works without problem
on, off switches on RGB lamp works without problem in dzVents, but when i use one of these functions setNightMode(), decreaseBrightness(), increaseBrightness()
its not working in dzvents... (2018-04-04 23:05:32.730 Error: Error opening url: .... ) message, weird is that url looks ok
http://192.168.3.167:8050/json.htm?para ... nd&idx=514
works without problem
on, off switches on RGB lamp works without problem in dzVents, but when i use one of these functions setNightMode(), decreaseBrightness(), increaseBrightness()
its not working in dzvents... (2018-04-04 23:05:32.730 Error: Error opening url: .... ) message, weird is that url looks ok
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dZvents broken with 3.9165
You have to make sure that 127.0.0.1 is allowed to access anonymous access in domoticz settings (under Local Networks). Then you should be able to use that same URL in a browser just like your 192.168... address. If not then something else is wrong.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Re: dZvents broken with 3.9165
yes, i already checked that...
in Domoticz / Local Networks:
192.168.3.*,127.0.0.*
but still have
now noticed one thing
cant be round bracket after 514 problem?
in Domoticz / Local Networks:
192.168.3.*,127.0.0.*
but still have
Code: Select all
Error: Error opening url: http://192.168.3.187:8050/json.htm?param=nightlight&type=command&idx=514)-- svetlo.setNightModecant be round bracket after 514 problem?
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dZvents broken with 3.9165
Please try the http://127.0.0.1:8050/json.htm?param=ni ... nd&idx=514 in the browser and do not change anything in dzVents runtime code.
The url you see in that error line is probably viewed in the log visible in the browser. Somehow that tries to recognize special characters and replace that. Better to look at the command-line logs and see if the url is not malformed there.
The url you see in that error line is probably viewed in the log visible in the browser. Somehow that tries to recognize special characters and replace that. Better to look at the command-line logs and see if the url is not malformed there.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Re: dZvents broken with 3.9165
hmmm but on domoticz server i have only command line with remote SSH access, so i cant test webpage url. Maybe with some terminal command ?
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dZvents broken with 3.9165
try with curl or wget
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Re: dZvents broken with 3.9165
with wget
Code: Select all
HTTP request sent, awaiting response... 401 Unauthorized
Username/Password Authentication Failed.
but domoticz url should work without pass&login on localhost if i have 192.168.3.*,127.0.0.* in domoticz/ local networks?
and why on/off functions works without problem? I saw some auth. code changes in github recently maybe its related ?
thanks
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dZvents broken with 3.9165
On/Off doesn't use use http calls because there is a direct interface back to Domoticz. But you should enter 127.0.0.1 without the * I believe.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Re: dZvents broken with 3.9165
yay problem solved... it was typo
in domoticz local networks i used ¨,¨ instead of ¨;¨ - * work without problem
really sorry.. i should buy glasses
thanks
in domoticz local networks i used ¨,¨ instead of ¨;¨ - * work without problem
really sorry.. i should buy glasses
thanks
Who is online
Users browsing this forum: No registered users and 1 guest