Page 22 of 28
Re: Dashticz - Bug report
Posted: Tuesday 19 June 2018 23:39
by Lokonli
dorenberg wrote: Tuesday 19 June 2018 10:26
Hi Guys, I am new to dashticz and my dashboard is growing well. However I have a small issue with the forecast.io pane. The font is white, but when there is a refresh of the frame the font goes dark grey. Is this normal? What can I do to remediate this?
There is a small bug in the refresh of the iframe. If you add '&' at the end of the forecast.io url it's solved.
Re: Dashticz - Bug report
Posted: Sunday 24 June 2018 2:15
by yfands
Dashticz beta 2.3.10
Raspberry pi..
Hello,
Having problems with 'currentweather_big' and 'weather'.
The won't show anymore.
I set the WU field values with the settings option.
If i use the settings option to retrieve te values in the Weather tab, the WU API field is Blanc, and the WU CITY field is Amsterdam,
WU name and country is retrieved ok, I already tried to clear the (app)cache but no luck.
Tried a fresh install of version 2.3.10 with default settings and the example in the config.js but no result in either browser, firefox, IE11 or chrome.
The 'currentweather_big' and 'weather' wont show.
Anybody ?
Regards Frank
Re: Dashticz - Bug report
Posted: Sunday 24 June 2018 2:18
by yfands
Dashticz beta 2.3.10
Raspberry pi..
Hello,
Having problems with 'currentweather_big' and 'weather'.
The won't show anymore.
I set the WU field values with the settings option.
If i use the settings option to retrieve te values in the Weather tab, the WU API field is Blanc, and the WU CITY field is Amsterdam which is wrong!!!
WU name and country is retrieved ok, I already tried to clear the (app)cache but no luck.
Tried a fresh install of version 2.3.10 with default settings and the example in the config.js but no result in either browser, firefox, IE11 or chrome.
The 'currentweather_big' and 'weather' wont show.
Oh and editing the config.js manually to set the right values wont work either.
Anybody ?
Regards Frank
Re: Dashticz - Bug report
Posted: Sunday 24 June 2018 3:11
by yfands
yfands wrote: Sunday 24 June 2018 2:18
Dashticz beta 2.3.10
Raspberry pi..
Hello,
Having problems with 'currentweather_big' and 'weather'.
The won't show anymore.
I set the WU field values with the settings option.
If i use the settings option to retrieve te values in the Weather tab, the WU API field is Blanc, and the WU CITY field is Amsterdam which is wrong!!!
WU name and country is retrieved ok, I already tried to clear the (app)cache but no luck.
Tried a fresh install of version 2.3.10 with default settings and the example in the config.js but no result in either browser, firefox, IE11 or chrome.
The 'currentweather_big' and 'weather' wont show.
Oh and editing the config.js manually to set the right values wont work either.
Anybody ?
Regards Frank
Found the error:
In settings.js line 469
The wu_* values are reset by the owm_* values
if (typeof(settings['owm_api']) === 'undefined') settings['wu_api'] = '';
if (typeof(settings['owm_country']) === 'undefined') settings['wu_country'] = 'NL';
if (typeof(settings['owm_city']) === 'undefined') settings['wu_city'] = 'Amsterdam';
change to:
if (typeof(settings['owm_api']) === 'undefined') settings['owm_api'] = '';
if (typeof(settings['owm_country']) === 'undefined') settings['owm_country'] = 'NL';
if (typeof(settings['owm_city']) === 'undefined') settings['owm_city'] = 'Amsterdam';
And all is well.
The owm_* values are new and stand for OpenWeatherMap, yet the values can not be set with the settings option, the block names are weather_owm, currentweather_owm and currentweather_big_owm. But they can not be used at the moment the weather_owm.js needs work, the functionnames and DIV's are named equal to the weather.js functionnames and DIV's so I guess its still under construction. Or maybe as designed Use Weatherunderground OR Openweathermap but not both, either way the code in settings.js must still be corrected.
Regards
Frank
Re: Dashticz - Bug report
Posted: Thursday 28 June 2018 9:35
by EdwinK
I believe this is now fixed in the latest version. It seems to be working with beta I downloaded about 5 minutes ago
Re: Dashticz - Bug report
Posted: Friday 29 June 2018 19:49
by MarFan
I have created an new dashboard. Very basic.
I use the buttons.buienradar, and this is visible on the dashboard.
But in the Console I see several errors:
Code: Select all
buienradar-home.min.js:1 Uncaught TypeError: Cannot read property 'clientWidth' of undefined
at n.getLayout (buienradar-home.min.js:1)
at n.init (buienradar-home.min.js:1)
at new n (buienradar-home.min.js:1)
at buienradar-home.min.js:1
at buienradar-home.min.js:1
getLayout @ buienradar-home.min.js:1
init @ buienradar-home.min.js:1
n @ buienradar-home.min.js:1
(anonymous) @ buienradar-home.min.js:1
(anonymous) @ buienradar-home.min.js:1
?t=1530294277712:191 Uncaught TypeError: Cannot set property 'userApiUrl' of undefined
at ?t=1530294277712:191
(anonymous) @ ?t=1530294277712:191
?t=1530294277712:324 Uncaught TypeError: Cannot read property 'MainMenu' of undefined
at ?t=1530294277712:324
(anonymous) @ ?t=1530294277712:324
?t=1530294277712:439 Uncaught TypeError: window.buienradar.getParameterByName is not a function
at ?t=1530294277712:439
at ?t=1530294277712:447
(anonymous) @ ?t=1530294277712:439
(anonymous) @ ?t=1530294277712:447
What i'm doing wrong /
Re: Dashticz - Bug report
Posted: Saturday 30 June 2018 0:02
by Lokonli
MarFan wrote: Friday 29 June 2018 19:49
I have created an new dashboard. Very basic.
I use the buttons.buienradar, and this is visible on the dashboard.
But in the Console I see several errors:
Code: Select all
buienradar-home.min.js:1 Uncaught TypeError: Cannot read property 'clientWidth' of undefined
at n.getLayout (buienradar-home.min.js:1)
at n.init (buienradar-home.min.js:1)
at new n (buienradar-home.min.js:1)
at buienradar-home.min.js:1
at buienradar-home.min.js:1
getLayout @ buienradar-home.min.js:1
init @ buienradar-home.min.js:1
n @ buienradar-home.min.js:1
(anonymous) @ buienradar-home.min.js:1
(anonymous) @ buienradar-home.min.js:1
?t=1530294277712:191 Uncaught TypeError: Cannot set property 'userApiUrl' of undefined
at ?t=1530294277712:191
(anonymous) @ ?t=1530294277712:191
?t=1530294277712:324 Uncaught TypeError: Cannot read property 'MainMenu' of undefined
at ?t=1530294277712:324
(anonymous) @ ?t=1530294277712:324
?t=1530294277712:439 Uncaught TypeError: window.buienradar.getParameterByName is not a function
at ?t=1530294277712:439
at ?t=1530294277712:447
(anonymous) @ ?t=1530294277712:439
(anonymous) @ ?t=1530294277712:447
What i'm doing wrong /
Can you post your CONFIG.js? (remove your personal info)
Re: Dashticz - Bug report
Posted: Saturday 30 June 2018 23:31
by MarFan
See below :
- Spoiler: show
-
var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = '';
config['app_title'] = '';
config['domoticz_refresh'] = '3';
config['dashticz_refresh'] = '60';
config['last_update'] = 0;
config['auto_positioning'] = 0;
config['auto_swipe_back_after'] = '60';
config['boss_stationclock'] = 'RedBoss';
//config['default_news_url'] = 'https://crossorigin.me/http://www.nu.nl/rss/algemeen';
config['selector_instead_of_buttons'] = 0;
config['use_favorites'] = 1;
config['last_update'] = 0;
config['hide_topbar'] = 1;
config['hide_seconds'] = 1;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 1;
config['hide_mediaplayer'] = 0;
config['settings_icons'] = ["settings", "fullscreen"];
config['shortdate'] = 'D MMM';
config['longdate'] = 'D MMMM YYYY';
config['shorttime'] = 'HH:mm';
config['longtime'] = 'HH:mm:ss';
config['weekday'] = 'dddd';
config['no_rgb'] = 1;
config['switch_horizon'] = 1;
//CUSTOM POSITIONING;
//defining wich blocks to show, de numbers represents the IDX of the device in Domoticz
//only define if you want to use a custom width instead of the default
var buttons = {}
buttons.buienradar = {width:12, isimage:true, image: 'https://api.buienradar.nl/image/1.0/Rad ... =285&h=256', url: 'https://www.buienradar.nl'}
buttons.nunl = {width:4, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
buttons.hoofdmenu = {width:12, image: 'img/tv.png', title: 'Hoofdmenu' ,slide:1 }
buttons.verlichting = {width:12, image: 'img/bulb.png', title: 'Verlichting',slide: 2}
buttons.temperatuur = {width:12, image: 'img/heating_on.png', title: 'Temperatuur' ,slide:3 }
buttons.energie = {width:12, image: 'img/heating_on.png', title: 'Energie' ,slide:4 }
buttons.weer = {width:12, image: 'img/motion_on.png', title: 'Weer' ,slide:5 }
buttons.log = {key:'log', width:4, icon:'fa-microchip', image: 'img/motion_on.png', title: 'Domoticz Log', log:true, level: 2}
var blocks = {}
//blocks['news_2'] = {}
//blocks['news_2']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Onkyo'
//Onkyo
blocks[20] = {} //Master Power
blocks[20]['width'] = 4;
blocks[20]['title'] = 'Power'
blocks[21] = {} // Volume
blocks[21]['width'] = 8;
blocks[18] = {} // Selector
blocks[18]['width'] = 12;
//////////////////////////////////////////////////////////
////// Temp ////////////////////////////////////////////
blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Temperatuur'
blocks[9] = {}
blocks[9]['width'] = 4;
blocks[15] = {}
blocks[15]['width'] = 4;
blocks[16] = {}
blocks[16]['width'] = 4;
blocks[10] = {}
blocks[10]['width'] = 4;
blocks[7] = {}
blocks[7]['width'] = 4;
blocks[12] = {}
blocks[12]['width'] = 4;
//////////////////////////////////////////////////////////
////// Switch ////////////////////////////////////////////
blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Woonkamer'
blocks[29] = {}
blocks[29]['width'] = 4;
blocks[29]['title'] = 'Sta lamp'
blocks[28] = {}
blocks[28]['width'] = 12;
blocks[28]['title'] = 'Dummy'
blocks[26] = {}
blocks[26]['width'] = 12;
blocks[26]['title'] = 'Voorraam'
blocks[24] = {}
blocks[24]['width'] = 12;
blocks[24]['title'] = 'Erker'
blocks[25] = {}
blocks[25]['width'] = 12;
blocks[25]['title'] = 'Eettafel'
blocks[37] = {}
blocks[37]['width'] = 4;
blocks[37]['title'] = 'Tafel'
blocks[38] = {}
blocks[38]['width'] = 4;
blocks[38]['title'] = 'Garage'
blocks[27] = {}
blocks[27]['width'] = 12;
blocks[27]['title'] = 'Kantoor'
//////////////////////////////////////////////////////////
////// Energie /////////////////////////////////////////
blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['title'] = 'Energie'
blocks[30] = {}
blocks[30]['width'] = 4;
blocks[31] = {}
blocks[31]['width'] = 4;
blocks[32] = {}
blocks[32]['width'] = 4;
blocks[33] = {}
blocks[33]['width'] = 4;
blocks[34] = {}
blocks[34]['width'] = 4;
blocks[35] = {}
blocks[35]['width'] = 4;
blocks[36] = {}
blocks[36]['width'] = 4;
//////////////////////////////////////////////////////////
////// Diverse /////////////////////////////////////////
blocks['blocktitle_5'] = {}
blocks['blocktitle_5']['type'] = 'blocktitle';
blocks['blocktitle_5']['title'] = 'Diverse'
/*
blocks[30] = {}
blocks[30]['width'] = 4;
blocks[30]['title'] = 'Sw'
blocks[31] = {}
blocks[31]['width'] = 4;
blocks[31]['title'] = 'Pi3d'
blocks[32] = {}
blocks[32]['width'] = 4;
blocks[32]['title'] = 'ABC'
*/
//defining number of columns, their contents en widths
//width can be a number 1 to 12, but total widths of all columns should always be 12
var columns = {}
//Main scherm in alle screens toegevoegd
columns[1] ={}
columns[1]['blocks']=[buttons.hoofdmenu,buttons.verlichting, buttons.temperatuur, buttons.energie, buttons.weer ]
columns[1]['width']=2;
columns[2] ={}
columns[2]['blocks']=['clock','sunrise',buttons.buienradar] //,buttons.buienradar
columns[2]['width']=2;
// Main - Onkyo + Woonkamer
columns[3] = {}
columns[3]['blocks'] = ['blocktitle_1', 20, 21, 'blocktitle_3', 29, 37, 28, 26, 24, 25]
columns[3]['width'] = 4;
// Main - Temp + Energie + Div
columns[4] = {}
columns[4]['blocks'] = ['blocktitle_2',15,9,16,10,7,12,'blocktitle_4',30,31, 'blocktitle_5', 38, buttons.log, 27 ]
columns[4]['width'] = 4;
// Energie
columns[5] = {}
columns[5]['blocks'] = [32 ,33, 34 ,35 ,36]
columns[5]['width'] = 4;
columns[6] = {}
columns[6]['blocks'] = ['graph_30', 'graph_31' ]
columns[6]['width'] = 4;
// Dummy
columns[99] = {}
columns[99]['blocks'] = [ ]
columns[99]['width'] = 4;
/*
columns[4] = {}
columns[4]['blocks'] = [1]
columns[4]['width'] = 4;
columns[5] = {}
columns[5]['blocks'] = ['1_1', 10]
columns[5]['width'] = 2;
//Weer
columns[11] = {}
columns[11]['blocks'] = [frames.weer];
columns[11]['width'] = 10;
*/
///////////////////////////////STANDBY SCHERM////////////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','currentweather_big','weather',buttons.webcam2,buttons.webcam1] //specify blocks for the standby mode
columns_standby[1]['width'] = 12;
//if you want to use multiple screens, use the code below:
var screens = {}
screens['default'] = {}
screens['default']['maxwidth'] = 1920;
screens['default']['maxheight'] = 1080;
screens['default'][1] = {}
screens['default'][1]['background'] = 'img/bg2.jpg';
screens['default'][1]['columns'] = [1,3,4,2]
screens['default'][2] = {}
screens['default'][2]['background'] = 'img/bg6.jpg';
screens['default'][2]['columns'] = [1,99,99,99]
/*Temp*/
screens['default'][3] = {}
screens['default'][3]['background'] = 'img/bg3.jpg';
screens['default'][3]['columns'] = [1,4,99,99]
/*Energie*/
screens['default'][4] = {}
screens['default'][4]['background'] = 'img/bg9.jpg';
screens['default'][4]['columns'] = [1,5,6,99]
/*weer*/
screens['default'][5] = {}
screens['default'][5]['background'] = 'bg10.jpg';
screens['default'][5]['columns'] = [1,99,99,99]
Extra info, webpage is hosted on Synology (web station)
Re: Dashticz - Bug report
Posted: Tuesday 03 July 2018 21:40
by Lokonli
I would say this is a bug: The buienradar url is refreshed in the background while it's not visible. Buienradar generates the errors. I will create an issue for this on Github.
It doesn't influence the functioning of Dashticz itself.
Re: Dashticz - Bug report
Posted: Monday 23 July 2018 11:14
by mvveelen
mvveelen wrote: Sunday 14 May 2017 21:08
Fixed....
using Rob's code, but for the sensors you have to change the 'Off" to 'Closed" (of course.....) like this:
Code: Select all
function getBlock_3534(device,idx){ //change 124 to the idx of your device!
$('.block_'+idx).attr('onclick','switchDevice(this)');
var html='';
html+='<div class="col-xs-4 col-icon">';
if(device['Status']=='Closed') html+=iconORimage(idx,'','window_closed.png','off icon');
else html+=iconORimage(idx,'','window_open.png','on icon');
html+='</div>';
html+='<div class="col-xs-8 col-data">';
html+='<strong class="title">'+device['Name']+'</strong><br />';
if(device['Status']=='Closed') html+='<span class="state">DICHT</span>';
else html+='<span class="state">OPEN</span>';
if(_SHOW_LASTUPDATE) html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';
html+='</div>';
return html;
}
Added these 2 images again in this new Dashticz, and tried this code, but the images don't show up. Is the way you have to add them been changed?
Re: Dashticz - Bug report
Posted: Monday 30 July 2018 9:36
by biggav
Hi, i have found the following bugs
1. News Feed not auto resizing on any page other than page 1. so page 1 will size to suit 1 articles and scroll though however any other page will just list all the articles
2. domoticz Light/Switch, Selector Switches are not displaying correctly. one that uses a drop down menu displays seemingly random characters and the other displays on buttons. both function correctly in domoticz its self. PC Speaker output originates from a dummy piece of hardware and triggers http messages the other is from a plugin (
viewtopic.php?t=21024) ... not sure if that makes any difference
Re: Dashticz - Bug report
Posted: Friday 07 September 2018 20:58
by pollefinario
For me also the "dummy" selector switches are not working any more. I've added the switch in several ways, but no succes.

- Schermafbeelding 2018-09-07 om 20.58.51.png (113.86 KiB) Viewed 5221 times
Re: Dashticz - Bug report
Posted: Friday 07 September 2018 21:58
by EdwinK
pollefinario wrote: Friday 07 September 2018 20:58
For me also the "dummy" selector switches are not working any more. I've added the switch in several ways, but no succes.
You might want to check main.js and see this line
Code: Select all
var names = device['LevelNames'].split('|');
and change it into:
Code: Select all
var names = atob(device['LevelNames']).split('|');
MAKE A BACKUP FIRST
Re: Dashticz - Bug report
Posted: Friday 07 September 2018 22:28
by pollefinario
Great, thanks a million, that seems to be the trick!
Re: Dashticz - Bug report
Posted: Monday 10 September 2018 13:12
by joostnl
I still get alot of: 'Could not reach domoticz' on my dasthicz.
I have BASIC AUTH in domoticz set.
Now i check my domoticz log and i see alot of this erros.
2018-09-10 11:09:07.442 Error: [web:2449] Failed authentication attempt, ignoring client request (remote address: 192.168.1.195)
This is my IP from my wall tablet.
Anyone know how to fix this, my tablet is running kiosk browser?
(Dashticz works half of the time and sometimes it is lagging/hanging)
Re: Dashticz - Bug report
Posted: Monday 10 September 2018 15:51
by HansieNL
Have you already tried in Domoticz - Setup - Settings - System - Local Networks (no username/password) to set your local network?
Re: Dashticz - Bug report
Posted: Sunday 23 September 2018 23:12
by renerene
Does Domoticz still supports weather Underground?
After update is does not work anymore. I had to remove line
, otherwose Dashticz does not load
Re: Dashticz - Bug report
Posted: Sunday 23 September 2018 23:49
by HansieNL
renerene wrote: Sunday 23 September 2018 23:12
Does Domoticz still supports weather Underground?
After update is does not work anymore. I had to remove line
, otherwose Dashticz does not load
Still working here. Are you using a valid key? What update do you mean?
Re: Dashticz - Bug report
Posted: Monday 24 September 2018 0:51
by Omehenne
I did a full reinstall of dashticz by git clone and found the same issue as renerene. After disabling the wu api string it loaded again.
Re: Dashticz - Bug report
Posted: Monday 24 September 2018 16:21
by roseen
renerene wrote: Sunday 23 September 2018 23:12
Does Domoticz still supports weather Underground?
After update is does not work anymore. I had to remove line
, otherwose Dashticz does not load
Note that the Weather Underground API is being discontinued.
So we all need to start evaluating alternatives.
end-of-service-for-the-weather-underground-api:
https://apicommunity.wunderground.com/w ... ground-api