NEWS
IOBROKER VIS - Schalter - Status wird nicht aktualisiert
-
Hallo,
ich habe 4 Schalter
3 Lichtschalter für Schalter Sonoff (mit Tasmota FM) verbunden über Adapter Sonoff
1 Lichtschalter für Lampe WIFI verbunden über Adapter Alexa 2.0Bei den 3 Lichtschalter gibt es keine Probleme, ich kann damit steuern und ein veränderter Status wird sofort angezeigt.
bei dem Lichtschalter für die WIFI Lampe kann ich steuern (AN/AUS) aber ich bekomme keinen veränderten Status angezeigt, wenn ich z.B. über Alexa den Befehl für An/Aus gebe.
{ "___settings": { "reloadOnSleep": 30, "reconnectInterval": 10000, "darkReloadScreen": false, "destroyViewsAfter": 30, "statesDebounceTime": 1000 }, "Test_SMARTHOME": { "settings": { "style": { "background_class": "" }, "theme": "redmond", "sizex": "1024", "sizey": "748", "gridSize": "", "snapType": null }, "widgets": { "w00005": { "tpl": "tplHqButton", "data": { "g_fixed": false, "g_visibility": false, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": true, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "oid": "sonoff.0.Out_Terrasse1.POWER", "min": "false", "max": "true", "iconName": "img/bulb_off.png", "btIconWidth": "56", "offsetAuto": "true", "leftOffset": "15", "topOffset": "55", "timeAsInterval": "true", "infoLeftFontSize": "12", "infoFontRightSize": "12", "infoLeftPaddingLeft": "15", "infoLeftPaddingRight": "50", "infoRightPaddingRight": "15", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "descriptionLeft": "Out_Terrasse1 POWER" }, "style": { "left": "320px", "top": "315px" }, "widgetSet": "hqwidgets" }, "w00006": { "tpl": "tplHqButton", "data": { "g_fixed": false, "g_visibility": false, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": true, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "oid": "sonoff.0.Out_Terrasse2.POWER", "min": "false", "max": "true", "iconName": "img/bulb_off.png", "btIconWidth": "56", "offsetAuto": "true", "leftOffset": "15", "topOffset": "55", "timeAsInterval": "true", "infoLeftFontSize": "12", "infoFontRightSize": "12", "infoLeftPaddingLeft": "15", "infoLeftPaddingRight": "50", "infoRightPaddingRight": "15", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "descriptionLeft": "Out_Terrasse2 POWER" }, "style": { "left": "320px", "top": "397px" }, "widgetSet": "hqwidgets" }, "w00001": { "tpl": "tplHqButton", "data": { "g_fixed": false, "g_visibility": false, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "oid": "sonoff.0.Schalter Brunnen.POWER", "min": "false", "max": "true", "iconName": "img/bulb_off.png", "btIconWidth": "56", "offsetAuto": "true", "leftOffset": "15", "topOffset": "55", "timeAsInterval": "true", "infoLeftFontSize": "12", "infoFontRightSize": "12", "infoLeftPaddingLeft": "15", "infoLeftPaddingRight": "50", "infoRightPaddingRight": "15", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "descriptionLeft": "powerState" }, "style": { "left": "324px", "top": "23px" }, "widgetSet": "hqwidgets" }, "w00002": { "tpl": "tplHqButton", "data": { "g_fixed": false, "g_visibility": false, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "oid": "alexa2.0.Smart-Home-Devices.b53e5460-a0d1-40d4-8d51-6a5e5b093e0f.powerState", "min": "false", "max": "true", "iconName": "img/bulb_off.png", "btIconWidth": "56", "offsetAuto": "true", "leftOffset": "15", "topOffset": "55", "timeAsInterval": "true", "infoLeftFontSize": "12", "infoFontRightSize": "12", "infoLeftPaddingLeft": "15", "infoLeftPaddingRight": "50", "infoRightPaddingRight": "15", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis/signals/lowbattery.png", "signals-icon-size-0": 0, "signals-blink-0": false, "signals-horz-0": 0, "signals-vert-0": 0, "signals-hide-edit-0": false, "signals-cond-1": "==", "signals-val-1": true, "signals-icon-1": "/vis/signals/lowbattery.png", "signals-icon-size-1": 0, "signals-blink-1": false, "signals-horz-1": 0, "signals-vert-1": 0, "signals-hide-edit-1": false, "signals-cond-2": "==", "signals-val-2": true, "signals-icon-2": "/vis/signals/lowbattery.png", "signals-icon-size-2": 0, "signals-blink-2": false, "signals-horz-2": 0, "signals-vert-2": 0, "signals-hide-edit-2": false, "lc-type": "last-change", "lc-is-interval": true, "lc-is-moment": false, "lc-format": "", "lc-position-vert": "top", "lc-position-horz": "right", "lc-offset-vert": 0, "lc-offset-horz": 0, "lc-font-size": "12px", "lc-font-family": "", "lc-font-style": "", "lc-bkg-color": "", "lc-color": "", "lc-border-width": "0", "lc-border-style": "", "lc-border-color": "", "lc-border-radius": 10, "lc-zindex": 0, "descriptionLeft": "powerState" }, "style": { "left": "320px", "top": "157px" }, "widgetSet": "hqwidgets" } }, "name": "VOIGT_SMARTHOME", "activeWidgets": [ "w00005", "w00006", "w00001", "w00002" ], "filterList": [] } }
Wo ist mein Fehler?
Danke und Gruß
Andreas
-
Ändert sich denn der Status des Objektes im Alexa Adapter?
-
Hallo,
im Adapter selbst kann man ja keine Alexa Devices hinzufügen, dass soll man jetzt im IOT Adapter erfassen, dort sehe ich keine Veränderung.
Gruß
Andreas
-
@Andyowl sagte in IOBROKER VIS - Schalter - Status wird nicht aktualisiert:
"oid": "alexa2.0.Smart-Home-Devices.b53e5460-a0d1-40d4-8d51-6a5e5b093e0f.powerState"
Du benutzt doch für das Widget diesen Datenpunkt.
Ändert der sich wenn du per Alexa Ansage schaltest?
Bzw. Ist das der richtige Datenpunkt?
Zeig doch mal einen Screenshot der Datenpunkte der Lampe die nicht funktioniert.
-
finde ich es unter Objekte?
-
-
Und ändert sich das Object „power state“ wenn du per Sprache schaltest?
-
Ich habe gerade die Lampe per Sprache angeschaltet. Keine Veränderung im Status
-
das steht im Objekt drin
-
Hast du „Push“ aktiviert in der Alexa Instanz?
-
ja habe ich und sogar von 300 auf 5 Sekunden eingestellt.
-
Kannst du die Lampe über den Datenpunkt „power state“ einschalten also das Object auf true setzen?
-
Achso,
Alexa Instanz mal auf „Debug“ stellen und im log schauen was passiert wenn du per Sprache schaltest.
-
das steht im log
host.raspberrypivoigt 2020-05-05 21:34:13.121 info Restart adapter system.adapter.tr-064.0 because enabled host.raspberrypivoigt 2020-05-05 21:34:13.120 error instance system.adapter.tr-064.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypivoigt 2020-05-05 21:34:13.120 error Caught by controller[0]: at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) host.raspberrypivoigt 2020-05-05 21:34:13.120 error Caught by controller[0]: at startup (internal/bootstrap/node.js:283:19) host.raspberrypivoigt 2020-05-05 21:34:13.120 error Caught by controller[0]: at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) host.raspberrypivoigt 2020-05-05 21:34:13.120 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) host.raspberrypivoigt 2020-05-05 21:34:13.120 error Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) host.raspberrypivoigt 2020-05-05 21:34:13.119 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) host.raspberrypivoigt 2020-05-05 21:34:13.119 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) host.raspberrypivoigt 2020-05-05 21:34:13.119 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) host.raspberrypivoigt 2020-05-05 21:34:13.119 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.tr-064/tr-064.js:15:20) host.raspberrypivoigt 2020-05-05 21:34:13.119 error Caught by controller[0]: at Object.exports.Adapter (/opt/iobroker/node_modules/soef/soef.js:1383:23) host.raspberrypivoigt 2020-05-05 21:34:13.119 error Caught by controller[0]: TypeError: fns.adapter is not a function host.raspberrypivoigt 2020-05-05 21:34:13.118 error Caught by controller[0]: ^ host.raspberrypivoigt 2020-05-05 21:34:13.118 error Caught by controller[0]: fns.adapter = fns.adapter(options); host.raspberrypivoigt 2020-05-05 21:34:13.118 error Caught by controller[0]: /opt/iobroker/node_modules/soef/soef.js:1383
-
@Andyowl Das sieht eher wie ein log vom TR064 Adapter aus und nicht wie Alexa.
-
@Andyowl sagte in IOBROKER VIS - Schalter - Status wird nicht aktualisiert:
/opt/iobroker/node_modules/soef/soef.j
und schon wieder das soef Problem @wendy2702
@Andyowl https://forum.iobroker.net/post/426938 -
@crunchip ja, das wohl auch.
Verstehe nur nicht was das log mit dem Alexa datenpunkt zu tun hat.
Aber ich muss auch nicht alles verstehen