
If your IDX is, lets say, 156, you have tu use '156_1' (or _2) to only show the first block.
Let me know if this solves the problem... I know it works for energy but dont know if it will work for water..
Moderator: leecollings
Blueone wrote:I skipped a few beta versions but yesterday I installed the last version, for some reason is doesn't go to stand-by, is doesn't even hits the stand-by function in main.js. I now reverted to the previous version where is works normally. Does someone else also experiencing this issue?
Do you get any error in developer console?vgr2 wrote:Hi for some reason I try Dashticz on 55 inches screen by HDMI and with seperate raspi, but all selector switches are not displayed as on my normal WIN-PC screen. Also sunrise and sunset symbol are not there. Any idea?
No I don't get any error, in doesn't even hit the following code:robgeerts wrote:Blueone wrote:I skipped a few beta versions but yesterday I installed the last version, for some reason is doesn't go to stand-by, is doesn't even hits the stand-by function in main.js. I now reverted to the previous version where is works normally. Does someone else also experiencing this issue?Do you get any error in developer console?vgr2 wrote:Hi for some reason I try Dashticz on 55 inches screen by HDMI and with seperate raspi, but all selector switches are not displayed as on my normal WIN-PC screen. Also sunrise and sunset symbol are not there. Any idea?
Code: Select all
if(parseFloat(_STANDBY_AFTER_MINUTES)>0){
debugger;
setInterval(function(){
standbyTime+=5000;
if(standbyActive!=true){
if(standbyTime>=((_STANDBY_AFTER_MINUTES*1000)*60)){
$('body').addClass('standby');
$('.swiper-container').hide();
if(objectlength(columns_standby)>0) buildStandby();
if(typeof(_STANDBY_CALL_URL)!=='undefined' && _STANDBY_CALL_URL!==''){
$.get(_STANDBY_CALL_URL);
standbyActive=true;
}
}
}
},5000);
}
Code: Select all
//Loop through pages
if(_SLIDE_PAGES != false && (_AUTO_SWIPEBACK_TIME == 0 || typeof(_AUTO_SWIPEBACK_TIME)== 'undefined') && _SLIDE_PAGES > 4){
var nextSlide = 1;
setInterval(function(){
toSlide(nextSlide);
nextSlide++;
if(nextSlide > myswiper.slides.length-1){
nextSlide = 0;
}
},(_SLIDE_PAGES * 1000));
}[Code]
Adding the variable in main.js when it isn't defined in config.js would prevent such an error :)
Blueone wrote:After some debugging this afternoon I found the issue.
I didn't had a variable "_SLIDE_PAGES" in my config and it isn't declared at beginning of main.js. So in went wrong in this piece of code as the variable wasn't declared:
Code: Select all
//Loop through pages if(_SLIDE_PAGES != false && (_AUTO_SWIPEBACK_TIME == 0 || typeof(_AUTO_SWIPEBACK_TIME)== 'undefined') && _SLIDE_PAGES > 4){ var nextSlide = 1; setInterval(function(){ toSlide(nextSlide); nextSlide++; if(nextSlide > myswiper.slides.length-1){ nextSlide = 0; } },(_SLIDE_PAGES * 1000)); }[Code] Adding the variable in main.js when it isn't defined in config.js would prevent such an error :)[/quote] My fault, added this feature some time ago and forgot to initialize if not in config.js :oops: Will push a fix asap.
I have some errors.....robgeerts wrote:Blueone wrote:I skipped a few beta versions but yesterday I installed the last version, for some reason is doesn't go to stand-by, is doesn't even hits the stand-by function in main.js. I now reverted to the previous version where is works normally. Does someone else also experiencing this issue?Do you get any error in developer console?vgr2 wrote:Hi for some reason I try Dashticz on 55 inches screen by HDMI and with seperate raspi, but all selector switches are not displayed as on my normal WIN-PC screen. Also sunrise and sunset symbol are not there. Any idea?
Apparently it hangs during checking for new domoticz data, during that time (about half a second every 5 seconds) is hangs, is this normal behaviour or should it be an async call?Blueone wrote:Is was some time ago I installed the latest updates but I updated my tablet from a beta release from about two weeks ago to the master version of Domoticz, for some reasons the dashboards hangs very often with a high cpu usage without the config is being changed. Is someone else also experiencing this issue with the latest master version?
Code: Select all
req = $.getJSONP({
url: settings['domoticz_ip']+'/json.htm?type=devices&filter=all&used=true&order=Name&jsoncallback=?',
type: 'GET',
async: true,
contentType: "application/json",dataType: 'jsonp',
error: function( jqXHR, textStatus ) {
console.error("Domoticz error!\nPlease, double check the path to Domoticz in Settings!");
},
success: function(data) {
//etc etc
Users browsing this forum: No registered users and 1 guest