Hello!!
I have been using Dashticz on my tablets for a while !!
I set up a dedicated user, in domoticz with "Basic-Auth" authentication method, this method works well, but now with the new Domoticz updates, and consequently the use of the Domoticz App, it will be necessary to use the other method of authentication of Domoticz "Login Page", as Basic-Auth will disappear.
Turning to this method, I noticed that on the dashticz console the lights buttons are displayed, but they can no longer control the change of state.
For now I have solved by adding the IP addresses of the 2 Tablets in Local Networks in Domoticz, so they pass without asking for a password.
I tried to do some research, but is there a way to use in dashticz, the other authentication, Login Page, method towards Domoticz ???
Help for changing from Basic-Auth to Login Page
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 24
- Joined: Wednesday 26 July 2017 6:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Help for changing from Basic-Auth to Login Page
Last edited by grecof973 on Friday 08 May 2020 10:12, edited 1 time in total.
-
- Posts: 204
- Joined: Monday 08 May 2017 20:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Re: Help for changing from Basic-Auth to Login Page
It's working fine here! I was afraid to change too, but it worked without a problem. What is your Domoticz and Dashticz version? Can you post your config file (*** sensible data)
-
- Posts: 24
- Joined: Wednesday 26 July 2017 6:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help for changing from Basic-Auth to Login Page
The Domoticz version and 4.10717
Dashticz use "version": "3.3.3.1",
"branch": "master",
Dashticz use "version": "3.3.3.1",
"branch": "master",
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://XXXXXXXX:8080';
config['login_timeout'] = '60';
config['user_name'] = 'dashticz';
config['pass_word'] = 'dashticz';
config['app_title'] = 'XXXXXXXX';
config['room_plan'] = '0';
config['domoticz_refresh'] = '60';
config['dashticz_refresh'] = '15';
config['default_news_url'] = 'https://www.meteowebcam.eu/rss.xml';
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/bg16.jpg';
config['standby_after'] = '0';
config['start_page'] = '1';
config['enable_swiper'] = '2';
config['vertical_scroll'] = '2';
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '30';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'month';
config['blink_color'] = '255, 255, 255, 1';
config['language'] = 'it_IT';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'it_IT';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'it-IT';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['owm_api'] = 'XXXXXXXXXXXXXXXXXXX';
config['owm_city'] = 'Caserta';
config['owm_name'] = '';
config['owm_country'] = 'it';
config['owm_lang'] = 'it';
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['evohome_status'] = 'Auto';
config['evohome_boost_zone'] = '1';
config['evohome_boost_hw'] = '1';
config['loginEnabled'] = 0;
config['disable_update_check'] = 0;
config['no_rgb'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['disable_googleanalytics'] = 0;
config['last_update'] = 0;
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'] = 1;
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;
-
- Posts: 204
- Joined: Monday 08 May 2017 20:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Re: Help for changing from Basic-Auth to Login Page
Looks OK...
I'm running DZ 2020.1 and Dashticz beta 3.4.5. Login-Page keeps working without a problem. I have no IP's whitelisted (no login).
Maybe try a backup of you Dashticz folder (custom folder is the most important) and update to beta 3.4.5?
I'm running DZ 2020.1 and Dashticz beta 3.4.5. Login-Page keeps working without a problem. I have no IP's whitelisted (no login).
Maybe try a backup of you Dashticz folder (custom folder is the most important) and update to beta 3.4.5?
-
- Posts: 24
- Joined: Wednesday 26 July 2017 6:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help for changing from Basic-Auth to Login Page
I think everything is related to the new Domoticz update .......
-
- Posts: 2261
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Help for changing from Basic-Auth to Login Page
I'm afraid that especially after the latest Domoticz update you have to whitelist your IP. Basic-auth will be removed soon.
Towards the future we might switch to using the Domoticz server, so web authentication can then be used. Or we switch to oauth as authentication method, which Domoticz is considering to implement.
But for the time being: use IP whitelisting.
Sent from my SM-A320FL using Tapatalk
Towards the future we might switch to using the Domoticz server, so web authentication can then be used. Or we switch to oauth as authentication method, which Domoticz is considering to implement.
But for the time being: use IP whitelisting.
Sent from my SM-A320FL using Tapatalk
Who is online
Users browsing this forum: No registered users and 1 guest