domoticz / domoticz-android

Domoticz Client Application for Android Devices
104 stars 69 forks source link

App doesn't work after upgrade #705

Closed jvanderzande closed 8 months ago

jvanderzande commented 8 months ago

Describe the bug The app shows OEPS after upgrade and doesn't do anything anymore. See reports on the domoticz forum: https://www.domoticz.com/forum/viewtopic.php?p=308147

To Reproduce Steps to reproduce the behavior:

  1. upgrade from Domoticz Premium_0.2.361 (9349) to the latest released
  2. start the app

Expected behavior That it works again. ;)

Screenshots !!! See thread in forum.

galadril commented 8 months ago

What's your Domoticz base version, can you update?

jvanderzande commented 8 months ago

Running on an older 4.107 version so guess we lost backwards compatibility? Not planning any upgrade soon as there is no real requirement for me and don't want to break my zwave for now.

kniazio commented 8 months ago

A warning should have been given that older versions of Domoticz would stop working. I wouldn't install updates.

ZaGaPonG commented 8 months ago

Hi, Same problem here. As auto-update was checked my Domoticz premium app has been updated to the last version during the night. The Domoticz version is well find by the app so, the connection is OK but no device are displayed. In addition, working well with the same parameters with the other apps (with subscription plan). In conclusion, the problem coming exclusively from the last version of the app. Please make a simple rollback on Android store, easiest way

Thanks in advance

kniazio commented 8 months ago

Hi, Same problem here. As auto-update was checked my Domoticz premium app has been updated to the last version during the night. The Domoticz version is well find by the app so, the connection is OK but no device are displayed. In addition, working well with the same parameters with the other apps (with subscription plan). In conclusion, the problem coming exclusively from the last version of the app. Please make a simple rollback on Android store, easiest way

Thanks in advance

Tell me how to do it. How to undo an update?

ZaGaPonG commented 8 months ago

Hi, Same problem here. As auto-update was checked my Domoticz premium app has been updated to the last version during the night. The Domoticz version is well find by the app so, the connection is OK but no device are displayed. In addition, working well with the same parameters with the other apps (with subscription plan). In conclusion, the problem coming exclusively from the last version of the app. Please make a simple rollback on Android store, easiest way Thanks in advance

Tell me how to do it. How to undo an update?

Not possible for us (users) but the developper just have to publish a new version (based on previous one). That the easiest way to fix the problem urgently and without waste of time for devs, as this is supposed being an not maintained version

galadril commented 8 months ago

Version 4.10717 (May 9th 2019) Sorry, but I'm trying to keep things backwards compatible until some level.

Domoticz introduced all kinds of reworked api's: https://github.com/domoticz/domoticz-android/issues/692

And I'm trying my best to keep things backwards compatible with the new apis, see v1 and v2 DomoticzValues.java here: https://github.com/domoticz/domoticz-android/commit/b997d5f970ee0c58a8b9a999aa57177ad592af49

But i simple don't have x amount of old Domoticz test systems. So i cant tell you when the app starts to break for these old Domoticz setups.. If you don't update your Domoticz system, please choose then to also not update the app. Don't expect me to keep backwards compatibility for years.

jvanderzande commented 8 months ago

Understand and i have made a workaround for this Breaking-Change made in Domoticz by building a reverse proxy config which updates the keywords from New to Old format, which now works fine with the new version! :) Details can be found here: https://www.domoticz.com/forum/viewtopic.php?p=308169#p308169

galadril commented 8 months ago

Cool, thanks for describing that workaround

galadril commented 8 months ago

Ok so im trying to get something fixed for this issue in the next update. But see this as a best effort

jvlerick commented 8 months ago

Version 4.10717 (May 9th 2019) Sorry, but I'm trying to keep things backwards compatible until some level.

Domoticz introduced all kinds of reworked api's: #692

And I'm trying my best to keep things backwards compatible with the new apis, see v1 and v2 DomoticzValues.java here: b997d5f

But i simple don't have x amount of old Domoticz test systems. So i cant tell you when the app starts to break for these old Domoticz setups.. If you don't update your Domoticz system, please choose then to also not update the app. Don't expect me to keep backwards compatibility for years.

Why is the Legacy Premium still getting updates if it is no longer supported? And how come the free app does work fine with exactly the same server configuration and Domoticz version? My Domoticz version is 2022.2, which is not that old.

ZaGaPonG commented 8 months ago

Ok so im trying to get something fixed for this issue in the next update. But see this as a best effort

Hi, Just updated my Domoticz Premium app from Play Store and work perfectly. Thank you vert much for this fast update, really appreciated!

Have nice day

jvanderzande commented 8 months ago

Ok so im trying to get something fixed for this issue in the next update. But see this as a best effort

The latest is working fine! thanks.