Giter Club home page Giter Club logo

Comments (17)

mueberall avatar mueberall commented on June 26, 2024

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.

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on June 26, 2024

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

from homebridge-fhem.

webdandy avatar webdandy commented on June 26, 2024

[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)

from homebridge-fhem.

webdandy avatar webdandy commented on June 26, 2024

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:

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on June 26, 2024

and a list of the fhem device

from homebridge-fhem.

mueberall avatar mueberall commented on June 26, 2024

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)

from homebridge-fhem.

webdandy avatar webdandy commented on June 26, 2024

and a list of the fhem device

How do I get the list?

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on June 26, 2024

with the fhem list command

from homebridge-fhem.

webdandy avatar webdandy commented on June 26, 2024

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

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on June 26, 2024

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.

from homebridge-fhem.

webdandy avatar webdandy commented on June 26, 2024

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

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on June 26, 2024

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

from homebridge-fhem.

webdandy avatar webdandy commented on June 26, 2024

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)

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on June 26, 2024

zeig ein list vom device

from homebridge-fhem.

webdandy avatar webdandy commented on June 26, 2024

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

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on June 26, 2024

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

from homebridge-fhem.

webdandy avatar webdandy commented on June 26, 2024

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

from homebridge-fhem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.