NEWS
Blockly Problem
-
Plex Adapter
Hallo zusammen,
habe das Problem bei Play (media.resume) das Licht nicht gedämmt wird. Bei Pause (media.pause) geht das Licht wie gewollt auf 90%)
Gruß und euch ein schönes WE. -
@kochenmitmusik
Kann man nur mutmaßen. Mach mal ein Debug direkt nach dem Triggern und prüfe, wie der Wert von "Event triggered on Plex" genau lautet.Vielleicht ist die Abfolge deiner Befehle auch einfach nur zu schnell.
-
1.2.2021, 10:36:37.067 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Stehlampe.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.068 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Stehlampe.level, state={"val":0,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.069 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Tisch.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.070 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Tisch.level, state={"val":5,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.071 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Hue_lightstrip_Wohnzimmer_Reck.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.072 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Hue_lightstrip_Wohnzimmer_Reck.level, state={"val":5,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.074 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Lightstrip_Wohnzimmer.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.075 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Lightstrip_Wohnzimmer.level, state={"val":5,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.076 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Rote_Lampe.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.077 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Rote_Lampe.level, state={"val":5,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:37.096 [warn ]: javascript.0 (24308) at Object.<anonymous> (script.js.common.Plex_AppleTV:15:5) 1.2.2021, 10:36:37.108 [warn ]: javascript.0 (24308) at Object.<anonymous> (script.js.common.Plex_AppleTV:16:5) 1.2.2021, 10:36:41.386 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Stehlampe.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.387 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Stehlampe.level, state={"val":90,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.388 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Tisch.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.390 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Tisch.level, state={"val":90,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.391 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Hue_lightstrip_Wohnzimmer_Reck.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.392 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Hue_lightstrip_Wohnzimmer_Reck.level, state={"val":90,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.394 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Lightstrip_Wohnzimmer.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.395 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Lightstrip_Wohnzimmer.level, state={"val":90,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.396 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Rote_Lampe.on, state={"val":true,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.397 [warn ]: javascript.0 (24308) script.js.common.Plex_AppleTV: setForeignState(id=hue.0.Philips_hue.Rote_Lampe.level, state={"val":90,"ack":false,"c":"script.js.common.Plex_AppleTV"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist 1.2.2021, 10:36:41.402 [warn ]: javascript.0 (24308) at Object.<anonymous> (script.js.common.Plex_AppleTV:28:5) 1.2.2021, 10:36:41.410 [warn ]: javascript.0 (24308) at Object.<anonymous> (script.js.common.Plex_AppleTV:29:5)
-
@kochenmitmusik
Ich meinte, du sollst ein Blockly-Debug-Baustein verwenden.