NEWS
Test Adapter HAM 5.2.0 (GitHub)
-
@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.
-
@iphilbln sagte in Test Adapter HAM 5.2.0 (GitHub):
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.
Und du bist sicher das die index.js noch mit dem Logging drin und nicht überschrieben wurde?
naja neben VPN wäre ich eher bei einer Anydesk session. Freitag ggf dafür zeit -
@fa-bio Ok, seems there was a buggy plugin version on npm ... we try if fixed version of plugin work again
-
@apollon77 ich danke dir ganz herzlich.
So, dank dir läuft jetzt auch die 5.2.2 perfekt mit dem homebridge-tahoma@2.241 Plug in. -
@apollon77 ja bin mir da absolut sicher.
Ich bearbeite die über VS Code mit nem ssh Zugang.Dein Wrapper Modul lädt die Module unter folgendem Pfad:
/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-xiaomi-fan
Die index.js sieht aktuell wie folgt aus:
/*----------========== HOMEBRIDGE STATE SETTERS/GETTERS ==========----------*/ getPowerState(callback) { let isFanOn = false; if (this.fanDevice && this.fanDevice.isFanConnected()) { isFanOn = this.fanDevice.isPowerOn(); } this.logInfo(`DEBUG: getPowerState() -> Callback: ${isFanOn}`); callback(null, isFanOn ? Characteristic.Active.ACTIVE : Characteristic.Active.INACTIVE); } setPowerState(state, callback) { this.logInfo(`DEBUG: setPowerState() -> value: ${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: setPowerState() -> Callback: ${isPowerOn}`); callback(); } else { this.logInfo(`DEBUG: setPowerState() -> Callback: cannot set power state`); 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 } this.logInfo(`DEBUG: getFanState() -> Callback: ${fanState}`); 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: getRotationSpeed() -> Callback: ${fanRotationSpeed}`); callback(null, fanRotationSpeed); } setRotationSpeed(value, callback) { this.logInfo(`DEBUG: setRotationSpeed() -> value: ${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: setRotationSpeed() -> Callback: ${value}`); callback(); } else { this.logInfo(`DEBUG: setRotationSpeed() -> Callback: cannot set rotation speed`); callback(this.createError(`cannot set rotation speed`)); } }
Hab es eben nochmal über das Terminal kontrolliert dass auch die richtige index.js editiert wird in VS Code.
Ich logge mit folgendem Befehl:
tail -f /opt/iobroker/log/iobroker.current.log | grep ham.0 > ham.log
Danach kopiere ich es rüber auf meine Mac mit dem Befehl:
scp ham.log philippmielke@10.0.10.4:/Users/philippmielke/Desktop/ham.log
Im Log steht dann folgendes:
states können gesetzt werden: ham.log.zip
states können NICHT gesetzt werden: ham_kaputt.log.zip -
@iphilbln sagte in Test Adapter HAM 5.2.0 (GitHub):
DEBUG:
Hm ... haste mal nach "DEBUG: set" gegreppt in dem File ... da ist was drin
2022-09-14 13:25:00.723 - [34mdebug[39m: ham.0 (111330) [9/14/2022, 1:25:00 PM] [xiaomifan] [Standventilator] DEBUG: setPowerState() -> value: 0
2022-09-14 13:25:31.921 - [34mdebug[39m: ham.0 (111330) [9/14/2022, 1:25:31 PM] [xiaomifan] [Standventilator] DEBUG: setRotationSpeed() -> value: 30... ... ...
Gefühlt sendet der das nur raus wenn das gerät auch an ist ...
-
@apollon77 du kannst dir das logfile auch einfach in den Chrome Browser ziehen und dann nach Begriffen durchsuchen. So mach ich das aktuell.
rechts wird einem auch angezeigt wo er die Begriffe gefunden hat. Finde ich recht praktisch.
-
Ok, dann hoffe ich das die 5.2.3 jetzt endgültig alle Issues löst
-
@apollon77 Guten Morgen,
musste nur noch im Ham Adapter von homebridge-tahoma@2.241 auf homebridge-tahoma ändern.
Alles läuft sehr gut, keine Fehler Daten werden alle empfangen. -
@fa-bio Die "Gefahr" wenn Du es ohne Version angibst ist halt das pot der Start des Adapters wieder ein update installiert und was nicht geht ... als vorsichtig sein
-
@apollon77 ja das dachte ich auch, aber als ich den Ham Adapter heute morgen aktualisiert habe, hat er im Log ein Fehler ausgeben wegen der Version Angabe. Dadurch konnte ich dann die Markisen nicht steuern, also habe ich dann die Version Angabe entfernt und dann funktionierte alles wieder wie immer.
-
@fa-bio haste den Fehler noch? Log is ja unter /opt/iobroker/log/...
-
@apollon77 nein leider gelöscht. Jetzt steht da auch wieder von alleine die Version mit drin drin.
-
@apollon77 hier wie versprochen mein Feedback zur Race condition:
Adapter abonniert jetzt zuverlässig die states.
Was mich irritiert hat, dass wenn in der config.JSON des Geräts die einzelnen Optionen auf false stehen und man den Datenpunkt im iobroker steuern möchte weil er noch aus einer älteren config existiert, führt das zum Absturz des ham Adapters. Soll heißen, es existieren Datenpunkte im iobroker die zum Absturz des Adapters führen wenn sie auf false in der config stehen.
Ansonsten funktioniert jetzt aber alles einwandfrei. Nochmals riesen Dank. -
@fa-bio Hm ... aber von alleine tut sie das nicht wirklich ... strange. Naja hauptsache es geht
-
@iphilbln Wie sieht denn der Absturz aus? Bitte mal error log posten ... das sollte an sich nicht passieren ...