NEWS
Test Adapter HAM 5.2.0 (GitHub)
-
@apollon77 bin von der Version 4.0.2 auf 5.2.0 gewechselt. Wrapper Modus
Habe als Plugin homebridge-tahoma@2.2.37 alles läuft normal, keine Probleme.
Ich kann das steuern und auslesen was sich vorher auch konnte, in diesen Fall handelt sich es um ein Somfy Connectivity Kit mit 4 angemeldeten RTS Markisen.Grüße
Fabio -
Ok, die 5.2.1 geht jetzt ins Beta Repo
-
@apollon77 okay.
Hab es installiert, alles gut keinerlei Probleme.
Danke dir ... -
Modul: xiaomi-fan
Modus: Wrapper und Lokal
Version: 5.2.0 und 5.2.1Das setzten der States funktioniert leider immer noch nicht. Teilweise wurde nur der 'natural mode' und 'roation-speed' übernommen, war aber eher die Ausnahme. Manchmal wurden die States vom iobroker auch nicht mal aktualisiert / gesetzt.
Das abholen der States funktioniert jetzt aber einwandfrei soweit ich getestet habe.DEBUG=HAP-NodeJS* iob debug ham.0 > ham.log
-
@iphilbln Ohne logging von der Library das man sieht was die tut komm ich da nicht weiter. Also am besten bitte loglevel auf "silly" und diesen erweiterten Log modus des Plugins aktivieren ... btw mal die gleichen änderungen machen die wir auf githbu schonmal durchexerziert haben.
-
@apollon77
hab die index.js jetzt so angepasst, dass die value von den Setter und Gettern ausgegeben werden.getPowerState(callback) { let isFanOn = false; if (this.fanDevice && this.fanDevice.isFanConnected()) { isFanOn = this.fanDevice.isPowerOn(); } this.logInfo(`DEBUG: Callback -> get PowerState ${isFanOn}`); callback(null, isFanOn ? Characteristic.Active.ACTIVE : Characteristic.Active.INACTIVE); } setPowerState(state, callback) { this.logInfo(`DEBUG: Try to set PowerState ${state}`); if (this.fanDevice && this.fanDevice.isFanConnected()) { let isPowerOn = state === Characteristic.Active.ACTIVE; // only fire the setPowerOn method when we want to turn off the fan or the fan is off // the rotaion speed slider fires this method many times even when the fan is already on so i need to limit that if (isPowerOn === false || this.fanDevice.isPowerOn() === false) { this.fanDevice.setPowerOn(isPowerOn); } this.logInfo(`DEBUG: Callback -> set PowerState {state: ${state} , isPowerOn: ${isPowerOn}}`); callback(); } else { callback(this.createError(`cannot set power state`)); } } getFanState(callback) { let fanState = Characteristic.CurrentFanState.INACTIVE; if (this.fanDevice && this.fanDevice.isFanConnected()) { fanState = this.fanDevice.isPowerOn() ? Characteristic.CurrentFanState.BLOWING_AIR : Characteristic.CurrentFanState.IDLE } callback(null, fanState); } getRotationSpeed(callback) { let fanRotationSpeed = 0; if (this.fanDevice && this.fanDevice.isFanConnected()) { fanRotationSpeed = this.fanDevice.getRotationSpeed(); fanRotationSpeed = this.adjustToPercentageRange(fanRotationSpeed); } this.logInfo(`DEBUG: Callback -> get Rotationspeed ${fanRotationSpeed}`); callback(null, fanRotationSpeed); } setRotationSpeed(value, callback) { this.logInfo(`DEBUG: Try to set Rotationspeed ${value}`); if (this.fanDevice && this.fanDevice.isFanConnected()) { // use debounce to limit the number of calls when the user slides the rotation slider if (this.rotationSpeedTimeout) clearTimeout(this.rotationSpeedTimeout); this.rotationSpeedTimeout = setTimeout(() => this.fanDevice.setRotationSpeed(value), 500); this.logInfo(`DEBUG: Callback -> set Rotationspeed ${value}`); callback(); } else { callback(this.createError(`cannot set rotation speed`)); } }
Was mich wundert, dass die Getter nur ein mal aufgerufen werden, obwohl die Daten richtig abgeholt werden, wenn ich in der App den Ventilator steuer. Die Setter werden aber nie aufgerufen.
-
@iphilbln Ein silly log bitte
-
@apollon77 gut, ich ging davon aus, dass wenn der log-level auf silly steht, auch über den Adapter debug Modus silly ankommt. Jetzt ist alles im Log enthalten.
-
@iphilbln Na dann muss ich mal lokal bei mir versuchen irgendwie der Lib vorzugaukeln das das so ein gerät ist ....
-
@apollon77 ich kann deine private Nachricht leider nicht öffnen. Erhalte nur folgende Fehlermeldung:
Mein ganze Chatfunktion scheint nicht zu funktionieren:
-
@iphilbln interessant. Log dich mal aus und neu ein. Aber ist einfach: konnte es nachstellen. Muss dann nochmal was Umbauen
-
@apollon77 alles schon probiert. Hab auch alle Tabs geschlossen und neu geöffnet. Keine Chance...
Aber ok, dann weiß ich Bescheid. Sonst melde dich lieber über GitHub. Hätte sonst noch die Idee dir eine VPN Zugang zu einem Testnetzwerk bereitzustellen und einen Testaccount bei Xiaomi, damit du da mehr testen könntest -
@iphilbln ne ich hab in der lib files so gefaked das es soweit geht wie ich es brauche.
-
So also dann neuer Versuch @iPhilBln und alle ... Bitte 5.2.2 testen
-
@apollon77 geht leider nicht.
2022-09-14 11:24:36.456 warn Do not restart adapter system.adapter.ham.0 because restart loop detectedhost.nuc 2022-09-14 11:24:36.456 error instance system.adapter.ham.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:82) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: at Array.shift (<anonymous>) host.nuc 2022-09-14 11:24:36.456 error Caught by controller[2]: [14.9.2022, 11:24:35] [ connectivity kit] RangeError: Maximum call stack size exceeded host.nuc 2022-09-14 11:24:36.456 error Caught by controller[1]: [14.9.2022, 11:24:35] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. host.nuc 2022-09-14 11:24:36.456 error Caught by controller[0]: [14.9.2022, 11:24:35] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
-
@fa-bio Ok,d as scheint irgendwie aber seeehr Pluginspezifisch zu sein. Hab Dir ne PN geschickt.
-
@apollon77 leider keine Änderung. Was mich nach wie vor wundert ist, dass die Debug Nachrichten nur 2 mal im Log bei der Initialisierung erscheinen, obwohl die Daten richtig abgeholt werden, wenn ich den Ventilator über die App steuere.
log : ham.log.zip
-
host.nuc 2022-09-14 12:14:57.525 info Restart adapter system.adapter.ham.0 because enabled host.nuc 2022-09-14 12:14:57.525 error instance system.adapter.ham.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:82) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: at Array.shift (<anonymous>) host.nuc 2022-09-14 12:14:57.525 error Caught by controller[2]: [14.9.2022, 12:14:56] [ connectivity kit] RangeError: Maximum call stack size exceeded host.nuc 2022-09-14 12:14:57.525 error Caught by controller[1]: [14.9.2022, 12:14:56] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. host.nuc 2022-09-14 12:14:57.525 error Caught by controller[0]: [14.9.2022, 12:14:56] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. ham.0 2022-09-14 12:14:57.175 debug updateState Markise.Window-Covering.Name: set postponed value = Markise ham.0 2022-09-14 12:14:57.129 debug updateState Flurmarkise.Window-Covering.Name: set postponed value = Flurmarkise ham.0 2022-09-14 12:14:57.129 info updateState Markise.Window-Covering.Name: value = Markise /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:57.086 debug updateState Markise.Window-Covering.Target-Position: set postponed value = 0 ham.0 2022-09-14 12:14:57.086 debug updateState Elternmarkise.Window-Covering.Name: set postponed value = Elternmarkise ham.0 2022-09-14 12:14:57.085 info updateState Flurmarkise.Window-Covering.Name: value = Flurmarkise /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:57.084 debug updateState Büromarkise.Window-Covering.Name: set postponed value = Büromarkise ham.0 2022-09-14 12:14:57.083 debug updateState Flurmarkise.Window-Covering.Target-Position: set postponed value = 0 ham.0 2022-09-14 12:14:57.083 info updateState Markise.Window-Covering.Target-Position: value = 0 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":true,"role":"level.blind","name":"Target Position"} ham.0 2022-09-14 12:14:57.081 info updateState Elternmarkise.Window-Covering.Name: value = Elternmarkise /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:57.080 debug updateState Connectivity-kit-ledBox.Lightbulb.Brightness: set postponed value = 14 ham.0 2022-09-14 12:14:57.080 info updateState Büromarkise.Window-Covering.Name: value = Büromarkise /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:57.079 debug updateState Markisenbeleuchtung.Switch.Name: set postponed value = Markisenbeleuchtung ham.0 2022-09-14 12:14:57.078 debug updateState Markise.Window-Covering.Position-State: set postponed value = 2 ham.0 2022-09-14 12:14:57.078 info updateState Flurmarkise.Window-Covering.Target-Position: value = 0 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":true,"role":"level.blind","name":"Target Position"} ham.0 2022-09-14 12:14:57.074 debug updateState Elternmarkise.Window-Covering.Target-Position: set postponed value = 0 ham.0 2022-09-14 12:14:57.074 debug updateState Büromarkise.Window-Covering.Target-Position: set postponed value = 0 ham.0 2022-09-14 12:14:57.074 info updateState Connectivity-kit-ledBox.Lightbulb.Brightness: value = 14 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":true,"role":"level.brightness","name":"Brightness"} ham.0 2022-09-14 12:14:57.073 info updateState Markisenbeleuchtung.Switch.Name: value = Markisenbeleuchtung /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:57.072 debug updateState Flurmarkise.Window-Covering.Position-State: set postponed value = 2 ham.0 2022-09-14 12:14:57.072 info updateState Markise.Window-Covering.Position-State: value = 2 /common= {"type":"number","min":0,"max":2,"read":true,"write":false,"role":"value.working","name":"Position State","unit":""} ham.0 2022-09-14 12:14:57.071 debug updateState Connectivity-kit-ledBox.Lightbulb.Name: set postponed value = Connectivity kit-ledBox ham.0 2022-09-14 12:14:57.070 info updateState Elternmarkise.Window-Covering.Target-Position: value = 0 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":true,"role":"level.blind","name":"Target Position"} ham.0 2022-09-14 12:14:57.070 info updateState Büromarkise.Window-Covering.Target-Position: value = 0 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":true,"role":"level.blind","name":"Target Position"} ham.0 2022-09-14 12:14:57.069 debug updateState Markisenbeleuchtung.Switch.On: set postponed value = false ham.0 2022-09-14 12:14:57.068 debug updateState Markise.Window-Covering.Current-Position: set postponed value = 0 ham.0 2022-09-14 12:14:57.068 info updateState Flurmarkise.Window-Covering.Position-State: value = 2 /common= {"type":"number","min":0,"max":2,"read":true,"write":false,"role":"value.working","name":"Position State","unit":""} ham.0 2022-09-14 12:14:57.066 debug updateState Elternmarkise.Window-Covering.Position-State: set postponed value = 2 ham.0 2022-09-14 12:14:57.066 debug updateState Büromarkise.Window-Covering.Position-State: set postponed value = 2 ham.0 2022-09-14 12:14:57.065 info updateState Connectivity-kit-ledBox.Lightbulb.Name: value = Connectivity kit-ledBox /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:57.065 info updateState Markisenbeleuchtung.Switch.On: value = false /common= {"type":"boolean","read":true,"write":true,"role":"switch","name":"On","unit":""} ham.0 2022-09-14 12:14:57.064 info updateState Markise.Window-Covering.Current-Position: value = 0 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":false,"role":"value.blind","name":"Current Position"} ham.0 2022-09-14 12:14:57.063 debug updateState Flurmarkise.Window-Covering.Current-Position: set postponed value = 0 ham.0 2022-09-14 12:14:57.062 info updateState Elternmarkise.Window-Covering.Position-State: value = 2 /common= {"type":"number","min":0,"max":2,"read":true,"write":false,"role":"value.working","name":"Position State","unit":""} ham.0 2022-09-14 12:14:57.061 info updateState Büromarkise.Window-Covering.Position-State: value = 2 /common= {"type":"number","min":0,"max":2,"read":true,"write":false,"role":"value.working","name":"Position State","unit":""} ham.0 2022-09-14 12:14:57.058 debug updateState Connectivity-kit-ledBox.Lightbulb.On: set postponed value = false ham.0 2022-09-14 12:14:57.057 debug updateState Elternmarkise.Window-Covering.Current-Position: set postponed value = 0 ham.0 2022-09-14 12:14:57.057 info updateChannel Markisenbeleuchtung.Switch: name = ham.0 2022-09-14 12:14:57.057 debug updateState Büromarkise.Window-Covering.Current-Position: set postponed value = 0 ham.0 2022-09-14 12:14:57.055 info updateChannel Markise.Window-Covering: name = ham.0 2022-09-14 12:14:57.055 info updateState Flurmarkise.Window-Covering.Current-Position: value = 0 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":false,"role":"value.blind","name":"Current Position"} ham.0 2022-09-14 12:14:57.053 info updateState Connectivity-kit-ledBox.Lightbulb.On: value = false /common= {"type":"boolean","read":true,"write":true,"role":"switch","name":"On","unit":""} ham.0 2022-09-14 12:14:57.052 info updateState Elternmarkise.Window-Covering.Current-Position: value = 0 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":false,"role":"value.blind","name":"Current Position"} ham.0 2022-09-14 12:14:57.051 info updateState Büromarkise.Window-Covering.Current-Position: value = 0 /common= {"type":"number","unit":"%","min":0,"max":100,"read":true,"write":false,"role":"value.blind","name":"Current Position"} ham.0 2022-09-14 12:14:57.051 info updateChannel Flurmarkise.Window-Covering: name = ham.0 2022-09-14 12:14:57.050 debug updateState Markisenbeleuchtung.Accessory-Information.Firmware-Revision: set postponed value = 2.2.40 ham.0 2022-09-14 12:14:57.049 debug updateState Markise.Accessory-Information.Firmware-Revision: set postponed value = 2.2.40 ham.0 2022-09-14 12:14:57.048 info updateChannel Connectivity-kit-ledBox.Lightbulb: name = ham.0 2022-09-14 12:14:57.047 info updateChannel Elternmarkise.Window-Covering: name = ham.0 2022-09-14 12:14:57.046 info updateChannel Büromarkise.Window-Covering: name = ham.0 2022-09-14 12:14:57.045 info updateState Markisenbeleuchtung.Accessory-Information.Firmware-Revision: value = 2.2.40 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} ham.0 2022-09-14 12:14:57.045 debug updateState Flurmarkise.Accessory-Information.Firmware-Revision: set postponed value = 2.2.40 ham.0 2022-09-14 12:14:57.043 info updateState Markise.Accessory-Information.Firmware-Revision: value = 2.2.40 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} ham.0 2022-09-14 12:14:57.043 debug updateState Connectivity-kit-ledBox.Accessory-Information.Firmware-Revision: set postponed value = 2.2.40 ham.0 2022-09-14 12:14:57.042 debug updateState Elternmarkise.Accessory-Information.Firmware-Revision: set postponed value = 2.2.40 ham.0 2022-09-14 12:14:57.042 debug updateState Büromarkise.Accessory-Information.Firmware-Revision: set postponed value = 2.2.40 ham.0 2022-09-14 12:14:57.041 debug updateState Markisenbeleuchtung.Accessory-Information.Serial-Number: set postponed value = ogp:9341619 ham.0 2022-09-14 12:14:56.998 info updateState Flurmarkise.Accessory-Information.Firmware-Revision: value = 2.2.40 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} ham.0 2022-09-14 12:14:56.998 debug updateState Markise.Accessory-Information.Serial-Number: set postponed value = ogp:922101 ham.0 2022-09-14 12:14:56.997 info updateState Connectivity-kit-ledBox.Accessory-Information.Firmware-Revision: value = 2.2.40 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} ham.0 2022-09-14 12:14:56.996 info updateState Büromarkise.Accessory-Information.Firmware-Revision: value = 2.2.40 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} ham.0 2022-09-14 12:14:56.995 info updateState Markisenbeleuchtung.Accessory-Information.Serial-Number: value = ogp:9341619 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} ham.0 2022-09-14 12:14:56.996 info updateState Elternmarkise.Accessory-Information.Firmware-Revision: value = 2.2.40 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} ham.0 2022-09-14 12:14:56.994 debug updateState Flurmarkise.Accessory-Information.Serial-Number: set postponed value = ogp:6106340 ham.0 2022-09-14 12:14:56.993 debug updateState Connectivity-kit-ledBox.Accessory-Information.Serial-Number: set postponed value = ogp:15728639 ham.0 2022-09-14 12:14:56.993 debug updateState Elternmarkise.Accessory-Information.Serial-Number: set postponed value = ogp:13160805 ham.0 2022-09-14 12:14:56.992 debug updateState Büromarkise.Accessory-Information.Serial-Number: set postponed value = ogp:12414329 ham.0 2022-09-14 12:14:56.992 info updateState Markise.Accessory-Information.Serial-Number: value = ogp:922101 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} ham.0 2022-09-14 12:14:56.991 debug updateState Markisenbeleuchtung.Accessory-Information.Name: set postponed value = Markisenbeleuchtung ham.0 2022-09-14 12:14:56.990 info updateState Flurmarkise.Accessory-Information.Serial-Number: value = ogp:6106340 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} ham.0 2022-09-14 12:14:56.989 info updateState Connectivity-kit-ledBox.Accessory-Information.Serial-Number: value = ogp:15728639 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} ham.0 2022-09-14 12:14:56.988 info updateState Elternmarkise.Accessory-Information.Serial-Number: value = ogp:13160805 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} ham.0 2022-09-14 12:14:56.988 info updateState Büromarkise.Accessory-Information.Serial-Number: value = ogp:12414329 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} ham.0 2022-09-14 12:14:56.988 debug updateState Markise.Accessory-Information.Name: set postponed value = Markise ham.0 2022-09-14 12:14:56.987 info updateState Markisenbeleuchtung.Accessory-Information.Name: value = Markisenbeleuchtung /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:56.986 debug updateState Flurmarkise.Accessory-Information.Name: set postponed value = Flurmarkise ham.0 2022-09-14 12:14:56.985 debug updateState Connectivity-kit-ledBox.Accessory-Information.Name: set postponed value = Connectivity kit-ledBox ham.0 2022-09-14 12:14:56.985 debug updateState Elternmarkise.Accessory-Information.Name: set postponed value = Elternmarkise ham.0 2022-09-14 12:14:56.984 debug updateState Büromarkise.Accessory-Information.Name: set postponed value = Büromarkise ham.0 2022-09-14 12:14:56.984 info updateState Markise.Accessory-Information.Name: value = Markise /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:56.983 debug updateState Markisenbeleuchtung.Accessory-Information.Model: set postponed value = Light ham.0 2022-09-14 12:14:56.982 info updateState Flurmarkise.Accessory-Information.Name: value = Flurmarkise /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:56.982 info updateState Connectivity-kit-ledBox.Accessory-Information.Name: value = Connectivity kit-ledBox /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:56.981 info updateState Elternmarkise.Accessory-Information.Name: value = Elternmarkise /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:56.980 info updateState Büromarkise.Accessory-Information.Name: value = Büromarkise /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} ham.0 2022-09-14 12:14:56.978 debug updateState Markise.Accessory-Information.Model: set postponed value = Awning ham.0 2022-09-14 12:14:56.978 debug updateState Flurmarkise.Accessory-Information.Model: set postponed value = Awning ham.0 2022-09-14 12:14:56.978 info updateState Markisenbeleuchtung.Accessory-Information.Model: value = Light /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} ham.0 2022-09-14 12:14:56.978 debug updateState Connectivity-kit-ledBox.Accessory-Information.Model: set postponed value = Light ham.0 2022-09-14 12:14:56.977 debug updateState Elternmarkise.Accessory-Information.Model: set postponed value = Awning ham.0 2022-09-14 12:14:56.977 debug updateState Büromarkise.Accessory-Information.Model: set postponed value = Awning ham.0 2022-09-14 12:14:56.974 info updateState Markise.Accessory-Information.Model: value = Awning /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} ham.0 2022-09-14 12:14:56.974 info updateState Flurmarkise.Accessory-Information.Model: value = Awning /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} ham.0 2022-09-14 12:14:56.972 info updateState Connectivity-kit-ledBox.Accessory-Information.Model: value = Light /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} ham.0 2022-09-14 12:14:56.972 info updateState Elternmarkise.Accessory-Information.Model: value = Awning /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} ham.0 2022-09-14 12:14:56.972 info updateState Büromarkise.Accessory-Information.Model: value = Awning /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} ham.0 2022-09-14 12:14:56.970 debug updateState Markisenbeleuchtung.Accessory-Information.Manufacturer: set postponed value = Somfy ham.0 2022-09-14 12:14:56.969 debug updateState Markise.Accessory-Information.Manufacturer: set postponed value = Somfy ham.0 2022-09-14 12:14:56.969 debug updateState Flurmarkise.Accessory-Information.Manufacturer: set postponed value = Somfy ham.0 2022-09-14 12:14:56.968 debug updateState Connectivity-kit-ledBox.Accessory-Information.Manufacturer: set postponed value = Somfy ham.0 2022-09-14 12:14:56.968 debug updateState Elternmarkise.Accessory-Information.Manufacturer: set postponed value = Somfy ham.0 2022-09-14 12:14:56.968 debug updateState Büromarkise.Accessory-Information.Manufacturer: set postponed value = Somfy ham.0 2022-09-14 12:14:56.966 info updateState Markisenbeleuchtung.Accessory-Information.Manufacturer: value = Somfy /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} ham.0 2022-09-14 12:14:56.966 info updateState Markise.Accessory-Information.Manufacturer: value = Somfy /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} ham.0 2022-09-14 12:14:56.965 info updateState Flurmarkise.Accessory-Information.Manufacturer: value = Somfy /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} ham.0 2022-09-14 12:14:56.965 info updateState Connectivity-kit-ledBox.Accessory-Information.Manufacturer: value = Somfy /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} ham.0 2022-09-14 12:14:56.964 info updateState Elternmarkise.Accessory-Information.Manufacturer: value = Somfy /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} ham.0 2022-09-14 12:14:56.963 info updateState Büromarkise.Accessory-Information.Manufacturer: value = Somfy /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} ham.0 2022-09-14 12:14:56.963 debug updateState Markisenbeleuchtung.Accessory-Information.Identify: set value = false ham.0 2022-09-14 12:14:56.962 debug updateState Markise.Accessory-Information.Identify: set value = false ham.0 2022-09-14 12:14:56.962 debug updateState Flurmarkise.Accessory-Information.Identify: set value = false ham.0 2022-09-14 12:14:56.961 debug updateState Connectivity-kit-ledBox.Accessory-Information.Identify: set value = false ham.0 2022-09-14 12:14:56.961 debug updateState Elternmarkise.Accessory-Information.Identify: set value = false ham.0 2022-09-14 12:14:56.959 debug updateState Büromarkise.Accessory-Information.Identify: set value = false ham.0 2022-09-14 12:14:56.958 info updateState Markisenbeleuchtung.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} ham.0 2022-09-14 12:14:56.958 info updateState Markise.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} ham.0 2022-09-14 12:14:56.958 info updateState Flurmarkise.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} ham.0 2022-09-14 12:14:56.957 info updateState Connectivity-kit-ledBox.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} ham.0 2022-09-14 12:14:56.957 info updateState Elternmarkise.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} ham.0 2022-09-14 12:14:56.956 info updateState Büromarkise.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} ham.0 2022-09-14 12:14:56.953 info updateChannel Markisenbeleuchtung.Accessory-Information: name = ham.0 2022-09-14 12:14:56.952 info updateChannel Markise.Accessory-Information: name = ham.0 2022-09-14 12:14:56.952 info updateChannel Flurmarkise.Accessory-Information: name = ham.0 2022-09-14 12:14:56.951 info updateChannel Connectivity-kit-ledBox.Accessory-Information: name = ham.0 2022-09-14 12:14:56.951 info updateChannel Elternmarkise.Accessory-Information: name = ham.0 2022-09-14 12:14:56.950 info updateChannel Büromarkise.Accessory-Information: name = ham.0 2022-09-14 12:14:56.947 warn Terminated (UNCAUGHT_EXCEPTION): Without reason ham.0 2022-09-14 12:14:56.947 info terminating ham.0 2022-09-14 12:14:56.943 info cleaned everything up... ham.0 2022-09-14 12:14:56.935 error Maximum call stack size exceeded ham.0 2022-09-14 12:14:56.934 error RangeError: Maximum call stack size exceeded at Array.shift (<anonymous>) at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:82) at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) at Function.debug (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-tahoma/src/Platform.ts:54:71) ham.0 2022-09-14 12:14:56.926 error unhandled promise rejection: Maximum call stack size exceeded ham.0 2022-09-14 12:14:56.926 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). ham.0 2022-09-14 12:14:56.925 debug setState Markise.Window-Covering.Name: set value = Markise ham.0 2022-09-14 12:14:56.923 debug Char change event: undefined --> Markise ham.0 2022-09-14 12:14:56.923 debug setState Flurmarkise.Window-Covering.Name: set value = Flurmarkise ham.0 2022-09-14 12:14:56.922 debug Char change event: undefined --> Flurmarkise ham.0 2022-09-14 12:14:56.922 debug setState Elternmarkise.Window-Covering.Name: set value = Elternmarkise ham.0 2022-09-14 12:14:56.920 debug Char change event: undefined --> Elternmarkise ham.0 2022-09-14 12:14:56.920 debug setState Büromarkise.Window-Covering.Name: set value = Büromarkise ham.0 2022-09-14 12:14:56.918 debug Char change event: undefined --> Büromarkise ham.0 2022-09-14 12:14:56.918 debug setState Markise.Window-Covering.Target-Position: set value = 0 ham.0 2022-09-14 12:14:56.916 debug setState Flurmarkise.Window-Covering.Target-Position: set value = 0 ham.0 2022-09-14 12:14:56.915 debug Char change event: undefined --> 0 ham.0 2022-09-14 12:14:56.916 debug Char change event: undefined --> 0 ham.0 2022-09-14 12:14:56.915 debug setState Connectivity-kit-ledBox.Lightbulb.Brightness: set value = 14 ham.0 2022-09-14 12:14:56.913 debug Char change event: undefined --> 14 ham.0 2022-09-14 12:14:56.913 debug setState Elternmarkise.Window-Covering.Target-Position: set value = 0 ham.0 2022-09-14 12:14:56.911 debug Char change event: undefined --> 0 ham.0 2022-09-14 12:14:56.911 debug setState Büromarkise.Window-Covering.Target-Position: set value = 0 ham.0 2022-09-14 12:14:56.909 debug Char change event: undefined --> 0 ham.0 2022-09-14 12:14:56.909 debug setState Markisenbeleuchtung.Switch.Name: set value = Markisenbeleuchtung ham.0 2022-09-14 12:14:56.907 debug Char change event: undefined --> Markisenbeleuchtung ham.0 2022-09-14 12:14:56.907 debug setState Markise.Window-Covering.Position-State: set value = 2
-
@iphilbln Du hast aber schon gesehen was er so geloggt hat?
zb:
2022-09-14 11:32:18.033 - [34mdebug[39m: ham.0 (106531) Characteristic warning for Standventilator.Standventilator.Swing-Mode: warn-message characteristic was supplied illegal value: number 30 exceeded maximum of 1 Error:Rotation Speed auf 30 sieht für mich so aus als ob es geklappt hat weil es vom device nochmal bestätigt wurde
Ok nur Active ist komisch ...ich schaue nochmal
EDIT: Ne nix komisch nur meine lokalen Fake-Änderungen weil ich so ein Gerät nicht habe waren weg ...
Also bei mir geht das alles und es ändern sich auch werte.
Bei Dir im Log ist nur auffällig das Du Active scheinbar immer aus schaltest (auf 0) .... die 1-Werte kommen immer nur wenn das gerät die setzt scheinbar ?!
Ich bin gerade am Ende meiner Idee was Dein Xiaomi Fan kram angeht. Lokal kann ich sehen das die Calls da in der Library ankommen wo Sie sollen ... Keine Idee warum das bei dir nicht tut
-
@apollon77
2022-09-14 11:32:18.033 - [34mdebug[39m: ham.0 (106531) Characteristic warning for Standventilator.Standventilator.Swing-Mode: warn-message characteristic was supplied illegal value: number 30 exceeded maximum of 1 Error:--> War mein versehen, hab den falschen Datenpunkt geändert weil der direkt unter fanspeed ist. Hat also keine Aussagekraft.
Hmm ja wie gesagt, wenn ich im ioBroker die Datenpunkte ändere kommt nichts an, würde ja sonst auch im Log stehen. Hatte jetzt in der Zwischenzeit auch mal den gesamten Adapter gelöscht und nen clean install durchgeführt aber Verhalten bleibt identisch. Daten werden abgeholt, können aber nicht gesetzt werden.
Sofern du Lust und Zeit hast könntest du mir noch eine index.js (oder auch andere Dateien) zukommen lassen, wo weitere logging Punkte enthalten sind. Dann füge ich die gerne mit ein. Mehr kann ich denke ich nicht tun bis auf das Angebot mit nem VPN Zugang. Trotzdem schon mal riesen Dank für deine Bemühungen.