Domoticz app 2.0 Topic is solved

Moderator: leecollings

User avatar
gizmocuz
Posts: 2482
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Domoticz app 2.0

Post by gizmocuz »

The authentication method currently being used is available since years, for sure in recent stable versions.
There is no need to update to 2020.2 is you do not want to, all you have to do is make sure in your settings that the Normal Login page is used.

Basic Authentication will be removed soon and that is why application developers switching to this method.

We are working on OAuth authentication
Quality outlives Quantity!
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

Im pushing a new version as we speak.. maybe it fixes some issues that you had.
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
jvdz
Posts: 2269
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Domoticz app 2.0

Post by jvdz »

gizmocuz wrote: Thursday 07 May 2020 7:20 Basic Authentication will be removed soon and that is why application developers switching to this method.
We are working on OAuth authentication
Fully understandable, but one could imagine that http with port 8080 remains supported without any authentication for backwards compatibility.
I am happily running 3.78 with an reasonable sized zwave network, and haven't had the need to upgrade for functionality, and since there have been quite some zwave related issues reported in the releases since then, also haven't felt the urge to dive in the deep.

So some simple form of backwards compatibility as suggested would be welcome.

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

jvdz wrote: Thursday 07 May 2020 9:21 Fully understandable, but one could imagine that http with port 8080 remains supported without any authentication for backwards compatibility.
I think this should be fixed in the new Android app thats coming in the store any moment.... LET ME KNOW please ;)
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
videodrome
Posts: 64
Joined: Wednesday 11 May 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by videodrome »

The new app's version (0.2.213) doesn't work. I have domoticz 10717. I hope this issue will be fixed soon.
Snowtiger
Posts: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Re: Domoticz app 2.0

Post by Snowtiger »

videodrome wrote:The new app's version (0.2.213) doesn't work. I have domoticz 10717. I hope this issue will be fixed soon.
In Domoticz - goto Settings - Website authentication - supply username and password and Authentication to Login Page, this should work, I am on a Beta between 4.10717 and 2020 and works like a charme
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

Snowtiger wrote: Thursday 07 May 2020 11:03
videodrome wrote:The new app's version (0.2.213) doesn't work. I have domoticz 10717. I hope this issue will be fixed soon.
In Domoticz - goto Settings - Website authentication - supply username and password and Authentication to Login Page, this should work, I am on a Beta between 4.10717 and 2020 and works like a charme
@Snowtiger, thanks for the assistance!
btw 0.2.214 is coming any moment in the app store.. that solves some little issues
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
videodrome
Posts: 64
Joined: Wednesday 11 May 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by videodrome »

Snowtiger wrote: Thursday 07 May 2020 11:03
videodrome wrote:The new app's version (0.2.213) doesn't work. I have domoticz 10717. I hope this issue will be fixed soon.
In Domoticz - goto Settings - Website authentication - supply username and password and Authentication to Login Page, this should work, I am on a Beta between 4.10717 and 2020 and works like a charme
It doesn't even work that way
gdmr
Posts: 2
Joined: Thursday 07 May 2020 12:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by gdmr »

same here. "timeout or no connection
handshake failed"

on android app version 0.2.213
pi Version: 2020.1
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

It looks like 0.2.214 is available in the play store
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Darsh
Posts: 12
Joined: Tuesday 21 February 2017 13:37
Target OS: Linux
Domoticz version: 2022.1
Contact:

Re: Domoticz app 2.0

Post by Darsh »

Domoticz 4.10726, app 0.2.214 (7369), Authentication: Login Page.
Three mobile phones cannot connect. Was working fine before the upgrade to 0.2.213/214.
App error: "OOPS! Something went wrong. Server error."
Server doesn't have any entries in the log (was logging incoming connections before 0.2.213/0.2.214).


Darsh
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

Darsh wrote: Thursday 07 May 2020 13:33 Domoticz 4.10726, app 0.2.214 (7369), Authentication: Login Page.
Three mobile phones cannot connect. Was working fine before the upgrade to 0.2.213/214.
App error: "OOPS! Something went wrong. Server error."
Server doesn't have any entries in the log (was logging incoming connections before 0.2.213/0.2.214).
Authentication Login Page + a Username and Password set??
Can you try to update Domoticz?
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Darsh
Posts: 12
Joined: Tuesday 21 February 2017 13:37
Target OS: Linux
Domoticz version: 2022.1
Contact:

Re: Domoticz app 2.0

Post by Darsh »

galadril wrote: Thursday 07 May 2020 13:46Authentication Login Page + a Username and Password set??
Yes.
galadril wrote: Thursday 07 May 2020 13:46Can you try to update Domoticz?
It was all working before 0.2.213/214 app version. Domoticz itself is still working stable, it is accessible via the web using a browser, and also from Garmin watch using Garmoticz widget. It is only the app access to it that is broken. I wasn't planning to upgrade Domoticz, to be honest. I will only do it if this is absolutely necessary. At the moment this looks like an app issue, not the Domoticz one.


Darsh
User avatar
jvdz
Posts: 2269
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Domoticz app 2.0

Post by jvdz »

galadril wrote: Thursday 07 May 2020 10:13
jvdz wrote: Thursday 07 May 2020 9:21 Fully understandable, but one could imagine that http with port 8080 remains supported without any authentication for backwards compatibility.
I think this should be fixed in the new Android app thats coming in the store any moment.... LET ME KNOW please ;)
Thanks for the update @galadril!
It didn't work at first as it seems it is still trying to open /logincheck first, and since that call fails in my ancient setup, it still failed, so I simply created a empty file logincheck in directory \home\pi\domoticz\www which fixed that. 8-)
Tested this work-around on v3.8793 and v4.1062.

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Darsh
Posts: 12
Joined: Tuesday 21 February 2017 13:37
Target OS: Linux
Domoticz version: 2022.1
Contact:

Re: Domoticz app 2.0

Post by Darsh »

jvdz wrote: Thursday 07 May 2020 14:01I simply created a empty file logincheck in directory \home\pi\domoticz\www which fixed that. 8-)
Tried that - still doesn't work, but this changes the error message in the app to "Invalid credentials. IMPORTANT: Please check if your Domoticz system uses Login Page as the authentication method. Basic Auth is going to be removed from Domoticz from the next update!"


Darsh
Last edited by Darsh on Thursday 07 May 2020 14:33, edited 1 time in total.
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

Ok good to know @jvdz..



The best way is to update Domoticz and set the authorisation on Login Page and with a username and password.

If you still have issues after installing the mobile 0.2.214 update, and you don't like to update Domoticz,

Simply created a empty file logincheck in directory \home\pi\domoticz\www which fixed that.
Tested this work-around on v3.8793 and v4.1062.
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

Darsh wrote: Thursday 07 May 2020 14:17
jvdz wrote: Thursday 07 May 2020 14:01I simply created a empty file logincheck in directory \home\pi\domoticz\www which fixed that. 8-)
Tried that - still doesn't work, but this changes the error message in the app to "Invalid credentialstials. IMPORTANT: Please check if your Domoticz system uses Login Page as the authentication method. Basic Auth is going to be removed from Domoticz from the next update!"


Darsh
Can you send my your home details, and create a test user for me on your system so i could debug?
if so, please PM me the details
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
jvdz
Posts: 2269
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Domoticz app 2.0

Post by jvdz »

Darsh wrote: Thursday 07 May 2020 14:17
jvdz wrote: Thursday 07 May 2020 14:01I simply created a empty file logincheck in directory \home\pi\domoticz\www which fixed that. 8-)
Tried that - still doesn't work, but this changes the error message in the app to "Invalid credentialstials. IMPORTANT: Please check if your Domoticz system uses Login Page as the authentication method. Basic Auth is going to be removed from Domoticz from the next update!"
Prerequisites for this workaround:
1. Make sure the LAN IP range is defined in the LocalNetwork in the Domoticz setup: Something like: 127.0.0.1;192.168.0.*
2. In the APP setup you simply use the Local IP with the HTTP port (8080) and leave the Userid and password fields empty.
3. Create the aforementioned file in your domoticz setup
..... and you should be back in business. ;)

Jos
Last edited by jvdz on Thursday 07 May 2020 15:06, edited 1 time in total.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Darsh
Posts: 12
Joined: Tuesday 21 February 2017 13:37
Target OS: Linux
Domoticz version: 2022.1
Contact:

Re: Domoticz app 2.0

Post by Darsh »

jvdz wrote: Thursday 07 May 2020 14:28Prerequisites for this workaround:
I confirm the app starts to connect with these prerequisites.

Galadril, I'll create a username for you shortly and PM it to you.


Darsh
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

Darsh wrote: Thursday 07 May 2020 14:41 Darsh
I've created a new version after testing with Darsh > 0.2.215
Should come within 2 hours on your phone
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest