Page 2 of 2
Re: "Connection" issue between Dashticz and Domoticz
Posted: Wednesday 28 November 2018 11:13
by Lokonli
Minglarn wrote: ↑Wednesday 28 November 2018 10:07
I've got this...
You are using a recent beta. Good
Where are you in the debug process? (see one of my previous posts)
Step 1,2 3 or 4?
Re: "Connection" issue between Dashticz and Domoticz
Posted: Wednesday 28 November 2018 11:38
by rgroothuis
Lokonli wrote: ↑Wednesday 28 November 2018 11:09
rgroothuis wrote: ↑Wednesday 28 November 2018 10:26
Same problem on my side.
Screen Shot 2018-11-28 at 10.26.15.png
You are using the master version of Dashticz. The beta version is more robust, but probably requires you to make some changes in your CONFIG.js and/or custom.js. Especially with the font-awesome fonts.
Ok, thanks. I'm migrating to the Beta version now. How can I check which version I'm on?
Re: "Connection" issue between Dashticz and Domoticz
Posted: Wednesday 28 November 2018 12:05
by Lokonli
rgroothuis wrote: ↑Wednesday 28 November 2018 11:38
Lokonli wrote: ↑Wednesday 28 November 2018 11:09
rgroothuis wrote: ↑Wednesday 28 November 2018 10:26
Same problem on my side.
Screen Shot 2018-11-28 at 10.26.15.png
You are using the master version of Dashticz. The beta version is more robust, but probably requires you to make some changes in your CONFIG.js and/or custom.js. Especially with the font-awesome fonts.
Ok, thanks. I'm migrating to the Beta version now. How can I check which version I'm on?
If you have enabled the top bar then in the upper right you see the settings icon. If you press that one there is a tab 'info'. On that tab you see the dashticz version.
or:
you go to your dashticz folder. The file './version.txt' contains the version info.
but this only exists in beta, not yet in master

Re: "Connection" issue between Dashticz and Domoticz
Posted: Wednesday 28 November 2018 13:39
by rgroothuis
Great, thanks, useful information, this is what I'm getting from the version.txt file:
Code: Select all
{
"version": "2.4.6",
"branch": "beta",
"last_changes": "Small change in garbage name mapping rules to support Dordrecht",
"changelog" : {
"2.4.5": "Fix for cross origin issues with php",
"2.4.4": "Fix HVC garbage data",
"2.4.3": "Use local garbage.php module",
"2.4.2": "Merge PHP OV Module into Dashticz",
"2.4.1": "Merge PHP TV Module into Dashticz",
"2.4.0": "Upgrade to fontawesome 5.0.13"
}
}
So I'm on the beta version!
What is strange is that on the Mac Chrome browser I cannot reproduce that error anymore, but on the tablet using Fully Kiosk Browser I still have the same problem: "Domoticz error! Check your patch to .........."
Re: "Connection" issue between Dashticz and Domoticz
Posted: Wednesday 28 November 2018 14:11
by rgroothuis
I believe I found the problem, I get the error message on both the Mac Chrome browser as on the tablet.
I get the error when I change the light dimmer value, the slide bar, see screenshot

- Screen Shot 2018-11-28 at 14.08.49.png (69.33 KiB) Viewed 1278 times
I believe this is the bug we are discussing.
Re: "Connection" issue between Dashticz and Domoticz
Posted: Wednesday 28 November 2018 18:38
by Lokonli
rgroothuis wrote: ↑Wednesday 28 November 2018 14:11
I believe I found the problem, I get the error message on both the Mac Chrome browser as on the tablet.
I get the error when I change the light dimmer value, the slide bar, see screenshot
Screen Shot 2018-11-28 at 14.08.49.png
I believe this is the bug we are discussing.
Good!
The dimmer indeed creates a lot of network requests to Domoticz which may result in this error.
Probably it already is solved with the PR on github. See:
https://github.com/Dashticz/dashticz_v2/pull/405
We have to wait for Rob Geerts to releases a new beta version.
Re: "Connection" issue between Dashticz and Domoticz
Posted: Thursday 09 May 2019 16:35
by zwartje
Hi, first of all: when working it looks like a great project. But right now I am halted and need some help.
After a short while (plm 1 day) I keep getting the dreaded red line to check my config.
I installed last tuesday (on an rpi) so I am on the latest and greatest: 2.5.10 beta and PHP 7.0.33-0+deb9u3
My CONFIG.js:
var config = {}
config['domoticz_ip'] = '
http://192.168.1.42:8084';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
this config worked for a bit. Tried the connection to a test domoticz (latest version), als worked for a bit.
When I run a tcpdump I see NO traffic to the domoticz_ip configured.
If I configure stuff like buienradar in this CONFIG.js, that part works, not the domoticz.
This really stumps me... no communication whatsoever.
Re: "Connection" issue between Dashticz and Domoticz
Posted: Friday 10 May 2019 9:41
by zwartje
Ok, for prosperity:
Dashticz does NOT retrieve this data server side but tells the browser where to get it. I was trying to show dashticz from a remote tunneled connection with no path to the actual domoticz.
Coming home and testing it there it was ok. My bad but this could be useful to others; if you wish to open dashticz from the outside you also need to expose domoticz AND you have to make sure internal and extenal names and ports are useable.