hannibal2206 schreef op dinsdag 5 september 2017 @ 00:28:
[...]
Volgens de README file niet ..
# Installation
Before you can use this dashboard, unzip all files to a subfolder in Domoticz or on a webserver of your choice.
Save CONFIG_DEFAULT.js as CONFIG.js and insert the IP-address of Domoticz without a trailing slash; e.g.:
http://192.168.1.3:8084
@
Douwe63
Zou je aub jouw config file, en de URL die je aanroept eens willen posten ?
Ik bedoelde, je moet een / toevoegen aan het adres wat je intypt in je webbrowser (niet aan het adres in de CONFIG.js file).
De initiële CONFIG.js file is vrij leeg (snap niet waarom ze daar niet gewoon alle settings in opgenomen hebben) en was alles commentaar. Toen ik de webpagina aan de praat had kun je rechtsboven via de settings knop wat zaken wijzigen en je krijgt dan een dialoog met additionele settings. Deze heb ik gecopy / paste in de CONFIG.js file.
Ben nog niet aan het spelen geweest met die block configuraties en met onderstaande configuratie zie ik de knoppen die ook zichtbaar zijn op het Domoticz dashboard:
var config = {}
config['domoticz_ip'] = 'http://192.168.178.12:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['standby_after'] = 0;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'en_US';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'en_US';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = 0;
config['gm_zoomlevel'] = 0;
config['gm_latitude'] = 0;
config['gm_longitude'] = 0;
config['wu_api'] = 0;
config['wu_city'] = 'Amsterdam';
config['wu_name'] = 0;
config['wu_country'] = 'NL';
config['idx_moonpicture'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = 0;
config['spot_clientid'] = 0;
config['garbage_company'] = 0;
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 0;
config['garbage_street'] = 0;
config['garbage_housenumber'] = 0;
config['garbage_maxitems'] = 0;
config['garbage_width'] = 0;
config['selector_instead_of_buttons'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['last_update'] = 0;
config['hide_topbar'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 0;
config['hide_mediaplayer'] = 0;
config['garbage_hideicon'] = 0;
De rest van de file heb ik nog uitgecommentarieerd staan.