domoticz / domoticz-android

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

Controlling of Events from Android APP no longer working #711

Open vojtishek opened 3 months ago

vojtishek commented 3 months ago

Hello everyone,

I have an issue after upgrading to payed version of Domoticz on Android with turning on/off specific events. UI just didn't reflecting my state and after refresh turned back to previous state. Web UI working as expecting. I'm using that quite often to turn off quickly event from mobile to do not get notification.

this is from protocol

2024-03-25 11:55:10.852 Status: [web:8080] Incoming connection from: 192.168.1.238 2024-03-25 11:55:15.482 Status: [WebServer] Deprecated RType (events) for API request. Call ignored, please use correct API Command! (192.168.1.238)

I'm running Domoticz server od RPI on Version: 2024.4

Any help more than appreciated

Thank you Vojtech

Smartphone (please complete the following information):

galadril commented 3 months ago

I'm improving this currently. https://play.google.com/apps/testing/nl.hnogames.domoticz

Plz apply for beta channel, this should be fixed there

pizzulicchio commented 2 months ago

Hi, i'm using the beta app since weeks, but the problem is still present. My domoticz's server build specs are:

Version: 2024.4 (build 15927) Build Hash: 8d5cd8ab6 Compile Date: 2024-04-03 13:24:10

Here the log of the server when i use the app:

2024-04-04 14:12:38.146 [WebServer] Deprecated RType (plans) for API request. Handled via fallback (getplans), please use correct API Command! (62.XXX.XXX.XXX) 2024-04-04 14:12:38.330 [WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (62.XXX.XXX.XXX) 2024-04-04 14:12:42.016 [WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (62.XXX.XXX.XXX) 2024-04-04 14:12:42.129 [WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (62.XXX.XXX.XXX) 2024-04-04 14:12:46.687 Status: [WebServer] Deprecated RType (events) for API request. Call ignored, please use correct API Command! (62.XXX.XXX.XXX)

In Bold the relevant error.

vojtishek commented 2 months ago

Hello still receiveing error after the udpate from 14.4.

2024-04-18 10:51:18.567 Invalid API command received! (getevents)

tootai commented 2 months ago

Same here other way: v0.2.375 (9514) from 14/04/2024 doesnt connect anymore on 2023.1 (arm v6) domoticz server as at least v0.2.370 (9442) does. Tested on Nexus5, S7 and RedmiNote9

galadril commented 2 months ago

2023.1

this was stated in the release notes.. i updated the app to only work with the new apis from the 2024 releases

tootai commented 2 months ago

I know it was stated but app update didn't mention anything about this.

You can't force users to update there whole installation ! At least propose to NOT update android app if users are not willing or propose a parameter in the app to be compatible with old API (or keep a version compatible). How many raspberry will go garbage ? What about the cost of buying new material ? Nonsense

Where can we download the last compatible version for arm v6 servers ?

tootai commented 2 months ago

BTW, on some installation we use the payed version, money for nothing ?

galadril commented 2 months ago

If you don't update your Domoticz installation, then also don't update your mobile app. There is a limit on how far you can go with backwards compatibility and willing to maintain.

I have two Domoticz setups on which keep track of 2 different versions, to validate the apps against.. I'm not going to install 100 Domoticz setups with all versions, to test against them for backwards compatibility.

Check this issue thread on how many breaking changes were introduced on Domoticz; https://github.com/domoticz/domoticz-android/issues/692

It was in the release notes of the app: image

Please don't continue off-topic on this thread, because ill remove the comments

galadril commented 2 months ago

@vojtishek sorry didnt understand the real issue :D.. thought it was about loading the events list.. but i now notice its indeed on enable/disabling the events... I have a fix

vojtishek commented 2 months ago

Hey, yes It was regarding enable/disabling the events from android app. I have this version of server

Version: 2024.4 Build Hash: 731719420 Compile Date: 2024-01-30 09:16:34 dzVents Version: 3.1.8 Python Version: None

Version of Android app 0.2.375 (9514)

I'm already beta tester.

Still getting same error

2024-04-21 16:44:37.164 Invalid API command received! (getevents)

vojtishek commented 1 month ago

Hi, any update, still stucked with this issue and quite annoying as I've used this feature quite often?

galadril commented 1 month ago

Have you tried Domoticz version 693 (0.2.376 (9591)) ?

vojtishek commented 1 month ago

Now it works, thanks

pizzulicchio commented 1 month ago

Yes, it works now. The "events" are listed and it's possible to enable/disable them. thanks