var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU, sw_SW
var _HOST_DOMOTICZ = 'http://192.168.250.202:8080';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _THEME = 'default'
Now I've moved the config from index.html to custom/CONFIG.js and it works on this device.
But when I move to another device (lets say my phone), I get the black screen again.
Maybe it is an initial (cache) problem?
As far as I can see the error starts at the js/main.js file#55
This isn't neccesary, the config I posted was the default one (except the IP ofcourse) and it didnt showed me the switches after i've added that line to the config.
But I did solve the problem a few minutes ago! I had a typo.... I saved the config file as CONFIG.JS, the extension needs to be in small letters, CONFIG.js. So problem solved, thanks for the support!
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ = 'http://10.0.0.95:8080';
var _DOMOTICZ_REFRESH = 10; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _THEME = 'default'; // default = dashticz default theme
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _CLIENTID_SPOTIFY = '*********************';
var _APIKEY_WUNDERGROUND = '****************';
var _WEATHER_CITY = 'Hoofddorp';
var _WEATHER_CITYNAME = 'Hoofddorp'; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT = false;
var _USE_BEAUFORT = false; //Bft instead of m/s
var _TRANSLATE_SPEED = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE = true;
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'
var _hide_topbar = true;
var _APIKEY_MAPS = 'AIzaSyB-9M_gqRF7OuoyikWgxfOr1if3A-PpXNQ';
var _MAPS_LATITUDE = '52.3026557';
var _MAPS_LONGITUDE = '4.6607214,17';
var _AUTO_SWIPEBACK_TO = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME = 10; //seconds
there is my config file.
before the update it was working
when i look at the config_default.js it is completly different from mine, do i need to change something more ?
Is it right that it doesn't show a login screen when opening Dashticz?
That means that it is open to everyone and I don't want that.
How can I add this?
The link throws a 404 error, however I found some other sites.
I put the .htaccess in my www/dashboard/ folder, but no matter what I enter it doesn't do anything. It looks like it isn't able to find and/or read it.
How can I fix this?