Page 2 of 2
Re: setcolor results in openurl 0.0.0.0:80
Posted: Monday 25 March 2024 13:54
by ravaoo
Kedi wrote: ↑Monday 25 March 2024 11:40
What's the output of
when you ssh into your NAS
it should be something like
Code: Select all
0f788fe90201 domoticz/domoticz:latest "docker-entrypoint.s…" 45 hours ago Up 45 hours 443/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp
Special IP 0.0.0.0:<port> should be present.
Output of
Code: Select all
73529c86a201 domoticz/domoticz:latest "docker-entrypoint.s…" 30 seconds ago Up 28 seconds 443/tcp, 8080/tcp, 0.0.0.0:8082->80/tcp, :::8082->80/tcp domoticz
Re: setcolor results in openurl 0.0.0.0:80
Posted: Monday 25 March 2024 18:31
by waltervl
You could try to add 127.0.0.* in the Domoticz trusted network settings.
Perhaps also add localhost.
Also be sure you do not have spaces in the trusted network list of IP's
Re: setcolor results in openurl 0.0.0.0:80
Posted: Monday 25 March 2024 18:38
by Kedi
What docker version are you running?
I have version 20 and version 25 running. An upgrade from version 25 to 26 gave some problems with my Raspberry Pi4B (64 bits), so I reverted back to 25.
Re: setcolor results in openurl 0.0.0.0:80
Posted: Monday 25 March 2024 18:55
by Kedi
I ran netstat -tulpn inside the container and I got this response.

- 25.03.2024_18.53.54_REC.png (15.84 KiB) Viewed 480 times
Perhaps you could check if it is somewhat the same.
If you do not have netstat available, install it inside the container with:
Re: setcolor results in openurl 0.0.0.0:80
Posted: Tuesday 26 March 2024 10:12
by ravaoo
Kedi wrote: ↑Monday 25 March 2024 18:38
What docker version are you running?
I have version 20 and version 25 running. An upgrade from version 25 to 26 gave some problems with my Raspberry Pi4B (64 bits), so I reverted back to 25.
i run version : Docker version 20.10.23, build 876964a (is part of container manager on synology nas)
Re: setcolor results in openurl 0.0.0.0:80
Posted: Tuesday 26 March 2024 10:39
by ravaoo
I cant install net-tools. Maybe this is related to my problem
Re: setcolor results in openurl 0.0.0.0:80
Posted: Tuesday 26 March 2024 14:16
by Kedi
You should be able to install net-tools inside the container, because I use the same, and it was no problem with my container.
Search for: docker bash into container to know how. e.g. sudo docker exec -it <mycontainer> bash
I also have in one of my setups Domoticz running in Docker on my Synology NAS.
Re: setcolor results in openurl 0.0.0.0:80
Posted: Tuesday 26 March 2024 16:02
by waltervl
Again, what are your trusted network settings? If not correct you get the same error....
Re: setcolor results in openurl 0.0.0.0:80
Posted: Wednesday 27 March 2024 11:39
by ravaoo
waltervl wrote: ↑Tuesday 26 March 2024 16:02
Again, what are your trusted network settings? If not correct you get the same error....
I tried the folowing settings:
172.20.0.*
0.0.0.0
172.20.0.*,127.0.0.*
127.0.0.*
172.20.0.*,127.0.0.*,0.0.0.0,local
local
local,LOCAL
172.20.0.*,127.0.0.*,0.0.0.0,local,LOCAL
also <blank>
All with the same error
Re: setcolor results in openurl 0.0.0.0:80
Posted: Friday 05 April 2024 12:19
by ravaoo
I don't understand wat is the problem but found a way around it by using the Hue API.
Code: Select all
domoticz.openURL({
url = 'https://10.1.2.52/api/xxx/lights/17/state',
method = 'PUT',
postData = { on = true, sat = 254 , bri = 254 , hue = 1000 },
callback = 'return',
})
I now can change color of my lamp. I made a color tabel to choose the right hue value.