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

WaterLevel #43

Closed
theo-69 opened this issue Feb 12, 2018 · 7 comments
Closed

WaterLevel #43

theo-69 opened this issue Feb 12, 2018 · 7 comments

Comments

@theo-69
Copy link

theo-69 commented Feb 12, 2018

It locks like Homebridge WaterLevel is missing:

`/**

  • Characteristic "Water Level"
    */

Characteristic.WaterLevel = function() {
Characteristic.call(this, 'Water Level', '000000B5-0000-1000-8000-0026BB765291');
this.setProps({
format: Characteristic.Formats.FLOAT,
maxValue: 100,
minValue: 0,
perms: [Characteristic.Perms.READ, Characteristic.Perms.NOTIFY]
});
this.value = this.getDefaultValue();
};

inherits(Characteristic.WaterLevel, Characteristic);

Characteristic.WaterLevel.UUID = '000000B5-0000-1000-8000-0026BB765291';
`

@justme-1968
Copy link
Owner

it is at least in the latest homebridge version. just update homebridge and use genericDeviceType WaterLevel. no change to homebridge-fhem is needed.

@theo-69
Copy link
Author

theo-69 commented Feb 13, 2018

it says ecometer: service name WaterLevel unknown

@justme-1968
Copy link
Owner

then the HAP-NodeJS version ist not up to date. check .../HAP-NodeJS/lib/gen/HomeKitTypes.js if WaterLevel is mentioned.

make sure you check the correct path as there may be multiple NodeJS versions on your system.

@theo-69
Copy link
Author

theo-69 commented Feb 15, 2018

Cant finde the HomeKitTypes.js, however all is up to date.. 0.4.41

@theo-69
Copy link
Author

theo-69 commented Feb 15, 2018

Do I need to separate install HAP-NodeJS, i thought its part of homebridge!

@justme-1968
Copy link
Owner

yes. ist is part of the homebridge install.

but make sure it is installed only once as part of the correct homebridge version.

@theo-69
Copy link
Author

theo-69 commented Feb 16, 2018

strange tryed everything, it shows like a switch and if you look for details you can see with in the switch Waterlevel 80%, therefor FHEM is some how mapping it wrong
[2018-2-16 11:50:43] [FHEM] ecometer: service name WaterLevel unknown
img_1629

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

2 participants