Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Русский
    3. ioBroker
    4. Ошибка
    5. ioBroker ошибки
    6. Ошибка создания объекта в OWFS

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Ошибка создания объекта в OWFS

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

      задаю сенсор в owfs.0 sensor1 3A.B73205000000 sensed.BYTE

      в логе появляется Wrong 2016-07-07 08:32:19.508 error type of owfs.0.wires.sensor1.common.def

      объект не создается, но на вкладке СОБЫТИЯ он присутствует с корректными значениями

      как исправить ошибку?

      сенсор DS2413

      1 Reply Last reply Reply Quote 0
      • H
        Haus last edited by

        @Alekseym6:

        задаю сенсор в owfs.0 sensor1 3A.B73205000000 sensed.BYTE

        в логе появляется Wrong 2016-07-07 08:32:19.508 error type of owfs.0.wires.sensor1.common.def

        объект не создается, но на вкладке СОБЫТИЯ он присутствует с корректными значениями

        как исправить ошибку?

        сенсор DS2413 `
        Если правильно помню в драйвере нужно прописать

        3A.B73205000000 PIO.A

        3A.B73205000000 PIO.B

        1 Reply Last reply Reply Quote 0
        • A
          Alekseym6 last edited by

          читаю сразу состояние двух портов A,B в CCU.IO работает.

          1 Reply Last reply Reply Quote 0
          • H
            Haus last edited by

            @Alekseym6:

            задаю сенсор в owfs.0 sensor1 3A.B73205000000 sensed.BYTE

            в логе появляется Wrong 2016-07-07 08:32:19.508 error type of owfs.0.wires.sensor1.common.def

            объект не создается, но на вкладке СОБЫТИЯ он присутствует с корректными значениями

            как исправить ошибку?

            сенсор DS2413 `

            Драйвер даже для DS18B20 объект не создает
            443_screencapture-192-168-1-11-8081-1467898765575.png

            1 Reply Last reply Reply Quote 0
            • A
              Alekseym6 last edited by

              если в консоли считать значение: cat /var/1-wire/3A.CC3205000000/PIO.BYTE , то выдаст: ' 0' (перед значением есть пробелы).

              cat /var/1-wire/28.A12A3E040000/temperature выдаст: ' 22.6875' (перед значением есть пробелы).

              а когда в настройках owfs задать PIO.B все работает. в консоли: cat /var/1-wire/3A.CC3205000000/PIO.B ,выдаст: '0' (пробелов нет).

              ошибок в логе нет.

              1 Reply Last reply Reply Quote 0
              • H
                Haus last edited by

                @Alekseym6:

                если в консоли считать значение: cat /var/1-wire/3A.CC3205000000/PIO.BYTE , то выдаст: ' 0' (перед значением есть пробелы).

                cat /var/1-wire/28.A12A3E040000/temperature выдаст: ' 22.6875' (перед значением есть пробелы).

                а когда в настройках owfs задать PIO.B все работает. в консоли: cat /var/1-wire/3A.CC3205000000/PIO.B ,выдаст: '0' (пробелов нет).

                ошибок в логе нет. `
                Объект у тебя создается?

                у меня на cat /mnt/1wire/28.FFF67D3B0400/temperature отвечает cat: /mnt/1wire/28.FFF67D3B0400/temperature: Сообщение слишком длинное

                а на head -n 1 /mnt/1wire/28.FFF67D3B0400/temperature | awk '{print $1}' отвечает 22.375

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

                  @Haus:

                  @Alekseym6:

                  если в консоли считать значение: cat /var/1-wire/3A.CC3205000000/PIO.BYTE , то выдаст: ' 0' (перед значением есть пробелы).

                  cat /var/1-wire/28.A12A3E040000/temperature выдаст: ' 22.6875' (перед значением есть пробелы).

                  а когда в настройках owfs задать PIO.B все работает. в консоли: cat /var/1-wire/3A.CC3205000000/PIO.B ,выдаст: '0' (пробелов нет).

                  ошибок в логе нет. `
                  Объект у тебя создается?

                  у меня на cat /mnt/1wire/28.FFF67D3B0400/temperature отвечает cat: /mnt/1wire/28.FFF67D3B0400/temperature: Сообщение слишком длинное

                  а на head -n 1 /mnt/1wire/28.FFF67D3B0400/temperature | awk '{print $1}' отвечает 22.375 `
                  Вечером поправлю

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

                    Может кто нибудь попробовать с git?

                    1 Reply Last reply Reply Quote 0
                    • H
                      Haus last edited by

                      @Bluefox:

                      Может кто нибудь попробовать с git? `
                      Объекты создались ошибок по датчикам температуры нету.

                      DS2413 объекты создались состояние читает а вот с управлением проблемы

                      inMem	2016-07-08 23:35:06.874	debug	message owfs.0.* owfs.0.wires.Насос_дома val=true, ack=false, ts=1468010106870, q=0, from=system.adapter.admin.0, lc=1468010106870
                      inMem	2016-07-08 23:34:47.492	debug	message owfs.0.* owfs.0.wires.Насос_дома val=0, ack=true, ts=1468010087472, q=0, from=system.adapter.owfs.0, lc=1468009642527
                      owfs-0	2016-07-08 23:34:47.468	debug	Read /3A.483B1E000000/PIO.B:0
                      inMem	2016-07-08 23:34:47.461	debug	message owfs.0.* owfs.0.wires.Насос_ТП val=0, ack=true, ts=1468010087443, q=0, from=system.adapter.owfs.0, lc=1468010069556
                      owfs-0	2016-07-08 23:34:47.435	debug	Read /3A.483B1E000000/PIO.A:0
                      inMem	2016-07-08 23:34:47.432	debug	message owfs.0.* owfs.0.wires.Температура_на_улице val=16.4375, ack=true, ts=1468010087409, q=0, from=system.adapter.owfs.0, lc=1468009997467
                      owfs-0	2016-07-08 23:34:47.403	debug	Read /28.FFE6574E0400/temperature:16.4375
                      inMem	2016-07-08 23:34:29.572	debug	message owfs.0.* owfs.0.wires.Насос_ТП val=0, ack=true, ts=1468010069556, q=132, from=system.adapter.owfs.0, lc=1468010069556
                      owfs-0	2016-07-08 23:34:29.550	warn	Cannot write value of /3A.483B1E000000/PIO.A: [object Object]
                      owfs-0	2016-07-08 23:34:29.549	debug	Write /3A.483B1E000000/PIO.A:undefined
                      owfs-0	2016-07-08 23:34:29.542	debug	Write /3A.483B1E000000/PIO.A with "1"
                      inMem	2016-07-08 23:34:29.529	debug	message owfs.0.* owfs.0.wires.Насос_ТП val=true, ack=false, ts=1468010069520, q=0, from=system.adapter.socketio.0, lc=1468010069520
                      inMem	2016-07-08 23:34:17.476	debug	message owfs.0.* owfs.0.wires.Насос_дома val=0, ack=true, ts=1468010057462, q=0, from=system.adapter.owfs.0, lc=1468009642527
                      owfs-0	2016-07-08 23:34:17.457	debug	Read /3A.483B1E000000/PIO.B:0
                      inMem	2016-07-08 23:34:17.450	debug	message owfs.0.* owfs.0.wires.Насос_ТП val=0, ack=true, ts=1468010057431, q=0, from=system.adapter.owfs.0, lc=1468000757193
                      owfs-0	2016-07-08 23:34:17.427	debug	Read /3A.483B1E000000/PIO.A:0
                      inMem	2016-07-08 23:34:17.414	debug	message owfs.0.* owfs.0.wires.Температура_на_улице val=16.4375, ack=true, ts=1468010057400, q=0, from=system.adapter.owfs.0, lc=1468009997467
                      owfs-0	2016-07-08 23:34:17.390	debug	Read /28.FFE6574E0400/temperature:16.4375
                      inMem	2016-07-08 23:33:47.555	debug	message owfs.0.* owfs.0.wires.Насос_дома val=0, ack=true, ts=1468010027533, q=0, from=system.adapter.owfs.0, lc=1468009642527
                      owfs-0	2016-07-08 23:33:47.527	debug	Read /3A.483B1E000000/PIO.B:0
                      inMem	2016-07-08 23:33:47.463	debug	message owfs.0.* owfs.0.wires.Насос_ТП val=0, ack=true, ts=1468010027445, q=0, from=system.adapter.owfs.0, lc=1468000757193
                      owfs-0	2016-07-08 23:33:47.435	debug	Read /3A.483B1E000000/PIO.A:0
                      
                      1 Reply Last reply Reply Quote 0
                      • Bluefox
                        Bluefox last edited by

                        Можешь ещё раз с гита. Я не могу исправить ошибку, т.к. она приходит от owfs сервера, но я попробовал её показать

                        1 Reply Last reply Reply Quote 0
                        • H
                          Haus last edited by

                          @Bluefox:

                          Можешь ещё раз с гита. Я не могу исправить ошибку, т.к. она приходит от owfs сервера, но я попробовал её показать `
                          Версия осталась старая 0.1.0 ?

                          Поставил заново owfs.1 при первом старте Warn дальше всё также

                          inMem	2016-07-09 11:25:31.875	debug	message owfs.1.* owfs.1.wires._Насос_дома val=0, ack=true, ts=1468052731859, q=0, from=system.adapter.owfs.1, lc=1468052670939
                          owfs-1	2016-07-09 11:25:31.853	debug	Read /3A.483B1E000000/PIO.B:0
                          inMem	2016-07-09 11:25:31.844	debug	message owfs.1.* owfs.1.wires.Насос_ТП val=0, ack=true, ts=1468052731824, q=0, from=system.adapter.owfs.1, lc=1468052434705
                          owfs-1	2016-07-09 11:25:31.817	debug	Read /3A.483B1E000000/PIO.A:0
                          inMem	2016-07-09 11:25:31.805	debug	message owfs.1.* owfs.1.wires.Температура_на_улице val=16.875, ack=true, ts=1468052731791, q=0, from=system.adapter.owfs.1, lc=1468052611770
                          owfs-1	2016-07-09 11:25:31.784	debug	Read /28.FFE6574E0400/temperature:16.875
                          inMem	2016-07-09 11:25:02.303	debug	message owfs.1.* owfs.1.wires._Насос_дома val=0, ack=true, ts=1468052702285, q=0, from=system.adapter.owfs.1, lc=1468052670939
                          inMem	2016-07-09 11:25:02.136	debug	message owfs.1.* owfs.1.wires.Насос_ТП val=0, ack=true, ts=1468052702079, q=0, from=system.adapter.owfs.1, lc=1468052434705
                          owfs-1	2016-07-09 11:25:02.071	debug	Read /3A.483B1E000000/PIO.B:0
                          owfs-1	2016-07-09 11:25:02.055	debug	Read /3A.483B1E000000/PIO.A:0
                          inMem	2016-07-09 11:25:02.028	debug	message owfs.1.* owfs.1.wires.Температура_на_улице val=16.875, ack=true, ts=1468052702001, q=0, from=system.adapter.owfs.1, lc=1468052611770
                          owfs-1	2016-07-09 11:25:01.994	debug	Read /28.FFE6574E0400/temperature:16.875
                          inMem	2016-07-09 11:24:31.836	debug	message owfs.1.* owfs.1.wires._Насос_дома val=0, ack=true, ts=1468052671823, q=0, from=system.adapter.owfs.1, lc=1468052670939
                          inMem	2016-07-09 11:24:31.814	debug	message owfs.1.* owfs.1.wires.Насос_ТП val=0, ack=true, ts=1468052671797, q=0, from=system.adapter.owfs.1, lc=1468052434705
                          owfs-1	2016-07-09 11:24:31.807	debug	Read /3A.483B1E000000/PIO.B:0
                          owfs-1	2016-07-09 11:24:31.793	debug	Read /3A.483B1E000000/PIO.A:0
                          inMem	2016-07-09 11:24:31.782	debug	message owfs.1.* owfs.1.wires.Температура_на_улице val=16.875, ack=true, ts=1468052671768, q=0, from=system.adapter.owfs.1, lc=1468052611770
                          owfs-1	2016-07-09 11:24:31.762	debug	Read /28.FFE6574E0400/temperature:16.875
                          inMem	2016-07-09 11:24:30.952	debug	message owfs.1.* owfs.1.wires._Насос_дома val=0, ack=true, ts=1468052670939, q=132, from=system.adapter.owfs.1, lc=1468052670939
                          owfs-1	2016-07-09 11:24:30.933	warn	Cannot write value of /3A.483B1E000000/PIO.B: [object Object]
                          owfs-1	2016-07-09 11:24:30.927	debug	Write /3A.483B1E000000/PIO.B with "1"
                          inMem	2016-07-09 11:24:30.915	debug	message owfs.1.* owfs.1.wires._Насос_дома val=1, ack=false, ts=1468052670901, q=0, from=system.adapter.admin.0, lc=1468052670901
                          inMem	2016-07-09 11:24:02.330	debug	message owfs.1.* owfs.1.wires._Насос_дома val=0, ack=true, ts=1468052642326, q=0, from=system.adapter.owfs.1, lc=1468052534945
                          owfs-1	2016-07-09 11:24:02.295	debug	Read /3A.483B1E000000/PIO.B:0
                          inMem	2016-07-09 11:24:01.892	debug	message owfs.1.* owfs.1.wires.Насос_ТП val=0, ack=true, ts=1468052641866, q=0, from=system.adapter.owfs.1, lc=1468052434705
                          owfs-1	2016-07-09 11:24:01.855	debug	Read /3A.483B1E000000/PIO.A:0
                          inMem	2016-07-09 11:24:01.795	debug	message owfs.1.* owfs.1.wires.Температура_на_улице val=16.875, ack=true, ts=1468052641789, q=0, from=system.adapter.owfs.1, lc=1468052611770
                          owfs-1	2016-07-09 11:24:01.757	debug	Read /28.FFE6574E0400/temperature:16.875
                          inMem	2016-07-09 11:23:31.845	debug	message owfs.1.* owfs.1.wires._Насос_дома val=0, ack=true, ts=1468052611830, q=0, from=system.adapter.owfs.1, lc=1468052534945
                          inMem	2016-07-09 11:23:31.818	debug	message owfs.1.* owfs.1.wires.Насос_ТП val=0, ack=true, ts=1468052611802, q=0, from=system.adapter.owfs.1, lc=1468052434705
                          owfs-1	2016-07-09 11:23:31.802	debug	Read /3A.483B1E000000/PIO.B:0
                          owfs-1	2016-07-09 11:23:31.797	debug	Read /3A.483B1E000000/PIO.A:0
                          inMem	2016-07-09 11:23:31.787	debug	message owfs.1.* owfs.1.wires.Температура_на_улице val=16.875, ack=true, ts=1468052611770, q=0, from=system.adapter.owfs.1, lc=1468052611770
                          owfs-1	2016-07-09 11:23:31.758	debug	Read /28.FFE6574E0400/temperature:16.875
                          owfs-1	2016-07-09 11:23:30.929	info	starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.owfs
                          owfs-1	2016-07-09 11:23:30.848	debug	statesDB connected
                          owfs-1	2016-07-09 11:23:30.829	debug	objectDB connected
                          host-Server1	2016-07-09 11:23:29.699	info	instance system.adapter.owfs.1 started with pid 10804
                          host-Server1	2016-07-09 11:23:27.747	info	instance system.adapter.owfs.1 terminated with code 0 (OK)
                          host-Server1	2016-07-09 11:23:27.184	info	stopInstance system.adapter.owfs.1 killing pid 10615
                          host-Server1	2016-07-09 11:23:27.183	info	stopInstance system.adapter.owfs.1
                          host-Server1	2016-07-09 11:23:27.182	info	object change system.adapter.owfs.1
                          owfs-1	2016-07-09 11:22:14.931	warn	Cannot write value of /3A.483B1E000000/PIO.B: [object Object]
                          owfs-1	2016-07-09 11:20:34.802	warn	Cannot write value of /3A.483B1E000000/PIO.B: [object Object]
                          owfs-1	2016-07-09 11:20:34.766	warn	Cannot write value of /3A.483B1E000000/PIO.A: [object Object]
                          owfs-1	2016-07-09 11:20:34.704	warn	Cannot write value of /28.FFE6574E0400/temperature: [object Object]
                          owfs-1	2016-07-09 11:20:34.357	info	starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.owfs
                          host-Server1	2016-07-09 11:20:32.920	info	instance system.adapter.owfs.1 started with pid 10615
                          host-Server1	2016-07-09 11:20:32.904	info	object change system.adapter.owfs.1
                          host-Server1	2016-07-09 11:20:28.371	info	object change system.adapter.owfs.1
                          

                          P.S состояние меняю в вкладке объекты 0 на 1

                          1 Reply Last reply Reply Quote 0
                          • H
                            Haus last edited by

                            @Bluefox:

                            Можешь ещё раз с гита. Я не могу исправить ошибку, т.к. она приходит от owfs сервера, но я попробовал её показать `
                            Bluefox может продолжим если есть время 🙂

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

                              @Haus:

                              @Bluefox:

                              Можешь ещё раз с гита. Я не могу исправить ошибку, т.к. она приходит от owfs сервера, но я попробовал её показать Bluefox может продолжим если есть время :)
                              Вот это сообщение выдает модуль owfs
                              > Cannot write value of /3A.483B1E000000/PIO.B: [object Object]
                              Там ошибочно происходит конвертация объекта error и непонятно, что за ошибка.

                              Можешь сделать следующие:

                              cd /opt/iobroker
                              iobroker stop owfs
                              export DEBUG=*
                              node node_modules/iobroker.owfs/main.js --force --logs
                              
                              

                              Должны посыпаться ошибки из owfs модуля.

                              1 Reply Last reply Reply Quote 0
                              • H
                                Haus last edited by

                                @Bluefox:

                                @Haus:

                                @Bluefox:

                                Можешь ещё раз с гита. Я не могу исправить ошибку, т.к. она приходит от owfs сервера, но я попробовал её показать Bluefox может продолжим если есть время :)
                                Вот это сообщение выдает модуль owfs
                                > Cannot write value of /3A.483B1E000000/PIO.B: [object Object]
                                Там ошибочно происходит конвертация объекта error и непонятно, что за ошибка.

                                Можешь сделать следующие:

                                cd /opt/iobroker
                                iobroker stop owfs
                                export DEBUG=*
                                node node_modules/iobroker.owfs/main.js --force --logs
                                
                                

                                Должны посыпаться ошибки из owfs модуля. `

                                ! ````
                                size: 1,
                                offset: 0 },
                                payload: '0' } ]
                                Read /3A.483B1E000000/PIO.A:0
                                2016-07-24 23:44:38.313 - debug: owfs.0 Read /3A.483B1E000000/PIO.A:0
                                socket.io-client:manager writing packet {"type":2,"data":["setState","owfs.0.wires.Насос_ТП",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} +22ms
                                socket.io-parser encoding packet {"type":2,"data":["setState","owfs.0.wires.Насос_ТП",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} +0ms
                                socket.io-parser encoded {"type":2,"data":["setState","owfs.0.wires.Насос_ТП",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} as 2["setState","owfs.0.wires.Насос_ТП",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null] +1ms
                                engine.io-client:socket flushing 1 packets in socket +0ms
                                engine.io-client:polling-xhr xhr open POST: http://127.0.0.1:9000/socket.io/?EIO=3&transport=polling&t=LOUfmWh&b64=1&sid=YgYR7bOIThM41FCYAAAl +1ms
                                engine.io-client:polling-xhr xhr data 102:42["setState","owfs.0.wires.�а�о�_Т�",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null] +0ms
                                owfs:communication Receiving header +17ms { version: 0,
                                payload: 1,
                                ret: 1,
                                controlflags: 32,
                                size: 1,
                                offset: 0 }
                                owfs:communication Receiving payload +1ms 0
                                owfs:convert message to use +1ms [ { header:
                                { version: 0,
                                payload: 1,
                                ret: 1,
                                controlflags: 32,
                                size: 1,
                                offset: 0 },
                                payload: '0' } ]
                                Read /3A.483B1E000000/PIO.B:0
                                2016-07-24 23:44:38.322 - debug: owfs.0 Read /3A.483B1E000000/PIO.B:0
                                socket.io-client:manager writing packet {"type":2,"data":["setState","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} +6ms
                                socket.io-parser encoding packet {"type":2,"data":["setState","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} +1ms
                                socket.io-parser encoded {"type":2,"data":["setState","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} as 2["setState","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null] +0ms
                                engine.io-client:polling polling got data 151:42["message","owfs.0.","owfs.0.wires.�а�о�_Т�",{"val":0,"ack":true,"ts":1469393078321,"q":0,"from":"system.adapter.owfs.0","lc":1469392780077}] +15ms
                                engine.io-client:socket socket receive: type "message", data "2["message","owfs.0.
                                ","owfs.0.wires.Насос_ТП",{"val":0,"ack":true,"ts":1469393078321,"q":0,"from":"system.adapter.owfs.0","lc":1469392780077}]" +1ms
                                socket.io-parser decoded 2["message","owfs.0.","owfs.0.wires.Насос_ТП",{"val":0,"ack":true,"ts":1469393078321,"q":0,"from":"system.adapter.owfs.0","lc":1469392780077}] as {"type":2,"nsp":"/","data":["message","owfs.0.","owfs.0.wires.Насос_ТП",{"val":0,"ack":true,"ts":1469393078321,"q":0,"from":"system.adapter.owfs.0","lc":1469392780077}]} +1ms
                                socket.io-client:socket emitting event ["message","owfs.0.","owfs.0.wires.Насос_ТП",{"val":0,"ack":true,"ts":1469393078321,"q":0,"from":"system.adapter.owfs.0","lc":1469392780077}] +1ms
                                2016-07-24 23:44:38.342 - debug: inMem message owfs.0.
                                owfs.0.wires.Насос_ТП val=0, ack=true, ts=1469393078321, q=0, from=system.adapter.owfs.0, lc=1469392780077
                                engine.io-client:polling polling +2ms
                                engine.io-client:polling-xhr xhr poll +0ms
                                engine.io-client:polling-xhr xhr open GET: http://127.0.0.1:9000/socket.io/?EIO=3&transport=polling&t=LOUfmX7&b64=1&sid=YgYR7bOIThM41FCYAAAl +0ms
                                engine.io-client:polling-xhr xhr data null +1ms
                                engine.io-client:socket flushing 1 packets in socket +4ms
                                engine.io-client:polling-xhr xhr open POST: http://127.0.0.1:9000/socket.io/?EIO=3&transport=polling&t=LOUfmXC&b64=1&sid=YgYR7bOIThM41FCYAAAl +0ms
                                engine.io-client:polling-xhr xhr data 104:42["setState","owfs.0.wires.�а�о�_дом",{"val":0,"ack":true,"from":"system.adapter.owfs.0"},null] +1ms
                                engine.io-client:polling polling got data 153:42["message","owfs.0.","owfs.0.wires.�а�о�_дом",{"val":0,"ack":true,"ts":1469393078353,"q":0,"from":"system.adapter.owfs.0","lc":1469392780125}] +23ms
                                engine.io-client:socket socket receive: type "message", data "2["message","owfs.0.
                                ","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"ts":1469393078353,"q":0,"from":"system.adapter.owfs.0","lc":1469392780125}]" +0ms
                                socket.io-parser decoded 2["message","owfs.0.","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"ts":1469393078353,"q":0,"from":"system.adapter.owfs.0","lc":1469392780125}] as {"type":2,"nsp":"/","data":["message","owfs.0.","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"ts":1469393078353,"q":0,"from":"system.adapter.owfs.0","lc":1469392780125}]} +1ms
                                socket.io-client:socket emitting event ["message","owfs.0.","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"ts":1469393078353,"q":0,"from":"system.adapter.owfs.0","lc":1469392780125}] +0ms
                                2016-07-24 23:44:38.374 - debug: inMem message owfs.0.
                                owfs.0.wires.Насос_дом val=0, ack=true, ts=1469393078353, q=0, from=system.adapter.owfs.0, lc=1469392780125
                                engine.io-client:polling polling +2ms
                                engine.io-client:polling-xhr xhr poll +0ms
                                engine.io-client:polling-xhr xhr open GET: http://127.0.0.1:9000/socket.io/?EIO=3&transport=polling&t=LOUfmXd&b64=1&sid=YgYR7bOIThM41FCYAAAl +0ms
                                engine.io-client:polling-xhr xhr data null +1ms

                                
                                Вот так реагирует на попытку изменить с 0 на 1
                                
                                >! ````
                                socket.io-client:socket emitting event ["message","owfs.0.*","owfs.0.wires.Насос_дом",{"val":1,"ack":false,"ts":1469393923024,"q":0,"from":"system.adapter.admin.0","lc":1469393923024}] +1ms
                                2016-07-24 23:58:43.045  - debug: inMem message  owfs.0.* owfs.0.wires.Насос_дом val=1, ack=false, ts=1469393923024, q=0, from=system.adapter.admin.0, lc=1469393923024
                                  engine.io-client:polling polling +5ms
                                  engine.io-client:polling-xhr xhr poll +1ms
                                  engine.io-client:polling-xhr xhr open GET: http://127.0.0.1:9000/socket.io/?EIO=3&transport=polling&t=LOUi-le&b64=1&sid=YgYR7bOIThM41FCYAAAl +0ms
                                  engine.io-client:polling-xhr xhr data null +2ms
                                Write /3A.483B1E000000/PIO.B with "1"
                                2016-07-24 23:58:43.057  - debug: owfs.0 Write /3A.483B1E000000/PIO.B with "1"
                                  owfs:communication Sending +4s { path: '/3A.483B1E000000/PIO.B\u00001',
                                  command: 3,
                                  server: '192.168.1.10',
                                  port: '4304' }
                                  owfs:communication Receiving header +2ms { version: 0,
                                  payload: 0,
                                  ret: -90,
                                  controlflags: 32,
                                  size: 0,
                                  offset: 0 }
                                  owfs:communication Receiving payload +1ms
                                Cannot write value of /3A.483B1E000000/PIO.B: [object Object]
                                2016-07-24 23:58:43.064  - warn: owfs.0 Cannot write value of /3A.483B1E000000/PIO.B: [object Object]
                                  socket.io-client:manager writing packet {"type":2,"data":["setState","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} +15ms
                                  socket.io-parser encoding packet {"type":2,"data":["setState","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} +0ms
                                  socket.io-parser encoded {"type":2,"data":["setState","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} as 2["setState","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null] +1ms
                                  engine.io-client:socket flushing 1 packets in socket +0ms
                                  engine.io-client:polling-xhr xhr open POST: http://127.0.0.1:9000/socket.io/?EIO=3&transport=polling&t=LOUi-lx&b64=1&sid=YgYR7bOIThM41FCYAAAl +1ms
                                  engine.io-client:polling-xhr xhr data 112:42["setState","owfs.0.wires.�а�о�_дом",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null] +1ms
                                  engine.io-client:polling polling got data 155:42["message","owfs.0.*","owfs.0.wires.�а�о�_дом",{"val":0,"ack":true,"ts":1469393923083,"q":132,"from":"system.adapter.owfs.0","lc":1469393923083}] +24ms
                                  engine.io-client:socket socket receive: type "message", data "2["message","owfs.0.*","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"ts":1469393923083,"q":132,"from":"system.adapter.owfs.0","lc":1469393923083}]" +1ms
                                  socket.io-parser decoded 2["message","owfs.0.*","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"ts":1469393923083,"q":132,"from":"system.adapter.owfs.0","lc":1469393923083}] as {"type":2,"nsp":"/","data":["message","owfs.0.*","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"ts":1469393923083,"q":132,"from":"system.adapter.owfs.0","lc":1469393923083}]} +1ms
                                  socket.io-client:socket emitting event ["message","owfs.0.*","owfs.0.wires.Насос_дом",{"val":0,"ack":true,"ts":1469393923083,"q":132,"from":"system.adapter.owfs.0","lc":1469393923083}] +1ms
                                2016-07-24 23:58:43.096  - debug: inMem message  owfs.0.* owfs.0.wires.Насос_дом val=0, ack=true, ts=1469393923083, q=132, from=system.adapter.owfs.0, lc=1469393923083
                                  engine.io-client:polling polling +2ms
                                  engine.io-client:polling-xhr xhr poll +1ms
                                  engine.io-client:polling-xhr xhr open GET: http://127.0.0.1:9000/socket.io/?EIO=3&transport=polling&t=LOUi-mR&b64=1&sid=YgYR7bOIThM41FCYAAAl +1ms
                                  engine.io-client:polling-xhr xhr data null +1ms
                                

                                Лог iobroker

                                ! ````
                                inMem 2016-07-24 23:59:38.748 debug message owfs.0.* owfs.0.wires.Насос_ТП val=0, ack=true, ts=1469393978734, q=0, from=system.adapter.owfs.0, lc=1469392780077
                                inMem 2016-07-24 23:59:38.685 debug message owfs.0.* owfs.0.wires.Температура_улица val=19.75, ack=true, ts=1469393978654, q=0, from=system.adapter.owfs.0, lc=1469393978654
                                owfs-0 2016-07-24 23:59:38.653 debug Read /3A.483B1E000000/PIO.B:0
                                owfs-0 2016-07-24 23:59:38.635 debug Read /3A.483B1E000000/PIO.A:0
                                owfs-0 2016-07-24 23:59:38.612 debug Read /28.FFE6574E0400/temperature:19.75
                                inMem 2016-07-24 23:59:08.727 debug message owfs.0.* owfs.0.wires.Насос_дом val=0, ack=true, ts=1469393948687, q=0, from=system.adapter.owfs.0, lc=1469393923083
                                inMem 2016-07-24 23:59:08.689 debug message owfs.0.* owfs.0.wires.Насос_ТП val=0, ack=true, ts=1469393948656, q=0, from=system.adapter.owfs.0, lc=1469392780077
                                inMem 2016-07-24 23:59:08.660 debug message owfs.0.* owfs.0.wires.Температура_улица val=19.6875, ack=true, ts=1469393948643, q=0, from=system.adapter.owfs.0, lc=1469393918617
                                owfs-0 2016-07-24 23:59:08.644 debug Read /3A.483B1E000000/PIO.B:0
                                owfs-0 2016-07-24 23:59:08.611 debug Read /3A.483B1E000000/PIO.A:0
                                owfs-0 2016-07-24 23:59:08.595 debug Read /28.FFE6574E0400/temperature:19.6875
                                inMem 2016-07-24 23:58:43.096 debug message owfs.0.* owfs.0.wires.Насос_дом val=0, ack=true, ts=1469393923083, q=132, from=system.adapter.owfs.0, lc=1469393923083
                                owfs-0 2016-07-24 23:58:43.064 warn Cannot write value of /3A.483B1E000000/PIO.B: [object Object]
                                owfs-0 2016-07-24 23:58:43.056 debug Write /3A.483B1E000000/PIO.B with "1"
                                inMem 2016-07-24 23:58:43.044 debug message owfs.0.* owfs.0.wires.Насос_дом val=1, ack=false, ts=1469393923024, q=0, from=system.adapter.admin.0, lc=1469393923024
                                inMem 2016-07-24 23:58:38.708 debug message owfs.0.* owfs.0.wires.Насос_дом val=0, ack=true, ts=1469393918660, q=0, from=system.adapter.owfs.0, lc=1469393892606
                                inMem 2016-07-24 23:58:38.671 debug message owfs.0.* owfs.0.wires.Насос_ТП val=0, ack=true, ts=1469393918648, q=0, from=system.adapter.owfs.0, lc=1469392780077
                                inMem 2016-07-24 23:58:38.637 debug message owfs.0.* owfs.0.wires.Температура_улица val=19.6875, ack=true, ts=1469393918617, q=0, from=system.adapter.owfs.0, lc=1469393918617
                                owfs-0 2016-07-24 23:58:38.618 debug Read /3A.483B1E000000/PIO.B:0
                                owfs-0 2016-07-24 23:58:38.612 debug Read /3A.483B1E000000/PIO.A:0
                                owfs-0 2016-07-24 23:58:38.603 debug Read /28.FFE6574E0400/temperature:19.6875
                                inMem 2016-07-24 23:58:12.622 debug message owfs.0.* owfs.0.wires.Насос_дом val=0, ack=true, ts=1469393892606, q=132, from=system.adapter.owfs.0, lc=1469393892606
                                owfs-0 2016-07-24 23:58:12.597 warn Cannot write value of /3A.483B1E000000/PIO.B: [object Object]
                                owfs-0 2016-07-24 23:58:12.506 debug Write /3A.483B1E000000/PIO.B with "1"
                                inMem 2016-07-24 23:58:12.498 debug message owfs.0.* owfs.0.wires.Насос_дом val=1, ack=false, ts=1469393892481, q=0, from=system.adapter.admin.0, lc=1469393892481
                                inMem 2016-07-24 23:58:08.696 debug message owfs.0.* owfs.0.wires.Температура_улица val=19.625, ack=true, ts=1469393888686, q=0, from=system.adapter.owfs.0, lc=1469393888686
                                owfs-0 2016-07-24 23:58:08.665 debug Read /28.FFE6574E0400/temperature:19.625
                                inMem 2016-07-24 23:58:07.929 debug message owfs.0.* owfs.0.wires.Насос_дом val=0, ack=true, ts=1469393887910, q=0, from=system.adapter.owfs.0, lc=1469393623882
                                inMem 2016-07-24 23:58:07.899 debug message owfs.0.* owfs.0.wires.Насос_ТП val=0, ack=true, ts=1469393887877, q=0, from=system.adapter.owfs.0, lc=1469392780077

                                1 Reply Last reply Reply Quote 0
                                • A
                                  Alekseym6 last edited by

                                  Управляю только через FS (добавил в драйвер owfs). ошибку нужно искать в пакете owfs

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

                                    По ошибке -90 нашел только:

                                    -90 (Message too long)

                                    Интересно, а сколько бит/байт надо?

                                    Либо строка "/3A.483B1E000000/PIO.B\u0001" интепретируется неправильно.

                                    Может мажордомо может писать данные. Я бы подсмотрел, как они делают 😉

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      Alekseym6 last edited by

                                      через PHP. у меня работало но медленно. на python работает. owfs.js пакет уже не записывает.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        Alekseym6 last edited by

                                        host-odroid 2016-07-25 12:08:54.352 info Restart adapter system.adapter.owfs.2 because enabled

                                        host-odroid 2016-07-25 12:08:54.338 error instance system.adapter.owfs.2 terminated with code 6 (uncaught exception)

                                        TypeError: 2016-07-25 12:08:52.577 error at process._tickCallback (node.js:458:13)

                                        TypeError: 2016-07-25 12:08:52.577 error at _stream_readable.js:944:16

                                        TypeError: 2016-07-25 12:08:52.577 error at Socket.emit (events.js:117:20)

                                        TypeError: 2016-07-25 12:08:52.577 error at Socket. (/opt/iobroker/node_modules/iobroker.owfs/node_modules/owfs/build/base/communication.js:30:14)

                                        TypeError: 2016-07-25 12:08:52.577 error at callbackOnce (/opt/iobroker/node_modules/iobroker.owfs/node_modules/owfs/build/base/communication.js:21:9)

                                        TypeError: 2016-07-25 12:08:52.577 error at /opt/iobroker/node_modules/iobroker.owfs/node_modules/owfs/build/base/convert.js:24:18

                                        TypeError: 2016-07-25 12:08:52.577 error at /opt/iobroker/node_modules/iobroker.owfs/main.js:112:42

                                        TypeError: 2016-07-25 12:08:52.577 error Cannot call method 'replace' of undefined

                                        uncaught 2016-07-25 12:08:52.094 error exception: Cannot call method 'replace' of undefined

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

                                          @Alekseym6:

                                          host-odroid 2016-07-25 12:08:54.352 info Restart adapter system.adapter.owfs.2 because enabled

                                          host-odroid 2016-07-25 12:08:54.338 error instance system.adapter.owfs.2 terminated with code 6 (uncaught exception)

                                          TypeError: 2016-07-25 12:08:52.577 error at process._tickCallback (node.js:458:13)

                                          TypeError: 2016-07-25 12:08:52.577 error at _stream_readable.js:944:16

                                          TypeError: 2016-07-25 12:08:52.577 error at Socket.emit (events.js:117:20)

                                          TypeError: 2016-07-25 12:08:52.577 error at Socket. (/opt/iobroker/node_modules/iobroker.owfs/node_modules/owfs/build/base/communication.js:30:14)

                                          TypeError: 2016-07-25 12:08:52.577 error at callbackOnce (/opt/iobroker/node_modules/iobroker.owfs/node_modules/owfs/build/base/communication.js:21:9)

                                          TypeError: 2016-07-25 12:08:52.577 error at /opt/iobroker/node_modules/iobroker.owfs/node_modules/owfs/build/base/convert.js:24:18

                                          TypeError: 2016-07-25 12:08:52.577 error at /opt/iobroker/node_modules/iobroker.owfs/main.js:112:42

                                          TypeError: 2016-07-25 12:08:52.577 error Cannot call method 'replace' of undefined

                                          uncaught 2016-07-25 12:08:52.094 error exception: Cannot call method 'replace' of undefined `
                                          Какой то сигнал не до конца сконфигурирован был. Встроил проверку. Но на write это не должно отразится.

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

                                            @Alekseym6:

                                            через PHP. у меня работало но медленно. на python работает. owfs.js пакет уже не записывает. `
                                            Как выглядел код на PHP?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            900
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            74
                                            16580
                                            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