-
Notifications
You must be signed in to change notification settings - Fork 59
Dashticz Configuration Settings
Lokonli edited this page Mar 17, 2019
·
9 revisions
Dashticz can be configured via custom/CONFIG.js as follows:
config = {} //only once!
config[<parameter>] = <value>;
Example for a minimal configuration:
config = {} //only once!
config['domoticz_ip'] = 'http://192.168.1.3:8084';
config['user_name'] = 'domoticz username';
config['pass_word'] = 'domoticz password';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = 5;
config['dashticz_refresh'] = 60;
config['auto_positioning'] = true;
config['use_favorites'] = true;
Full list of parameters:
Parameter | Description |
---|---|
domoticz_ip | IP Address and Portnumber of your Domoticz installation 'http://192.168.1.3:8084'
|
user_name | Domoticz username'' = No username (default) 'john' = Use 'john' as Domoticz username |
pass_word | Domoticz password '' = No password (default) 'secret' = Use 'secret' as Domoticz password |
loginEnabled | Enable if you want a login form to dashticzfalse = No login form (default)true = Login form |
app_title | Name of the Dashboard - Shows in the Topbar'Dashticz' = Show 'Dashticz' in the top bar |
domoticz_refresh | Number of seconds to get the information from Domoticz5 = Refresh of Domoticz data every 5 seconds |
dashticz_refresh | Number of minutes to refresh the Dashticz Dashboard60 = Refresh of the Dashticz dashboard every 60 minutes |
default_news_url | URL of the default news feed 'http://www.nu.nl/rss/algemeen' = Example for nu.nl |
news_scroll_after | Enter the ammount in seconds (delay) 5 = Scroll the news message every 5 seconds |
standby_after | Enter the amount of minutes0 = No standby mode(default)1..1000 = Switch to standby after <value> minutes |
| 0 / [MINUTES]
like: 5 (5 minutes) |
---|
config['auto_swipe_back_to'] |
[SCREEN NR] |
when no activity, swipe back to the selected screen |
- |
config['auto_swipe_back_after'] |
[SECONDS] |
Define the seconds after swiping back to the selected screen |
- |
config['auto_slide_pages'] |
false / [SECONDS] |
Loop all pages and change page every x (min. 5) seconds, set config['auto_swipe_back_after'] = 0 |
- |
config['slide_effect'] |
'slide' or 'fade' or 'cube' or 'coverflow' or 'flip' |
Control which Screenslider effect you prefer |
- |
config['standard_graph'] |
[HOUR/MONTH/DAY] |
Default Graph shown on the Dashticz Dashboard |
- |
config['language'] |
[LANGUAGE] |
Default language of Dashticz |
- |
config['timeformat'] |
[TIMEFORMAT] |
Configure the TimeFormat - Default: 'DD-MM-YY HH:mm' |
- |
config['calendarformat'] |
[CALENDARFORMAT] |
Configure the Calendar Date/Time format - Default: 'dd DD.MM HH:mm' |
- |
config['calendarlanguage'] |
[LANGUAGE] |
Controls the weather dates and garbage pickup dates language |
- |
config['calendarurl'] |
[URL] |
Configure your Calendar URL if only 1 Calendar (ICS) |
- |
config['boss_stationclock'] |
NoBoss / BlackBoss / RedBoss / ViennaBoss |
Configure you're type of clock - Default: RedBoss |
- |
config['gm_api'] |
[API KEY] |
API Key to use with the Google Maps functionality |
- |
config['gm_latitude'] |
[LATITUDE] |
Enter the Latitude to use within Google Maps |
- |
config['gm_longitude'] |
[LONGITUDE] |
Enter the Longitude to use within Google Maps |
- |
config['gm_zoomlevel'] |
[ZOOMLEVEL] |
Enter a number between 1..15 to determine the area shown in the map. 1 = Whole world, higher number smaller are, more detail. |
- |
config['wu_api'] |
[API KEY] |
Put here your API key for Wundergrond Weather. You can get a API key at https://www.wunderground.com/weather/api/d/pricing.html '. ''Edit: You can no longer get a free API key from Wunderground''' |
- |
config['wu_city'] |
[CITY] |
Put here your weather city |
- |
config['wu_country'] |
[COUNTRY] |
Put here your weather country |
- |
config['wu_name'] |
[CITY] |
Alternative display name of your city |
- |
config['idx_moonpicture'] = 0; |
[IDX] |
The IDX number from the user variable MoonPicture (see also https://www.domoticz.com/wiki/Dashticz_V2_-_Custom_Applications#Module_-_Moonphases) |
- |
config['switch_horizon'] |
[ZIGGO URL] |
(Only Dutch users) If you have a Ziggo Horizon box, you can add this here |
- |
config['host_nzbget'] |
[IP ADDRESS:PORT NUMBER] |
Configure the IP Address and Portnumber of your NZB Host |
- |
config['spot_clientid'] |
[CLIENTID] |
Configure your Spotify Client ID (see also https://www.domoticz.com/wiki/Dashticz_V2_-_Custom_Applications#Module_-_Spotify) |
- |
config['selector_instead_of_buttons'] |
0 / 1 |
Show selector as buttons (0) or dropdown menu (1) |
- |
config['auto_positioning'] |
0 / 1 |
Configure the ability to define your own positioning for the buttons (in combination with config['use_favorites']) |
- |
config['use_favorites'] |
0 / 1 |
If use auto positioning, then this item should be 1 |
- |
config['last_update'] |
0 / 1 |
Show when the device is updated for the last time |
- |
config['hide_topbar'] |
0 / 1 |
Hide or Show topbar (see also: http://www.domoticz.com/wiki/Dashticz_V2_-_Custom_Applications#Module_-_Topbar) |
- |
config['hide_seconds'] |
0 / 1 |
Show the seconds of the clock |
- |
config['hide_seconds'] |
0 / 1 |
Configure if you like to show seconds in the Time (Titlebar / block) |
- |
config['hide_seconds_stationclock'] |
0 / 1 |
Configure if you like to show seconds in the StationClock |
- |
config['use_fahrenheit'] |
0 / 1 |
Select temperature in Celcius (Default) of Fahrenheit |
- |
config['use_beaufort'] |
0 / 1 |
Use Bft instead of m/s for windspeed |
- |
config['translate_windspeed'] |
0 / 1 |
For windspeed use north northwest instead of NNW |
- |
config['static_weathericons'] |
0 / 1 |
Use Static or 'moving' weather icons |
- |
config['hide_mediaplayer'] |
0 / 1 |
When you have a mediaplayer connected, hide it when nothing is playing |
- |
config['selector_instead_of_buttons'] |
0 / 1 |
Use buttons for the selector switch in stead of the dropdown menu |
- |
config['settings_icons'] |
["settings", "fullscreen"] |
Show the given icons if the settings block is selected. Available: "settings", "fullscreen" |
- |
config['shortdate'] |
'D MMM' |
Short format for dates, see https://momentjs.com/ for all options. |
- |
config['longdate'] |
'D MMMM YYYY' |
Long format for dates, see https://momentjs.com/ for all options. |
- |
config['shorttime'] |
HH:mm |
Short format for time, see https://momentjs.com/ for all options. |
- |
config['longtime'] |
HH:mm:ss |
Long format for time, see https://momentjs.com/ for all options. |
- |
config['weekday'] |
'dddd' |
Format to show the weekday, see https://momentjs.com/ for all options. |
- |
config['no_rgb'] |
0 / 1 |
Hide or show RGB button on switch |
- |
config['standby_call_url'] |
[URL] |
Enter the url for adjusting the brightness when entering stand-by mode |
- |
config['standby_call_url_on_end'] |
[URL] |
Enter the url for adjusting the brightness when exiting stand-by mode |
- |
config['hide_off_button'] |
0 / 1 |
Hide off button of selector switch |
} |