NEWS
Enigma / VU+ Statusabfrage
-
-
Vielleicht sollte man dann ergründen woran die Prozessorlast liegt.
Wenn das Problem gelöst werden würde, könnte er den Standby State ja nutzen. -
@haselchen Jupp. Setze ich auch so.
@2hot4you : Bei mir läuft das ohne große Prozessorlast < 1% auf dem RPI4.
Also irgendwas ist da "komisch". -
Leider kann ich die Prozessorlast nicht nachvollziehen.
Anzeige ohne Enigma adapter
werde mich mal direkt an @Matten-Matten wenden.
-
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id=";9CBz{(BK7Ex27NC:z%r">result</variable> <variable type="undefined" id="Intervall">Intervall</variable> <variable type="" id="y3dARA/_o@E|kxjn=A[n">state</variable> <variable type="undefined" id="timeout">timeout</variable> </variables> <block type="variables_set" id="+cVkJ=JyCqypfL.LM)/$" disabled="true" x="-63" y="62"> <field name="VAR" id=";9CBz{(BK7Ex27NC:z%r" variabletype="">result</field> <value name="VALUE"> <block type="text" id="K0y}IK8._3|M,m}KT{e$"> <field name="TEXT">0</field> </block> </value> <next> <block type="timeouts_setinterval" id="2miXZpD{}iDF#P*}Mu6b"> <field name="NAME">Intervall</field> <field name="INTERVAL">6000</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="request" id="uxf0BShS(t!v2mbkO45]"> <mutation with_statement="true"></mutation> <field name="WITH_STATEMENT">TRUE</field> <field name="LOG"></field> <value name="URL"> <shadow type="text" id="e%[XlWK=k:#`6by40Ozi"> <field name="TEXT">http://192.168.0.1:80/web/powerstate</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="2cL}9M=cvzRwWQ]9u%T0"> <field name="VAR" id="y3dARA/_o@E|kxjn=A[n" variabletype="">state</field> <value name="VALUE"> <block type="convert_tostring" id="py1IL/=N]C-Q1=h0oZ?."> <value name="VALUE"> <block type="text_getSubstring" id="hE{L1tLh[K*:MMiJ1Qc2"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="variables_get" id="dU$XzHsoVl_LAyOI2!9i"> <field name="VAR" id=";9CBz{(BK7Ex27NC:z%r" variabletype="">result</field> </block> </value> <value name="AT1"> <block type="text_indexOf" id="dCY}+}+~4KNIMbHLwthq"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="Z=G-l$(9CchRC!]Z/JQB"> <field name="VAR" id=";9CBz{(BK7Ex27NC:z%r" variabletype="">result</field> </block> </value> <value name="FIND"> <shadow type="text" id="/e*kLf5?Fj?mI*^Cs/%|"> <field name="TEXT"><e2instandby></field> </shadow> </value> </block> </value> <value name="AT2"> <block type="text_indexOf" id="v^3[9u3j*q1XLl2/avuo"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="J):/+yU+yR?oP*rfkIrw"> <field name="VAR" id=";9CBz{(BK7Ex27NC:z%r" variabletype="">result</field> </block> </value> <value name="FIND"> <shadow type="text" id="e_5rZ=mtCygJxdqK7z(G"> <field name="TEXT"></e2instandby></field> </shadow> </value> </block> </value> </block> </value> </block> </value> <next> <block type="timeouts_settimeout" id="hSTpoP}Fc_J,w!Ej9La@"> <field name="NAME">timeout</field> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="debug" id="V/*DU;hnvcw7m=H8M%i_"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="#?=XLpp:xAH)V;nt4Znn"> <field name="TEXT">test</field> </shadow> <block type="convert_toboolean" id="qqe4L3}wb~5baO@vbZ{]"> <value name="VALUE"> <block type="text_trim" id="V:P]bH0UxB~o68dn-/)/"> <field name="MODE">BOTH</field> <value name="TEXT"> <shadow type="text" id="4f0QKBDM7$~@]A|ImT(Q"> <field name="TEXT">abc</field> </shadow> <block type="text_getSubstring" id="aryL(bbn{bt/u4s}OMC="> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="variables_get" id="U=qtyS%EnO45GEQ=1/QV"> <field name="VAR" id="y3dARA/_o@E|kxjn=A[n" variabletype="">state</field> </block> </value> <value name="AT1"> <block type="math_number" id="TUyTOuLW+|J7AlRYT4q|"> <field name="NUM">-7</field> </block> </value> <value name="AT2"> <block type="math_number" id="K89g{7}+.gI|S~J#IJ-*"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </statement> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </xml>
Hier Mal ein blockly Skript womit es auch geht.
-
@2hot4you sagte in Enigma / VU+ Statusabfrage:
Leider kann ich die Prozessorlast nicht nachvollziehen.
Anzeige ohne Enigma adapter
werde mich mal direkt an @Matten-Matten wenden.
Hast du Mal versucht den Adapter erneut zu installieren? Ich hab den Adapter jetzt schon bei so vielen unterschiedlichen Systemen am laufen, und keine Probleme mit der Auslastung.
-
@Matten-Matten sagte in Enigma / VU+ Statusabfrage:
Hallo @Matten-Matten , leider klappt das Blockly Script nicht, bekomme eine Fehlermeldung. Hatte den Adapter schon
mehrfach neu installiert, immer das gleiche.Kann es eventuell an Node.j v8.15.0 liegen? Habe es bis jetzt noch nicht geschafft auf V10 upzudaten. Werde mal
mein System neu aufsetzten, auf einen Rasp 4 mit 4GB. Aktuell läuft es bei mir in einem Proxmox Container.javascript.0 2019-11-03 12:09:52.691 error (1003) script.js.Home.VU: {'code':'ECONNRESET'} javascript.0 2019-11-03 12:09:52.688 error (1003) at Socket.emit (events.js:211:7) javascript.0 2019-11-03 12:09:52.688 error (1003) at emitOne (events.js:116:13) javascript.0 2019-11-03 12:09:52.688 error (1003) at Socket.socketErrorListener (_http_client.js:401:9) javascript.0 2019-11-03 12:09:52.687 error (1003) at ClientRequest.emit (events.js:211:7) javascript.0 2019-11-03 12:09:52.687 error (1003) at emitOne (events.js:116:13) javascript.0 2019-11-03 12:09:52.687 error (1003) at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8) javascript.0 2019-11-03 12:09:52.684 error (1003) at Request.emit (events.js:211:7) javascript.0 2019-11-03 12:09:52.678 error (1003) at emitOne (events.js:121:20) javascript.0 2019-11-03 12:09:52.677 error (1003) at self.callback (/opt/iobroker/node_modules/request/request.js:185:22) javascript.0 2019-11-03 12:09:52.676 error (1003) at Request._callback (script.js.Home.VU:7:29) javascript.0 2019-11-03 12:09:52.669 error (1003) script.js.Home.VU: TypeError: Cannot read property 'slice' of undefined javascript.0 2019-11-03 12:09:46.524 error (1003) script.js.Home.VU: {'code':'ECONNRESET'} javascript.0 2019-11-03 12:09:46.522 error (1003) at Socket.emit (events.js:211:7) javascript.0 2019-11-03 12:09:46.522 error (1003) at emitOne (events.js:116:13) javascript.0 2019-11-03 12:09:46.522 error (1003) at Socket.socketErrorListener (_http_client.js:401:9) javascript.0 2019-11-03 12:09:46.522 error (1003) at ClientRequest.emit (events.js:211:7) javascript.0 2019-11-03 12:09:46.521 error (1003) at emitOne (events.js:116:13) javascript.0 2019-11-03 12:09:46.521 error (1003) at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8) javascript.0 2019-11-03 12:09:46.521 error (1003) at Request.emit (events.js:211:7) javascript.0 2019-11-03 12:09:46.521 error (1003) at emitOne (events.js:121:20) javascript.0 2019-11-03 12:09:46.521 error (1003) at self.callback (/opt/iobroker/node_modules/request/request.js:185:22) javascript.0 2019-11-03 12:09:46.520 error (1003) at Request._callback (script.js.Home.VU:7:29) javascript.0 2019-11-03 12:09:46.520 error (1003) script.js.Home.VU: TypeError: Cannot read property 'slice' of undefined
Gruß Michael
-
@2hot4you er sagt ja er bekommt kein Wert "undefined"
- Stimmt die Eingabe deiner IP und des Ports?
- Hast du PW Schutz für http drin?
Hier noch einmal überarbeitet
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="3{%T_a^Hh`o+CWnSCc{P">IP</variable> <variable type="" id="@8/)):fJvPWQR)4DpML2">PORT</variable> <variable type="undefined" id="Intervall">Intervall</variable> <variable type="" id="y3dARA/_o@E|kxjn=A[n">state</variable> <variable type="" id=";9CBz{(BK7Ex27NC:z%r">result</variable> </variables> <block type="create" id="KaUM18CA,!ia=WBg-DK5" x="-538" y="-1513"> <field name="NAME">enigma2.state</field> <statement name="STATEMENT"> <block type="variables_set" id=":njdz=Tmx;u^tTFZydUO"> <field name="VAR" id="3{%T_a^Hh`o+CWnSCc{P" variabletype="">IP</field> <value name="VALUE"> <block type="text" id="(g/V3,#B%fh~LL6%_daF"> <field name="TEXT">192.168.0.1</field> </block> </value> <next> <block type="variables_set" id="4J,lL^%B1ex8m9r4EGQl"> <field name="VAR" id="@8/)):fJvPWQR)4DpML2" variabletype="">PORT</field> <value name="VALUE"> <block type="text" id=",@x6D2IY|+fikFu#05cT"> <field name="TEXT">80</field> </block> </value> <next> <block type="timeouts_setinterval" id="2miXZpD{}iDF#P*}Mu6b"> <field name="NAME">Intervall</field> <field name="INTERVAL">6000</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="request" id="uxf0BShS(t!v2mbkO45]"> <mutation with_statement="true"></mutation> <field name="WITH_STATEMENT">TRUE</field> <field name="LOG"></field> <value name="URL"> <shadow type="text" id="e%[XlWK=k:#`6by40Ozi"> <field name="TEXT">http://192.168.0.1:80/web/powerstate</field> </shadow> <block type="text_join" id="8AF%Y1?IhO7a{Rm!NNiN"> <mutation items="5"></mutation> <value name="ADD0"> <block type="text" id="{2@6qbU%m+E)jGPek07,"> <field name="TEXT">http://</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="swh@n{+~Sy])Q%h-2$UQ"> <field name="VAR" id="3{%T_a^Hh`o+CWnSCc{P" variabletype="">IP</field> </block> </value> <value name="ADD2"> <block type="text" id="G@7`aZ#S!/;nr,*Mehi|"> <field name="TEXT">:</field> </block> </value> <value name="ADD3"> <block type="variables_get" id="Q?pr+8Ax6P#GnP3$:6X$"> <field name="VAR" id="@8/)):fJvPWQR)4DpML2" variabletype="">PORT</field> </block> </value> <value name="ADD4"> <block type="text" id="2Z0G@3E55gr|7W#??+K$"> <field name="TEXT">/web/powerstate</field> </block> </value> </block> </value> <statement name="STATEMENT"> <block type="controls_if" id="}v*~~A/BN0Rn+Imys!1o"> <value name="IF0"> <block type="logic_compare" id="MK_I?#GEdZ4!dkfoWkbn"> <field name="OP">NEQ</field> <value name="A"> <block type="variables_get" id=",aC!$9lK6?*LWV,wf]+j"> <field name="VAR" id=";9CBz{(BK7Ex27NC:z%r" variabletype="">result</field> </block> </value> <value name="B"> <block type="logic_null" id="*Y!=j3=PwEj$c0{cdR+L"></block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="2cL}9M=cvzRwWQ]9u%T0"> <field name="VAR" id="y3dARA/_o@E|kxjn=A[n" variabletype="">state</field> <value name="VALUE"> <block type="convert_tostring" id="py1IL/=N]C-Q1=h0oZ?."> <value name="VALUE"> <block type="text_getSubstring" id="hE{L1tLh[K*:MMiJ1Qc2"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"> <block type="variables_get" id="dU$XzHsoVl_LAyOI2!9i"> <field name="VAR" id=";9CBz{(BK7Ex27NC:z%r" variabletype="">result</field> </block> </value> <value name="AT1"> <block type="text_indexOf" id="dCY}+}+~4KNIMbHLwthq"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="Z=G-l$(9CchRC!]Z/JQB"> <field name="VAR" id=";9CBz{(BK7Ex27NC:z%r" variabletype="">result</field> </block> </value> <value name="FIND"> <shadow type="text" id="/e*kLf5?Fj?mI*^Cs/%|"> <field name="TEXT"><e2instandby></field> </shadow> </value> </block> </value> <value name="AT2"> <block type="text_indexOf" id="v^3[9u3j*q1XLl2/avuo"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="J):/+yU+yR?oP*rfkIrw"> <field name="VAR" id=";9CBz{(BK7Ex27NC:z%r" variabletype="">result</field> </block> </value> <value name="FIND"> <shadow type="text" id="e_5rZ=mtCygJxdqK7z(G"> <field name="TEXT"></e2instandby></field> </shadow> </value> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id="V/*DU;hnvcw7m=H8M%i_"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="#?=XLpp:xAH)V;nt4Znn"> <field name="TEXT">test</field> </shadow> <block type="convert_toboolean" id="qqe4L3}wb~5baO@vbZ{]"> <value name="VALUE"> <block type="text_trim" id="V:P]bH0UxB~o68dn-/)/"> <field name="MODE">BOTH</field> <value name="TEXT"> <shadow type="text" id="4f0QKBDM7$~@]A|ImT(Q"> <field name="TEXT">abc</field> </shadow> <block type="text_getSubstring" id="aryL(bbn{bt/u4s}OMC="> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="variables_get" id="U=qtyS%EnO45GEQ=1/QV"> <field name="VAR" id="y3dARA/_o@E|kxjn=A[n" variabletype="">state</field> </block> </value> <value name="AT1"> <block type="math_number" id="TUyTOuLW+|J7AlRYT4q|"> <field name="NUM">-7</field> </block> </value> <value name="AT2"> <block type="math_number" id="K89g{7}+.gI|S~J#IJ-*"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="control" id="slw1XWoOhp!37,DaYjnf"> <mutation delay_input="false"></mutation> <field name="OID">javascript.0.enigma2.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_toboolean" id="3/}l+maM#(K~cjR5Kooa"> <value name="VALUE"> <block type="text_trim" id="srQwu;p0BL^=b,EKx$Zu"> <field name="MODE">BOTH</field> <value name="TEXT"> <shadow type="text" id="4f0QKBDM7$~@]A|ImT(Q"> <field name="TEXT">abc</field> </shadow> <block type="text_getSubstring" id="tkAP4T{HbrfSPh#~_[hT"> <mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_END</field> <value name="STRING"> <block type="variables_get" id="Ui1owZLQBc)]r]cwnCQ."> <field name="VAR" id="y3dARA/_o@E|kxjn=A[n" variabletype="">state</field> </block> </value> <value name="AT1"> <block type="math_number" id="LK)Mb~iKNab#HhwXnp5["> <field name="NUM">-7</field> </block> </value> <value name="AT2"> <block type="math_number" id="NFY0c(PSHM,_eWo-J=gV"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </xml>
-
ip stimmt, im Browser eingegeben kommt folgende Anzeige
This XML file does not appear to have any style information associated with it. The document tree is shown below. <e2powerstate> <e2instandby> false </e2instandby> </e2powerstate>
Hatte noch mal neu gestartet, jetzt geht es, warum auch immer ??? wie schon vorher ein paar mal
BlocklyJavascriptTypeScript 12:45:12.334 info javascript.0 (12531) Stop script script.js.Home.VU 12:45:16.008 info javascript.0 (12531) Start javascript script.js.Home.VU 12:45:16.020 info javascript.0 (12531) script.js.Home.VU: registered 0 subscriptions and 0 schedules 12:45:23.045 info javascript.0 (12531) script.js.Home.VU: false 12:45:29.099 info javascript.0 (12531) script.js.Home.VU: false 12:45:35.044 info javascript.0 (12531) script.js.Home.VU: false 12:45:41.046 info javascript.0 (12531) script.js.Home.VU: false 12:45:47.046 info javascript.0 (12531) script.js.Home.VU: false 12:45:53.051 info javascript.0 (12531) script.js.Home.VU: false 12:45:59.051 info javascript.0 (12531) script.js.Home.VU: false 12:46:05.060 info javascript.0 (12531) script.js.Home.VU: false 12:46:11.052 info javascript.0 (12531) script.js.Home.VU: false
Danke
-
Habs oben nochmal überarbeitet, damit das nicht kommt er legt jetzt auch ein device an und verdampft es mit dem Status.