Page 1 of 1

config['domoticz_ip']

Posted: Monday 18 February 2019 19:45
by casn
I am using the beta version of Dashticz but encounter some strange behaviour with the domoticz_ip reference.
I have domoticz on a raspberry 3+ and dashticz on my normal webserver both on the same lan.
While on my own network, it works perfectly if I state the reference by IP-address like http://192.168.1.15:8080 or by domain like http://www.mydomain.nl:82 ( i have a forwarding rule to point http://www.mydomain.nl:82 to http://192.168.1.15:8080).
If I am outside my network, going to http://www.mydomain.nl:82, i end up on my Domoticz screen. So perfect as expected.
However if I go to http://www.mydomian.nl/dashticz, I get the message that my domoticz config is not correct.
This I can understand if I amusing the IP-address but would not expect this when using the domain name.
Any tips how to overcome this problem?

Re: config['domoticz_ip']

Posted: Saturday 23 February 2019 18:03
by casn
Could there be a caching issue? After trying various combinations, no connection at all. The IP address definitely is ok. Any tips?

Re: config['domoticz_ip']

Posted: Sunday 24 February 2019 12:26
by casn
I found the issue although have not resolved it yet. It is about "Mixed Content". If I run everything on ip-address over http, it works nicely. My domain goes automatically over https. So probably have to work with the network config on my domoticz system🤔

Re: config['domoticz_ip']

Posted: Monday 25 February 2019 19:18
by casn
Ended up excluding the Dashticz site from https via "rewrite" for Apache. Now working as expected😁👌
Alternative could be to setup Domoticz over https :mrgreen:

Re: config['domoticz_ip']

Posted: Tuesday 26 February 2019 20:29
by joostnl
How do you securely reach your dashticz outside your network?

Re: config['domoticz_ip']

Posted: Sunday 03 March 2019 11:25
by casn
So far no success on that one. On the other hand, not really important to me. Remote, i stay with Domoticz itself.