In HAbridge earlier and now when trying to update history value of sensor, I find that address 127.0.0.1 is not working. When i replace it with the static IP address of my RPI command, all is ok
when running command dz.devices(1987).updateHistory, it results in this error in the domoticz log:
2023-02-12 10:27:19.955 Error: Error opening url: http: //127.0.0.1:8080/json.htm?type=command¶m=udevice&idx=1987&nvalue=0&svalue=19.70122;19.70122;2023-02-12+22%3A00%3A00
when I call the same comnmand from my desktop computer in a web browser and use the static address, result is ok:
{
"status" : "OK",
"title" : "Update Device"
}
Because it is baked into the dzVents command, i cannot use the HABridge workaround to replace all 127.0.0.1 bij 192.168.0.123
Why is my 127.0.0.1 on the rpi different than it's static network address?
Any things I can check on my rpi?
why is 127.0.0.1 not working?
Moderator: leecollings
-
willemd
- Posts: 741
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.1
- Location: The Netherlands
- Contact:
Re: why is 127.0.0.1 not working?
In "settings", "system" tab did you include 127.0.0.1 in the local network ?
Re: why is 127.0.0.1 not working?
this is my setting of "Local Networks (no username/password):"willemd wrote: Sunday 12 February 2023 10:50 In "settings", "system" tab did you include 127.0.0.1 in the local network ?
Code: Select all
127.0.0.1;192.168.0.*;192.168.0.100-
willemd
- Posts: 741
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.1
- Location: The Netherlands
- Contact:
Re: why is 127.0.0.1 not working?
Is it a copy and paste error or is there a space in between http: and //127etc ?
Re: why is 127.0.0.1 not working?
is was a copy/paste.willemd wrote: Sunday 12 February 2023 11:19 Is it a copy and paste error or is there a space in between http: and //127etc ?
I have removed the .100 adrress at the end (which was double becuase of wildcard). Seems to work now. Thanks
Who is online
Users browsing this forum: No registered users and 1 guest