mvveelen wrote:No, this is not normal behaviour. Maybe you can post your CONFIG.js (without passwords and such) ? What is the part you have for the standby?
I have:
robgeerts wrote:Try latest version for the standby AND background fix!
WARNING WITH A WINK
I will not be here tomorrow and monday. Maybe an hour in the evenings.
Could you all entertain yourself withouth new features for 2 days?
With the end of april version, I can see all the default stuff, to the left all my switches, in the middle weather/temp/energy, and to the right rain radar etc.
I did a git pull of both the beta and release to a fresh folder, and only modified the domiticz ip/port in CONFIG.js. Nothing more.
The result is I only see my switches (the left part), not the rest. Also putting the working CONFIG.js from the april version gives me the weather icons in addition, but nothing more.
With the end of april version, I can see all the default stuff, to the left all my switches, in the middle weather/temp/energy, and to the right rain radar etc.
I did a git pull of both the beta and release to a fresh folder, and only modified the domiticz ip/port in CONFIG.js. Nothing more.
The result is I only see my switches (the left part), not the rest. Also putting the working CONFIG.js from the april version gives me the weather icons in addition, but nothing more.
What can be wrong, and how do I debug this?
Updated RPi software, latest Domoticz Beta, and latest git pull of Dashtics, but the problem is still there.
I removed most stuff from the Domoticz default page:
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://192.168.178.15:8080';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _THEME = 'default'; // default = dashticz default theme
/*
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 = 'xxxxxxxxxxxxxxxxx';
var _WEATHER_CITY = 'Den Haag';
var _WEATHER_CITYNAME = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //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 = false; //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 _SLIDE_PAGES = false; //Loop all pages and change page every x (min. 5) seconds, set _AUTO_SWIPEBACK_TIME = 0
This shows switches and the daily weather icons, nothing more (xxxx'd out my WU api key).
Since the json query retrieves all devices, I also temporary added '&favorite=1' to the query to see if one of my devices was interfering. Same results.
No errors in the Chrome debugging console.
Swapping around files from the old and new installation points to main.js, but it's too complicated for me to undertstand what's wrong here.
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://192.168.178.15:8080';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _THEME = 'default'; // default = dashticz default theme
/*
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 = 'xxxxxxxxxxxxxxxxx';
var _WEATHER_CITY = 'Den Haag';
var _WEATHER_CITYNAME = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //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 = false; //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 _SLIDE_PAGES = false; //Loop all pages and change page every x (min. 5) seconds, set _AUTO_SWIPEBACK_TIME = 0
This shows switches and the daily weather icons, nothing more (xxxx'd out my WU api key).
Since the json query retrieves all devices, I also temporary added '&favorite=1' to the query to see if one of my devices was interfering. Same results.
No errors in the Chrome debugging console.
Swapping around files from the old and new installation points to main.js, but it's too complicated for me to undertstand what's wrong here.
Not sure if it is because of your edit, but at the last line you are missing 'var' before the auto swipeback.
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://192.168.178.15:8080';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _THEME = 'default'; // default = dashticz default theme
/*
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 = 'xxxxxxxxxxxxxxxxx';
var _WEATHER_CITY = 'Den Haag';
var _WEATHER_CITYNAME = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //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 = false; //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 _SLIDE_PAGES = false; //Loop all pages and change page every x (min. 5) seconds, set _AUTO_SWIPEBACK_TIME = 0
This shows switches and the daily weather icons, nothing more (xxxx'd out my WU api key).
Since the json query retrieves all devices, I also temporary added '&favorite=1' to the query to see if one of my devices was interfering. Same results.
No errors in the Chrome debugging console.
Swapping around files from the old and new installation points to main.js, but it's too complicated for me to undertstand what's wrong here.
Not sure if it is because of your edit, but at the last line you are missing 'var' before the auto swipeback.
The var is there, but somehow it's garbled in the post. If you quote it, you can see it's there.
The CONFIG.js, it the stock one with only the domiticz URL modified and the WU api code.
Am fairly new to coding, how do we change the image to show open door when the door is open and closed dood when the door is closed?
Is there a javascript programming required or css changes?
This shows switches and the daily weather icons, nothing more (xxxx'd out my WU api key).
Since the json query retrieves all devices, I also temporary added '&favorite=1' to the query to see if one of my devices was interfering. Same results.
No errors in the Chrome debugging console.
Swapping around files from the old and new installation points to main.js, but it's too complicated for me to undertstand what's wrong here.
Adding to this, the difference between the original code, and the new code seems the be references to .col2 and .col3:
dashtics issue.jpg (160.22 KiB) Viewed 2193 times
The body .row stuff displays, but anything referring to col2 and col3 is not displaying.
I haven't updated Dashticz lately, but just have this question. I am using radio in my dashboard, but ever time the Dahticz refresh fires, the radio stops playing because the whole page gets refreshed. Is it possible to refresh only certain widgets, instead of the whole page?
crashingdutchman wrote:I haven't updated Dashticz lately, but just have this question. I am using radio in my dashboard, but ever time the Dahticz refresh fires, the radio stops playing because the whole page gets refreshed. Is it possible to refresh only certain widgets, instead of the whole page?
Currently this is not possible because of the way _DASHTICZ_REFRESH works.
It is intended to reload the whole page. A workaround for your problem could be setting _DASHTICZ_REFRESH to 0 and stop refreshing at all.
The problem is only about static blocks you maybe use. I mean things that only update when you refresh the page, they will, logically, not update anymore.
I will have a look into this later, maybe there is a way to handle this better.