config['domoticz_ip']

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
casn
Posts: 13
Joined: Tuesday 29 January 2019 20:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

config['domoticz_ip']

Post 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?
casn
Posts: 13
Joined: Tuesday 29 January 2019 20:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: config['domoticz_ip']

Post by casn »

Could there be a caching issue? After trying various combinations, no connection at all. The IP address definitely is ok. Any tips?
casn
Posts: 13
Joined: Tuesday 29 January 2019 20:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: config['domoticz_ip']

Post 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🤔
casn
Posts: 13
Joined: Tuesday 29 January 2019 20:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: config['domoticz_ip']

Post 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:
joostnl
Posts: 68
Joined: Wednesday 03 February 2016 19:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: config['domoticz_ip']

Post by joostnl »

How do you securely reach your dashticz outside your network?
casn
Posts: 13
Joined: Tuesday 29 January 2019 20:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: config['domoticz_ip']

Post by casn »

So far no success on that one. On the other hand, not really important to me. Remote, i stay with Domoticz itself.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest