Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [erledigt] Modbus füllt das Log

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

[erledigt] Modbus füllt das Log

Scheduled Pinned Locked Moved Error/Bug
2 Posts 1 Posters 581 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sol21
    wrote on last edited by
    #1

    Hallo

    Ich lesen die Leistung des Wechselrichters meiner Solaranlage via Modbus Adapter.

    Nun füllt es mir das Log. Entweder ist das neu oder es ist mir einfach noch nie aufgefallen.

    Ist das nun ein Fehler oder kann man das loggen irgendwo abschalten?

    ` > javascript.0 2017-11-22 20:38:34.810 info script.js.Skalierung_V3: setForeignState(id=javascript.0.Meter_Leistung, state={'val':-476,'ack':true})

    javascript.0 2017-11-22 20:38:34.809 info script.js.Skalierung_V3: getState(id=javascript.0.Meter_Leistung, timerId=0) => {'val':-493,'ack':true,'ts':1511379504758,'q':0,'from':'system.adapter.javascript.0','lc':1511379504758}

    javascript.0 2017-11-22 20:38:34.809 info script.js.Skalierung_V3: getState(id=javascript.0.Meter_Leistung, timerId=0) => {'val':-493,'ack':true,'ts':1511379504758,'q':0,'from':'system.adapter.javascript.0','lc':1511379504758}

    javascript.0 2017-11-22 20:38:34.809 info script.js.Skalierung_V3: getState(id=modbus.0.holdingRegisters.40211_meter_leistung scale, timerId=0) => {'val':0,'ack':true,'ts':1511377825370,'q':0,'from':'system.adapter.modbus.0','lc':1510749532903}

    javascript.0 2017-11-22 20:38:34.808 info script.js.Skalierung_V3: getState(id=modbus.0.holdingRegisters.40207_meter_leistung, timerId=0) => {'val':-476,'ack':true,'ts':1511379514802,'q':0,'from':'system.adapter.modbus.0','lc':1511379514802}

    javascript.0 2017-11-22 20:38:24.764 info script.js.Skalierung_V3: setForeignState(id=javascript.0.Meter_Leistung, state={'val':-493,'ack':true})

    javascript.0 2017-11-22 20:38:24.763 info script.js.Skalierung_V3: getState(id=javascript.0.Meter_Leistung, timerId=0) => {'val':-481,'ack':true,'ts':1511379494693,'q':0,'from':'system.adapter.javascript.0','lc':1511379494693} `

    Mein Blockly:

    ! <block 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml" type="on" id="swn:#}?IRc(}=X0]:=Hw" x="-1312" y="-111">
    ! <field name="OID">modbus.0.holdingRegisters.40084_WR_Leistung</field>
    ! <field name="CONDITION">ne</field>
    ! <statement name="STATEMENT"><block type="variables_set" id="|1LzFGZR+0Y9ykMCh1#"><field name="VAR">PV_Leistung_akt</field> ! <value name="VALUE"><block type="math_arithmetic" id="N5XZnoEUm{3Kzm-/]B@/"><field name="OP">MULTIPLY</field> ! <value name="A"><shadow type="math_number" id="!{7/(]DX3lGP@IlY=E1"><field name="NUM">1</field></shadow>
    ! <block type="get_value" id="_;teC|IbrE2JD_fEN~js"><field name="ATTR">val</field>
    ! <field name="OID">modbus.0.holdingRegisters.40084_WR_Leistung</field></block></value>
    ! <value name="B"><shadow type="math_number" id="M:s(2P888iDd:XzoTo4p"><field name="NUM">1</field></shadow>
    ! <block type="math_single" id="/]%B9azJMI,TVYWo.Q;d"><field name="OP">POW10</field>
    ! <value name="NUM"><shadow type="math_number" id="T+;~SGgPH[32R+:S}|M!"><field name="NUM">0</field></shadow>
    ! <block type="get_value" id="|gkz@RnPUVcfP6F8mj]p"><field name="ATTR">val</field>
    ! <field name="OID">modbus.0.holdingRegisters.40085_WR_Leistung scale</field></block></value></block></value></block></value>
    ! <next><block type="variables_set" id="2ybz9:(P{+;7xOkqqtz/"><field name="VAR">PV_min</field>
    ! <value name="VALUE"><block type="math_arithmetic" id="I|,Lv3K[Nm,D.F;(%Rt["><field name="OP">MINUS</field>
    ! <value name="A"><shadow type="math_number" id="A(1uyK8ZKFQr0hV%ZvBJ"><field name="NUM">1</field></shadow>
    ! <block type="get_value" id="2J:HgX_OWYko]tlsdoh"><field name="ATTR">val</field>
    ! <field name="OID">javascript.0.PV_Leistung</field></block></value>
    ! <value name="B"><shadow type="math_number" id="O9A6D!%Pcc!U{c29!nLj"><field name="NUM">100</field></shadow></value></block></value>
    ! <next><block type="variables_set" id="-V?M)EG5i2s@2tl%=bfk"><field name="VAR">PV_max</field>
    ! <value name="VALUE"><block type="math_arithmetic" id="tAovSPUGBkxEGy1t#Lc("><field name="OP">ADD</field>
    ! <value name="A"><shadow type="math_number" id="A(1uyK8ZKFQr0hV%ZvBJ"><field name="NUM">1</field></shadow>
    ! <block type="get_value" id="k][rw|b3B0R3yU~FO3eP"><field name="ATTR">val</field>
    ! <field name="OID">javascript.0.PV_Leistung</field></block></value>
    ! <value name="B"><shadow type="math_number" id="/;hms{2mfB9kT/}kG1YA"><field name="NUM">100</field></shadow></value></block></value>
    ! <next><block type="update" id="w|HkTZ#7,SXcLZh
    IMc("><mutation delay_input="false"></mutation>
    ! <field name="OID">javascript.0.PV_Leistung</field>
    ! <field name="WITH_DELAY">FALSE</field>
    ! <value name="VALUE"><block type="math_constrain" id="x4DCL4cP-f=qDzh*,~Wc"><value name="VALUE"><shadow type="math_number" id=";XW07(e.[9(=JjthQWLx"><field name="NUM">50</field></shadow>
    ! <block type="variables_get" id="Hf%Ng_w[Ii2+PztDZ9|"><field name="VAR">PV_Leistung_akt</field></block></value> ! <value name="LOW"><shadow type="math_number" id=";A|92QXGZ?]X2WC5~B"><field name="NUM">1</field></shadow> ! <block type="variables_get" id="FzkTU%yA{~%@p2_ZHI*y"><field name="VAR">PV_min</field></block></value> ! <value name="HIGH"><shadow type="math_number" id="1;x~3wDW|[WHHDN:qdV;"><field name="NUM">100</field></shadow> ! <block type="variables_get" id="vEW+(NUfY.UO=RAyY;%z"><field name="VAR">PV_max</field></block></value></block></value> ! <next><block type="debug" id="0cUD1N0^{Wr[D{Y=yn?q"><field name="Severity">log</field> ! <value name="TEXT"><shadow type="text" id="}y!,tQ89F}/OOO^UHViX"><field name="TEXT">test</field></shadow> ! <block type="text_join" id="nY[:db,zxoo4V8Y#QN#x"><mutation items="8"></mutation> ! <value name="ADD0"><block type="text" id="NPtOFP|v2[gDVxXO/un,"><field name="TEXT">aktuell:</field></block></value> ! <value name="ADD1"><block type="convert_tostring" id="jvRTen}F|@6MFD#R|+es"><value name="VALUE"><block type="variables_get" id="}In5JAjX(*h8g@7bJ~z["><field name="VAR">PV_Leistung_akt</field></block></value></block></value> ! <value name="ADD2"><block type="text" id="(dv2AM=%{7)u2EIiA^+y"><field name="TEXT">; min:</field></block></value> ! <value name="ADD3"><block type="convert_tostring" id="vqay@7xI*ol3F)6PB(0B"><value name="VALUE"><block type="variables_get" id="891[!zH3fSU4mULAcxo"><field name="VAR">PV_min</field></block></value></block></value>
    ! <value name="ADD4"><block type="text" id="VxV?zXCL}xNw5TU;p]m#"><field name="TEXT">; max:</field></block></value>
    ! <value name="ADD5"><block type="convert_tostring" id="r:z,=iT4)%XZT.{|~NF"><value name="VALUE"><block type="variables_get" id="fox,8X(GofAHSW]qR,(r"><field name="VAR">PV_max</field></block></value></block></value> ! <value name="ADD6"><block type="text" id="819cXo)I@iG(7dnPC,m="><field name="TEXT">; Leistung:</field></block></value> ! <value name="ADD7"><block type="convert_tostring" id="m=Q)64yy%Q.1F~=OqJ(%"><value name="VALUE"><block type="get_value" id="(F|,Zy_U{b1]TQx-S0G"><field name="ATTR">val</field>
    ! <field name="OID">javascript.0.PV_Leistung</field></block></value></block></value></block></value></block></next></block></next></block></next></block></next></block></statement></block>

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sol21
      wrote on last edited by
      #2

      Habe es nun gefunden…

      beim Script hat es oben in der Mitte die beiden Checkboxen "Debug" und "Hilfe-Ausgabe".

      Habe beide nun abgewählt und ich habe Ruhe. Aber aufgefallen ist mir auch noch, dass man zusätzlich speichern muss, bevor eine geänderte Checkbox übernommen wird.

      Gruss

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      Support us

      ioBroker
      Community Adapters
      Donate

      263

      Online

      32.7k

      Users

      82.3k

      Topics

      1.3m

      Posts
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
      ioBroker Community 2014-2025
      logo
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Home
      • Recent
      • Tags
      • Unread 0
      • Categories
      • Unreplied
      • Popular
      • GitHub
      • Docu
      • Hilfe