Beiträge von ElPanse

    Nach tagelangen probieren und lesen habe ich es selber hin bekommen, vielleicht hilft es ja jemand weiter. Befehle alle über Putty und per root rechte enfällt sudo.

    sudo apt-get remove nodejs
    sudo apt-get autoremove
    sudo apt-get autoclean

    reboot

    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

    sudo apt-get install -y nodejs build-essential

    reboot

    Code
    sudo npm install -g npm@4

    rebot

    node -v

    nodejs -v

    npm -v

    soltte

    8.15.0

    8.15.0

    4.6.1 ergeben

    wenn das alles so hin haut.

    Code
    sudo iobroker del ble
    sudo iobroker add ble

    reboot

    Danach in den IOBroker gehen, Adapter und in den Experten Modus gehen. Darüber den Zigbee Adapter auf 0.8 Updaten und installieren. Und siehe da der Adapter ist in den Instanzen gelb nur noch den COM ermitteln wenn noch nicht geschehen und er läuft.

    Ich bins nochmal. Habe versucht über google eine Lösung zu finden.

    Der Befehl ergibt: serialport-list

    -bash: serialport-list: Kommando nicht gefunden.

    darauf hin habe ich versucht neu zu erstellen und dies ergibt folgenden Fehler


    npm install -g serialport

    > @serialport/bindings@2.0.7 install /usr/lib/node_modules/serialport/node_modules/@serialport/bindings

    > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

    prebuild-install WARN install EACCES: permission denied, access '/root/.npm'

    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"

    gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/serialport/node_modules/@serialport/bindings/.node-gyp"

    gyp WARN install got an error, rolling back install

    gyp WARN install got an error, rolling back install

    gyp ERR! configure error

    gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/serialport/node_modules/@serialport/bindings/.node-gyp'

    gyp ERR! System Linux 4.14.79-v7+

    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

    gyp ERR! cwd /usr/lib/node_modules/serialport/node_modules/@serialport/bindings

    gyp ERR! node -v v8.15.0

    gyp ERR! node-gyp -v v3.8.0

    gyp ERR! not ok

    npm ERR! code ELIFECYCLE

    npm ERR! errno 1

    npm ERR! @serialport/bindings@2.0.7 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`

    npm ERR! Exit status 1

    npm ERR!

    npm ERR! Failed at the @serialport/bindings@2.0.7 install script.

    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:

    npm ERR! /root/.npm/_logs/2019-01-24T17_41_13_898Z-debug.log


    Kann mir da einer weiterhelfen. Danke sehr.

    Hallo, ich bräuchte Hilfe beim Zigbee Adapter. Habe mir einen fertigen Zigbee-Stick aus dem Netz gekauft. Habe den Zigbee Adapter0.8 installiert. Er bleibt vom Start weg rot. Das auslesen über den Terminal Adapter hat funktioniert und habe es auch wie in Dennis Video eingetragen. Bekomme im Log aber immer Fehlermeldungen, kann mir dabei einer helfen.

    npm 4.6.1

    node 8.15.0

    nodejs 8.15.0

    und hier die Fehlermeldung. Vielen Dank schon mal im voraus.

    Und Licht Aus

    Hallo, ich habe mir für die Telegram App ein Skript geschrieben um meine YiiLights zu Steuern. Das Skript für an funktioniert und ich kann in der App die Lichter einzeln einschalten nur aus bekomme ich sie nicht. Kann mir einer vielleicht sagen wo mein Denkfehler liegt. DANKE

    Licht An

    Warum sollen sie nicht erreichbar sein? Mir würde nur einfallen wenn bei dir zu Hause dein Internet aussteigt. Wenn ich auf Arbeit bin frage ich per Telegram den Status der Kontakte ab also ob was auf oder alles zu ist. Es gibt auch die Möglichkeit den Batteriestatus und Temperatur abzufragen.

    Hallo, wie meinst du das. Die Kontakte können doch nur true und false. Du kannst die Kontakte abfragen per Telegram

    Hallo,

    ich hätte mal eine Frage. Ich habe mir ein Blockly Script mit Datenpunkt und Alexa App Rountne zur Abfrage meines Türsensors von Xioami gemacht. Das klappt auch soweit. Hier wäre das Script

    Jetzt wäre meine Frage, ist es möglich das Alexa sich in der Zeit von 00:15 Uhr bis 00:59 Uhr automatisch bei mir meldet und mir sagt das die Terassentür noch offen ist. Um 01 Uhr geht meine Alarmanlage scharf und bei dem Wetter passiert es mir öfters das ich sie vergesse vorher zu schließen. Vielen Dank

    <block xmlns="http://www.w3.org/1999/xhtml" type="on" id="}/qJ@+ts0Eh6`r8%#1:{" x="-1187" y="-1337">

    <field name="OID">mihome.0.devices.magnet_158d0001a64f1e.state</field>

    <field name="CONDITION">ne</field>

    <field name="ACK_CONDITION"></field>

    <statement name="STATEMENT">

    <block type="controls_if" id="hC#xF0;?DHhT:|fe+(%k">

    <mutation elseif="1"></mutation>

    <value name="IF0">

    <block type="logic_operation" id=")6uq5IHRYbgp!=bV219U">

    <field name="OP">AND</field>

    <value name="A">

    <block type="time_compare" id="*MYv%6}[1JWVSX^|@/nR">

    <mutation end_time="true"></mutation>

    <field name="OPTION">between</field>

    <field name="START_TIME">01:00</field>

    <field name="END_TIME">05:45</field>

    </block>

    </value>

    <value name="B">

    <block type="logic_compare" id=";_i]cfZdrmL/qXWB6PuO">

    <field name="OP">EQ</field>

    <value name="A">

    <block type="get_value" id="@*U~?vgT6(W(r4|SbC(k">

    <field name="ATTR">val</field>

    <field name="OID">ID auswählen</field>

    </block>

    </value>

    <value name="B">

    <block type="logic_boolean" id="ZT5]2tgD5CM]Of-|;}#F">

    <field name="BOOL">TRUE</field>

    </block>

    </value>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO0">

    <block type="controls_repeat_ext" id=".{9u[lhHRiR+V[U-6ci%">

    <value name="TIMES">

    <shadow type="math_number" id="Nt?|f}`oB/zHJ6n-o]Q]">

    <field name="NUM">100</field>

    </shadow>

    </value>

    <statement name="DO">

    <block type="control" id="(Sl*:Vgu9Iq.L^K1{%Lp">

    <mutation delay_input="false"></mutation>

    <field name="OID">mihome.0.devices.gateway_f0b429b3dd1a.mid</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block type="text" id="3w_S/VNA@F+-cH=+1}oj">

    <field name="TEXT"> 0</field>

    </block>

    </value>

    <next>

    <block type="control" id="I1N9jdIi{cd,A9fX5^}P">

    <mutation delay_input="false"></mutation>

    <field name="OID">mihome.0.devices.gateway_f0b429b3dd1a.volume</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block type="text" id="Ajhm9Q@fcf:OQ|?@f#[J">

    <field name="TEXT"> 90</field>

    </block>

    </value>

    <next>

    <block type="control" id="UDfw8Om][ow`?7oX~Bv#">

    <mutation delay_input="false"></mutation>

    <field name="OID">mihome.0.devices.gateway_34ce008d4a3a.mid</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block type="text" id=";oQ1)0sf6pws7.a-x^mt">

    <field name="TEXT"> 0</field>

    </block>

    </value>

    <next>

    <block type="control" id="mVCP~;vklQV}Q`yWq08J">

    <mutation delay_input="false"></mutation>

    <field name="OID">mihome.0.devices.gateway_34ce008d4a3a.volume</field>

    <field name="WITH_DELAY">FALSE</field>

    <value name="VALUE">

    <block type="text" id="]l6!(qi^b/%^BnG/@d{2">

    <field name="TEXT"> 40</field>

    </block>

    </value>

    </block>

    </next>

    </block>

    </next>

    </block>

    </next>

    </block>

    </statement>

    <next>

    <block type="control" id="`K}qbG,Oc1(]O~?bbw]n">

    <mutation delay_input="true"></mutation>

    <field name="OID">mihome.0.devices.gateway_f0b429b3dd1a.on</field>

    <field name="WITH_DELAY">TRUE</field>

    <field name="DELAY_MS">500</field>

    <field name="UNIT">ms</field>

    <field name="CLEAR_RUNNING">FALSE</field>

    <value name="VALUE">

    <block type="text" id="qdatj|4Ee@2vxL,z1~eW">

    <field name="TEXT">#FF0000</field>

    </block>

    </value>

    <next>

    <block type="control" id="O^GO}#~EX7[+)v9[0A?,">

    <mutation delay_input="true"></mutation>

    <field name="OID">mihome.0.devices.gateway_34ce008d4a3a.on</field>

    <field name="WITH_DELAY">TRUE</field>

    <field name="DELAY_MS">500</field>

    <field name="UNIT">ms</field>

    <field name="CLEAR_RUNNING">FALSE</field>

    <value name="VALUE">

    <block type="text" id="q={kr.qITCi)Pq6}_lIR">

    <field name="TEXT">#FF0000</field>

    </block>

    </value>

    </block>

    </next>

    </block>

    </next>

    </block>

    </statement>

    <value name="IF1">

    <block type="logic_operation" id="q:*3h-ki3(Mg2AcIgH})">

    <field name="OP">AND</field>

    <value name="A">

    <block type="time_compare" id="D4#FrdEFm|TXoF?WDKaz">

    <mutation end_time="true"></mutation>

    <field name="OPTION">between</field>

    <field name="START_TIME">01:00</field>

    <field name="END_TIME">05:45</field>

    </block>

    </value>

    <value name="B">

    <block type="logic_compare" id="MFVsGu7ZsfP|TG?6x3f;">

    <field name="OP">EQ</field>

    <value name="A">

    <block type="get_value" id="%)Wu;h[%C~BdlsZH*Y}u">

    <field name="ATTR">val</field>

    <field name="OID">ID auswählen</field>

    </block>

    </value>

    <value name="B">

    <block type="logic_boolean" id="Fi!N%h(wYzlrA{o^6):P">

    <field name="BOOL">FALSE</field>

    </block>

    </value>

    </block>

    </value>

    </block>

    </value>

    <statement name="DO1">

    <block type="control" id="b8P+ir]k+,5;*;P)yM)F">

    <mutation delay_input="true"></mutation>

    <field name="OID">mihome.0.devices.gateway_f0b429b3dd1a.on</field>

    <field name="WITH_DELAY">TRUE</field>

    <field name="DELAY_MS">2</field>

    <field name="UNIT">min</field>

    <field name="CLEAR_RUNNING">FALSE</field>

    <value name="VALUE">

    <block type="logic_boolean" id="eKh+2+yYG[C-||f[{t.6">

    <field name="BOOL">FALSE</field>

    </block>

    </value>

    <next>

    <block type="control" id="P[_wZpKt+aPH:MrF}rCR">

    <mutation delay_input="true"></mutation>

    <field name="OID">mihome.0.devices.gateway_34ce008d4a3a.on</field>

    <field name="WITH_DELAY">TRUE</field>

    <field name="DELAY_MS">2</field>

    <field name="UNIT">min</field>

    <field name="CLEAR_RUNNING">FALSE</field>

    <value name="VALUE">

    <block type="logic_boolean" id="sHcRU=+yn~2I~Qx*T=Xl">

    <field name="BOOL">FALSE</field>

    </block>

    </value>

    </block>

    </next>

    </block>

    </statement>

    </block>

    </statement>

    </block>