Re: Dashticz - v3.4.0 Beta
Posted: Friday 28 February 2020 12:59
I even tried an empty custom.js and custom.css, but this doesn't help
working again, thanks a lott!clinkadink wrote: ↑Thursday 27 February 2020 19:24The beta was updated to include this fix last night. Fingers crossed - this solves the refresh issue![]()
When did you perform the last update, before this one?
The last update was about 6 months ago.clinkadink wrote: ↑Friday 28 February 2020 20:33When did you perform the last update, before this one?
I have tried using your config.js, and it works fine - no errors. The only thing I didn't use from your config.js was your domoticz IP address, as mine is different.
Is there any error in dev tools when you press F12?
There have been quite a few changes to the Dashticz beta since then. For example, see this post:
So I am assuming you can access Domoticz via http://127.0.0.1:8080 from your browser ???RduPre wrote: ↑Saturday 29 February 2020 11:09 I started all over again. and reinstalled the latest beta version.
Everything was working with the default pages
backed up the default config.js and copied my config.js, result same error page.
Copied the backup original config.js, result the same error page page.
So this is strange right. Do I have to restart something ???
I followed you advise and started from scratch and add the pieces 1 by 1.clinkadink wrote: ↑Saturday 29 February 2020 11:16So I am assuming you can access Domoticz via http://127.0.0.1:8080 from your browser ???RduPre wrote: ↑Saturday 29 February 2020 11:09 I started all over again. and reinstalled the latest beta version.
Everything was working with the default pages
backed up the default config.js and copied my config.js, result same error page.
Copied the backup original config.js, result the same error page page.
So this is strange right. Do I have to restart something ???
If you can, then try enabling the minimum in your config.js, e.g. comment out everything apart from the essential settings, then build up from there. This will help isolate the issue.
Code: Select all
buttons.buienradar = {width:12, isimage:true, refreshimage:120000, btnimage: 'https://gadgets.buienradar.nl/gadget/zoommap/?lat=50.84833&lng=5.68889&overname=2&zoom=8&naam=Maastricht&size=3&voor=0', url: 'https://gadgets.buienradar.nl/gadget/zoommap/?lat=50.84833&lng=5.68889&overname=2&zoom=8&naam=Maastricht&size=3&voor=0'}
You can change url: 'https://gadgets.buienradar.nl/gadget/zo ... e=3&voor=0' to slide:3Vomera wrote: ↑Sunday 01 March 2020 16:05 I have on page 2 a small image of the rain radar specified with the buttons.buienradar.
On page 3 there is a bigger image of the radar. Is it possible when i tap on the image to go to the other page. url: 'buttons.page2' for exampleCode: Select all
buttons.buienradar = {width:12, isimage:true, refreshimage:120000, btnimage: 'https://gadgets.buienradar.nl/gadget/zoommap/?lat=50.84833&lng=5.68889&overname=2&zoom=8&naam=Maastricht&size=3&voor=0', url: 'https://gadgets.buienradar.nl/gadget/zoommap/?lat=50.84833&lng=5.68889&overname=2&zoom=8&naam=Maastricht&size=3&voor=0'}
Code: Select all
blocks['energie_grafiek'] = {
title: 'Energieverbruik',
devices: [76],
graph: ['line','bar','bar'],
datasetColors:['blue','red','yellow'],
legend: true,
displayFormats : {
minute: 'kk:mm',
hour: 'D MMM',
day: 'll',
week: 'ww',
month: 'MMM D',},
custom :{
"last 6 hours": {
range: 'day',
filter: '6 hours',
ylabels: ['watt'],
data: {
nett: 'd.v_76+d.v2_76-d.r1_76-d.r2_76',
usage: 'd.v_76+d.v2_76',
generation: '-d.r1_76-d.r2_76'
}
},
"last 12 hours": {
range: 'day',
filter: '12 hours',
ylabels: ['watt'],
data: {
nett: 'd.v_76+d.v2_76-d.r1_76-d.r2_76',
usage: 'd.v_76+d.v2_76',
generation: '-d.r1_76-d.r2_76'
}
},
"today": {
range: 'day',
filter: '24 hours',
ylabels: ['watt'],
data: {
nett: 'd.v_76+d.v2_76-d.r1_76-d.r2_76',
usage: 'd.v_76+d.v2_76',
generation: '-d.r1_76-d.r2_76'
}
},
"last week": {
range: 'month',
filter: '1 week',
ylabels: ['watt'],
data: {
nett: 'd.v_76+d.v2_76-d.r1_76-d.r2_76',
usage: 'd.v_76+d.v2_76',
generation: '-d.r1_76-d.r2_76'
}
},
"last month": {
range: 'year',
filter: '1 months',
ylabels: ['watt'],
data: {
nett: 'd.v_76+d.v2_76-d.r1_76-d.r2_76',
usage: 'd.v_76+d.v2_76',
generation: '-d.r1_76-d.r2_76'
}
},
}
}
Can you test 3.4.0 beta with adding the following to CONFIG.js:
Code: Select all
config['enable_websocket'] = 0;