jtebbens / com.homewizard

Homewizard app for Homey
9 stars 7 forks source link

Since update to Homey 7.0.1 connection to P1 lost #48

Closed StevenRenders closed 2 years ago

StevenRenders commented 3 years ago

Describe the bug Since update to Homey 7.0.1 connection to P1 lost. Tried several restarts of the app.

Version of the Homewizard Homey app Homewizard 2.0.8 Homey 7.0.1

StevenRenders commented 3 years ago

I had to delete the device, uninstall the app, re-install and recreate the device. This also breaks the "Power by the hour" summaries for gas and power. And now I've lost my history in insights...

jtebbens commented 3 years ago

Sorry to hear but can't really help it. Looking at the Homey firmware release notes I see something changed with "addCapability() which is a function I use for Homewizard app. I run Homey 7.0.0 and had no issues also running a P1 wifi dongle.

[Core] Fixes an issue related to Device#addCapability() which could result in wrong capabilities being assigned to devices

StevenRenders commented 3 years ago

Hi,

Thanks for the quick reaction. After an uninstall of the app and recreating the device, it worked again.

I will keep a close eye on it and update you later if I encounter any issues.

Regards, Steven

Op di 6 jul. 2021 om 12:44 schreef jtebbens @.***>:

Sorry to hear but can't really help it. Looking at the Homey firmware release notes I see something changed with "addCapability() which is a function I use for Homewizard app. I run Homey 7.0.0 and had no issues also running a P1 wifi dongle.

[Core] Fixes an issue related to Device#addCapability() which could result in wrong capabilities being assigned to devices

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jtebbens/com.homewizard/issues/48#issuecomment-874655320, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQI7ZW4UB6LPHYPG7Z4TKDTWLNBJANCNFSM474HAZRQ .

-- Steven Renders

Carnotstraat 131 bus 8 2060 Antwerpen +32 491 52 93 50

jtebbens commented 3 years ago

It is beyond me. I'll keep a close watch when more people upgrade to Homey 7.0.1 as that seems to be the cause I can see for now.

RalfGroot commented 3 years ago

I have just updated my Homey to 7.0.1 and my P1 is still working. :-)

Homey: 7.0.0 -> 7.0.1 HW app: 2.0.8

jtebbens commented 3 years ago

I have just updated my Homey to 7.0.1 and my P1 is still working. :-)

Homey: 7.0.0 -> 7.0.1

HW app: 2.0.8

Thanks Ralf, just really odd with these issues. :(

StevenRenders commented 3 years ago

I believe I've found the issue. Due to some router reconfiguration the P1 dongle got a new ip address. So it was probably not related to the 7.0.1 upgrade at all.

That brings me to the question: Is there a way to change the IP of the P1 device in homey without completely removing it? Can't see it in the device config.

jtebbens commented 3 years ago

Sadly no. This is something you have to enforce from your wifi router (dhcp - static). I stepped away from manually entering the ip as it is adding to much complexity for me. Thanks for letting me know that the IP has changed rather than its related to the app or Homey firmware that changed. An old app had manual ip but that also brought issues with it as in finding the the device for those that didnt know the ip address at all. So both options have their pros and cons. I stick to the discovery as that is the most user friendly one. I advise you to reserve the ip address for the Dongle in your dhcp server (wifi router) so it will keep assigning that ip address from now on, hence it will then never fail anymore on router reboots etc.