Page 109 of 184

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 16:44
by robgeerts
Phantom 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!
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));
Damn, totally forgot about these lines...
SORRY GUYS!!
Fixed in beta!

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 16:52
by Phantom
Thanks for the quick fix :)

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 17:05
by mvveelen
Working fine now. Thanks Rob.

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 17:13
by tontze
koowee wrote:
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]
Thanks, now other buttons are visible, and weather has reserved its space from the screen, but there is nothing in the reserved space :/

-T

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 17:32
by Blueone
Is it also possible to have a different with for blocks in the stand-by screen without using the css for it?
For example I have a block id 85 on the main screen with a width of 4 but I wan't the same block with a width of 8 on the stand-by screen.

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 19:02
by koowee
tontze wrote:
koowee wrote:
tontze wrote:Hi !

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

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
Spoiler: show

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]
Thanks, now other buttons are visible, and weather has reserved its space from the screen, but there is nothing in the reserved space :/

-T
Strange.. Have you cleared browser cache? Can you disable everything else and only allow and test with this weather frame? I did just test this with fresh installed dashticz and it work.
ilmatieteenlaitos.png
ilmatieteenlaitos.png (173.5 KiB) Viewed 2298 times
Related to this, can someone help to rescale / resize this source to smaller (css magic or something else :) )?
http://iltasanomat.weatherproof.fi/tutk ... 3%A4-Suomi

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 19:21
by wizjos
koowee wrote:Related to this, can someone help to rescale / resize this source to smaller (css magic or something else :) )?
http://iltasanomat.weatherproof.fi/tutk ... 3%A4-Suomi
In your config.js you maybe should fiddle with the width setting in:

Code: Select all

frames.weather = {refreshiframe:10000,height:500,frameurl:"http://iltasanomat.weatherproof.fi/tutka.php?map=Etel%C3%A4-Suomi",width:12}
make it for instance width :4 or something....
Hope it helps...

Regards,
wizjos

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 20:10
by koowee
wizjos wrote:
koowee wrote:Related to this, can someone help to rescale / resize this source to smaller (css magic or something else :) )?
http://iltasanomat.weatherproof.fi/tutk ... 3%A4-Suomi
In your config.js you maybe should fiddle with the width setting in:

Code: Select all

frames.weather = {refreshiframe:10000,height:500,frameurl:"http://iltasanomat.weatherproof.fi/tutka.php?map=Etel%C3%A4-Suomi",width:12}
make it for instance width :4 or something....
Hope it helps...

Regards,
wizjos
Thanks, unfortunately it didnt' help. I did change width to 4 and then it lose some part of the picture (see attachment). I think that the problem is that the source is fixed size and it doesn't automatically scale it smaller to this iframe. Maybe this can be done somehow for example using css (I don't know anything about css :cry: ).
ilmatieteenlaitos2.png
ilmatieteenlaitos2.png (126.71 KiB) Viewed 2270 times

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 20:14
by robgeerts
Just merged the weekly beta into master-version.
Some of the fixes can be found here: https://github.com/robgeerts/dashticz_v ... 2?closed=1
(Not all fixes are listed)

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 20:34
by mkscity
tested today radio plugin and with example station it works fine.
Tried now also to add some germa nweb radio stations, but unfortunately i can find only m3u links which are not playing.
Is there any chance or tip to use m3u as well?

Code: Select all

var _STREAMPLAYER_TRACKS     = [
   {"track":1,"name":"Top-FM","file":"http://www.top-fm.de/stream/stream-top-fm.m3u"},
   {"track":1,"name":"Rockantenne","file":"http://www.rockantenne.de/webradio/rockantenne.m3u"},
   {"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
];

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 20:39
by mlamie
@Rob, thanks, I have updated the beta and stable. The refresh of the domoticz icons works again.

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 20:52
by HansieNL
mkscity wrote:tested today radio plugin and with example station it works fine.
Tried now also to add some germa nweb radio stations, but unfortunately i can find only m3u links which are not playing.
Is there any chance or tip to use m3u as well?

Code: Select all

var _STREAMPLAYER_TRACKS     = [
   {"track":1,"name":"Top-FM","file":"http://www.top-fm.de/stream/stream-top-fm.m3u"},
   {"track":1,"name":"Rockantenne","file":"http://www.rockantenne.de/webradio/rockantenne.m3u"},
   {"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
];
Download the m3u file and open in texteditor. There's a (mp3/stream) link in it.
http://www.top-fm.de/stream/stream-top-fm.m3u = http://mp3.topfm.c.nmdn.net/ps-topfm/livestream.mp3
http://www.rockantenne.de/webradio/rockantenne.m3u = http://mp3channels.webradio.rockantenne.de/rockantenne

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 21:20
by mvveelen
Great update for the trash, Rob !

Although I meant it a bit different from what you did here: The text can be white, just like all other texts. It would be handy if the icon could change color. No big deal, but it might be nicer in the total dashboard.

Now it shows this when you use the color options and the renaming options (thanks for that !):

Oh: any chance this can be fixed for the Safari browsers that still show the "invalid date" message :) ?

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 21:57
by tontze
koowee wrote:
tontze wrote:
koowee wrote:
Hi,

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

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]
Thanks, now other buttons are visible, and weather has reserved its space from the screen, but there is nothing in the reserved space :/

-T
Strange.. Have you cleared browser cache? Can you disable everything else and only allow and test with this weather frame? I did just test this with fresh installed dashticz and it work.

ilmatieteenlaitos.png

Related to this, can someone help to rescale / resize this source to smaller (css magic or something else :) )?
http://iltasanomat.weatherproof.fi/tutk ... 3%A4-Suomi
Yes, i removed everything else, no go :/ Tested with 2 different browser and 2 different computer..

Code: Select all

var _LANGUAGE                   = 'en_US'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ              = 'http://192.168.x.xxx:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                      = 'default';


/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = '';
var _WEATHER_CITY               = '';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES              = false; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK      = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF  = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED               = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT             = false;
var _USE_BEAUFORT               = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES      = 10; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds


var columns = {}

//Sää
columns[10] = {}
columns[10]['blocks'] = [frames.weather];
columns[10]['width'] = 12;

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



Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 22:09
by koowee
tontze wrote:
koowee wrote:
tontze wrote:
Thanks, now other buttons are visible, and weather has reserved its space from the screen, but there is nothing in the reserved space :/

-T
Strange.. Have you cleared browser cache? Can you disable everything else and only allow and test with this weather frame? I did just test this with fresh installed dashticz and it work.

ilmatieteenlaitos.png

Related to this, can someone help to rescale / resize this source to smaller (css magic or something else :) )?
http://iltasanomat.weatherproof.fi/tutk ... 3%A4-Suomi
Yes, i removed everything else, no go :/ Tested with 2 different browser and 2 different computer..
Spoiler: show

Code: Select all

var _LANGUAGE                   = 'en_US'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ              = 'http://192.168.x.xxx:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                      = 'default';


/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = '';
var _WEATHER_CITY               = '';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES              = false; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK      = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF  = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED               = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT             = false;
var _USE_BEAUFORT               = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES      = 10; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds


var columns = {}

//Sää
columns[10] = {}
columns[10]['blocks'] = [frames.weather];
columns[10]['width'] = 12;

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


You need to change order of the code. First define variable frames and then use it on columns

Code: Select all

var _LANGUAGE                   = 'en_US'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ              = 'http://192.168.x.xxx:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                      = 'default';


/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = '';
var _WEATHER_CITY               = '';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES              = false; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK      = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF  = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED               = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT             = false;
var _USE_BEAUFORT               = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES      = 10; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds

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

var columns = {}

//Sää
columns[10] = {}
columns[10]['blocks'] = [frames.weather];
columns[10]['width'] = 12;

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 22:17
by DvD
My screen still goes black after a period of time..even with the var standby option removed

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 22:26
by koowee
DvD wrote:My screen still goes black after a period of time..even with the var standby option removed
DId you try this one?

Code: Select all

var _STANDBY_AFTER_MINUTES = false;

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 22:44
by EdwinK
DvD wrote:My screen still goes black after a period of time..even with the var standby option removed
Couldn't it be a energy-setting on your device?

Re: Dashticz - General Discussions

Posted: Sunday 07 May 2017 22:53
by Nautilus
koowee wrote:
wizjos wrote:
koowee wrote:Related to this, can someone help to rescale / resize this source to smaller (css magic or something else :) )?
http://iltasanomat.weatherproof.fi/tutk ... 3%A4-Suomi
In your config.js you maybe should fiddle with the width setting in:

Code: Select all

frames.weather = {refreshiframe:10000,height:500,frameurl:"http://iltasanomat.weatherproof.fi/tutka.php?map=Etel%C3%A4-Suomi",width:12}
make it for instance width :4 or something....
Hope it helps...

Regards,
wizjos
Thanks, unfortunately it didnt' help. I did change width to 4 and then it lose some part of the picture (see attachment). I think that the problem is that the source is fixed size and it doesn't automatically scale it smaller to this iframe. Maybe this can be done somehow for example using css (I don't know anything about css :cry: ).

ilmatieteenlaitos2.png
This might help you a bit: https://www.domoticz.com/forum/viewtopi ... 49#p129549

The downside is, used like that it will rescale all iframes (like the popups), not sure how it could be limited to just this one...:)

Re: Dashticz - General Discussions

Posted: Monday 08 May 2017 6:46
by tontze
koowee wrote:
tontze wrote:
koowee wrote:
Strange.. Have you cleared browser cache? Can you disable everything else and only allow and test with this weather frame? I did just test this with fresh installed dashticz and it work.

ilmatieteenlaitos.png

Related to this, can someone help to rescale / resize this source to smaller (css magic or something else :) )?
http://iltasanomat.weatherproof.fi/tutk ... 3%A4-Suomi
Yes, i removed everything else, no go :/ Tested with 2 different browser and 2 different computer..
Spoiler: show

Code: Select all

var _LANGUAGE                   = 'en_US'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ              = 'http://192.168.x.xxx:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                      = 'default';


/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = '';
var _WEATHER_CITY               = '';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES              = false; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK      = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF  = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED               = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT             = false;
var _USE_BEAUFORT               = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES      = 10; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds


var columns = {}

//Sää
columns[10] = {}
columns[10]['blocks'] = [frames.weather];
columns[10]['width'] = 12;

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


You need to change order of the code. First define variable frames and then use it on columns

Code: Select all

var _LANGUAGE                   = 'en_US'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ              = 'http://192.168.x.xxx:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                      = 'default';


/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = '';
var _WEATHER_CITY               = '';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES              = false; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK      = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF  = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED               = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT             = false;
var _USE_BEAUFORT               = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES      = 10; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds

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

var columns = {}

//Sää
columns[10] = {}
columns[10]['blocks'] = [frames.weather];
columns[10]['width'] = 12;
Works! I didnt know they need to be in some sort of order :) Thank you :)