alexryd / homebridge-shelly-ng

Homebridge plugin for the next generation of Shelly devices
GNU General Public License v3.0
124 stars 47 forks source link

Window vs. Window Covering #28

Closed MaTr75 closed 2 years ago

MaTr75 commented 2 years ago

I installed a new ShellyPlus 2PM for my Window Covering. I replaced an old Shelly 2.5. The Shelly 2.5 was displayed in homekit as "Window Covering" while the ShellyPlus2PM is shown as "Window". Is it possible to configure the ShellyPkus2PM as "Window Covering" as well?

Elch08 commented 2 years ago

I have the same problem. The roller shutter on my Shelly Plus 2pm is exposed as a Window, and NOT a blind or roller shutter. Would be much appreciated if you could solve this by an update of the plugin. Thanks in advance Bjoern

calamarzo commented 2 years ago

+1

stephanlinke87 commented 2 years ago

Yeah that'd really be great, ran into the same issue :)

Kohlibrie commented 2 years ago

+1

herzkerl commented 2 years ago

+1

boehlefeld commented 2 years ago

+1

LukasHiereth commented 2 years ago

+1

LukasHiereth commented 2 years ago

+1

mschmieder commented 2 years ago

Same issue here. Would love to have the option for blinds instead.

aessing commented 2 years ago

Just added a pull request (#41) where I added the choice of device type in the configuration of the plugin.

@alexryd would you mind reviewing the pull request and perhaps allowing it go through.

hans-kn commented 2 years ago

I would also appreciate to see this feature in this great plugin. Is there a way to patch it myself, if it will not be implemented?

alexryd commented 2 years ago

Version 1.6.0 that I just released adds a configuration option for changing the cover type from Window to Window Covering or Door.

Elch08 commented 2 years ago

I cannot find such configuration option. Do I have to add something in the config.json ?

ghost commented 2 years ago

I can't find this option either, did I oversee anything?

smash14 commented 2 years ago

@Elch08 @l579 it is described in the Readme file how to change the settings for device types:

Only available for devices in cover mode. The type of accessory used to represent the cover. Available options are "door", "window" (default) and "windowCovering".

Just have a look at the table with all the configuration options and search for devices. cover:0.type

ghost commented 2 years ago

Thanks @smash14 I saw that but it is not working when changing to windowCovering…still displayed as window

ghost commented 2 years ago

Could it be, that even I disabled mDNS discovery the devices are found automatically? That way, the default config is used. I even tried disabling mDNS and adding all devices manually, but the plugin discovers all automatically when restarting home bridge and adds them with the default config...

DiMaSchine commented 1 year ago

I have the same issue. I have configured the cover as windowCovering, but the Shelly 2.5 PM is still being recognized as a windows instead of a shutter. What am I missing?

"cover:0": { "exclude": false, "type": "windowCovering"

stealth-modes commented 1 year ago

I have the same issue. With the shelly plus2pm set to cover-mode it was initially recognized als window, after setting "cover:0": { "exclude": false, "type": "windowCovering" it is still exposed as window. I deactivated the plugin to remove all devices from homekit and reactivated again but still exposed as window. Any hint how to reset to get the shelly plus2PM to be shown as Windowcover??

dcdanielcoelho commented 1 year ago

Version 1.6.0 that I just released adds a configuration option for changing the cover type from Window to Window Covering or Door.

The problem still persists, I tried everything, and the default always remains in window, in homebridge and homekit. Any fixes in development? @alexryd Tks.

doviz commented 1 year ago

I have the same issue. With the shelly plus2pm set to cover-mode it was initially recognized als window, after setting "cover:0": { "exclude": false, "type": "windowCovering" it is still exposed as window. I deactivated the plugin to remove all devices from homekit and reactivated again but still exposed as window. Any hint how to reset to get the shelly plus2PM to be shown as Windowcover??

I also just encountered this issue. After upgrading my phone to ios17 even though my shelly config has not changed from windowCovering home app thinks it is a window. Perhaps, there is another way to define windowCovering starting in ios 17?

nivohavi commented 11 months ago

encountered the same issue, shelly config set to windowCovering but home app thinks it is a window... @alexryd, any new ? :)

SilvioMigu commented 11 months ago

Hello So it appears to be an iOS issue On Android or others, does it work well?

Mine is IOS and I can't change it.

fcremer commented 4 months ago

Still the same. Tested on ios17 and ios18 Beta 1

MaDDeePee commented 1 month ago

Its no bug, its you. JSON you need: { "id": "shellyplus2pm-XXXXXXXXXX", "cover:0": { "exclude": false, "type": "windowCovering" } }

working here, good luck!