Unresponsive Topic is solved
Moderators: leecollings, htilburgs, robgeerts
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Unresponsive
Dashticz became laggy and threw errors.. 'dashticz became unresponsive'.. and then ask to wait or cancel the operation. Thinking this was due to the fact that my DiskStation was using too many processes, I decided to move the webserver part to a RPi. After working with the default settings, I then put back the config and it worked... for a moment, then the same error about unresponsive returned.
I tried to get more info fro the developers tool on Chrome.
I tried to get more info fro the developers tool on Chrome.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 2291
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Unresponsive
That is the websocket connection. The websocket connection will stay open, and should be no problem.
Can you test with adding to CONFIG.js the following:
config['enable_websocket'] = 0
This will disable the websocket connection.
Sent from my SM-A320FL using Tapatalk
Can you test with adding to CONFIG.js the following:
config['enable_websocket'] = 0
This will disable the websocket connection.
Sent from my SM-A320FL using Tapatalk
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
Unfortunately, same problem ;(
btw. With Firefox I get the following.
btw. With Firefox I get the following.
Source map error: Error: request failed with status 404
Resource URL: http://192.168.0.8:8082/dist/bundle.js
Source Map URL: ical.min.js.map
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. bundle.js:1:67920
ReferenceError: alldevices is not defined
line 42 > scriptElement:83:7
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ bundle.js:53:83247
Source map error: Error: request failed with status 404
Resource URL: http://192.168.0.8:8082/dist/bundle.js
Source Map URL: ical.min.js.map
The script from “http://192.168.0.11:8080/json.htm?usern ... 1627889264” was loaded even though its MIME type (“application/json”) is not a valid JavaScript MIME type.
192.168.0.8:8082
The script from “http://192.168.0.11:8080/json.htm?usern ... 1627889266” was loaded even though its MIME type (“application/json”) is not a valid JavaScript MIME type.
192.168.0.8:8082
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 2291
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Unresponsive
The following message means something is wrong:
ReferenceError: alldevices is not defined
line 42 > scriptElement:83:7
Do you maybe use alldevices in your custom.js?
That may not work anymore ...
ReferenceError: alldevices is not defined
line 42 > scriptElement:83:7
Do you maybe use alldevices in your custom.js?
That may not work anymore ...
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
O. I see...
- Spoiler: show
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
unfortunately, after deleting those lines, Dashticz still becomes unresponsive.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
It looks like I've found it. When I removed all multigraph's the dashboard seems to work.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 2291
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Unresponsive
Interesting. Maybe it's the amount of data. How many graphs do you have? Can you check in DevTools how much graph data is received from Domoticz?
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
I only had one. Need to create it again. I'll try later tonight
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
This is what I have (from the readthedocs instrcutions)
- Spoiler: show
- Spoiler: show
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Unresponsive
Hi, I have just noticed that the readthedocs graph section for the latest beta needs updating.
https://dashticz.readthedocs.io/en/beta ... tom-graphs
The example multigraph should be updated as follows:
- Spoiler: show
I posted an example block config (and graph) of these changes. Link below. Hope it makes sense

https://www.domoticz.com/forum/viewtopi ... 20#p236733
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
going to take a look at it. 

Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
Now this gives a error in config.js. Time to do some troubleshooting.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
This one works
This one as well:
Code: Select all
blocks['multigraph_17'] = {
title: 'CPU, Memory & HDD',
devices: [ 491, 493, 495 ],
datasetColors: ['Red', 'Orange', 'Blue', 'Green', 'LightBlue', 'Aqua', 'Yellow', 'Purple', 'Pink'],
legend: true,
cartesian : 'linear',
graph: 'line',
lineFill: true,
drawOrderDay: ['v_491', 'v_495', 'v_493'],
drawOrderMonth: ['v_min_17', 'v_avg_17', 'v_min_18', 'v_max_17', 'v_avg_189', 'v_max_189', 'v_min_189', 'v_avg_18', 'v_max_18'],
legend: {
'v_491' : 'CPU',
'v_avg_491' : 'CPU avg',
'v_max_491' : 'CPU max',
'v_min_491' : 'CPU min',
'v_493' : 'MEM',
'v_avg_493' : 'MEM avg',
'v_max_493' : 'MEM max',
'v_min_493' : 'MEM min',
'v_495' : 'HDD',
'v_avg_495' : 'HDD avg',
'v_max_495' : 'HDD max',
'v_min_495' : 'HDD min'
}
}
Code: Select all
blocks['graph_1'] = {
title: 'My Power',
graph: ['line','bar','bar'],
custom : {
"last day": {
range: 'day',
filter: '24 hours',
data: {
nett: 'd.v+d.v2-d.r1-d.r2',
usage: 'd.v+d.v2',
generation: '-d.r1-d.r2'
}
},
"last 2 weeks": {
range: 'month',
filter: '14 days',
data: {
nett: 'd.v+d.v2-d.r1-d.r2',
usage: 'd.v+d.v2',
generation: '-d.r1-d.r2'
}
},
"last 6 months": {
range: 'year',
filter: '6 months',
data: {
nett: 'd.v+d.v2-d.r1-d.r2',
usage: 'd.v+d.v2',
generation: '-d.r1-d.r2'
}
}
},
legend: true,
datasetColors:['blue','red','yellow']
}
Last edited by EdwinK on Sunday 16 February 2020 22:47, edited 3 times in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Unresponsive
I am glad you have got it working 

"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Unresponsive
Those two in my previous post are working, but the outside_inside_temp one is still throwing errors.
For now I'm going to forget about it, and see if I can think about it some more tomorrow.
For now I'm going to forget about it, and see if I can think about it some more tomorrow.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Unresponsive
For latest betas there are some changes:
I suppose your device idx for your graph is 1.
You have to define your device and use the _idx fot the graph types in the custom section.
Code: Select all
blocks['graph_1'] = {
title: 'My Power',
devices: [1],
graph: ['line','bar','bar'],
custom : {
"last day": {
range: 'day',
filter: '24 hours',
data: {
nett: 'd.v_1+d.v2_1-d.r1_1-d.r2_1',
usage: 'd.v_1+d.v2_1',
generation: '-d.r1_1-d.r2_1'
}
},
"last 2 weeks": {
range: 'month',
filter: '14 days',
data: {
nett: 'd.v_1+d.v2_1-d.r1_1-d.r2_1',
usage: 'd.v_1+d.v2_1',
generation: '-d.r1_1-d.r2_1'
}
},
"last 6 months": {
range: 'year',
filter: '6 months',
data: {
nett: 'd.v_1+d.v2_1-d.r1_1-d.r2_1',
usage: 'd.v_1+d.v2_1',
generation: '-d.r1_1-d.r2_1'
}
}
},
legend: true,
datasetColors:['blue','red','yellow']
}
Blah blah blah
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Unresponsive
See updates this weekend for the graph:
https://www.domoticz.com/forum/viewtopi ... 05#p237105
https://www.domoticz.com/forum/viewtopi ... 05#p237105
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
Who is online
Users browsing this forum: No registered users and 1 guest