NEWS
Fenster und andere Geräte zählen opt. Alexa Ansagen
-
@danny_v1
hm...seltsam, Selbstheilung ? -
@dslraser
Naja nicht ganz manchmal gehts manchmal nicht. -
@danny_v1
gibt es da ein bestimmtes Muster ?
Wenn es nicht geht, betrifft das dann immer die gleichen Lampen ?
Für welche Art von Lampen hast Du alias erstellt ? (HUE oder Homematic oder was anderes...?) -
@dslraser
Bis jetzt hab ich noch kein Muster erkannt. Es sind aber laut Log immer die gleichen Stellen beim parsen.Ich habe Osram Smart+ Lampen, welche über einen Conbee2 Stick, also Deconz angebunden sind.
-
@dslraser
du hast doch bei dir auch Fenster die gekippt werden können wenn ich mir deine DP`s anschaue "Keller_Heizung_Fenster".
Ist es bei dir auch so, dass man ja über den geöffnet zustand drüber muss damit gekippt wird, er aber als Telegram Meldung geöffnet schickt da der Zustand ja zu erst kommt!?! Sollte/könnte man da ein timeout von paar ms einbauen damit er den richtigen Status meldet? -
@bishop
da ist ein kleines Timeout drinn. Bei mir reicht der aus. Ich bekomme dann nur eine Meldung. Ich weiß ja nicht wie "laaaangsaaam" Du den Griff drehst ? -
@dslraser
INFO: Frauen im Haushaltkannst du mir sagen wo ich das finde?
Das Blockly bringt mein Laptop zum schwitzen ist nur sehr langsam dort Änderungen vor zu nehmen.Kannst du mir sagen wo ich das finde!?!
-
@bishop sagte in Fenster und andere Geräte zählen opt. Alexa Ansagen:
Kannst du mir sagen wo ich das finde!?!
muss ich selbst raus ssuchen...
(ich melde mich) -
@dslraser
kein Stress eilt nicht! -
@bishop sagte in Fenster und andere Geräte zählen opt. Alexa Ansagen:
@dslraser
kein Stress eilt nicht!einmal in der Funktion main unter Telegram/Fenster
und in der Funktion Fenster_vor_Versand_pruefen
Probiere mal an diesen Stellen (erst mal eine)
-
@dslraser sagte in Fenster und andere Geräte zählen opt. Alexa Ansagen:
@bishop sagte in Fenster und andere Geräte zählen opt. Alexa Ansagen:
@dslraser
kein Stress eilt nicht!einmal in der Funktion main unter Telegram/Fenster
und in der Funktion Fenster_vor_Versand_pruefen
Probiere mal an diesen Stellen (erst mal eine)
Danke werde ich probieren
Im ersten Blockly auf 2sek geändert und jetzt funktioniert es.
-
@dslraser Ich habe dein Script Version 0.6 installiert. Bis auf das Fenster zählen läuft das Script. Lampen, auch dimmbare mit .LEVEL, laufen einwandfrei.
Bei dem Gerätetyp Fenster werden die alias-DP gefüllt und zeigen die Fensteröffnung an.
Die Werte unterhalb von userdata.0 verändern sich nicht. Beim öffnen eines Fensters werden die Werte aktualisiert aber nicht berechnet/aufsummiert.Hier die DP alias.0:
Hier die Werte userdata.0:
An den Scripten habe ich keine Veränderung vorgenommen und auch die Bezeichnungen für die Funktion übernommen.
Update:
Ich sehe im Log, dass er die DPs nicht findet:javascript.0 2020-07-17 10:20:28.258 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.258 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.258 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.258 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.258 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.258 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.258 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.258 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.258 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.257 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2073:12) javascript.0 2020-07-17 10:20:28.257 warn (15937) getState "alias.0.Fenster.Wohnzimmer_Sued_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.257 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.257 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.257 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.257 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.257 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.257 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.257 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.257 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.257 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.256 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2073:12) javascript.0 2020-07-17 10:20:28.256 warn (15937) getState "alias.0.Fenster.Wohnzimmer_Ost2_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.256 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.256 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.256 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.256 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.256 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.256 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.256 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.256 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.256 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.256 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2073:12) javascript.0 2020-07-17 10:20:28.255 warn (15937) getState "alias.0.Fenster.Wohnzimmer_Ost1_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.255 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.255 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.255 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.255 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.255 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.255 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.255 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.255 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.255 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.255 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2073:12) javascript.0 2020-07-17 10:20:28.255 warn (15937) getState "alias.0.Fenster.Schlafzimmer_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.254 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.254 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.254 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.254 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.254 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.254 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.254 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.254 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.254 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.254 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2073:12) javascript.0 2020-07-17 10:20:28.254 warn (15937) getState "alias.0.Fenster.Badezimmer_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.253 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.253 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.253 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.253 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.253 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.253 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.253 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.253 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.253 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.253 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2073:12) javascript.0 2020-07-17 10:20:28.252 warn (15937) getState "alias.0.Fenster.Ankleidezimmer_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.252 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.252 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.252 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.252 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.252 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.252 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.252 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.252 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.252 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.252 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2064:12) javascript.0 2020-07-17 10:20:28.251 warn (15937) getState "alias.0.Fenster.Wohnzimmer_Sued_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.251 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.251 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.251 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.251 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.251 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.251 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.251 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.251 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.251 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.251 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2064:12) javascript.0 2020-07-17 10:20:28.250 warn (15937) getState "alias.0.Fenster.Wohnzimmer_Ost2_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.249 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.249 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.249 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.249 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.249 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.249 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.249 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.249 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.249 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.249 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2064:12) javascript.0 2020-07-17 10:20:28.248 warn (15937) getState "alias.0.Fenster.Wohnzimmer_Ost1_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.248 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.248 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.248 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.248 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.248 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.248 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.248 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.248 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.248 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.248 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2064:12) javascript.0 2020-07-17 10:20:28.248 warn (15937) getState "alias.0.Fenster.Schlafzimmer_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.248 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.248 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.248 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.248 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.248 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.248 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.248 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.248 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.247 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.247 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2064:12) javascript.0 2020-07-17 10:20:28.247 warn (15937) getState "alias.0.Fenster.Badezimmer_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.247 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.247 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.247 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.247 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.247 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.247 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.247 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.247 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.247 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.247 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2064:12) javascript.0 2020-07-17 10:20:28.247 warn (15937) getState "alias.0.Fenster.Ankleidezimmer_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.246 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.246 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.246 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.246 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.246 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.246 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.246 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.246 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.246 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.246 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2055:12) javascript.0 2020-07-17 10:20:28.245 warn (15937) getState "alias.0.Fenster.Wohnzimmer_Sued_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.245 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.245 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.245 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.245 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.245 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.245 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.245 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.245 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.242 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.242 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2055:12) javascript.0 2020-07-17 10:20:28.241 warn (15937) getState "alias.0.Fenster.Wohnzimmer_Ost2_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.241 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.241 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.241 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.241 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.241 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.241 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.241 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.241 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.241 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.241 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2055:12) javascript.0 2020-07-17 10:20:28.240 warn (15937) getState "alias.0.Fenster.Wohnzimmer_Ost1_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.240 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.240 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.240 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.240 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.240 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.240 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.240 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.240 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.240 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.240 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2055:12) javascript.0 2020-07-17 10:20:28.240 warn (15937) getState "alias.0.Fenster.Schlafzimmer_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.239 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.239 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.239 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.239 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.239 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.239 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.239 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.239 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.239 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.239 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2055:12) javascript.0 2020-07-17 10:20:28.239 warn (15937) getState "alias.0.Fenster.Badezimmer_Fenster" not found (3) javascript.0 2020-07-17 10:20:28.239 warn (15937) at process.topLevelDomainCallback (domain.js:137:15) javascript.0 2020-07-17 10:20:28.239 warn (15937) at processImmediate (internal/timers.js:456:21) javascript.0 2020-07-17 10:20:28.239 warn (15937) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:234:41) javascript.0 2020-07-17 10:20:28.239 warn (15937) at change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5346:46) javascript.0 2020-07-17 10:20:28.239 warn (15937) at Array.forEach (<anonymous>) javascript.0 2020-07-17 10:20:28.239 warn (15937) at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5352:41 javascript.0 2020-07-17 10:20:28.239 warn (15937) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:451:25) javascript.0 2020-07-17 10:20:28.239 warn (15937) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1052:38) javascript.0 2020-07-17 10:20:28.239 warn (15937) at Object.<anonymous> (script.js.Zaehlen.Geraete_Zaehlen:591:7) javascript.0 2020-07-17 10:20:28.238 warn (15937) at Fenster_zaehlen (script.js.Zaehlen.Geraete_Zaehlen:2055:12) javascript.0 2020-07-17 10:20:28.238 warn (15937) getState "alias.0.Fenster.Ankleidezimmer_Fenster" not found (3)
Die sind doch alle da?
-
@MartyBr sagte in Fenster und andere Geräte zählen opt. Alexa Ansagen:
Bei dem Gerätetyp Fenster werden die alias-DP gefüllt und zeigen die Fensteröffnung an.
Der alias muß mit geschlossen/(gekippt ist je nach Sensor im alias einzustellen) geöffnet erstellt werden.
Das Blockly wertet diese Werteliste aus.
Ich schreibe Dir gleich das Beispiel. -
@dslraser
Ich habe nur die einfachen HM-Fensterkontakte (geschlossen / oben) -
createAlias('hm-rpc.0.xxx.1.STATE'/*Wohnzimmer Fenster links STATE*/, 'Fenster.Wohnzimmer_Fenster_links', undefined, 'fenster_alias', 'number', undefined, undefined, 'Wohnzimmer links', 'window.value', 'per Script erstellt', 0, 1, '',{0: 'geschlossen', 1: 'geöffnet'})
-
-
@dslraser sagte in Fenster und andere Geräte zählen opt. Alexa Ansagen:
@dirk1962
müßte dann wahrscheinlich boolean anstatt number sein//2 x Fenstersensoren //einfache HM Fenstersensoren über rpc-Adapter in function fenster_alias //{false: 'geschlossen', true: 'geöffnet'} createAlias('hm-rpc.0.xxx.1.STATE'/*Wohnzimmer Fenster links STATE*/, 'Fenster.Wohnzimmer_Fenster_links', undefined, 'fenster_alias', 'boolean', undefined, undefined, 'Wohnzimmer links', 'window.value', 'per Script erstellt', undefined, undefined, undefined, {false: 'geschlossen', true: 'geöffnet'}) createAlias('hm-rpc.0.xxx.1.STATE'/*Küche Fenster links STATE*/, 'Fenster.Kueche_Fenster_links', undefined, 'fenster_alias', 'boolean',undefined, undefined, 'Küche links', 'window.value', 'per Script erstellt', undefined, undefined, undefined, {false: 'geschlossen', true: 'geöffnet'})
EDIT: sag mal Bescheid ob das funktioniert
wenn die Fenster true/false haben, dann so
-
@dslraser
Das wird es so sein. Aktuell sieht das bei mir so aus:createAlias('hm-rpc.1.NEQ1678056.1.STATE'/*Wohnzimmer Ost1 FensterSTATE*/, 'Fenster.Wohnzimmer_Sued_Fenster', undefined, 'fenster_alias', 'boolean',undefined, undefined, 'Wohnzimmmer Süd', 'window.value', 'per Script erstellt', 0, 1, '',{0: 'geschlossen', 1: 'geöffnet'})
Ich ändere das gleich und gebe dann Rückmeldung
-
@MartyBr sagte in Fenster und andere Geräte zählen opt. Alexa Ansagen:
Ich ändere das gleich und gebe dann Rückmeldung
und danach dann das vielleicht noch machen.
-
@dslraser Das wars !!
Herzlichen Dank für die schnelle Hilfe