Dashticz - v3.4.0 Beta

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Dashticz - v3.4.0 Beta

Post by RduPre »

I even tried an empty custom.js and custom.css, but this doesn't help
madradrakie
Posts: 64
Joined: Wednesday 11 September 2019 21:24
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - v3.4.0 Beta

Post by madradrakie »

clinkadink wrote: Thursday 27 February 2020 19:24
madradrakie wrote: Wednesday 26 February 2020 19:39 thanks in advance! :D
The beta was updated to include this fix last night. Fingers crossed - this solves the refresh issue ;)
working again, thanks a lott!
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz - v3.4.0 Beta

Post by clinkadink »

RduPre wrote: Friday 28 February 2020 12:59 I even tried an empty custom.js and custom.css, but this doesn't help
When 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?
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Dashticz - v3.4.0 Beta

Post by RduPre »

clinkadink wrote: Friday 28 February 2020 20:33
RduPre wrote: Friday 28 February 2020 12:59 I even tried an empty custom.js and custom.css, but this doesn't help
When 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?
The last update was about 6 months ago.

What does your custom.css and custom.js look like?

I don't know what you mean with F12 dev tools

Thanks,
Rien
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz - v3.4.0 Beta

Post by clinkadink »

RduPre wrote: Friday 28 February 2020 22:37 The last update was about 6 months ago.
There have been quite a few changes to the Dashticz beta since then. For example, see this post:
https://www.domoticz.com/forum/viewtopi ... 40#p238198

From your browser, can you access Domoticz via http://127.0.0.1:8080, if not this will cause an error. If you can, I suggest a review of the current parameters/settings/changes for this beta here:
https://dashticz.readthedocs.io/en/beta/
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Dashticz - v3.4.0 Beta

Post by RduPre »

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 ???
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz - v3.4.0 Beta

Post by clinkadink »

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 ???
So I am assuming you can access Domoticz via http://127.0.0.1:8080 from your browser ???

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.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
Jimster
Posts: 82
Joined: Tuesday 04 February 2020 11:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Dashticz - v3.4.0 Beta

Post by Jimster »

Hi clickadink and Lokonli, did you see my message in the Bugs section? Is it a bug?
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz - v3.4.0 Beta

Post by clinkadink »

Jimster wrote: Saturday 29 February 2020 13:40 Hi clickadink and Lokonli, did you see my message in the Bugs section? Is it a bug?
Hi Jimster - I did. But since it doesn't seem to be a graph related issue, I thought I best leave to the expert ;)
I will reply on that thread though.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Dashticz - v3.4.0 Beta

Post by RduPre »

clinkadink wrote: Saturday 29 February 2020 11:16
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 ???
So I am assuming you can access Domoticz via http://127.0.0.1:8080 from your browser ???

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.
I followed you advise and started from scratch and add the pieces 1 by 1.
Now it's working as before. Thank you al for your feedback.
Vomera
Posts: 184
Joined: Wednesday 06 September 2017 9:11
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - v3.4.0 Beta

Post by Vomera »

I have on page 2 a small image of the rain radar specified with the buttons.buienradar.

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'}
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 example
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - v3.4.0 Beta

Post by HansieNL »

Vomera wrote: Sunday 01 March 2020 16:05 I have on page 2 a small image of the rain radar specified with the buttons.buienradar.

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'}
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 example
You can change url: 'https://gadgets.buienradar.nl/gadget/zo ... e=3&voor=0' to slide:3
Blah blah blah
madradrakie
Posts: 64
Joined: Wednesday 11 September 2019 21:24
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - v3.4.0 Beta

Post by madradrakie »

This afternoon i did a sudo apt-get update and the system installed php 7.4. Now my dashticz graphs only show the generation line and not the bars anymore. Only the last week and last month views still work. Does anybody know what happened?
Knipsel.JPG
Knipsel.JPG (157.91 KiB) Viewed 976 times

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'
            }
        },
  	}
}
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - v3.4.0 Beta

Post by Lokonli »

The graph module doesn't use PHP, so I don't think it's caused by the PHP 7.4 update. Maybe @clinkadink can help.

Sent from my SM-A320FL using Tapatalk

User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz - v3.4.0 Beta

Post by clinkadink »

I have just tried your graph block, but with my devices, and it works fine. The single line and two bars show for all range buttons.

If it was working correctly before the apt-get update, I don't think its a graph issue.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Dashticz - v3.4.0 Beta

Post by Gianni »

just upgrade to 3.4.0 beta.
got an error on loading with my config.

try with a clean install.
Screen just keep loading,no error but no dashticz.
Only ipadres in config js for testing,

go back to the previeus beta everything ok
running on a PI3+
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - v3.4.0 Beta

Post by Lokonli »

Gianni wrote: Sunday 08 March 2020 22:17 just upgrade to 3.4.0 beta.
got an error on loading with my config.

try with a clean install.
Screen just keep loading,no error but no dashticz.
Only ipadres in config js for testing,

go back to the previeus beta everything ok
running on a PI3+
Can you test 3.4.0 beta with adding the following to CONFIG.js:

Code: Select all

config['enable_websocket'] = 0;
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Dashticz - v3.4.0 Beta

Post by Gianni »

that did it :-)

thx
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - v3.4.0 Beta

Post by Lokonli »

Do you maybe have Domoticz and Dashticz runnning on two different machines?

Sent from my SM-A320FL using Tapatalk

Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Dashticz - v3.4.0 Beta

Post by Gianni »

no on the same pi.
i haves setup dashticz manual on my var/www/html/dasticz folder and symlinking
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest