Domoticz app 2.0 Topic is solved

Moderator: leecollings

Alain
Posts: 166
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Domoticz app 2.0

Post by Alain »

219 version works perfect for me.

Initially I rated the app 4-stars, but as developer commitment and service is also important, I adjusted my rating to 5-stars. Your dedication is second to none @galadril
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
User avatar
jvdz
Posts: 2331
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 »

I just saw an APP update to 219 and tested with that as well, but still see the same as I've explained before.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
jvdz
Posts: 2331
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 »

I've made a recording of what I see on my s10e phone : https://1drv.ms/v/s!ArbrxAynjpqNhPt21Ng ... w?e=bOabAt
In this case the first 3 times you see that the Switch "TVHoek" is not doing anything, then the 4th and 5th time it is switching fine and then the 6th time it is failing again.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Geitje
Posts: 170
Joined: Monday 22 January 2018 21:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by Geitje »

I really appreciate your efforts, thanks for that!
5 star review given 8-)
galadril wrote: Friday 08 May 2020 9:19 But this issue with all the old servers / 1000 emails, most nice emails, but some really rude ... / I received like 60 1-star on rating because of this update..
Domoticz beta, on Raspberry Pi 3B, Raspian Buster
Zwave, Zigate, RFlink etc.
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 »

Alain wrote: Saturday 09 May 2020 11:55 219 version works perfect for me.

Initially I rated the app 4-stars, but as developer commitment and service is also important, I adjusted my rating to 5-stars. Your dedication is second to none @galadril
Thanks all
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 »

jvdz wrote: Saturday 09 May 2020 13:33 I've made a recording of what I see on my s10e phone : https://1drv.ms/v/s!ArbrxAynjpqNhPt21Ng ... w?e=bOabAt
In this case the first 3 times you see that the Switch "TVHoek" is not doing anything, then the 4th and 5th time it is switching fine and then the 6th time it is failing again.
Can you set Dashboard as your startup page? just to see if that all works..
Because im thinking that there may be an issue with the Plan page..?

EDIT: Can you contact me on [email protected] ? quickly discussing this in dutch is maybe a bit easier
Even with testing the Plan page, i can't reproduce it.. i think its a combination of Domoticz version + no auth that I just can't setup here or on your test server... Can i test against your system maybe?
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: 2331
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: Saturday 09 May 2020 14:50 EDIT: Can you contact me on [email protected] ? quickly discussing this in dutch is maybe a bit easier
Sure ... will do. ;)
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
dyter
Posts: 42
Joined: Thursday 08 February 2018 15:48
Target OS: NAS (Synology & others)
Domoticz version: 8841
Location: Lyon
Contact:

Re: Domoticz app 2.0

Post by dyter »

is it possible to start the domoticz voice app throught the google voice of android device ?

Because I need to start the mic manualy and google doesn't reconize the command voice of domoticz app.
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
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 »

dyter wrote: Saturday 09 May 2020 15:41 is it possible to start the domoticz voice app throught the google voice of android device ?
No its not integrated with google assistant, its just some simple speech command that you can record and use (you can config them in the settings)
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
sdmg
Posts: 8
Joined: Friday 09 February 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by sdmg »

galadril wrote: Saturday 09 May 2020 14:50
jvdz wrote: Saturday 09 May 2020 13:33 I've made a recording of what I see on my s10e phone : https://1drv.ms/v/s!ArbrxAynjpqNhPt21Ng ... w?e=bOabAt
In this case the first 3 times you see that the Switch "TVHoek" is not doing anything, then the 4th and 5th time it is switching fine and then the 6th time it is failing again.
Can you set Dashboard as your startup page? just to see if that all works..
Because im thinking that there may be an issue with the Plan page..?

EDIT: Can you contact me on [email protected] ? quickly discussing this in dutch is maybe a bit easier
Even with testing the Plan page, i can't reproduce it.. i think its a combination of Domoticz version + no auth that I just can't setup here or on your test server... Can i test against your system maybe?
I have the same problem and it only happens to me on the switch page, not on the plans page.
I am using the latest stable version of domoticz 2020.2.11995 and 0.2.219 of the app.
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 »

sdmg wrote: Saturday 09 May 2020 20:21 I have the same problem and it only happens to me on the switch page, not on the plans page.
I am using the latest stable version of domoticz 2020.2.11995 and 0.2.219 of the app.
I've build a new version and jvdz assisted me with testing, it looks to be fixed.
So within 2hours, there should be a new version in the app store v0.2.220

Let me know!
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
sdmg
Posts: 8
Joined: Friday 09 February 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by sdmg »

galadril wrote: Saturday 09 May 2020 20:34
sdmg wrote: Saturday 09 May 2020 20:21 I have the same problem and it only happens to me on the switch page, not on the plans page.
I am using the latest stable version of domoticz 2020.2.11995 and 0.2.219 of the app.
I've build a new version and jvdz assisted me with testing, it looks to be fixed.
So within 2hours, there should be a new version in the app store v0.2.220

Let me know!
This morning I installed the latest version 0.2.220 and at least it still doesn't work. Before if it worked on plans and not on switches, now neither of them.
When I activate the switch in the app it is activated in domoticz but in the app it appears off, only if I slide to refresh the screen it is activated.

I'll keep testing.
A greeting.
sdmg
Posts: 8
Joined: Friday 09 February 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by sdmg »

sdmg wrote: Sunday 10 May 2020 10:51
galadril wrote: Saturday 09 May 2020 20:34
sdmg wrote: Saturday 09 May 2020 20:21 I have the same problem and it only happens to me on the switch page, not on the plans page.
I am using the latest stable version of domoticz 2020.2.11995 and 0.2.219 of the app.
I've build a new version and jvdz assisted me with testing, it looks to be fixed.
So within 2hours, there should be a new version in the app store v0.2.220

Let me know!
This morning I installed the latest version 0.2.220 and at least it still doesn't work. Before if it worked on plans and not on switches, now neither of them.
When I activate the switch in the app it is activated in domoticz but in the app it appears off, only if I slide to refresh the screen it is activated.

I'll keep testing.
A greeting.
After deleting the settings the following happens:

On the switch screen it doesn't work it just changes when we refresh.
The pop-up window also appears indicating the change of the switch but it has not changed in the app.

On the plans if it works screen, the pop-up window indicating the switch change does not appear on this screen.

On the dashboard screen if it works and also the pop-up window appears indicating the change of the switch.

Greetings and thank you.
joyride1176
Posts: 9
Joined: Tuesday 14 May 2019 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by joyride1176 »

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 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
Just my two cents....

After above fixes To make it working I had to reboot my two Raspberry
Than connectivity has been restored
User avatar
dyter
Posts: 42
Joined: Thursday 08 February 2018 15:48
Target OS: NAS (Synology & others)
Domoticz version: 8841
Location: Lyon
Contact:

Re: Domoticz app 2.0

Post by dyter »

galadril wrote: Saturday 09 May 2020 20:13
dyter wrote: Saturday 09 May 2020 15:41 is it possible to start the domoticz voice app throught the google voice of android device ?
No its not integrated with google assistant, its just some simple speech command that you can record and use (you can config them in the settings)
it's really a shame and useless because the app can't wake the device and notifications don't work in real time
Domoticz v2024.1 on Synology Docker host, RFLink, ESPEasy wemos D1, Ecodevices, relays x8, dahua doorbell, reolink cameras ....
User avatar
jvdz
Posts: 2331
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 0:20
jvdz wrote: Wednesday 06 May 2020 23:56 Is there any documentation on how this "logincheck api method" works and what the app expect as conversation, without trying to distil it for the current GitHub source?
We call the /logincheck endpoint with md5 hashed password, and base64 hashed username as form-data in the POST call.
It returnes some json with info about the logged in user (rights, etc).
And it returns an authentication cookie.. and that cookie is then used for other connections instead of the username/password.
Until the cookie expires.. then we login again for a new cookie
I have been looking at this a little closer but the thing I do not understand is how this /logincheck is made safe to use over an SSL connection?
The Userid and Password are part of the URL so are part of the cleartext part of the SSL connection and can be captured. I do understand that the password isn't reversible, but what is stopping anybody from using the hashes of Userid and Password to start their own connection with the server to get the cookie?
With Basic authentication (https: // userid:password @ ip/) the userid and password are part of the header which does get encrypted by the SSL connection.
I am sure I am missing something here but could somebody enlighten me how it really works? :)

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 »

dyter wrote: Tuesday 12 May 2020 17:26 it's really a shame and useless because the app can't wake the device and notifications don't work in real time
I think that google assistant/ifttt/ al lot more services use oAuth2.0 for security. Domoticz is working on oAuth..
So maybe in the future......
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 »

jvdz wrote: Tuesday 12 May 2020 17:39
galadril wrote: Thursday 07 May 2020 0:20
jvdz wrote: Wednesday 06 May 2020 23:56 Is there any documentation on how this "logincheck api method" works and what the app expect as conversation, without trying to distil it for the current GitHub source?
We call the /logincheck endpoint with md5 hashed password, and base64 hashed username as form-data in the POST call.
It returnes some json with info about the logged in user (rights, etc).
And it returns an authentication cookie.. and that cookie is then used for other connections instead of the username/password.
Until the cookie expires.. then we login again for a new cookie
I have been looking at this a little closer but the thing I do not understand is how this /logincheck is made safe to use over an SSL connection?
The Userid and Password are part of the URL so are part of the cleartext part of the SSL connection and can be captured. I do understand that the password isn't reversible, but what is stopping anybody from using the hashes of Userid and Password to start their own connection with the server to get the cookie?
With Basic authentication (https: // userid:password @ ip/) the userid and password are part of the header which does get encrypted by the SSL connection.
I am sure I am missing something here but could somebody enlighten me how it really works? :)

Jos
Thats probably why the latest logincheck url has all the data in the POST body instead of query parameters....
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 »

For all users that are having issues with Basic Auth being removed.. a new hybrid version is coming (v0.2.221)
Basic auth is working again for that version.. but it prefers the session cookie basic auth.

I hope that this solves some issues for you guys
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: 2331
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: Wednesday 13 May 2020 8:42 Thats probably why the latest logincheck url has all the data in the POST body instead of query parameters....
If this is really the case then I would strongly advice not to use the "old" /logincheck at all and remove it from the APP, as that is a real security problem!
...and thank for adding the Basic Auth back as that is still used by many as it seems. 8-)

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest