Page 108 of 184

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 17:13
by EdwinK
I'm trying to switch the title and data from a switch. Normally I would to something like this:

Code: Select all

blocks['139_2'] = {}
blocks['139_2']['title'] = 'Luchtvochtigheid';
blocks['139_2']['switch'] = true;
blocks['139_3'] = {}
blocks['139_3']['title'] = 'Baro';
blocks['139_3']['switch'] = true;
But in this case it isn't working. It might not be possible

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 17:16
by crashingdutchman
Ierlandfan wrote:
crashingdutchman wrote:Would anyone be interested in adding Flightradar24 to his dashboard? I have this setup now and it seems to work nice, although I would like to be able to remove the left part of that site.Image
I was playing with that also. I use this:

frames.flightradar = {height:250,frameurl:"https://www.flightradar24.com/52.8,5/10",width:12}
Gives you the Northern part of Holland. No menu on the left side for me.

Edit, found a better source (thanx to Vliegveld Middenmeer)

https://www.flightradar24.com/simple?la ... 2=altspeed

If you want all aiprplanes you have to delete maxspeed and minspeed. If you only want light aircraft like Microlights, gliders, Cessna, Piper and that kind of airplanes leave them in place.
The 'simple' site where you link to in your edit is not supported anymore by FR24. It works now, but might not work in the future. I noticed that the menu on the left is not there if the screen resolution is smaller.

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 17:55
by jake
how to pull from the beta instead of the stable version? I now use 'git pull', but wat command should I use for pulling the beta?

Verstuurd vanaf mijn K00C met Tapatalk

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 18:10
by EdwinK
I would make a backup of ALL changed file, CONFIG.js custom.css and custom.jss

Then I deleted the dasthicz folder and

Code: Select all

git clone https://github.com/robgeerts/dashticz_v2.git
To check if it's really the beta, you can do

Code: Select all

 git branche
Hope this helps.

(changed a bit)

Re: RE: Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 18:21
by jake
EdKo66 wrote:I would make a backup of ALL changed file, CONFIG.js custom.css and custom.jss

Then I deleted the dasthicz folder and then on https://github.com/robgeerts/dashticz_v2/tree/beta and after that a

Code: Select all

git clone https://github.com/robgeerts/dashticz_v2.git
To check if it's really the beta, you can do

Code: Select all

 git branche
Hope this helps.
I don't understand your line to go "https://github.com/robgeerts/dashticz_v2/tree/beta" what to do there?

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 18:23
by HansieNL
EdKo66 wrote:I would make a backup of ALL changed file, CONFIG.js custom.css and custom.jss

Then I deleted the dasthicz folder and then on https://github.com/robgeerts/dashticz_v2/tree/beta and after that a

Code: Select all

git clone https://github.com/robgeerts/dashticz_v2.git
To check if it's really the beta, you can do

Code: Select all

 git branche
Hope this helps.
In addition to your response:

Run command from your Domoticz www folder and change dashticz if you wanna install to subfolder with other name
git clone https://github.com/robgeerts/dashticz_v2.git --branch beta dashticz

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 18:26
by EdwinK
Easier

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 18:29
by mlamie
It looks like the beta version doesn't refresh the Domoticz icons (need to do a browser refresh), The stable version does. Is there a known issue there?

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 19:00
by HansieNL
mlamie wrote:It looks like the beta version doesn't refresh the Domoticz icons (need to do a browser refresh), The stable version does. Is there a known issue there?
Already reported in Dashticz - Bug report https://www.domoticz.com/forum/viewtopi ... 67&t=17427.
Thanks for asking.

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 22:22
by lukev
Hi all, is there a way to fix the output of a graph in 'last month'? It always flips back to 'today' (which isn't actually a day but a few days...)

Re: Dashticz - General Discussions

Posted: Saturday 06 May 2017 22:27
by EdwinK
lukev wrote:Hi all, is there a way to fix the output of a graph in 'last month'? It always flips back to 'today' (which isn't actually a day but a few days...)
I don't think so. At least, I've seen this for quite some time nowIt might be on Rob's to-do-list.

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 9:12
by tontze
Hi !

I was trying to get Wikis weather frame to work, but it makes screen blank .. I have done as wiki says :

Code: Select all

var frames = {}
frames.weather = {refreshiframe:10000,height:500,frameurl:"http://iltasanomat.weatherproof.fi/tutka.php?map=Etel%C3%A4-Suomi",width:12}

columns[1]['blocks'] = [frames.weather];


Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 15:03
by robgeerts
htilburgs wrote: Error:
About the error, I can confirm that when you have var _STANDBY_AFTER_MINUTES = false; then you get this error. Something is wrong in the main.js file. I wil notice @robgeerts for this.

Put the var _STANDBY_AFTER_MINUTES = 10; than the error is gone for the moment.
Fixed in latest beta!

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 15:05
by robgeerts
mlamie wrote:It looks like the beta version doesn't refresh the Domoticz icons (need to do a browser refresh), The stable version does. Is there a known issue there?
Please test this in latest version!

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 15:14
by EdwinK
Hurray.. new updates :)

*goes doing a "git pull"*

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 15:16
by mvveelen
Great, Rob is back with a few fixes :) :)

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 15:17
by blacksn0w
robgeerts wrote:
mlamie wrote:It looks like the beta version doesn't refresh the Domoticz icons (need to do a browser refresh), The stable version does. Is there a known issue there?
Please test this in latest version!
Still not working here, have to refresh site to get updated device state.

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 15:18
by mvveelen
blacksn0w wrote:
robgeerts wrote:
mlamie wrote:It looks like the beta version doesn't refresh the Domoticz icons (need to do a browser refresh), The stable version does. Is there a known issue there?
Please test this in latest version!
Still not working here, have to refresh site to get updated device state.
Same here, unfortunately.

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 16:10
by koowee
tontze wrote:Hi !

I was trying to get Wikis weather frame to work, but it makes screen blank .. I have done as wiki says :

Code: Select all

var frames = {}
frames.weather = {refreshiframe:10000,height:500,frameurl:"http://iltasanomat.weatherproof.fi/tutka.php?map=Etel%C3%A4-Suomi",width:12}

columns[1]['blocks'] = [frames.weather];

Hi,

I think that you need to add more parameters to "columns", try for example this

Code: Select all

var frames = {}
frames.weather = {refreshiframe:10000,height:500,frameurl:"http://iltasanomat.weatherproof.fi/tutka.php?map=Etel%C3%A4-Suomi",width:12}

columns[1] = {}
columns[1]['blocks'] = [frames.weather]
columns[1]['width'] = 4;

screens[2] = {}
screens[2]['background'] = 'bg1.jpg';
screens[2]['columns'] = [1]

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 16:23
by Phantom
robgeerts wrote:
mlamie wrote:It looks like the beta version doesn't refresh the Domoticz icons (need to do a browser refresh), The stable version does. Is there a known issue there?
Please test this in latest version!
When i activate these 2 lines in main.js it works for me (not sure if it has any other impact) but it is also active in the master branche.

Code: Select all

				if(typeof(_DEBUG)=='undefined' || _DEBUG===false) setTimeout(function(){ getDevices(); },(_DOMOTICZ_REFRESH*1000));
			}
		});
	}
	else {
		if(typeof(_DEBUG)=='undefined' || _DEBUG===false) setTimeout(function(){ getDevices(); },(_DOMOTICZ_REFRESH*1000));