Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Русский
    3. ioBroker
    4. ioBroker драйвера
    5. Драйвер ioBroker MySensors

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Драйвер ioBroker MySensors

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Maxtox last edited by

      Console LOG:

      root@raspberrypi:/opt/iobroker# npm install https://github.com/DJONvl/iobroker.myse … all/master

      npm http GET https://github.com/DJONvl/iobroker.myse ... all/master

      npm http 200 https://github.com/DJONvl/iobroker.myse ... all/master

      npm http GET https://registry.npmjs.org/sensors

      npm http GET https://registry.npmjs.org/serialport

      npm http 304 https://registry.npmjs.org/sensors

      npm http 304 https://registry.npmjs.org/serialport

      npm http GET https://registry.npmjs.org/optimist

      npm http GET https://registry.npmjs.org/nan

      npm http GET https://registry.npmjs.org/bindings/1.2.1

      npm http GET https://registry.npmjs.org/sf/0.1.7

      npm http GET https://registry.npmjs.org/async/0.9.0

      npm http GET https://registry.npmjs.org/debug

      npm http 304 https://registry.npmjs.org/nan

      npm http 304 https://registry.npmjs.org/debug

      npm http 304 https://registry.npmjs.org/sf/0.1.7

      npm http 200 https://registry.npmjs.org/optimist

      npm http 304 https://registry.npmjs.org/bindings/1.2.1

      npm http 304 https://registry.npmjs.org/async/0.9.0

      npm http GET https://registry.npmjs.org/ms/0.7.1

      npm http 304 https://registry.npmjs.org/ms/0.7.1

      npm http GET https://registry.npmjs.org/wordwrap

      npm http GET https://registry.npmjs.org/minimist

      npm http 304 https://registry.npmjs.org/wordwrap

      npm http 304 https://registry.npmjs.org/minimist

      serialport@2.0.6 install /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport

      node-pre-gyp install --fallback-to-build

      node-pre-gyp http GET https://github.com/voodootikigod/node-s … arm.tar.gz

      node-pre-gyp http 404 https://github.com/voodootikigod/node-s ... arm.tar.gz

      node-pre-gyp http Pre-built binary not available for your system, looked for https://github.com/voodootikigod/node-s ... arm.tar.gz (falling back to source compile with node-gyp)

      make: Entering directory '/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build'

      CXX(target) Release/obj.target/serialport/src/serialport.o

      CXX(target) Release/obj.target/serialport/src/serialport_unix.o

      CXX(target) Release/obj.target/serialport/src/serialport_poller.o

      SOLINK_MODULE(target) Release/obj.target/serialport.node

      SOLINK_MODULE(target) Release/obj.target/serialport.node: Finished

      COPY Release/serialport.node

      COPY /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build/Release/node-v11-linux-arm/serialport.node

      TOUCH Release/obj.target/action_after_build.stamp

      make: Leaving directory '/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/build'

      iobroker.mysensors@0.0.1 node_modules/iobroker.mysensors

      ├── sensors@0.1.0

      └── serialport@2.0.6 (bindings@1.2.1, sf@0.1.7, async@0.9.0, nan@2.0.9, debug@2.2.0, optimist@0.6.1)

      1 Reply Last reply Reply Quote 0
      • M
        Maxtox last edited by

        смотрим!!!

        https://youtu.be/SyWTYB084xQ

        УЖЕ ЛУЧШЕ!

        Только BIND не сработал!

        1 Reply Last reply Reply Quote 0
        • V
          Vlad_k last edited by

          bind срабатывает, только переменная не сохраняется

          смотри что сделай:

          нажми bind в списке devices появятся твои юниты щелкни по любому 2 раза и нажми сохранить, чтобы активировалась кнопка Сохранить и выйти

          ToDo сделать активацию сохранения при добавлении в список новых юнитов

          1 Reply Last reply Reply Quote 0
          • M
            Maxtox last edited by

            Ок… Попробую...
            14780_2019-01-29_10h34_27.png

            1 Reply Last reply Reply Quote 0
            • M
              Maxtox last edited by

              Привет, могу ставить новую версию? Bluefox что-то запулил?!

              1 Reply Last reply Reply Quote 0
              • V
                Vlad_k last edited by

                да ставь

                1 Reply Last reply Reply Quote 0
                • M
                  Maxtox last edited by

                  смотрим!!!

                  https://youtu.be/mvjW1XE959E

                  1 Reply Last reply Reply Quote 0
                  • M
                    Maxtox last edited by

                    не читает… только информация из presentation

                    https://youtu.be/wylcfQUxXgk
                    4300_iot.jpg

                    1 Reply Last reply Reply Quote 0
                    • V
                      Vlad_k last edited by

                      @Maxtox:

                      смотрим!!!

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

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

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

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

                      1 Reply Last reply Reply Quote 0
                      • M
                        Maxtox last edited by

                        смотрим

                        почему ack TRUE?

                        https://youtu.be/rPdlEBoaDGc

                        в скетче на ардуине

                        `present(i, iomodus[i].sensorType, iomodus[i].description, false);`
                        
                        смотрим что происходит
                        
                        [https://youtu.be/mcUTM45SjG8](https://youtu.be/mcUTM45SjG8)[/i][/i]
                        
                        1 Reply Last reply Reply Quote 0
                        • M
                          Maxtox last edited by

                          @Vlad_k:

                          @Maxtox:

                          смотрим!!!

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

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

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

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

                          1. привык так 🙂

                          2. убрал!

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

                          1 Reply Last reply Reply Quote 0
                          • V
                            Vlad_k last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • M
                              Maxtox last edited by

                              проблема в том что 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…Скрипт зависает! (последнее видео)

                              1 Reply Last reply Reply Quote 0
                              • M
                                Maxtox last edited by

                                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
                                
                                1 Reply Last reply Reply Quote 0
                                • V
                                  Vlad_k last edited by

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

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

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Maxtox last edited by

                                    https://youtu.be/LFCIhMTMtIY

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      Vlad_k last edited by

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

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        Maxtox last edited by

                                        @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
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          Vlad_k last edited by

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

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Maxtox last edited by

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

                                            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]
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            895
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            13
                                            106
                                            30172
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo