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

Water leak sensor show as incompatible device #113

Open
dvd2000k opened this issue Oct 4, 2017 · 2 comments
Open

Water leak sensor show as incompatible device #113

dvd2000k opened this issue Oct 4, 2017 · 2 comments

Comments

@dvd2000k
Copy link

dvd2000k commented Oct 4, 2017

In my configuration i have a fibaro leak sensor, tagged with homebridge.IsPrimary and Homebridge.Service.Type:LeakSensor but in home app it appears as incompatible. What can i do?

@dvd2000k
Copy link
Author

dvd2000k commented Oct 5, 2017

This is the device information about the fibaro flood sensor (shown as not compatible):

{"data":{"creationTime":1507139046,"creatorId":1,"customIcons":{},"deviceType":"sensorBinary","h":1470040552,"hasHistory":false,"id":"ZWayVDev_zway_32-0-113-5-2-A","location":0,"metrics":{"icon":"alarm_flood","level":"off","title":"Sensore Allagamento","isFailed":false,"modificationTime":1507144965,"lastLevel":"off"},"order":{"rooms":0,"elements":0,"dashboard":0},"permanently_hidden":false,"probeType":"alarm_flood","tags":["Homebridge.IsPrimary","Homebridge.Service.Type:LeakSensor"],"visibility":true,"updateTime":1507187578},"code":200,"message":"200 OK","error":null}

then I created in zway server a virtual flood sensor that is shown correctly in home app and have this informations:

{"data":{"creationTime":1507194671,"creatorId":33,"customIcons":{},"deviceType":"sensorBinary","h":-1044436334,"hasHistory":false,"id":"HTTP_Device_sensorBinary_33","location":0,"metrics":{"icon":"flood","level":"off","scaleTitle":"","title":"Flood sensor"},"order":{"rooms":0,"elements":0,"dashboard":0},"permanently_hidden":false,"probeType":"","tags":["Homebridge.IsPrimary","Homebridge.Service.Type:LeakSensor"],"visibility":true,"updateTime":1507194901},"code":200,"message":"200 OK","error":null}

Any ideas?

@dvd2000k
Copy link
Author

dvd2000k commented Oct 5, 2017

I have found the culprit: i have changed in index.js the probetype "alarmSensor_flood" in "alarm_flood" and now is shown correctly as leak sensor in homekit.

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

1 participant