jake wrote:Today I found time to prepare a fresh Dashticz on the sideline of my 'old' Dashticz that is from July 2017. Many things have changed/updated/improved, so I copied CONFIG.js and started modifying that according to the Dashticz WIKI.
Since I really needed it to get everything working 'the new way', I came across some outdated pieces of information, that obviously haven't been updated in the 'heat of the battle'. No offence, but since I came across them anyhow, I will mention them here for review and update of the WIKI:
http://www.domoticz.com/wiki/Dashticz_V2_-_Installation
config['language']
- some languages are missing and in Sweden Sw should be Sv
http://www.domoticz.com/wiki/Dashticz_V ... figuration
config['calendarlanguage'] = 'nl_NL';
- variable not explained, but seems to control weather dates and garbage pickup dates language. Was quite confusing, since I had a mix of Dutch/English w/o this variable
config['calendarurl'] = 0;
-variable not explained, no idea
config['hide_topbar']
- Topbar setup only referenced at the 'Custom applications'
http://www.domoticz.com/wiki/Dashticz_V ... plications
-- Either link to that section or move it from 'Custom applicatons' to Configuration or Positioning, since it isn't that of a niche, but an important 'block'
-- Or explain the topbar in more detail
config['app_title']
- Seems to be part of the Topbar, but not mentioned as so. The block definition calls it Logo?
http://www.domoticz.com/wiki/Dashticz_V ... dby_Screen
Standby Screen
- var _STANDBY_AFTER_MINUTES still the old variable definition
http://www.domoticz.com/wiki/Dashticz_V ... plications
Garbage collector
- Variables not explained
- Actual supported garbage companies not mentioned, I found them here:
http://www.domoticz.com/forum/viewtopic ... 32#p132882
- I thought that in the garbage config, the original names like gft and rest had to reflect the garbage company way of naming them, so I changed gft into Gft and rest in Rest. The Garbage block didn't work, until I reverted both to gft and rest. Might be added to the explanation that these 'words' shoulnd't be modified (I read in the forum that these words check for multiple synonyms that the different garbage companies use)
Topbar
- Variables not explained
- Logo = app title variable?
- miniclock = date and actual time?
- settings = variable settings = settings + full screen?
- sunrise seems also to be an option, I found in the forum. Is not yet mentioned here
Settings 'on screen' don't 'stick' after 'Save', the site reloads, but the setting remain the 'old ones'. CONFIG.js is also not modified, although it takes all actual values from that file
Except the 'Settings' issue described above, I was able to get everything up and running again, so I don't need further explanation in this topic, but I hope someone with the rights to edit, will update the WIKI.
UPDATE 28-12-17:
The config describes Google Map parameters (the Wiki doesn't describe what to do with them), but I just found in the forum another way of adding the GM to the dashboard:
var maps = {}
maps.location = { height: 800, width:12, latitude: 40.4989948, longitude: -3.6610076, zoom:15 }
and used in:
columns[3] = {}
columns[3]['blocks'] = [maps.location]
I used to use columns[3]['blocks'] = ['trafficmap']