Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No turn off light on Hoobs with shelly 2.5 #128

Closed
uxen-al opened this issue Jun 14, 2020 · 6 comments
Closed

No turn off light on Hoobs with shelly 2.5 #128

uxen-al opened this issue Jun 14, 2020 · 6 comments

Comments

@uxen-al
Copy link

uxen-al commented Jun 14, 2020

Thanks for your work.
I have a problem.
It's no possible to turn off the light controlling by a Shelly 2.5. I can turn on but not off.
I use shelly 2.5 for roller shutters with no problem.

{
"server": {
"port": 8080,
"autostart": 0,
"home_setup_id": "X-HM://0023ISYWYNL74",
"polling_seconds": 5,
"origin": "*"
},
"client": {
"default_route": "status",
"inactive_logoff": 30,
"theme": "hoobs-dark",
"locale": "fr",
"temp_units": "celsius",
"country_code": "FR",
"postal_code": "XXXX",
"latitude": "XXXXX",
"longitude": "XXXXXX"
},
"bridge": {
"name": "HOOBS",
"port": 51826,
"pin": "XXXXXX",
"username": "XXXXXX"
},
"description": "",
"ports": {},
"accessories": [
{
"platform": "Shelly",
"name": "Shelly",
"admin": {
"enabled": "true",
"port": 8181
},
"username": "XXXXXXX",
"password": "XXXXXXXXXX",
"plugin_map": {
"plugin_name": "homebridge-shelly"

@markdueck1
Copy link

markdueck1 commented Jun 18, 2020

I'm in a similar situation, I have not tried roller shutters. It appears that the accessory "On" value is being updated properly but that does not always result in a request to the device/relay. I would guess it's looking at the wrong state, thinking the relay is already in that state and then not sending the update. I will try and debug this a bit further if I have time.

If I start with both relays on in the home app (actual relay state doesn't really matter, but they were both on):

  1. Turn relay 0 off (does not work, no request):
Jun 18 05:39:12 mediapi homebridge[11479]: Thu, 18 Jun 2020 04:39:12 GMT Accessory [Homebridge] Setting Characteristic "On" to value 0
  1. Turn relay 1 off (works):
Jun 18 05:39:13 mediapi homebridge[11479]: Thu, 18 Jun 2020 04:39:13 GMT Accessory [Homebridge] Setting Characteristic "On" to value 0 Jun 18 05:39:13 mediapi homebridge[11479]: 2020-06-18T04:39:13.803Z superagent GET 192.168.13.187/relay/1?turn=off Jun 18 05:39:13 mediapi homebridge[11479]: 2020-06-18T04:39:13.824Z superagent GET 192.168.13.187/relay/1?turn=off -> 200
  1. Turn relay 0 on (works):
Jun 18 05:39:16 mediapi homebridge[11479]: Thu, 18 Jun 2020 04:39:16 GMT Accessory [Homebridge] Setting Characteristic "On" to value 1 Jun 18 05:39:16 mediapi homebridge[11479]: 2020-06-18T04:39:16.720Z superagent GET 192.168.13.187/relay/0?turn=on Jun 18 05:39:16 mediapi homebridge[11479]: 2020-06-18T04:39:16.744Z superagent GET 192.168.13.187/relay/0?turn=on -> 200
  1. Turn relay 1 on (does not work, no request):
Jun 18 05:39:18 mediapi homebridge[11479]: Thu, 18 Jun 2020 04:39:18 GMT Accessory [Homebridge] Setting Characteristic "On" to value 1

@BobbySlope
Copy link

which firmware are you running on the shelly 2.5?

@BobbySlope
Copy link

I am running this firmware and it works well, I will perform an update of the firmware now to see if that changes anything.
Screenshot 2020-06-18 at 10 06 19

@BobbySlope
Copy link

it works on the latest firmware:
Screenshot 2020-06-18 at 10 08 36

@markdueck1
Copy link

I was on v1.6.0, upgraded to v1.7.0, same issue. One relay turns on but won't turn off, one relay turns off but won't turn on.

@BobbySlope
Copy link

See here: #109 (comment)

Check your router/ switch and enable multicast

@alexryd alexryd closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants