PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 43 forks source link

Switchtype selector #34

Closed arcidodo closed 8 years ago

arcidodo commented 8 years ago

Hi! thanks for the plugin so far! its working great!! but i just made an switch to control my TV. is it possible with homekit to have an switch with more options? like this one below?

schermafbeelding 2016-08-15 om 14 32 54

`

  {
     "AddjMulti" : 1.0,
     "AddjMulti2" : 1.0,
     "AddjValue" : 0.0,
     "AddjValue2" : 0.0,
     "BatteryLevel" : 255,
     "CustomImage" : 2,
     "Data" : "Off",
     "Description" : "",
     "Favorite" : 1,
     "HardwareID" : 7,
     "HardwareName" : "Virtuele switch",
     "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
     "HardwareTypeVal" : 15,
     "HaveDimmer" : true,
     "HaveGroupCmd" : true,
     "HaveTimeout" : false,
     "ID" : "0001415A",
     "Image" : "TV",
     "IsSubDevice" : false,
     "LastUpdate" : "2016-08-15 13:47:44",
     "Level" : 0,
     "LevelActions" : "script%3A//request.sh%20off|script%3A//request.sh%20on|script%3A//request.sh%20hdmi1|script%3A//request.sh%20hdmi2",
     "LevelInt" : 0,
     "LevelNames" : "Off|TV|Apple TV|PS4",
     "LevelOffHidden" : false,
     "MaxDimLevel" : 100,
     "Name" : "TV Selector",
     "Notifications" : "false",
     "PlanID" : "0",
     "PlanIDs" : [ 0 ],
     "Protected" : false,
     "SelectorStyle" : 0,
     "ShowNotifications" : true,
     "SignalLevel" : "-",
     "Status" : "Off",
     "StrParam1" : "",
     "StrParam2" : "",
     "SubType" : "Selector Switch",
     "SwitchType" : "Selector",
     "SwitchTypeVal" : 18,
     "Timers" : "false",
     "Type" : "Light/Switch",
     "TypeImg" : "Light",
     "Unit" : 1,
     "Used" : 1,
     "UsedByCamera" : false,
     "XOffset" : "0",
     "YOffset" : "0",
     "idx" : "267"
  },`
PatchworkBoy commented 8 years ago

Nope. Fraid not.

ooii commented 6 years ago

Hi @PatchworkBoy, I read your post on domoticz forum and I'm wondering if there is not a workaround to have a selector switch in Homekit. What about exposing a selector switch as a thermostat? This type of accessory/device is recognized by Homekit which offers the ability to select a mode. I'm asking that because exposing each state of the selector as an individual domoticz switch will increase the number of devices exposed to Homekit which leads to a quick reach of the configuration sync limit between Homekit devices (around 120 devices).

PatchworkBoy commented 6 years ago

HomeKit still only allows specific modes (Auto, Heating, Cooling, Off), not the full range of those defined in your selector switch. 

On Wednesday, 6 June 2018, 10:16, Farid <notifications@github.com> wrote:

Hi @PatchworkBoy, I read your post on domoticz forum and I'm wondering if there is not a workaround to have a selector switch in Homekit. What about exposing a selector switch as a thermostat? This type of accessory/device is recognized by Homekit which offers the ability to select a mode. I'm asking that because exposing each state of the selector as an individual domoticz switch will increase the number of devices exposed to Homekit which leads to a quick reach of the configuration sync limit between Homekit devices (around 120 devices).— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

ooii commented 6 years ago

Okay. Thanks. Hope Apple will add this type of switches soon.