NEWS
[Vorlage] Flexibles Timerskript + Vis
-
habs neu gestartet, hat leider nichts gebracht.
sehr dubios
er bringt auch diesen Fehler bei der Installation der mdf Icons:
-
Wenn die Symbole nicht richtig installiert wurden, dann bin ich ehrlich gesagt raus. Vielleicht die Symbole nochmal löschen und neu installieren. Ansonsten gibt es noch die Möglichkeit, die gleichen Symbole als png anstatt svg zu installieren. Dann musst du den Pfad der Symbole nur in Vis anpassen.Die genutzten Symbole sind auch nicht wichtig, du kannst die Symbole jederzeit ändern oder anpassen an deine eigenen Wünsche
Edit:
Im Script selber musst du dann auch den Pfad der Symbole anpassen. -
danke dir für die Tipps, ich probiere mal ein paar Sachen und gebe Rückmeldung.
-
hab grad in das Verzeichnis geschaut in dem die icons nomalerweise liegen sollten, sind aber keine svg's drin.
Ich denke mit dem mdf adapter stimm was nicht. -
-
Dann scheint es erstmal nicht an dem Skript zu liegen.
Versuche mal den Adapter zu deinstallieren und wieder zu installieren. Vielleicht klappt es ja so. Falls nicht, mach dazu dann mal einen eigenen Thread auf, da der Fehler ja nichts mit dem Skript zutun hat. Mit einem eigenen Thread zu den Icons schauen auch n paar andere Augen mit drauf, die vielleicht hier nicht reinschauen.Ansonsten schau mal ob du das mit den png Icons getauscht bekommst. Du müsstes in Vis dann eigentlich nur das svg mit png tauschen, die Symbole heissen ansonsten gleich.
-
-
Den Pfad ohne das .admin am Ende
-
Mit dem Adapter ist alles i.O.:
echad@chet:~ $ iobroker add icons-mfd-svg --debug NPM version: 8.18.0 Installing iobroker.icons-mfd-svg@1.1.0... (System call) added 1 package in 9s 86 packages are looking for funding run `npm fund` for details host.chet install adapter icons-mfd-svg upload [1] icons-mfd-svg.admin /opt/iobroker/node_modules/iobroker.icons-mfd-svg/admin/icons-mfd-svg.png icons-mfd-svg.png image/png upload [0] icons-mfd-svg.admin /opt/iobroker/node_modules/iobroker.icons-mfd-svg/admin/index.html index.html text/html upload [931] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/audio_audio.svg audio_audio.svg image/svg+xml upload [900] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/control_3.svg control_3.svg image/svg+xml upload [850] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/control_building_flat_s.svg control_building_flat_s.svg image/svg+xml upload [800] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/control_building_modern_s_okg_int_dg.svg control_building_modern_s_okg_int_dg.svg image/svg+xml upload [750] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/control_return.svg control_return.svg image/svg+xml upload [700] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/fts_blade_arc_80.svg fts_blade_arc_80.svg image/svg+xml upload [650] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/fts_entrance_boom_open.svg fts_entrance_boom_open.svg image/svg+xml upload [600] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/fts_shutter_vert_blade_100.svg fts_shutter_vert_blade_100.svg image/svg+xml upload [550] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/fts_window_roof_shutter_50.svg fts_window_roof_shutter_50.svg image/svg+xml upload [500] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/light_ceiling_infrared.svg light_ceiling_infrared.svg image/svg+xml upload [450] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/light_plant.svg light_plant.svg image/svg+xml upload [400] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/measure_pond_30.svg measure_pond_30.svg image/svg+xml upload [350] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/message_socket_ch.svg message_socket_ch.svg image/svg+xml upload [300] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/sani_pool_filter_pump.svg sani_pool_filter_pump.svg image/svg+xml upload [250] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/scene_dressing_room.svg scene_dressing_room.svg image/svg+xml upload [200] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/scene_robo_lawnmower_active.svg scene_robo_lawnmower_active.svg image/svg+xml upload [150] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/secur_open.svg secur_open.svg image/svg+xml upload [100] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/time_eco_mode.svg time_eco_mode.svg image/svg+xml upload [90] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/user_ext_away.svg user_ext_away.svg image/svg+xml upload [80] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/vent_low_pressure_protection_unit.svg vent_low_pressure_protection_unit.svg image/svg+xml upload [70] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/vent_ventilation_level_3.svg vent_ventilation_level_3.svg image/svg+xml upload [60] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_directions_nw.svg weather_directions_nw.svg image/svg+xml upload [50] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_humidity_abs.svg weather_humidity_abs.svg image/svg+xml upload [40] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_moon_phases_7_half.svg weather_moon_phases_7_half.svg image/svg+xml upload [30] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_rain_heavy.svg weather_rain_heavy.svg image/svg+xml upload [20] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_station_quadra.svg weather_station_quadra.svg image/svg+xml upload [19] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_storm.svg weather_storm.svg image/svg+xml upload [18] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_summer.svg weather_summer.svg image/svg+xml upload [17] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_sun.svg weather_sun.svg image/svg+xml upload [16] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_sunrise.svg weather_sunrise.svg image/svg+xml upload [15] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_sunset.svg weather_sunset.svg image/svg+xml upload [14] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_thunderstorm.svg weather_thunderstorm.svg image/svg+xml upload [13] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind.svg weather_wind.svg image/svg+xml upload [12] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_e.svg weather_wind_directions_e.svg image/svg+xml upload [11] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_n.svg weather_wind_directions_n.svg image/svg+xml upload [10] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_ne.svg weather_wind_directions_ne.svg image/svg+xml upload [9] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_nw.svg weather_wind_directions_nw.svg image/svg+xml upload [8] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_s.svg weather_wind_directions_s.svg image/svg+xml upload [7] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_se.svg weather_wind_directions_se.svg image/svg+xml upload [6] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_sw.svg weather_wind_directions_sw.svg image/svg+xml upload [5] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_w.svg weather_wind_directions_w.svg image/svg+xml upload [4] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_no_wind.svg weather_wind_no_wind.svg image/svg+xml upload [3] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_speed.svg weather_wind_speed.svg image/svg+xml upload [2] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_speed_bft.svg weather_wind_speed_bft.svg image/svg+xml upload [1] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_speed_ms.svg weather_wind_speed_ms.svg image/svg+xml upload [0] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_winter.svg weather_winter.svg image/svg+xml host.chet object system.adapter.icons-mfd-svg created/updated host.chet create instance icons-mfd-svg host.chet object system.adapter.icons-mfd-svg.upload created host.chet object system.adapter.icons-mfd-svg.0 created echad@chet:~ $ ls -lA /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/ total 9848 -rw-rw-r--+ 1 iobroker iobroker 1088 Sep 10 23:34 audio_audio.svg -rw-rw-r--+ 1 iobroker iobroker 6227 Sep 10 23:34 audio_desync.svg -rw-rw-r--+ 1 iobroker iobroker 1340 Sep 10 23:34 audio_eject.svg -rw-rw-r--+ 1 iobroker iobroker 2005 Sep 10 23:34 audio_eq.svg -rw-rw-r--+ 1 iobroker iobroker 8912 Sep 10 23:34 audio_fade.svg -rw-rw-r--+ 1 iobroker iobroker 1592 Sep 10 23:34 audio_ff.svg -rw-rw-r--+ 1 iobroker iobroker 2446 Sep 10 23:34 audio_headphone.svg -rw-rw-r--+ 1 iobroker iobroker 9042 Sep 10 23:34 audio_loudness.svg -rw-rw-r--+ 1 iobroker iobroker 14201 Sep 10 23:34 audio_ls_51_center.svg -rw-rw-r--+ 1 iobroker iobroker 14726 Sep 10 23:34 audio_ls_51_front.svg -rw-rw-r--+ 1 iobroker iobroker 14742 Sep 10 23:34 audio_ls_51_rear.svg -rw-rw-r--+ 1 iobroker iobroker 14471 Sep 10 23:34 audio_ls_51_sub.svg -rw-rw-r--+ 1 iobroker iobroker 13662 Sep 10 23:34 audio_ls_51.svg Usw, usw
-
Hallo Thomas,
über Konsole hat es nun funktioniert.
danke dir!pi4b@pi4b:~ $ iobroker add icons-mfd-svg --debug NPM version: 8.15.0 Installing iobroker.icons-mfd-svg@1.1.0... (System call) added 1 package in 7s 61 packages are looking for funding run `npm fund` for details host.pi4b install adapter icons-mfd-svg upload [1] icons-mfd-svg.admin /opt/iobroker/node_modules/iobroker.icons-mfd-svg/admin/icons-mfd-svg.png icons-mfd-svg.png image/png upload [0] icons-mfd-svg.admin /opt/iobroker/node_modules/iobroker.icons-mfd-svg/admin/index.html index.html text/html upload [931] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/audio_audio.svg audio_audio.svg image/svg+xml upload [900] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/control_3.svg control_3.svg image/svg+xml upload [850] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/control_building_flat_s.svg control_building_flat_s.svg image/svg+xml upload [800] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/control_building_modern_s_okg_int_dg.svg control_building_modern_s_okg_int_dg.svg image/svg+xml upload [750] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/control_return.svg control_return.svg image/svg+xml upload [700] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/fts_blade_arc_80.svg fts_blade_arc_80.svg image/svg+xml upload [650] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/fts_entrance_boom_open.svg fts_entrance_boom_open.svg image/svg+xml upload [600] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/fts_shutter_vert_blade_100.svg fts_shutter_vert_blade_100.svg image/svg+xml upload [550] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/fts_window_roof_shutter_50.svg fts_window_roof_shutter_50.svg image/svg+xml upload [500] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/light_ceiling_infrared.svg light_ceiling_infrared.svg image/svg+xml upload [450] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/light_plant.svg light_plant.svg image/svg+xml upload [400] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/measure_pond_30.svg measure_pond_30.svg image/svg+xml upload [350] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/message_socket_ch.svg message_socket_ch.svg image/svg+xml upload [300] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/sani_pool_filter_pump.svg sani_pool_filter_pump.svg image/svg+xml upload [250] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/scene_dressing_room.svg scene_dressing_room.svg image/svg+xml upload [200] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/scene_robo_lawnmower_active.svg scene_robo_lawnmower_active.svg image/svg+xml upload [150] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/secur_open.svg secur_open.svg image/svg+xml upload [100] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/time_eco_mode.svg time_eco_mode.svg image/svg+xml upload [90] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/user_ext_away.svg user_ext_away.svg image/svg+xml upload [80] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/vent_low_pressure_protection_unit.svg vent_low_pressure_protection_unit.svg image/svg+xml upload [70] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/vent_ventilation_level_3.svg vent_ventilation_level_3.svg image/svg+xml upload [60] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_directions_nw.svg weather_directions_nw.svg image/svg+xml upload [50] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_humidity_abs.svg weather_humidity_abs.svg image/svg+xml upload [40] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_moon_phases_7_half.svg weather_moon_phases_7_half.svg image/svg+xml upload [30] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_rain_heavy.svg weather_rain_heavy.svg image/svg+xml upload [20] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_station_quadra.svg weather_station_quadra.svg image/svg+xml upload [19] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_storm.svg weather_storm.svg image/svg+xml upload [18] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_summer.svg weather_summer.svg image/svg+xml upload [17] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_sun.svg weather_sun.svg image/svg+xml upload [16] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_sunrise.svg weather_sunrise.svg image/svg+xml upload [15] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_sunset.svg weather_sunset.svg image/svg+xml upload [14] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_thunderstorm.svg weather_thunderstorm.svg image/svg+xml upload [13] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind.svg weather_wind.svg image/svg+xml upload [12] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_e.svg weather_wind_directions_e.svg image/svg+xml upload [11] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_n.svg weather_wind_directions_n.svg image/svg+xml upload [10] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_ne.svg weather_wind_directions_ne.svg image/svg+xml upload [9] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_nw.svg weather_wind_directions_nw.svg image/svg+xml upload [8] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_s.svg weather_wind_directions_s.svg image/svg+xml upload [7] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_se.svg weather_wind_directions_se.svg image/svg+xml upload [6] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_sw.svg weather_wind_directions_sw.svg image/svg+xml upload [5] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_directions_w.svg weather_wind_directions_w.svg image/svg+xml upload [4] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_no_wind.svg weather_wind_no_wind.svg image/svg+xml upload [3] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_speed.svg weather_wind_speed.svg image/svg+xml upload [2] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_speed_bft.svg weather_wind_speed_bft.svg image/svg+xml upload [1] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_wind_speed_ms.svg weather_wind_speed_ms.svg image/svg+xml upload [0] icons-mfd-svg /opt/iobroker/node_modules/iobroker.icons-mfd-svg/www/weather_winter.svg weather_winter.svg image/svg+xml host.pi4b object system.adapter.icons-mfd-svg created/updated host.pi4b create instance icons-mfd-svg host.pi4b object system.adapter.icons-mfd-svg.upload created host.pi4b object system.adapter.icons-mfd-svg.0 created
-
ich bekomme bei jedem schaltvorgang einen fehler
javascript.0 2022-10-08 09:00:00.015 error at processTimers (node:internal/timers:502:7) javascript.0 2022-10-08 09:00:00.015 error at listOnTimeout (node:internal/timers:559:17) javascript.0 2022-10-08 09:00:00.015 error at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/Invocation.js:228:7) javascript.0 2022-10-08 09:00:00.015 error at /opt/iobroker/node_modules/node-schedule/lib/Invocation.js:268:28 javascript.0 2022-10-08 09:00:00.015 error at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/Job.js:171:15) javascript.0 2022-10-08 09:00:00.015 error at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1565:34) javascript.0 2022-10-08 09:00:00.015 error at Object.<anonymous> (script.js.jarvis.TimerScript:621:13) javascript.0 2022-10-08 09:00:00.015 error at DoAction (script.js.jarvis.TimerScript:771:60) javascript.0 2022-10-08 09:00:00.015 error at GetDeviceName (script.js.jarvis.TimerScript:500:41) javascript.0 2022-10-08 09:00:00.015 error Error in callback: TypeError: Cannot read properties of null (reading 'common') javascript.0 2022-10-08 06:02:00.005 error at processTimers (node:internal/timers:502:7) javascript.0 2022-10-08 06:02:00.005 error at listOnTimeout (node:internal/timers:559:17) javascript.0 2022-10-08 06:02:00.005 error at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/Invocation.js:228:7) javascript.0 2022-10-08 06:02:00.005 error at /opt/iobroker/node_modules/node-schedule/lib/Invocation.js:268:28 javascript.0 2022-10-08 06:02:00.004 error at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/Job.js:171:15) javascript.0 2022-10-08 06:02:00.004 error at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1565:34) javascript.0 2022-10-08 06:02:00.004 error at Object.<anonymous> (script.js.jarvis.TimerScript:621:13) javascript.0 2022-10-08 06:02:00.004 error at DoAction (script.js.jarvis.TimerScript:781:60) javascript.0 2022-10-08 06:02:00.004 error at GetDeviceName (script.js.jarvis.TimerScript:500:41) javascript.0 2022-10-08 06:02:00.004 error Error in callback: TypeError: Cannot read properties of null (reading 'common')
-
@mpl1338 sagte in [Vorlage] Flexibles Timerskript + Vis:
2022-10-08 09:00:00.015 error at GetDeviceName (script.js.jarvis.TimerScript:500:41) javascript.0
2022-10-08 09:00:00.015 error Error in callback: TypeError: Cannot read properties of null (reading 'common')Naja, steht ja fast im Klartext da was das Problem ist, Irgendein Devicename hat nen Null Wert. Mehr kann ich auch nicht sagen bei so wenig Infos.
-
das sind die verwendeten objekte. Über IOB und Visu funktioniert es.
-
@mpl1338 Ich brauch den ganzen Zweig vom Objektbaum, nicht nur den letzten channel. Denk da gibts ne ungewöhliche Struktur evtl, kann ich bei dem Ausschnitt aber nicht feststellen
-
Super Script @Pittini
Hat auf Anhieb geklappt, bei mir steht im Zielname der Ordner in dem der DP liegt,
Übersichtlicher wärs für mich wenn hier wirklich der Name des DPs stehen würde.
Hast ne Idee was ich falsch gemacht habe?
-
Benenne dir das doch einfach um wie du es haben möchtest. Das Timerscript bietet dafür in der Vis die Möglichkeit.
-
@dominik-f Ahhh das habv ich überlesen in der Doku, klappt danke
-
@pittini said in [Vorlage] Flexibles Timerskript + Vis:
@mpl1338 Ich brauch den ganzen Zweig vom Objektbaum, nicht nur den letzten channel. Denk da gibts ne ungewöhliche Struktur evtl, kann ich bei dem Ausschnitt aber nicht feststellen
-
@mpl1338 Ja, seh schon das Problem, liegt aber nicht direkt am Skript, sondern an Deiner unüblichen Struktur. Das Skript erwartet übergeordnet nen channel. Du hast aber keinen (was an sich nicht korrekt ist) und das löst den Fehler bzgl. dem null Wert aus. Lösen kannst das Problem auf 2 Arten. Du kannst aus dem "nichts" nen channel machen, oder Du legst Dir für den Datenpunkt nen Alias an und verweist darauf.
-
@pittini die Struktur kommt durch die ETS bzw durch den KNX Adapter und spiegelt die KNX ETS Struktur wieder. Wenn ich das was an der Struktur ändere bekomme ich mit dem KNX Adapter wahrscheinlich Problem. Aber dieses Problem muss eigentlich jeder haben, der mit dem KNX Adapter arbeitet