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

warning from the characteristic 'Saturation' #77

Closed
webdandy opened this issue Feb 26, 2021 · 17 comments
Closed

warning from the characteristic 'Saturation' #77

webdandy opened this issue Feb 26, 2021 · 17 comments

Comments

@webdandy
Copy link

webdandy commented Feb 26, 2021

After upgrading to homebridge 1.3.1 and fhem 0.5.24 i receive the following warning:

Feb 26 07:55:51 SmartHome-Pi4.webdandy.local homebridge[2028]: [26.2.2021, 07:55:51] [homebridge-fhem] This plugin generated a warning from the characteristic 'Saturation': characteristic value expected float and received undefined. See https://git.io/JtMGR for more info.

also the following warning:

Mär 02 09:14:35 SmartHome-Pi4.webdandy.local homebridge[5975]: [2.3.2021, 09:14:35] [homebridge-fhem] This plugin generated a warning from the characteristic 'Hue': characteristic value expected float and received undefined. See https://git.io/JtMGR for more info.

@mueberall
Copy link

I have a similar issue:
[homebridge-fhem] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://git.io/JtMGR for more info.

@justme-1968
Copy link
Owner

please run homebridge with -D for more output and provide a list of the fhem device

@webdandy
Copy link
Author

webdandy commented Mar 3, 2021

[3.3.2021, 19:40:40] [homebridge-fhem] This plugin generated a warning from the characteristic 'Saturation': characteristic value expected float and received undefined. See https://git.io/JtMGR for more info.
[3.3.2021, 19:40:40] [homebridge-fhem] Error:
at Saturation.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2164:105)
at Saturation.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1970:16)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1517:24
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
at FHEMAccessory. (/usr/local/lib/node_modules/homebridge-fhem/index.js:2664:25)
at Request._callback (/usr/local/lib/node_modules/homebridge-fhem/index.js:1063:27)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:268:12)
at Request.emit (events.js:315:20)
at Request. (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:1532:10)
at Request.emit (events.js:315:20)
at Gunzip. (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:1403:12)
at Object.onceWrapper (events.js:421:28)
at Gunzip.emit (events.js:315:20)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)

@webdandy
Copy link
Author

webdandy commented Mar 3, 2021

And the second error:

[3.3.2021, 19:45:01] [homebridge-fhem] This plugin generated a warning from the characteristic 'Hue': characteristic value expected float and received undefined. See https://git.io/JtMGR for more info.
[3.3.2021, 19:45:01] [homebridge-fhem] Error:
at Hue.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2164:105)
at Hue.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1970:16)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1517:24
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
at FHEMAccessory. (/usr/local/lib/node_modules/homebridge-fhem/index.js:2664:25)
at Request._callback (/usr/local/lib/node_modules/homebridge-fhem/index.js:1063:27)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:268:12)
at Request.emit (events.js:315:20)
at Request. (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:1532:10)
at Request.emit (events.js:315:20)
at Gunzip. (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:1403:12)
at Object.onceWrapper (events.js:421:28)
at Gunzip.emit (events.js:315:20)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
[3.3.2021, 19:45:01] [FHEM] value:

@justme-1968
Copy link
Owner

and a list of the fhem device

@mueberall
Copy link

Here is the debug output. But don't know which device is causing the error. Seems to be the plugin homebridge-fhem.
[3/3/2021, 20:52:39] [homebridge-fhem] This plugin generated a warning from the characteristic 'On': characteristic value expected boolean and received undefined. See https://git.io/JtMGR for more info.
[3/3/2021, 20:52:39] [homebridge-fhem] Error:
at On.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2164:105)
at On.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1931:16)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1517:24
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
at FHEMAccessory. (/usr/local/lib/node_modules/homebridge-fhem/index.js:2664:25)
at Request._callback (/usr/local/lib/node_modules/homebridge-fhem/index.js:1063:27)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:268:12)
at Request.emit (events.js:314:20)
at Request. (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:1532:10)
at Request.emit (events.js:314:20)
at Gunzip. (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:1403:12)
at Object.onceWrapper (events.js:420:28)
at Gunzip.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1223:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)

@webdandy
Copy link
Author

webdandy commented Mar 3, 2021

and a list of the fhem device

How do I get the list?

@justme-1968
Copy link
Owner

with the fhem list command

@webdandy
Copy link
Author

webdandy commented Mar 4, 2021

I figured out which device is causing the error.

After removing in from the homekit room there is no log entry anymore.
But what‘s wrong with that device?

Internals: DEF group 3 IODev=HueBridge FUUID 5c4486e6-f33f-88c1-2d5b-cdbcfa50c5445d8e FVERSION 31_HUEDevice.pm:0.238190/2021-02-24 ID G3 INTERVAL IODev HueBridge NAME HUEGroup3 NR 493 STATE unknown TYPE HUEDevice class Kitchen desired 0 lights 9,10 name Küchen Unterbauleuchten type Room READINGS: 2021-03-05 08:37:03 all_on 0 2021-03-05 08:37:03 any_on 0 helper: devtype G update_timeout 1 json: class Kitchen name Küchen Unterbauleuchten type Room action: alert select bri 254 lights: 9 10 sensors: state: lights: 10 1 9 1 Attributes: IODev HueBridge alias Küchen Unterbauleuchten color-icons 2 delayedUpdate 1 devStateIcon {(HUEDevice_devStateIcon($name),"toggle")} group Licht icon light_led room HUEDevice,Küche,Wohnung sortby 7 userattr createActionReadings:1,0 createGroupReadings:1,0 webCmd pct:on:off

@justme-1968
Copy link
Owner

this is a group and not a single device. a group has no readings of its own. so they can't be transmitted and you get an error.

use the createGroupReadings atribute to create the readings.

@webdandy
Copy link
Author

webdandy commented Mar 5, 2021

this is a group and not a single device. a group has no readings of its own. so they can't be transmitted and you get an error.

use the createGroupReadings atribute to create the readings.

Könntest Du mir bitte ein paar mehr Details geben?
Habe im Forum einen Beitrag gefunden, bin mir aber unsicher.
Muss ich bei der Bridge createGroupReadings auf 1 setzen und bei der Gruppe createGroupReadings auf 0?
Muss ich sinst noch etwas machen?
Vielen Dank

@justme-1968
Copy link
Owner

je nach dem was du erreichen willst. probier es einfach aus. es geht nichts kaputt.

für alle gruppen -> nur bei der. bridge auf 1 setzen reicht.
für eine bestimmte gruppe -> in der bridge auf 0 und in dieser einen gruppe auf 1

@webdandy
Copy link
Author

webdandy commented Mar 5, 2021

ah super, danke! jetzt bekomme ich auch endlich bei Gruppen einen Status angezeigt ;-)
Das ging früher nicht.
Allerdings bekomme ich in der homebridge immer noch den 'Hue' Fehler.
Woran könnte dies jetzt noch liegen?

[5.3.2021, 14:58:02] [FHEM] HUEGroup3-hue value scaled to: NaN
[5.3.2021, 14:58:02] [FHEM] HUEGroup3-hue not a number:
[5.3.2021, 14:58:02] [homebridge-fhem] This plugin generated a warning from the characteristic 'Hue': characteristic value expected float and received undefined. See https://git.io/JtMGR for more info.
[5.3.2021, 14:58:02] [homebridge-fhem] Error:
at Hue.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2164:105)
at Hue.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1970:16)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1517:24
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
at FHEMAccessory. (/usr/local/lib/node_modules/homebridge-fhem/index.js:2664:25)
at Request._callback (/usr/local/lib/node_modules/homebridge-fhem/index.js:1063:27)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:268:12)
at Request.emit (events.js:315:20)
at Request. (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:1532:10)
at Request.emit (events.js:315:20)
at Gunzip. (/usr/local/lib/node_modules/homebridge-fhem/node_modules/postman-request/request.js:1403:12)
at Object.onceWrapper (events.js:421:28)
at Gunzip.emit (events.js:315:20)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)

@justme-1968
Copy link
Owner

zeig ein list vom device

@webdandy
Copy link
Author

webdandy commented Mar 5, 2021

Internals:
DEF group 3 IODev=HueBridge
FUUID 5c4486e6-f33f-88c1-2d5b-cdbcfa50c5445d8e
FVERSION 31_HUEDevice.pm:0.238190/2021-02-24
ID G3
INTERVAL
IODev HueBridge
NAME HUEGroup3
NR 497
STATE off
TYPE HUEDevice
class Kitchen
lights 9,10
name Küchen Unterbauleuchten
type Room
READINGS:
2021-03-05 15:48:24 alert select
2021-03-05 15:48:24 all_on 0
2021-03-05 15:48:24 any_on 0
2021-03-05 15:48:24 bri 254
2021-03-05 15:48:24 colormode
2021-03-05 15:48:24 ct 0
2021-03-05 15:48:24 effect
2021-03-05 15:48:24 onoff 0
2021-03-05 15:48:24 pct 0
2021-03-05 15:48:24 reachable 1
2021-03-05 15:48:24 sat 0
2021-03-05 15:48:24 state off
helper:
alert select
bri 254
colormode
ct 0
devtype G
effect
onoff 0
pct 0
reachable 1
sat 0
state off
update_timeout 1
json:
class Kitchen
name Küchen Unterbauleuchten
type Room
action:
alert select
bri 254
lights:
9
10
sensors:
state:
lights:
10 1
9 1
Attributes:
IODev HueBridge
alias Küchen Unterbauleuchten
color-icons 2
delayedUpdate 1
devStateIcon {(HUEDevice_devStateIcon($name),"toggle")}
group Licht
icon light_led
room HUEDevice,Homekit,Küche,Wohnung
sortby 7
userattr createActionReadings:1,0 createGroupReadings:1,0
webCmd pct:on:off

@justme-1968
Copy link
Owner

da sind keine farbingen lampen mit in der gruppe. setz mal das attribut subType auf ctdimmer

@webdandy
Copy link
Author

webdandy commented Mar 5, 2021

Besten Dank, das wars! Danke für die Hilfe. Habs aber auf dimmer gesetzt, wie die einzelnen Lampen schon waren.
Schönes Wochenende!

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

3 participants