Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Русский
  3. ioBroker
  4. ioBroker драйвера
  5. Драйвер ioBroker MySensors

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.3k

Драйвер ioBroker MySensors

Geplant Angeheftet Gesperrt Verschoben ioBroker драйвера
106 Beiträge 13 Kommentatoren 32.6k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    Maxtox
    schrieb am zuletzt editiert von
    #34

    @Vlad_k:

    @Maxtox:

    смотрим!!!

    https://youtu.be/mvjW1XE959E `
    1 ты очень торопишься и не даешь запуститься драйверу, поэтому входя в настройки селектор ком портов пустой

    2 ты добавил один и тот же юнит несколько раз, зачем? все равно имя переменной одно создается

    3 для управления реле тебе нужно прописать в RAW посылку управляющую твоим реле без Value

    а так все работает отлично `

    1. привык так :-)

    2. убрал!

    3. смотрим https://youtu.be/IiU1DlUT9cc

    Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

    1 Antwort Letzte Antwort
    0
    • V Offline
      V Offline
      Vlad_k
      schrieb am zuletzt editiert von
      #35

      все правильно, что тебя смущает? то что в ком порт от юнита приходит то и отображается, в логе постоянно надо жать кнопку обновить иначе не корректно показывает, но это не проблема в драйвере

      1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        Maxtox
        schrieb am zuletzt editiert von
        #36

        проблема в том что VALUE ПРЫГАЕТ, я думаю из за ack=TRUE,

        https://youtu.be/-uoDqlupOiE

        mysensors-0 2016-02-21 11:34:21 info Rx-Raw 0;58;1;1;0;55.91

        mysensors-0 2016-02-21 11:32:34 info _0|42|set|true|V_TEMP|_-127.00

        mysensors-0 2016-02-21 11:31:43 info raw_data_error 1

        mysensors-0 2016-02-21 11:33:36 info Rx-Raw 0;58;1;1;0;56.07

        mysensors-0 2016-02-21 11:34:21 info ack is not set!

        пробыvал изменит RAW от RELAY…Скрипт зависает! (последнее видео)

        Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

        1 Antwort Letzte Antwort
        0
        • M Offline
          M Offline
          Maxtox
          schrieb am zuletzt editiert von
          #37

          BUG

          смотри как время в логе выходит!

          Или как ты время лога сортируешь?

          mysensors-0	2016-02-21 11:34:25	info	raw_data_error 1
          mysensors-0	2016-02-21 11:31:47	info	Rx-Raw -127.00
          mysensors-0	2016-02-21 11:33:39	info	Rx-Raw TYPE
          mysensors-0	2016-02-21 11:32:38	info	raw_data_error 1
          mysensors-0	2016-02-21 11:34:25	info	Rx-Raw String
          mysensors-0	2016-02-21 11:31:47	info	raw_data_error 1
          mysensors-0	2016-02-21 11:33:39	info	raw_data_error 1
          mysensors-0	2016-02-21 11:32:38	info	Rx-Raw 58
          mysensors-0	2016-02-21 11:34:25	info	raw_data_error 1
          mysensors-0	2016-02-21 11:31:47	info	Rx-Raw String
          mysensors-0	2016-02-21 11:33:39	info	Rx-Raw -127.00
          mysensors-0	2016-02-21 11:32:38	info	raw_data_error 1
          mysensors-0	2016-02-21 11:34:25	info	Rx-Raw 42
          mysensors-0	2016-02-21 11:31:47	info	raw_data_error 1
          mysensors-0	2016-02-21 11:33:39	info	raw_data_error 1
          mysensors-0	2016-02-21 11:32:38	info	Rx-Raw PIN
          mysensors-0	2016-02-21 11:34:25	info	raw_data_error 1
          mysensors-0	2016-02-21 11:31:47	info	Rx-Raw 42
          mysensors-0	2016-02-21 11:33:39	info	Rx-Raw String
          mysensors-0	2016-02-21 11:32:38	info	__0_|_58_|_set_|_true_|_V_TEMP_|_40.08
          mysensors-0	2016-02-21 11:34:25	info	Rx-Raw PIN
          mysensors-0	2016-02-21 11:31:47	info	raw_data_error 1
          mysensors-0	2016-02-21 11:33:39	info	raw_data_error 1
          

          Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

          1 Antwort Letzte Antwort
          0
          • V Offline
            V Offline
            Vlad_k
            schrieb am zuletzt editiert von
            #38

            0;8;1;1;2 для твоего реле напиши, остальные поля можно не трогать

            не понял какое время? только мусор и температура в логе

            1 Antwort Letzte Antwort
            0
            • M Offline
              M Offline
              Maxtox
              schrieb am zuletzt editiert von
              #39

              https://youtu.be/LFCIhMTMtIY

              Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

              1 Antwort Letzte Antwort
              0
              • V Offline
                V Offline
                Vlad_k
                schrieb am zuletzt editiert von
                #40

                прыгает потому что твой шлюз отправляет данные постоянно

                1 Antwort Letzte Antwort
                0
                • M Offline
                  M Offline
                  Maxtox
                  schrieb am zuletzt editiert von
                  #41

                  @Vlad_k:

                  прыгает потому что твой шлюз отправляет данные постоянно `
                  вроде не прыгает ( подключил к компу)…

                  https://youtu.be/rQqTmg9WccY

                  в иоброкере...ЛОГ:

                  @bluefox:

                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:28	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:28	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:28	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:27	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:26	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:25	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:24	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:23	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:23	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:23	2016-02-21 12:58:18
                  stateChange	mysensors.0.V_TEMP_0_58	"43.29"	false	mysensors.0	2016-02-21 12:58:23	2016-02-21 12:58:18
                  

                  Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

                  1 Antwort Letzte Antwort
                  0
                  • V Offline
                    V Offline
                    Vlad_k
                    schrieb am zuletzt editiert von
                    #42

                    а попробуй-ка только один датчик температуры выбрать в девлист, может прыгает потому что с двух датчиков неправильно парсит, хотя врятли…

                    1 Antwort Letzte Antwort
                    0
                    • M Offline
                      M Offline
                      Maxtox
                      schrieb am zuletzt editiert von
                      #43

                      ни чего не понимаю!

                      https://youtu.be/wsnjSjnc0gU

                      в скетче каждые 10сек. update!

                      https://www.youtube.com/watch?v=wsnjSjnc0gU

                      `if (millis() > next_Time[i])
                            {
                              next_Time[i] = next_Time[i] + 10000;  //Update Value every 10s 
                              Rt = Rv / ((1024.0 / analogRead(i)) - 1.0);
                              float tempNTC = (B_wert * Tn / (B_wert + (Tn * log(Rt / Rn)))) - Tn + 25.0 + Temp_offset[i];// Here Offset if needed
                      
                              if ((tempNTC > (last_float_value[i] + delta_ntc)) || (tempNTC < (last_float_value[i] - delta_ntc))
                                || complete_loop)
                              {
                                //MyMessage msg(i, iomodus[i].variableType);
                                Serial.print("tempNTC of Pin ");
                                Serial.print(i);
                                Serial.print(" is ");
                                Serial.println(tempNTC);
                                send(msg.setSensor(i).set(tempNTC, 2), false);
                      
                                last_float_value[i] = tempNTC;
                      
                              }
                            }`[/i][/i][/i][/i][/i][/i][/i][/i]
                      

                      Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

                      1 Antwort Letzte Antwort
                      0
                      • V Offline
                        V Offline
                        Vlad_k
                        schrieb am zuletzt editiert von
                        #44

                        вроде нашел где глючит, залил , пробуй

                        1 Antwort Letzte Antwort
                        0
                        • M Offline
                          M Offline
                          Maxtox
                          schrieb am zuletzt editiert von
                          #45

                          ok.. отпишусь!

                          Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

                          1 Antwort Letzte Antwort
                          0
                          • H Offline
                            H Offline
                            Haba
                            schrieb am zuletzt editiert von
                            #46

                            Подскажите пожалуйста, из-за чего криво может ставится этот драйвер?

                            саму ioBroker поставил и запустил раза с пятого :)

                            Железо Raspberry Pi B, шлюз Arduino Serial. Подключаю на GPIO, т.е. будет использоваться ttyAMA0

                            Установку делаю с админ панели

                            вот лог установки драйвера:

                            ! ````
                            $ ./iobroker add mysensors
                            npm install iobroker.mysensors --production --prefix "/opt/iobroker" (System call)
                            In file included from ../src/serialport.h:5:0, from ../src/serialport.cpp:3:
                            ../node_modules/nan/nan.h:316:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
                            static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
                            ^
                            ! make: *** [Release/obj.target/serialport/src/serialport.o] Ошибка 1
                            gyp

                            ERR! build error
                            gyp
                            ERR!
                            stack Error: make failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
                            gyp ERR! stack at ChildProcess.emit (events.js:98:17)
                            gyp ERR! stack
                            at Process.ChildProcess._handle.onexit (child_process.js:809:12)
                            gyp
                            ERR! System Linux 4.1.19+gyp ERR! command "nodejs" "/usr/bin/node-gyp" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build/Release/node-v11-linux-arm/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build/Release/node-v11-linux-arm"

                            ! gyp ERR! cwd /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialportgyp ERR! node -v v0.10.29
                            gyp ERR! node-gyp -v v0.12.2
                            ! gyp ERR! not ok
                            node-pre-gyp ERR! build error
                            node-pre-gyp
                            ERR! stack Error: Failed to execute 'node-gyp build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build/Release/node-v11-linux-arm/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build/Release/node-v11-linux-arm' (1)node-pre-gyp
                            ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17)
                            node-pre-gyp ERR! stack at maybeClose (child_process.js:755:16)
                            node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:822:5)
                            ! node-pre-gyp
                            ERR! System Linux 4.1.19+node-pre-gyp ERR! command "node" "/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                            node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport
                            node-pre-gyp ERR! node -v v0.10.29
                            node-pre-gyp ERR! node-pre-gyp -v v0.6.18
                            node-pre-gyp
                            ERR! not ok
                            npm

                            WARN This failure might be due to the use of legacy binary "node"
                            npm WARN For further explanations, please read/usr/share/doc/nodejs/README.Debian

                            ! npm
                            WARN optional dep failed, continuing serialport@2.0.6</anonymous>

                            1 Antwort Letzte Antwort
                            0
                            • M Offline
                              M Offline
                              Maxtox
                              schrieb am zuletzt editiert von
                              #47

                              Ты мой видео на YouTube смотрел? Там всё показано

                              Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

                              1 Antwort Letzte Antwort
                              0
                              • BluefoxB Offline
                                BluefoxB Offline
                                Bluefox
                                schrieb am zuletzt editiert von
                                #48

                                @Haba:

                                Подскажите пожалуйста, из-за чего криво может ставится этот драйвер?

                                саму ioBroker поставил и запустил раза с пятого :)

                                Железо Raspberry Pi B, шлюз Arduino Serial. Подключаю на GPIO, т.е. будет использоваться ttyAMA0

                                Установку делаю с админ панели

                                вот лог установки драйвера:

                                ! ````
                                $ ./iobroker add mysensors
                                npm install iobroker.mysensors --production --prefix "/opt/iobroker" (System call)
                                In file included from ../src/serialport.h:5:0, from ../src/serialport.cpp:3:
                                ../node_modules/nan/nan.h:316:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
                                static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
                                ^
                                ! make: *** [Release/obj.target/serialport/src/serialport.o] Ошибка 1
                                gyp

                                ERR! build error
                                gyp
                                ERR!
                                stack Error: make failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
                                gyp ERR! stack at ChildProcess.emit (events.js:98:17)
                                gyp ERR! stack
                                at Process.ChildProcess._handle.onexit (child_process.js:809:12)
                                gyp
                                ERR! System Linux 4.1.19+gyp ERR! command "nodejs" "/usr/bin/node-gyp" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build/Release/node-v11-linux-arm/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build/Release/node-v11-linux-arm"

                                ! gyp ERR! cwd /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialportgyp ERR! node -v v0.10.29
                                gyp ERR! node-gyp -v v0.12.2
                                ! gyp ERR! not ok
                                node-pre-gyp ERR! build error
                                node-pre-gyp
                                ERR! stack Error: Failed to execute 'node-gyp build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build/Release/node-v11-linux-arm/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build/Release/node-v11-linux-arm' (1)node-pre-gyp
                                ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17)
                                node-pre-gyp ERR! stack at maybeClose (child_process.js:755:16)
                                node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:822:5)
                                ! node-pre-gyp
                                ERR! System Linux 4.1.19+node-pre-gyp ERR! command "node" "/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport
                                node-pre-gyp ERR! node -v v0.10.29
                                node-pre-gyp ERR! node-pre-gyp -v v0.6.18
                                node-pre-gyp
                                ERR! not ok
                                npm

                                WARN This failure might be due to the use of legacy binary "node"
                                npm WARN For further explanations, please read/usr/share/doc/nodejs/README.Debian

                                ! npm
                                WARN optional dep failed, continuing serialport@2.0.6</anonymous>
                                ```` `
                                Не хватает питона и build-essential

                                1 Antwort Letzte Antwort
                                0
                                • H Offline
                                  H Offline
                                  Haba
                                  schrieb am zuletzt editiert von
                                  #49

                                  Maxtox видео смотрел, но посмотрел еще раз :) действитвельно упустил один момент. У меня почему то даже на качестве 720р текст плохо был виден. только при втором просмотре увидел версию nodejs 12.6.

                                  Все переустановил еще разок, заработало! Через USB шлюз уже подключил, через GPIO пока еще не успел. Ругается Serial error: Error: Serialport not open, буду настройки проверять.

                                  Bluefox , в последнем образе Raspbian уже последние версии стоят, проверял.

                                  Кстати, подскажите еще такой момент. При установке уже самого ioBroker вылазит следующее (хотя ставил под рутом):

                                  ! Write "./iobroker start" to start the ioBroker
                                  ! Cannot create file /usr/bin/iobroker!. Non critical
                                  ! –---------------------------------------------------
                                  ! You can manually copy file into /usr/bin/. Just write:
                                  ! sudo cp /opt/iobroker/node_modules/iobroker/install/iobroker /usr/bin/
                                  ! sudo chmod 777 /usr/bin/iobroker
                                  ! -----------------------------------------------------
                                  ! Cannot copy file to /etc/init.d/iobroker.sh: Error: EACCES: permission denied, open '/etc/init.d/iobroker.sh'
                                  ! -----------------------------------------------------
                                  ! You can manually copy file and install autostart:
                                  ! sudo cp /opt/iobroker/node_modules/iobroker/install/linux/iobroker.sh /etc/init.d/
                                  ! sudo chmod 777 /etc/init.d/iobroker.sh
                                  ! sudo bash /opt/iobroker/node_modules/iobroker/install/linux/install.sh
                                  ! -----------------------------------------------------
                                  ! or just start "sudo bash /opt/iobroker/install.sh"
                                  ! -----------------------------------------------------

                                  Как и написано, ручками эти команды выполняю и запускаю брокера.

                                  1 Antwort Letzte Antwort
                                  0
                                  • fishka18rusF Offline
                                    fishka18rusF Offline
                                    fishka18rus
                                    schrieb am zuletzt editiert von
                                    #50

                                    @Vlad_k:

                                    Драйвер предназначен для работы с беспроводными устройствами (arduino+nrf24), использующими библиотеку с http://www.mysensors.org/…

                                    драйвер в обкатке, предложения(пожелания) не игнорируются :D `

                                    Привет!

                                    Адаптер для mysensors это действительно круто. Я давно лелеял надежду что кто-нибудь напишет подобную штуку, так как сам совсем не программист. Но, как я понял, данный адаптер в режиме tcp или udp выступает в качестве шлюза для устрйств mysensensors, т.е. работает как сервер и ждет подключений на порт 5003? Разве не логичнее ему получать данные от mysensors gateway запущенном на какой-нибудь esp8266? И есть ли в планах такой режим?

                                    1 Antwort Letzte Antwort
                                    0
                                    • H Offline
                                      H Offline
                                      Haba
                                      schrieb am zuletzt editiert von
                                      #51

                                      fishka18rus Не совсем так. Данный драйвер принимает данные (посылает команды) через физический шлюз, выполненный на одном из вариантов Serial, MQTT или Ethernet. Соответственно на чем сделан шлюз (ардуина + usb или esp8266 или сетевой модуль) не важно для ioBroker, будет работать с любой железкой либо через uart, либо через сеть

                                      1 Antwort Letzte Antwort
                                      0
                                      • H Offline
                                        H Offline
                                        Haba
                                        schrieb am zuletzt editiert von
                                        #52

                                        Возможность автоматической раздачи id, новым подключаемым узлам и возможность обновления прошивки по воздуху (на основе загрузчика MYSBootloader планируется?

                                        1 Antwort Letzte Antwort
                                        0
                                        • M Offline
                                          M Offline
                                          Maxtox
                                          schrieb am zuletzt editiert von
                                          #53

                                          da… v planax est

                                          Arduino MEGA 2560 R3 / ioBroker / DOino Sketch

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          740

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe