SphtKr / homebridge-zway

Homebridge plugin for (better) HomeKit support of RaZBerry and Z-Way Server
ISC License
85 stars 37 forks source link

Dimmer 'Not Supported' in iOS 10 Home app #81

Closed wagnerec closed 7 years ago

wagnerec commented 7 years ago

Added a dimmer switch as the 'Kitchen Lights' to the network and it works fine at the switch and through the zway app but iOS 10 doesn't like it. Reports the dimmer as 'Not Supported' with no options. Another switch and plug both work fine with it.

From http://raspberrypi.local:8083/ZAutomation/api/v1/devices

{"data":{"structureChanged":true,"updateTime":1483390183,"devices":[{"creationTime":1482625027,"creatorId":5,"deviceType":"text","h":-1261400328,"hasHistory":false,"id":"InfoWidget_5_Int","location":0,"metrics":{"title":"Dear Expert User","text":"

If you still want to use ExpertUI please go, after you are successfully logged in, to
Menu > Devices > Manage with ExpertUI
or call
http://MYRASP:8083/expert
in your browser.

You could hide or remove this widget in menu
Apps > Active Tab.
","icon":"app/img/logo-z-wave-z-only.png"},"permanently_hidden":false,"probeType":"","tags":[],"visibility":true,"updateTime":1482625027},{"creationTime":1482625027,"creatorId":7,"deviceType":"battery","h":-592588978,"hasHistory":false,"id":"BatteryPolling_7","location":0,"metrics":{"probeTitle":"Battery","scaleTitle":"%","title":"Battery digest 7"},"permanently_hidden":false,"probeType":"","tags":[],"visibility":true,"updateTime":1482625027},{"creationTime":1481937471,"creatorId":1,"deviceType":"switchBinary","h":1107079066,"hasHistory":false,"id":"ZWayVDev_zway_3-0-37","location":1,"metrics":{"icon":"switch","title":"Christmas Tree","level":"on"},"permanently_hidden":false,"probeType":"","tags":["Homebridge.Service.Type:Outlet"],"visibility":true,"updateTime":1483365599},{"creationTime":1481942025,"creatorId":1,"deviceType":"switchBinary","h":1135708217,"hasHistory":false,"id":"ZWayVDev_zway_4-0-37","location":1,"metrics":{"icon":"switch","title":"Patio Light","level":"off"},"permanently_hidden":false,"probeType":"","tags":[],"visibility":true,"updateTime":1483342204},{"creationTime":1482628254,"creatorId":1,"deviceType":"switchMultilevel","h":1164337369,"hasHistory":false,"id":"ZWayVDev_zway_5-0-38","location":2,"metrics":{"icon":"multilevel","title":"Kitchen Lights","level":0},"permanently_hidden":false,"probeType":"multilevel","tags":[],"visibility":true,"updateTime":1483389818}]},"code":200,"message":"200 OK","error":null}

From Homebridge accessories:

{"accessories":[{"aid":1,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Default-Manufacturer","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Default-Model","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Homebridge","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Default-SerialNumber","description":"Serial Number"}]},{"iid":7,"type":"49FB9D4D-0FEA-4BF1-8FA6-E7B18AB86DCE","characteristics":[{"iid":8,"type":"77474A2F-FA98-485E-97BE-4762458774D8","perms":["pr","ev"],"format":"uint8","value":0,"description":"State","maxValue":1,"minValue":0,"minStep":1},{"iid":9,"type":"FD9FE4CC-D06F-4FFE-96C6-595D464E1026","perms":["pr","ev"],"format":"string","value":"1.0","description":"Version"},{"iid":10,"type":"5819A4C2-E1B0-4C9D-B761-3EB1AFF43073","perms":["pr","pw","ev"],"format":"data","value":null,"description":"Control Point"}]}]},{"aid":2,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Front Garage Door","description":"Name"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"LiftMaster","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Rev-1","description":"Model"},{"iid":5,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"A1S2NASF88EW","description":"SN"},{"iid":6,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify Accessory"}]},{"iid":7,"type":"00000041-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Garage Door","description":"Name"},{"iid":9,"type":"0000000E-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"int","value":null,"description":"BlaBla","maxValue":4,"minValue":0,"minStep":1},{"iid":10,"type":"00000032-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"int","value":1,"description":"BlaBla","maxValue":1,"minValue":0,"minStep":1},{"iid":11,"type":"00000024-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":false,"description":"BlaBla"}]},{"iid":12,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":13,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":true,"description":"Reachable"},{"iid":14,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":15,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"233bed87-a98f-4c8b-ac4e-41e5bd79e595","description":"Accessory Identifier"},{"iid":16,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]},{"aid":3,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Default-Manufacturer","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Default-Model","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Pool","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Default-SerialNumber","description":"Serial Number"}]},{"iid":7,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Pool Light","description":"Name"},{"iid":9,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"On"}]},{"iid":10,"type":"00000049-0000-1000-8000-0026BB765291","characteristics":[{"iid":11,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Pool Pump","description":"Name"},{"iid":12,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"On"}]},{"iid":13,"type":"00000049-0000-1000-8000-0026BB765291","characteristics":[{"iid":14,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Waterfalls","description":"Name"},{"iid":15,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"On"}]},{"iid":16,"type":"0000004A-0000-1000-8000-0026BB765291","characteristics":[{"iid":17,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Pool Heater","description":"Name"},{"iid":18,"type":"0000000F-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":0,"description":"Current Heating Cooling State"},{"iid":19,"type":"00000033-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":0,"description":"Target Heating Cooling State"},{"iid":20,"type":"00000011-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":8.9,"description":"Current Temperature","unit":"celsius","maxValue":100,"minValue":0,"minStep":0.1},{"iid":21,"type":"00000035-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":26.7,"description":"Target Temperature","unit":"celsius","maxValue":38,"minValue":10,"minStep":0.1},{"iid":22,"type":"00000036-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Temperature Display Units"}]},{"iid":23,"type":"0000008A-0000-1000-8000-0026BB765291","characteristics":[{"iid":24,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Air Temperature","description":"Name"},{"iid":25,"type":"00000011-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":13.9,"description":"Current Temperature","unit":"celsius","maxValue":100,"minValue":0,"minStep":0.1}]},{"iid":26,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":27,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":false,"description":"Reachable"},{"iid":28,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":29,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"77862741-8cb4-4b30-8dfe-47281afdbf30","description":"Accessory Identifier"},{"iid":30,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]},{"aid":4,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Default-Manufacturer","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Default-Model","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Spa","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Default-SerialNumber","description":"Serial Number"}]},{"iid":7,"type":"00000043-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Spa Light","description":"Name"},{"iid":9,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"On"}]},{"iid":10,"type":"00000049-0000-1000-8000-0026BB765291","characteristics":[{"iid":11,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Spa","description":"Name"},{"iid":12,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"On"}]},{"iid":13,"type":"00000049-0000-1000-8000-0026BB765291","characteristics":[{"iid":14,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Bottom Jet","description":"Name"},{"iid":15,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"On"}]},{"iid":16,"type":"00000049-0000-1000-8000-0026BB765291","characteristics":[{"iid":17,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Bubbles","description":"Name"},{"iid":18,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"On"}]},{"iid":19,"type":"0000004A-0000-1000-8000-0026BB765291","characteristics":[{"iid":20,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Spa Heater","description":"Name"},{"iid":21,"type":"0000000F-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":0,"description":"Current Heating Cooling State"},{"iid":22,"type":"00000033-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":0,"description":"Target Heating Cooling State"},{"iid":23,"type":"00000011-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":8.9,"description":"Current Temperature","unit":"celsius","maxValue":100,"minValue":0,"minStep":0.1},{"iid":24,"type":"00000035-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":38,"description":"Target Temperature","unit":"celsius","maxValue":38,"minValue":10,"minStep":0.1},{"iid":25,"type":"00000036-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Temperature Display Units"}]},{"iid":26,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":27,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":false,"description":"Reachable"},{"iid":28,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":29,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"c5d5f098-44cd-40bc-94e9-3e243edb91b7","description":"Accessory Identifier"},{"iid":30,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]},{"aid":5,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Z-Wave.me","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Virtual Device (VDev version 1)","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Christmas Tree","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"VDev-1107079066","description":"Serial Number"}]},{"iid":7,"type":"00000049-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Christmas Tree","description":"Name"},{"iid":9,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":true,"description":"On"}]},{"iid":10,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":11,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":true,"description":"Reachable"},{"iid":12,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":13,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"aca15621-56b3-44d7-989c-89d692ead4bd","description":"Accessory Identifier"},{"iid":14,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]},{"aid":6,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Z-Wave.me","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Virtual Device (VDev version 1)","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Patio Light","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"VDev-1135708217","description":"Serial Number"}]},{"iid":7,"type":"00000049-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Patio Light","description":"Name"},{"iid":9,"type":"00000025-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"bool","value":false,"description":"On"}]},{"iid":10,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":11,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":true,"description":"Reachable"},{"iid":12,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":13,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"33b6f7e0-65da-414b-9be3-957f3ba2f460","description":"Accessory Identifier"},{"iid":14,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]},{"aid":12,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Z-Wave.me","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Virtual Device (VDev version 1)","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Kitchen Lights","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"VDev-1164337369","description":"Serial Number"}]},{"iid":7,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":true,"description":"Reachable"},{"iid":9,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":10,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"c6932957-ac85-43c7-a810-566bb63932d9","description":"Accessory Identifier"},{"iid":11,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]},{"aid":7,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Nest","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Nest thermostat","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Kitchen Thermostat","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":" ","description":"Serial Number"}]},{"iid":7,"type":"0000004A-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"0000000F-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":0,"description":"Current Heating Cooling State"},{"iid":9,"type":"00000033-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Target Heating Cooling State"},{"iid":10,"type":"00000011-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":20.6,"description":"Current Temperature","unit":"celsius","maxValue":100,"minValue":0,"minStep":0.1},{"iid":11,"type":"00000035-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":15.6,"description":"Target Temperature","unit":"celsius","maxValue":38,"minValue":10,"minStep":0.1},{"iid":12,"type":"00000036-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Temperature Display Units"},{"iid":13,"type":"00000010-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":25,"description":"Current Relative Humidity","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":14,"type":"D6D47D29-4639-4F44-B53C-D84015DAEBDB","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"Away"}]},{"iid":15,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":16,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":true,"description":"Reachable"},{"iid":17,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":18,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"de2e78b9-cf35-46e5-8b81-baac5a721303","description":"Accessory Identifier"},{"iid":19,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]},{"aid":8,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Nest","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Nest thermostat","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Upstairs Bedrooms Thermostat","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":" ","description":"Serial Number"}]},{"iid":7,"type":"0000004A-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"0000000F-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":0,"description":"Current Heating Cooling State"},{"iid":9,"type":"00000033-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Target Heating Cooling State"},{"iid":10,"type":"00000011-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":21.7,"description":"Current Temperature","unit":"celsius","maxValue":100,"minValue":0,"minStep":0.1},{"iid":11,"type":"00000035-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":21.1,"description":"Target Temperature","unit":"celsius","maxValue":38,"minValue":10,"minStep":0.1},{"iid":12,"type":"00000036-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Temperature Display Units"},{"iid":13,"type":"00000010-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":25,"description":"Current Relative Humidity","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":14,"type":"D6D47D29-4639-4F44-B53C-D84015DAEBDB","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"Away"}]},{"iid":15,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":16,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":true,"description":"Reachable"},{"iid":17,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":18,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"de698618-10c0-4050-8c2a-f965e7708905","description":"Accessory Identifier"},{"iid":19,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]},{"aid":9,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Nest","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Nest thermostat","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Master Bedroom Thermostat","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":" ","description":"Serial Number"}]},{"iid":7,"type":"0000004A-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"0000000F-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":0,"description":"Current Heating Cooling State"},{"iid":9,"type":"00000033-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Target Heating Cooling State"},{"iid":10,"type":"00000011-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":20,"description":"Current Temperature","unit":"celsius","maxValue":100,"minValue":0,"minStep":0.1},{"iid":11,"type":"00000035-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":15.6,"description":"Target Temperature","unit":"celsius","maxValue":38,"minValue":10,"minStep":0.1},{"iid":12,"type":"00000036-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Temperature Display Units"},{"iid":13,"type":"00000010-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":25,"description":"Current Relative Humidity","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":14,"type":"D6D47D29-4639-4F44-B53C-D84015DAEBDB","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"Away"}]},{"iid":15,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":16,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":true,"description":"Reachable"},{"iid":17,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":18,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"e3c31b2b-14ac-42ae-a4f0-465ee6fe1309","description":"Accessory Identifier"},{"iid":19,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]},{"aid":10,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","perms":["pw"],"format":"bool","description":"Identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Nest","description":"Manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Nest thermostat","description":"Model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"Upstairs Game Room Thermostat","description":"Name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":" ","description":"Serial Number"}]},{"iid":7,"type":"0000004A-0000-1000-8000-0026BB765291","characteristics":[{"iid":8,"type":"0000000F-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":0,"description":"Current Heating Cooling State"},{"iid":9,"type":"00000033-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Target Heating Cooling State"},{"iid":10,"type":"00000011-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":22.2,"description":"Current Temperature","unit":"celsius","maxValue":100,"minValue":0,"minStep":0.1},{"iid":11,"type":"00000035-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"float","value":21.1,"description":"Target Temperature","unit":"celsius","maxValue":38,"minValue":10,"minStep":0.1},{"iid":12,"type":"00000036-0000-1000-8000-0026BB765291","perms":["pr","pw","ev"],"format":"uint8","value":1,"description":"Temperature Display Units"},{"iid":13,"type":"00000010-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"float","value":25,"description":"Current Relative Humidity","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":14,"type":"D6D47D29-4639-4F44-B53C-D84015DAEBDB","perms":["pr","pw","ev"],"format":"bool","value":0,"description":"Away"}]},{"iid":15,"type":"00000062-0000-1000-8000-0026BB765291","characteristics":[{"iid":16,"type":"00000063-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"bool","value":true,"description":"Reachable"},{"iid":17,"type":"0000009C-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint8","value":1,"description":"Link Quality","maxValue":4,"minValue":1,"minStep":1},{"iid":18,"type":"00000057-0000-1000-8000-0026BB765291","perms":["pr"],"format":"string","value":"da885860-9409-4972-8450-edb35680e834","description":"Accessory Identifier"},{"iid":19,"type":"000000A3-0000-1000-8000-0026BB765291","perms":["pr","ev"],"format":"uint16","value":1,"description":"Category","maxValue":16,"minValue":1,"minStep":1}]}]}]}

SphtKr commented 7 years ago

That is indeed strange. It apparently sees the dimmer device but then does not publish any lightbulb service to HomeKit.

Can you run homebridge with DEBUG enabled for ZWayServer, like so:

DEBUG=ZWayServer homebridge -I

for instance, or whatever other switches you are already passing to homebridge. You should see a bit more information about the decision process of mapping Z-Wave to HomeKit devices, and paste those lines here.

wagnerec commented 7 years ago

Looks like that warning at the very end is the issue.

ZWayServer Fetching Z-Way devices... +0ms [Wed Jan 04 2017 04:08:22 GMT+0000 (UTC)] Loading 1 accessories... [Wed Jan 04 2017 04:08:22 GMT+0000 (UTC)] [Front Garage Door] Initializing LiftMaster accessory... ZWayServer Authenticating... +304ms ZWayServer Authenticated. Resubmitting original request... +68ms ZWayServer Got typeKey text for vdev InfoWidget_5_Int +42ms ZWayServer { deviceType: 'text', probeTitle: undefined, probeType: '' } +1ms ZWayServer Got typeKey battery.Battery for vdev BatteryPolling_7 +12ms ZWayServer { deviceType: 'battery', probeTitle: 'Battery', probeType: '' } +1ms ZWayServer Got typeKey switchBinary for vdev ZWayVDev_zway_3-0-37 +2ms ZWayServer { deviceType: 'switchBinary', ZWayServer probeTitle: undefined, ZWayServer probeType: '' } +0ms ZWayServer Got typeKey switchBinary for vdev ZWayVDev_zway_4-0-37 +1ms ZWayServer { deviceType: 'switchBinary', ZWayServer probeTitle: undefined, ZWayServer probeType: '' } +0ms ZWayServer Got typeKey switchMultilevel.multilevel for vdev ZWayVDev_zway_5-0-38 +2ms ZWayServer { deviceType: 'switchMultilevel', ZWayServer probeTitle: undefined, ZWayServer probeType: 'multilevel' } +0ms ZWayServer Got grouped device InfoWidget_5_Int consiting of devices: +2ms ZWayServer InfoWidget_5_Int - text +0ms ZWayServer WARN: Didn't find suitable device class! +1ms ZWayServer Got grouped device BatteryPolling_7 consiting of devices: +0ms ZWayServer BatteryPolling_7 - battery.Battery +0ms ZWayServer WARN: Didn't find suitable device class! +0ms ZWayServer Got grouped device ZWayVDev_3-0 consiting of devices: +0ms ZWayServer ZWayVDev_zway_3-0-37 - switchBinary +0ms ZWayServer Got grouped device ZWayVDev_4-0 consiting of devices: +1ms ZWayServer ZWayVDev_zway_4-0-37 - switchBinary +0ms ZWayServer Got grouped device ZWayVDev_5-0 consiting of devices: +1ms ZWayServer ZWayVDev_zway_5-0-38 - switchMultilevel +0ms [Wed Jan 04 2017 04:08:23 GMT+0000 (UTC)] Initializing platform accessory 'Christmas Tree'... ZWayServer Got typeKey switchBinary for vdev ZWayVDev_zway_3-0-37 +6ms ZWayServer { deviceType: 'switchBinary', ZWayServer probeTitle: undefined, ZWayServer probeType: '' } +0ms ZWayServer Got typeKey switchBinary for vdev ZWayVDev_zway_3-0-37 +26ms ZWayServer { deviceType: 'switchBinary', ZWayServer probeTitle: undefined, ZWayServer probeType: '' } +0ms ZWayServer Loaded services for Christmas Tree +3ms [Wed Jan 04 2017 04:08:23 GMT+0000 (UTC)] Initializing platform accessory 'Patio Light'... ZWayServer Got typeKey switchBinary for vdev ZWayVDev_zway_4-0-37 +8ms ZWayServer { deviceType: 'switchBinary', ZWayServer probeTitle: undefined, ZWayServer probeType: '' } +0ms ZWayServer Got typeKey switchBinary for vdev ZWayVDev_zway_4-0-37 +10ms ZWayServer { deviceType: 'switchBinary', ZWayServer probeTitle: undefined, ZWayServer probeType: '' } +0ms ZWayServer Loaded services for Patio Light +1ms [Wed Jan 04 2017 04:08:23 GMT+0000 (UTC)] Initializing platform accessory 'Kitchen Lights'... ZWayServer Got typeKey switchMultilevel.multilevel for vdev ZWayVDev_zway_5-0-38 +5ms ZWayServer { deviceType: 'switchMultilevel', ZWayServer probeTitle: undefined, ZWayServer probeType: 'multilevel' } +0ms ZWayServer WARN: Only the InformationService was successfully configured for ZWayVDev_zway_5-0-38! No device services available! +1ms

SphtKr commented 7 years ago

Can you confirm what version you're on?

npm list -g | grep homebridge-zway

I think you're still on 0.4.0 or an earlier 0.5 alpha... If so you should probably try npm install -g homebridge-zway@0.5.0-rc0 . You should be able to roll back to the other version if for some reason you have problems, just make a note of what version you're on.

wagnerec commented 7 years ago

That fixed it. I was at 0.4.0. The repository still has it as the current version. Placed the new code in and its working like a charm. Now I just need to finish up my Pentair plugin. Thanks!

SphtKr commented 7 years ago

Ah--yeah, actually npm has the 0.5.0 version, but apparently you have to specifically request it:

npm install -g homebridge-zway@0.5.0-rc0

I need to get on with the last few bug fixes and change that to a non-pre-release so folks don't have that problem.