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.
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.
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 (173.5 KiB) Viewed 2289 times
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 ).
ilmatieteenlaitos2.png (126.71 KiB) Viewed 2261 times
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?
@Rob, thanks, I have updated the beta and stable. The refresh of the domoticz icons works again.
Raspberry Pi 3, RaZberry, RFXtrx433
Various Z-Wave devices, KlikAanKlikUit devices, ESP8266 NodeMCU, Sonoff POW and a Essent E-thermostaat
IP camera: Dahua 4MP IPC-HDBW4421R-AS, Vivotek FD8134V
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?
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 ?
Attachments
Schermafbeelding 2017-05-07 om 21.18.45.png (55.82 KiB) Viewed 2208 times
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.
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}
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
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.
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
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;
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 ).
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.
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
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
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]