Page 1 of 1
[Solved] Tablet (Nexus 7 and Ipad Air 2) black screen
Posted: Monday 25 November 2019 10:39
by unclekoen
Got an old Nexus 7 tablet from a friend. And I am setting up a fresh Dashticz installation.
Dachticz works on my laptop. The two buttons are showing.
It also works on my phone, Samsung Galaxy S9
But on the Nexus 7 tablet i get an black screen. I see the Dashticz V3 is loading message and after it stays all black.
Testing on my Ipad Air 2 the same black screen.
My laptop uses a 1920x1080 resolution. The Nexus 7 is working on the same resolution (specs info). Using is with Google Chrome and Firefox, both same problem.
It must be something simple, but can not figure it out.
My CONFIG.js
- Spoiler: show
-
var config = {}
config['domoticz_ip'] = 'https://192.168.1.170:443';
config['login_timeout'] = '60';
config['user_name'] = '';
config['pass_word'] = '';
config['app_title'] = 'Dashticz V3b';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['default_cors_url'] = '';
config['dashticz_php_path'] = './vendor/dashticz/';
config['standby_call_url'] = '';
config['standby_call_url_on_end'] = '';
config['theme'] = 'default';
config['background_image'] = 'img/bg2.jpg';
config['standby_after'] = '0';
config['start_page'] = '1';
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['blink_color'] = '255, 255, 255, 1';
config['language'] = 'en_US';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'en_US';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['owm_api'] = '';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['owm_lang'] = '';
config['owm_cnt'] = '4';
config['idx_moonpicture'] = '';
config['longfonds_zipcode'] = '';
config['longfonds_housenumber'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = '';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '';
config['garbage_width'] = '';
config['setpoint_min'] = '5';
config['setpoint_max'] = '40';
config['loginEnabled'] = 0;
config['disable_update_check'] = 0;
config['no_rgb'] = 0;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 0;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['security_button_icons'] = 0;
config['edit_mode'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['owm_days'] = 0;
config['owm_min'] = 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;
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = 0;
config['garbage_use_names'] = 0;
config['garbage_use_cors_prefix'] = 1;
//Definition of screens
screens = {}
screens[1] = {
columns: [1, 2]
}
//Definition of columns
columns = {}
columns[1] = {
//In this example: No blocks are defined in this column
//This column will be empty
width: 4
}
columns[2] = {
blocks : [332, 325],
width: 8
}
//Definition of blocks
blocks = {}
blocks[332] = {
width: 6
}
blocks[325] = {
width: 6
}
Dashticz V3.1.2 master
Domoticz version: 4.10717
I went to more basic. Using the default CONFIG.js, only changed the IP address. On my laptop and phone it is working fine. On the tablets got only a black screen.
Re: Tablet (Nexus 7 and Ipad Air 2) black screen
Posted: Monday 25 November 2019 20:54
by unclekoen
Strange. When ik went to the url of Domoticz in the same browser (Ipad), i get the Domoticz Offline message. Thinking maybe Dashticz could not connect.
Trying on the Nexus 7. The browser does not accept it at first. Letting browser know everything is fine. Domoticz page is showing. Back to the Dashticz page. And now this is working also.
I have Domoticz installed as https. Can i switch to http?
I will have to look on that.
Re: Tablet (Nexus 7 and Ipad Air 2) black screen
Posted: Monday 25 November 2019 23:59
by Lokonli
unclekoen wrote: ↑Monday 25 November 2019 20:54
Strange. When ik went to the url of Domoticz in the same browser (Ipad), i get the Domoticz Offline message. Thinking maybe Dashticz could not connect.
Trying on the Nexus 7. The browser does not accept it at first. Letting browser know everything is fine. Domoticz page is showing. Back to the Dashticz page. And now this is working also.
I have Domoticz installed as https. Can i switch to http?
I will have to look on that.
There have been more reports that Dashticz login only works after successful login in Domoticz.
In Domoticz you have to set Settings -> Settings -> System -> Website protection -> Authentication to "Basic-Auth". Maybe that solves it for you.
Re: Tablet (Nexus 7 and Ipad Air 2) black screen
Posted: Tuesday 26 November 2019 7:31
by unclekoen
Lokonli wrote: ↑Monday 25 November 2019 23:59
There have been more reports that Dashticz login only works after successful login in Domoticz.
In Domoticz you have to set Settings -> Settings -> System -> Website protection -> Authentication to "Basic-Auth". Maybe that solves it for you.
That was already set.
Re: Tablet (Nexus 7 and Ipad Air 2) black screen
Posted: Tuesday 26 November 2019 13:20
by HansieNL
unclekoen wrote: ↑Tuesday 26 November 2019 7:31
Lokonli wrote: ↑Monday 25 November 2019 23:59
There have been more reports that Dashticz login only works after successful login in Domoticz.
In Domoticz you have to set Settings -> Settings -> System -> Website protection -> Authentication to "Basic-Auth". Maybe that solves it for you.
That was already set.
Have you tried to add the local network in Domoticz?
Setup - Settings - Local Networks (no username/password)
Re: Tablet (Nexus 7 and Ipad Air 2) black screen
Posted: Wednesday 27 November 2019 7:14
by unclekoen
HansieNL wrote: ↑Tuesday 26 November 2019 13:20Have you tried to add the local network in Domoticz?
Setup - Settings - Local Networks (no username/password)
Also already set: 192.168.1.*
Re: Tablet (Nexus 7 and Ipad Air 2) black screen
Posted: Wednesday 27 November 2019 7:31
by unclekoen
Clearing cache did the trick for ipad. I can view the Domoticz page. And with this, also Dashticz is showing up.
So it works for both Nexus 7 and Ipad.
Nexus 7: only opening Domoticz page was enough to show Dashticz.
Ipad: opening Domoticz page, but had to clear cache to see an online Domoticz page, to show Dashticz.