jghaanstra / cloud.shelly

Homey app to control Shelly Cloud devices
GNU General Public License v3.0
21 stars 14 forks source link

Not able to control Shelly through Homey after activating password protection on Shelly Pro PM4 device #214

Closed lasertack closed 8 months ago

lasertack commented 8 months ago

Hi!

Today I experienced something strange and it shouldnt have something to do with the the configuration or network. I protected my Shelly Pro 4PM by a password. I entered the password within the homey app and Homey connected to the device. After this Homey acted only in reading mode. It didn´t matter how often or which switch within Homey app I pressed, PM4 didn´t react to it but Homey showed it as it would react e.g. Power on → confirmed by switching the switch to blue. No errors reported. The readings are correct. When I turn the channels by the Shelly app or Walldisplay on or off the status within Homey is updated correctly. Also the power readings are correct. PM4 just doesn´t react to any switch condition change within the Homey app manually or by a flow. After removing the password protection from PM4 everything works well and the PM4 reacts to flows and manual switching through the Homey app.

Alex

jghaanstra commented 8 months ago

Can you send me a diagnostic report after you tried switching a relay with the password protection enabled.

lasertack commented 8 months ago

Here the code: 7fcb02fc-c8d8-4ccf-ad91-a1a7a577fb81

jghaanstra commented 8 months ago

Note to self, important additional information from diagnostic report.

User Message: As described on Github. No reaction on control commands for Channel 2, 3 and 4 when wifi protection is enabled. Channel 1 seems to work.

jghaanstra commented 8 months ago

Did you enabled or changed the password after you paired the device with Homey? And if so, did you update all 4 channels to reflect this change?

[EDIT] I just tested this by adding the Pro 4PM with a password but all 4 channels work fine when switching them from Homey. So I cant really reproduce. The log you send me does not contain anything useful either. Please try removing the device completely and pair it with the password enabled.

lasertack commented 8 months ago

Did you enabled or changed the password after you paired the device with Homey? And if so, did you update all 4 channels to reflect this change?

[EDIT] I just tested this by adding the Pro 4PM with a password but all 4 channels work fine when switching them from Homey. So I cant really reproduce. The log you send me does not contain anything useful either. Please try removing the device completely and pair it with the password enabled.

I added the PM4 to homey before I set the password. The device became unreachable. Then I added the password in Homey and the device was back but only Channel 1 can be controlled. Others not.

jghaanstra commented 8 months ago

Ok, that's because you only updated the password on channel one. This is a user error. Either update the other channels with the correct password or re-pair the device with the password already set.

lasertack commented 8 months ago

Ok, that's because you only updated the password on channel one. This is a user error. Either update the other channels with the correct password or re-pair the device with the password already set.

No, I added the password to all channels.

Will try to repair it while it is in protected mode.

Thanks and happy new year!