Page 4 of 5

Re: Dashticz - v3.4.0 Beta

Posted: Friday 28 February 2020 12:59
by RduPre
I even tried an empty custom.js and custom.css, but this doesn't help

Re: Dashticz - v3.4.0 Beta

Posted: Friday 28 February 2020 20:02
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!

Re: Dashticz - v3.4.0 Beta

Posted: Friday 28 February 2020 20:33
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?

Re: Dashticz - v3.4.0 Beta

Posted: Friday 28 February 2020 22:37
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

Re: Dashticz - v3.4.0 Beta

Posted: Friday 28 February 2020 22:53
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/

Re: Dashticz - v3.4.0 Beta

Posted: Saturday 29 February 2020 11:09
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 ???

Re: Dashticz - v3.4.0 Beta

Posted: Saturday 29 February 2020 11:16
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.

Re: Dashticz - v3.4.0 Beta

Posted: Saturday 29 February 2020 13:40
by Jimster
Hi clickadink and Lokonli, did you see my message in the Bugs section? Is it a bug?

Re: Dashticz - v3.4.0 Beta

Posted: Saturday 29 February 2020 13:54
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.

Re: Dashticz - v3.4.0 Beta

Posted: Saturday 29 February 2020 16:34
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.

Re: Dashticz - v3.4.0 Beta

Posted: Sunday 01 March 2020 16:05
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

Re: Dashticz - v3.4.0 Beta

Posted: Sunday 01 March 2020 17:16
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

Re: Dashticz - v3.4.0 Beta

Posted: Sunday 08 March 2020 17:51
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 978 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'
            }
        },
  	}
}

Re: Dashticz - v3.4.0 Beta

Posted: Sunday 08 March 2020 18:06
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


Re: Dashticz - v3.4.0 Beta

Posted: Sunday 08 March 2020 21:23
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.

Re: Dashticz - v3.4.0 Beta

Posted: Sunday 08 March 2020 22:17
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+

Re: Dashticz - v3.4.0 Beta

Posted: Sunday 08 March 2020 22:49
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;

Re: Dashticz - v3.4.0 Beta

Posted: Sunday 08 March 2020 22:59
by Gianni
that did it :-)

thx

Re: Dashticz - v3.4.0 Beta

Posted: Sunday 08 March 2020 23:07
by Lokonli
Do you maybe have Domoticz and Dashticz runnning on two different machines?

Sent from my SM-A320FL using Tapatalk


Re: Dashticz - v3.4.0 Beta

Posted: Sunday 08 March 2020 23:13
by Gianni
no on the same pi.
i haves setup dashticz manual on my var/www/html/dasticz folder and symlinking