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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Драйвер ioBroker MySensors

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

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

      пока поддерживается только http://www.mysensors.org/build/serial_gateway, по этому в настройках драйвера:
      965_00.png
      необходимо выбрать ком порт к которому подключен http://www.mysensors.org/build/serial_gateway , нажать кнопку [Сохранить и выйти] для перезагрузки драйвера
      965_01.png
      в моем случае это COM17, как только драйвер перегрузится он начинает мониторить данные из шлюза.

      Каждое устройство MySensors при включении выдает презентацию в сеть, в которой указываются все юниты ноды и что они из себя представляют, на картинке ниже это видно в верхней таблице…

      Она вызывается кнопкой *** в конце каждой строки есть кнопка [bind], нажав на нее драйвер подписывается на события выбранного юнита и помещает его в таблицу Список устройств
      965_02.png
      При этом автоматически создается переменная для работы с другими модулями IoBroker например ioBroker.vis

      проверить можно на вкладе ****Обьекты****
       ![965_03.png](/assets/uploads/files/965_03.png) 
      
      Проверив, что переменные добавлены и в поле Значение отображается информация, можем смело переходить к их использованию, открываем VIS в режиме редактора:
      
      выбираем виджет к которому привяжем нашу переменную для S_LIGHT_1_11 я выбрал лампочку
       ![965_04.png](/assets/uploads/files/965_04.png) 
      красным на картинке выше выделено, жмем на виджет потом на выбор ID Объекта:
      
      • для привязки, откроется окно с обьектами
        965_05.png
        выбираем наш S_LIGHT_1_11

        аналогично для датчиков освещенности и температуры…

        сохраняем и пользуем

        Как то так...

        Установка драйвера:

        в консоли перейти в папку iobroker

        например для винды:

        cd c:\iobroker

        npm install https://github.com/DJONvl/iobroker.myse … all/master

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

      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        Отличная документация 😉

        Непонятно: "для работы с беспроводными устройствами"

        "выбрать ком порт к которому подключено устройство"

        Ком Порт беспроводной?

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

          пока поддерживается только serial_gateway

          начит с компа или с raspi всё идет (я надеюсь пока 🙂 и не долго ) ПО ПРОВОДАМ!

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

            Привет,

            попытался (я NOOB) залить твой адаптер в iobroker на RASPBERRY Pi,

            на этой странице нашел "как это зделать" НО…

            https://github.com/DJONvl/ioBroker.mysensors

            для начинающих это будет очень сложно и их отпугнёт...

            1. download and unpack this packet from github

            https://github.com/ioBroker/ioBroker.mysensors/archive/master.zip 
            

            работает только ТАК (без .zip)

            npm install https://github.com/DJONvl/iobroker.mysensors/tarball/master 
            

            or clone git repository

            git clone https://github.com/ioBroker/ioBroker.mysensors.git
            

            … я думаю что сначала надо это зделать?!

            If grunt is not available, install grunt globally:

            npm install -g grunt-cli

            я думаю что новички этого не поймут, для чего это?

            grunt rename –name=mynewname --email=email@mail.com --author="Author Name"

            mynewname must be lower case and with no spaces.

            как? как должна выглядеть строчка?:

            rename directory from ioBroker.mysensors (can be ioBroker.mysensors-master) to iobroker.mynewname

            как? как должна выглядеть строчка?:

            to use this mysensors you should copy it into …/iobroker/node_modules directory and then create an instance for it with iobroker.admin

            как? как должна выглядеть строчка?:

            create your adapter:

            you might want to start with main.js (code running within iobroker) and admin/index.html (the adapter settings page).

            …

            share it with the community

            СПАСИБО ЗАРАНЕЕ!!!!

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

              npm install https://github.com/DJONvl/iobroker.myse … all/master так должно поставить

              в ридми на гите можно не читать, там осталось от шаблона описание...

              надо будет убрать...

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

                спасибо…

                скачать теперь можно... 😄

                но былобы КЛАСС еcли бы ты подправил описание для RASPBERRY...

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

                  НА RASPI

                  задал:

                  npm install https://github.com/DJONvl/iobroker.myse ... all/master
                  
                  reboot
                  

                  теперь вижу:
                  933_2016-02-19_13_30_24-iobroker.admin.jpg
                  933_2016-02-19_13_32_17-iobroker.admin.jpg

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

                    только после сохранения configuration в mysensor и ребута он стал показывать СОМ порты

                    но потом в ЛОГЕ стоит это и COM USB port в setting пропадает:

                    host-raspberrypi	2016-02-19 13:44:19	warn	instance system.adapter.mysensors.0 already running with pid 2567
                    host-raspberrypi	2016-02-19 13:44:17	info	instance system.adapter.mysensors.0 started with pid 2567
                    host-raspberrypi	2016-02-19 13:44:17	info	object change system.adapter.mysensors.0
                    host-raspberrypi	2016-02-19 13:43:49	info	Restart adapter system.adapter.mysensors.0 because enabled
                    host-raspberrypi	2016-02-19 13:43:49	error	instance system.adapter.mysensors.0 terminated with code 6 (uncaught exception)
                    mysensors-0	2016-02-19 13:43:49	info	cleaned everything up...
                    TypeError:	2016-02-19 13:43:48	error	at /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/serialport.js:388:9
                    TypeError:	2016-02-19 13:43:48	error	at afterRead (/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/serialport.js:372:20)
                    TypeError:	2016-02-19 13:43:48	error	at SerialPortFactory.SerialPort._emitData (/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/serialport.js:396:20)
                    TypeError:	2016-02-19 13:43:48	error	at Object.SerialPort.opts.dataCallback (/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/serialport.js:181:12)
                    TypeError:	2016-02-19 13:43:48	error	at Object.parser (/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/parsers.js:24:13)
                    TypeError:	2016-02-19 13:43:48	error	at Array.forEach (native)
                    TypeError:	2016-02-19 13:43:48	error	at /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/parsers.js:25:17
                    TypeError:	2016-02-19 13:43:48	error	at SerialPort.EventEmitter.emit (events.js:95:17)
                    TypeError:	2016-02-19 13:43:48	error	at SerialPort. (/opt/iobroker/node_modules/iobroker.mysensors/mysensors.js:291:24)
                    TypeError:	2016-02-19 13:43:48	error	at mkdbmsgUnique (/opt/iobroker/node_modules/iobroker.mysensors/mysensors.js:121:23)
                    TypeError:	2016-02-19 13:43:48	error	Cannot read property 'id' of undefined
                    uncaught	2016-02-19 13:43:48	error	exception: Cannot read property 'id' of undefined
                    mysensors-0	2016-02-19 13:43:48	debug	__0_|_255_|_internal_|_false_|_I_SKETCH_VERSION_|_1.0
                    mysensors-0	2016-02-19 13:43:48	debug	количество сообщений 0
                    mysensors-0	2016-02-19 13:43:48	debug	__0_|_255_|_internal_|_false_|_I_SKETCH_NAME_|_ETHduino by JR
                    mysensors-0	2016-02-19 13:43:48	debug	количество сообщений 0
                    mysensors-0	2016-02-19 13:43:48	debug	__0_|_255_|_internal_|_false_|_I_GATEWAY_READY_|_Gateway startup complete.
                    mysensors-0	2016-02-19 13:43:48	debug	количество сообщений 0
                    mysensors-0	2016-02-19 13:43:48	debug	__0_|_255_|_internal_|_false_|_I_LOG_MESSAGE_|_Starting gateway (R-NGA-, 2.0.0-beta)
                    mysensors-0	2016-02-19 13:43:48	debug	количество сообщений 0
                    mysensors-0	2016-02-19 13:43:47	debug	Communication port:/dev/ttyUSB0
                    mysensors-0	2016-02-19 13:43:47	debug	statesDB connected
                    mysensors-0	2016-02-19 13:43:47	debug	objectDB connected
                    
                    1 Reply Last reply Reply Quote 0
                    • V
                      Vlad_k last edited by

                      mysensors-0   2016-02-19 13:43:48   debug   __0_|_255_|_internal_|_false_|_I_SKETCH_VERSION_|_1.0
                      mysensors-0   2016-02-19 13:43:48   debug   количество сообщений 0
                      mysensors-0   2016-02-19 13:43:48   debug   __0_|_255_|_internal_|_false_|_I_SKETCH_NAME_|_ETHduino by JR
                      mysensors-0   2016-02-19 13:43:48   debug   количество сообщений 0
                      mysensors-0   2016-02-19 13:43:48   debug   __0_|_255_|_internal_|_false_|_I_GATEWAY_READY_|_Gateway startup complete.
                      mysensors-0   2016-02-19 13:43:48   debug   количество сообщений 0
                      mysensors-0   2016-02-19 13:43:48   debug   __0_|_255_|_internal_|_false_|_I_LOG_MESSAGE_|_Starting gateway (R-NGA-, 2.0.0-beta)
                      mysensors-0   2016-02-19 13:43:48   debug   количество сообщений 0
                      mysensors-0   2016-02-19 13:43:47   debug   Communication port:/dev/ttyUSB0
                      
                      

                      все отлично порт видит шлюз тоже, теперь необходимо включить любую Ноду чтобы она выдала презентацию

                      упс пардон ошибку не увидел…

                      mysensors-0   2016-02-19 13:43:48   debug   __0_|_255_|_internal_|_false_|_I_LOG_MESSAGE_|_Starting gateway (R-NGA-, 2.0.0-beta)
                      

                      2.0.0-beta это библиотека?

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

                        презентация идёт!!!

                        см:

                        0;255;3;0;9;Starting gateway (R-NGA-, 2.0.0-beta)
                        0;255;3;0;14;Gateway startup complete.
                        0;255;3;0;11;ETHduino by JR
                        0;255;3;0;12;1.0
                        255
                        0
                        0;0;0;0;255;RX
                        0;0;1;0;77;for Warnings
                        255
                        1
                        0;1;0;0;255;TX
                        0;1;1;0;77;for Warnings
                        ...
                        
                        

                        a LOG= empty!

                        host-raspberrypi	2016-02-19 14:19:30	info	instance system.adapter.mysensors.0 started with pid 4281
                        host-raspberrypi	2016-02-19 14:19:28	info	instance system.adapter.mysensors.0 terminated with code 0 (OK)
                        mysensors-0	2016-02-19 14:19:28	info	terminating
                        mysensors-0	2016-02-19 14:19:28	info	cleaned everything up...
                        host-raspberrypi	2016-02-19 14:19:28	info	stopInstance system.adapter.mysensors.0 killing pid 4265
                        host-raspberrypi	2016-02-19 14:19:28	info	stopInstance system.adapter.mysensors.0
                        host-raspberrypi	2016-02-19 14:19:28	info	object change system.adapter.mysensors.0
                        mysors-0	2016-02-19 14:19:07	info	obj.callback...ToDo выслать список СОМ портов
                        admin-0	2016-02-19 14:19:06	info	sendTo "list_uart" to system.adapter.mysensors.0 from system.adapter.admin.0: null
                        mysensors-0	2016-02-19 14:18:57	error	setObject id missing!!
                        mysensors-0	2016-02-19 14:18:57	info	starting. Version 0.0.1 in /opt/iobroker/node_modules/iobroker.mysensors
                        host-raspberrypi	2016-02-19 14:18:53	info	instance system.adapter.mysensors.0 started with pid 4234
                        host-raspberrypi	2016-02-19 14:18:51	info	instance system.adapter.mysensors.0 terminated with code 0 (OK)
                        mysensors-0	2016-02-19 14:18:51	info	terminatingensors-0	2016-02-19 14:19:20	error	setObject id missing!!
                        mysensors-0	2016-02-19 14:19:20	info	starting. Version 0.0.1 in /opt/iobroker/node_modules/iobroker.mysensors
                        host-raspberrypi	2016-02-19 14:19:16	info	instance system.adapter.mysensors.0 started with pid 4265
                        host-raspberrypi	2016-02-19 14:19:14	info	instance system.adapter.mysensors.0 terminated with code 0 (OK)
                        mysensors-0	2016-02-19 14:19:14	info	terminating
                        host-raspberrypi	2016-02-19 14:19:14	info	stopInstance system.adapter.mysensors.0 killing pid 4234
                        host-raspberrypi	2016-02-19 14:19:14	info	stopInstance system.adapter.mysensors.0
                        host-raspberrypi	2016-02-19 14:19:14	info	object change system.adapter.mysensors.0
                        mysensors-0	2016-02-19 14:19:14	info	cleaned everything up...
                        mysensors-0	2016-02-19 14:19:07	info	sendTo "list_uart" to system.adapter.admin.0 from system.adapter.mysensors.0: [{"comName":"ttyAMA0","vendorId":"0xundefined","productId":"0xundefined"},{"comName":"/dev/ttyUSB0","manufacturer":"1a86"
                        mysens
                        
                        

                        Ты на 1.6 или 1.5 от Mysesnors?

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

                          cm my .ino
                          933_mysensors_serial_work_v1.rar

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

                            0;255;3;0;12;1.0
                            255                                                   -?
                            0                                                       -?
                            0;0;0;0;255;RX
                            0;0;1;0;77;for Warnings
                            255                                                   -?
                            1                                                      -?
                            0;1;0;0;255;TX
                            0;1;1;0;77;for Warnings
                            
                            

                            на них парсер отваливается это не стандартная посылка mysensors, у меня 1.5.1 и 1.5.4 библиотеки

                            1.5.4 сегодня скачал ,порадовала , теперь платы на китайском клоне Si24R1 опять видятся в сети с nRF24

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

                              @Maxtox:

                              cm my .ino `
                              MYSENSORS_SERIAL_WORK_V1.ino:131:22: fatal error: Ethernet.h: No such file or directory

                              не компилируется…

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

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

                                Да… Я на 1.6 от mysensor, так как только там работает MQTT, signing и многое другое...

                                Можешь пожалуйста и для 1.6 доработать? Тогда легче будет для MQTT и для шифрования трафика.

                                Могу помочь тестировать!

                                К стати, на счёт шлюза не понимаю... В логе же стоит что он начало всё читает. Я даже одну строчку с считаной температурой в логе видел...

                                Можешь у себя залить и уувидишь что serial всё посылает...

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

                                  у тебя как я понял, шлюз и нода с сенсорами все в одном? а к сети через ESP цепляешь?

                                  скинь мне лог из терминала общения твоего шлюза с другими нодами, и минут через 5(счас залью) переустанови драйвер, чуть поправил чтоб шлюз в таблицу заносился.

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

                                    Log:

                                    0;255;3;0;9;Starting gateway (R-NGA-, 2.0.0-beta)
                                    0;255;3;0;14;Gateway startup complete.
                                    0;255;3;0;11;ETHduino by JR
                                    0;255;3;0;12;1.0
                                    
                                    0;0;0;0;255;RX
                                    0;0;1;0;77;for Warnings
                                    
                                    0;1;0;0;255;TX
                                    0;1;1;0;77;for Warnings
                                    
                                    0;7;0;0;4;Test PWM
                                    0;7;1;0;77;for Warnings
                                    
                                    0;8;0;0;3;RELAY D8
                                    0;8;1;0;77;for Warnings
                                    
                                    0;10;0;0;255;W5100
                                    0;10;1;0;77;for Warnings
                                    
                                    0;11;0;0;0;Digital Ein
                                    0;11;1;0;77;for Warnings
                                    
                                    0;13;0;0;4;Test PWM
                                    0;13;1;0;77;for Warnings
                                    
                                    0;16;0;0;255;LEDS_BLINKING_FEATURE
                                    0;16;1;0;77;for Warnings
                                    
                                    0;18;0;0;4;Pumpe1_T5
                                    0;18;1;0;77;for Warnings
                                    
                                    0;20;0;0;4;Pumpe2_T3
                                    0;20;1;0;77;for Warnings
                                    
                                    0;22;0;0;3;RELAY D8
                                    0;22;1;0;77;for Warnings
                                    
                                    0;23;0;0;3;RELAY D8
                                    0;23;1;0;77;for Warnings
                                    
                                    0;24;0;0;3;RELAY D8
                                    0;24;1;0;77;for Warnings
                                    
                                    0;25;0;0;3;RELAY D8
                                    0;25;1;0;77;for Warnings
                                    
                                    0;26;0;0;3;RELAY D8
                                    0;26;1;0;77;for Warnings
                                    
                                    0;27;0;0;3;RELAY D8
                                    0;27;1;0;77;for Warnings
                                    
                                    0;28;0;0;3;RELAY D8
                                    0;28;1;0;77;for Warnings
                                    
                                    0;29;0;0;3;RELAY D8
                                    0;29;1;0;77;for Warnings
                                    
                                    0;30;0;0;3;RELAY D8
                                    0;30;1;0;77;for Warnings
                                    
                                    0;31;0;0;3;RELAY D8
                                    0;31;1;0;77;for Warnings
                                    
                                    0;32;0;0;3;RELAY D8
                                    0;32;1;0;77;for Warnings
                                    
                                    0;33;0;0;3;RELAY D8
                                    0;33;1;0;77;for Warnings
                                    
                                    0;34;0;0;3;RELAY D8
                                    0;34;1;0;77;for Warnings
                                    
                                    0;35;0;0;3;RELAY D8
                                    0;35;1;0;77;for Warnings
                                    
                                    0;36;0;0;3;RELAY D8
                                    0;36;1;0;77;for Warnings
                                    
                                    0;37;0;0;3;RELAY D8
                                    0;37;1;0;77;for Warnings
                                    
                                    0;38;0;0;255;MAX31855
                                    0;38;1;0;77;for Warnings
                                    
                                    0;39;0;0;255;MAX31855
                                    0;39;1;0;77;for Warnings
                                    
                                    0;42;0;0;6;dallas
                                    0;42;1;0;77;for Warnings
                                    
                                    0;50;0;0;255;W5100
                                    0;50;1;0;77;for Warnings
                                    
                                    0;51;0;0;255;W5100
                                    0;51;1;0;77;for Warnings
                                    
                                    0;52;0;0;255;W5100
                                    0;52;1;0;77;for Warnings
                                    ...
                                    
                                    0;255;3;0;9;Init complete, id=0, parent=0, distance=0
                                    Current State of PIN: 11 changes to: 1
                                    0;11;1;1;15;1
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 27.48
                                    0;58;1;1;0;27.48
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 35.45
                                    0;58;1;1;0;35.45
                                    
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 37.26
                                    0;58;1;1;0;37.26
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 38.81
                                    0;58;1;1;0;38.81
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 37.57
                                    0;58;1;1;0;37.57
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 38.08
                                    0;58;1;1;0;38.08
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 39.02
                                    0;58;1;1;0;39.02
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 37.67
                                    0;58;1;1;0;37.67
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 38.50
                                    0;58;1;1;0;38.50
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    tempNTC of Pin 58 is 39.34
                                    0;58;1;1;0;39.34
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    Temperature for the sensor 42 is -127.00
                                    0;42;1;1;0;-127.00
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Maxtox last edited by

                                      @Vlad_k:

                                      у тебя как я понял, шлюз и нода с сенсорами все в одном? а к сети через ESP цепляешь?

                                      скинь мне лог из терминала общения твоего шлюза с другими нодами, и минут через 5(счас залью) переустанови драйвер, чуть поправил чтоб шлюз в таблицу заносился. `

                                      да…всё в одном

                                      а остальное через NRF24L01

                                      но пока не юзаю, т.к. ВСЁ В ОДНОМ 🙂

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

                                        0;255;3;0;9;Init complete, id=0, parent=0, distance=0
                                        Current State of PIN: 11 changes to: 1
                                        0;11;1;1;15;1
                                        Temperature for the sensor 42 is -127.00
                                        0;42;1;1;0;-127.00
                                        tempNTC of Pin 58 is 27.48
                                        0;58;1;1;0;27.48
                                        0;42;1;1;0;-127.00
                                        tempNTC of Pin 58 is 35.45
                                        0;58;1;1;0;35.45
                                        

                                        вот это все прям в ком порт шлюз шлет (Temperature for the sensor 42 is -127.00),

                                        скинь ссылку на 1.6 библиотеку

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

                                          к стати…

                                          елси

                                          npm install https....
                                          

                                          задавать из роота, то адаптера в админе не видно!!!!

                                          /opt/iobroker
                                          ````is ok!
                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Maxtox last edited by

                                            смотри

                                            https://youtu.be/FDPYlRaAp9E

                                            а потом всё пропадает!!!!

                                            host-raspberrypi 2016-02-19 19:50:09 info instance system.adapter.mysensors.0 started with pid 3189

                                            host-raspberrypi 2016-02-19 19:49:46 info Restart adapter system.adapter.mysensors.0 because enabled

                                            host-raspberrypi 2016-02-19 19:49:46 error instance system.adapter.mysensors.0 terminated with code 6 (uncaught exception)

                                            mysensors-0 2016-02-19 19:49:46 info cleaned everything up…

                                            TypeError: 2016-02-19 19:49:46 error at /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/serialport.js:388:9

                                            TypeError: 2016-02-19 19:49:46 error at afterRead (/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/serialport.js:372:20)

                                            TypeError: 2016-02-19 19:49:46 error at SerialPortFactory.SerialPort._emitData (/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/serialport.js:396:20)

                                            TypeError: 2016-02-19 19:49:46 error at Object.SerialPort.opts.dataCallback (/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/serialport.js:181:12)

                                            TypeError: 2016-02-19 19:49:46 error at Object.parser (/opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/parsers.js:24:13)

                                            TypeError: 2016-02-19 19:49:46 error at Array.forEach (native)

                                            TypeError: 2016-02-19 19:49:46 error at /opt/iobroker/node_modules/iobroker.mysensors/node_modules/serialport/parsers.js:25:17

                                            TypeError: 2016-02-19 19:49:46 error at SerialPort.EventEmitter.emit (events.js:95:17)

                                            TypeError: 2016-02-19 19:49:46 error at SerialPort. (/opt/iobroker/node_modules/iobroker.mysensors/mysensors.js:293:8)

                                            TypeError: 2016-02-19 19:49:46 error at mkdbmsgUnique (/opt/iobroker/node_modules/iobroker.mysensors/mysensors.js:121:23)

                                            TypeError: 2016-02-19 19:49:46 error Cannot read property 'id' of undefined

                                            uncaught 2016-02-19 19:49:46 error exception: Cannot read property 'id' of undefined

                                            mysensors-0 2016-02-19 19:49:46 info Rx-Raw 255

                                            mysensors-0 2016-02-19 19:49:46 info _0|255|internal|false|I_SKETCH_VERSION|_1.0

                                            mysensors-0 2016-02-19 19:49:46 debug количество сообщений 3

                                            mysensors-0 2016-02-19 19:49:46 info Rx-Raw 0;255;3;0;12;1.0

                                            mysensors-0 2016-02-19 19:49:46 info _0|255|internal|false|I_SKETCH_NAME|_ETHduino by JR

                                            mysensors-0 2016-02-19 19:49:46 debug количество сообщений 2

                                            mysensors-0 2016-02-19 19:49:46 info Rx-Raw 0;255;3;0;11;ETHduino by JR

                                            mysensors-0 2016-02-19 19:49:46 info _0|255|internal|false|I_GATEWAY_READY|_Gateway startup complete.

                                            mysensors-0 2016-02-19 19:49:46 debug количество сообщений 1

                                            mysensors-0 2016-02-19 19:49:46 info Rx-Raw 0;255;3;0;14;Gateway startup complete.

                                            mysensors-0 2016-02-19 19:49:46 info _Temperature for the sensor 42 is0|255|internal|false|I_LOG_MESSAGE|_Starting gateway (R-NGA-, 2.0.0-beta)

                                            mysensors-0 2016-02-19 19:49:46 debug количество сообщений 0

                                            mysensors-0 2016-02-19 19:49:46 info Rx-Raw Temperature for the sensor 42 is0;255;3;0;9;Starting gateway (R-NGA-, 2.0.0-beta)

                                            log from Arduino:

                                            Temperature for the sensor 42 is -127.00
                                            0;42;1;1;0;-127.00
                                            

                                            mysensors-0 2016-02-19 19:49:45 debug Communication port:/dev/ttyUSB0

                                            mysensors-0 2016-02-19 19:49:45 info starting. Version 0.0.1 in /opt/iobroker/node_modules/iobroker.mysensors

                                            mysensors-0 2016-02-19 19:49:45 debug statesDB connected

                                            mysensors-0 2016-02-19 19:49:45 debug objectDB connected

                                            host-raspberrypi 2016-02-19 19:49:41 info instance system.adapter.mysensors.0 started with pid 3156

                                            host-raspberrypi 2016-02-19 19:49:39 info Restart adapter system.adapter.mysensors.0 because enabled

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            913
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            13
                                            106
                                            29476
                                            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