alexryd / homebridge-shelly

Homebridge plugin for Shelly devices
MIT License
301 stars 45 forks source link

Shelly 2. in roller shutter mode without calibration #170

Open shellyman opened 4 years ago

shellyman commented 4 years ago

I am using a Shelly 2.5, which controls 5 roller shutters via a Gira extension input. So there is no motor and thus no load attached to this Shelly. This cannot be calibrated either. The shutters can be moved up and down using the original Shelly APP, but unfortunately not over Homebridge, as the following error occurs: 8/16/2020, 3:33:49 [Shelly] Failed to set rollerPosition 16.8.2020, 15:33:49 [Shelly] Error: cannot GET / roller / 0? Go = to_pos & roller_pos = 100 (400) (device SHSW-25 68C63AFXXXXX, at 192.168.168.227) 8/16/2020, 3:33:55 PM [Shelly] Failed to set rollerPosition 16.8.2020, 15:33:55 [Shelly] Error: cannot GET / roller / 0? Go = to_pos & roller_pos = 100 (400) (device SHSW-25 68C63AXXXXX, at 192.168.168.223)

Is there a solution here, not to query or to skip calibrate under Homebridge? Under hoobs 4.0 unfortunately still like this :-(

BobbySlope commented 4 years ago

@alexryd is there a way to add this functionality to set moving time to roller pos in homekit?

eg:

{ "id": "1D56AF", "type": "windowCovering", "workingtime": "20" }

to get a "fake" rollerpositition for homekit?

edit: or read the working time from shelly device directly?

shellyman commented 4 years ago

I have just tested, unfortunately without success: [Shelly] Error: cannot GET /roller/0?go=to_pos&roller_pos=0 (400) (device SHSW-25 68xxxxxxxx, at 192.168.168.223) "id": "xxxxxx", "username": "admin", "password": "xxxxxxx", "type": "windowCovering", "workingtime": "20"

BobbySlope commented 4 years ago

@shellyman this is not a solution that is programmed yet. it was a way to give the plugindeveloper @alexryd an idea of how it could work. but he still needs to code that :)

shellyman commented 4 years ago

oh sorry, i didn't know that.

alexryd commented 4 years ago

Yes, setting a working time to figure out the current position might work acceptably. It will obviously be out of sync after restarts but I guess that's fine.

BobbySlope commented 4 years ago

To add this feature would be awesome, because some roller shutters are nit able to cablibrate properly. Maybe you can use this also for garage doors?

shellyman commented 4 years ago

Would be great if this worked!

shellyman commented 4 years ago

Hello, I wanted to ask if there is a solution here, it would be great.

alexryd commented 4 years ago

No, not yet.

BobbySlope commented 3 years ago

@alexryd any timeframe, to add this? many thanks for your efforts

LubosKovar commented 3 years ago

@alexryd I join with this wish. Many thanks.

shellyman commented 3 years ago

@alexryd It would be great if that happened.

BobbySlope commented 3 years ago

@alexryd please add this asap, i have a customer with the same issue. Be sure i will send you a lot of Kofi😊

shellyman commented 3 years ago

Hello, I wanted to ask if there is a solution here, it would be great.

shellyman commented 3 years ago

Hello, unfortunately this problem still exists and no solution will come from Shelly, it would be great if there could be one here!

shellyman commented 3 years ago

Hello Alexander, I wanted to ask if you could catch this problem of the Shelly calibration in your super plugin. Unfortunately there will be no solution from Shelly.

LadislavMargai commented 2 years ago

Hi, @alexryd any update on this? I could not do a calibration of my shelly 2.5, because it shows every time 0W consumption :/

shellyman commented 2 years ago

@alexryd That would be great!