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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                          • H
                            Haus last edited by

                            @Bluefox:

                            @Alekseym6:

                            через PHP. у меня работало но медленно. на python работает. owfs.js пакет уже не записывает. Как выглядел код на PHP?
                            У Андрея в demo http://ab-log.ru/files/File/ab-log-demo2.zip сделано через ownet.php третий год у меня работает без проблем

                            ! ````
                            get_id("keys");
                            $key_addr = $ab->mod_read($keys_id, "#key_addr#", "", 1, "key_label='$key_label'");
                            $key_tmpID = $ab->mod_read($keys_id, "#tmpID#", "", 1, "key_label='$key_label'");
                            ! if ( empty($key_addr) )
                            exit;
                            ! // Обработчик для MegaD-328
                            if ( preg_match("/^megad./", $key_addr) )
                            {
                            list($null, $key_addr, $key_port) = explode(".", $key_addr);
                            $key_addr = "192.168.0.$key_addr";
                            $pass = "sec";
                            ! file_get_contents("http://$key_addr/$pass/?cmd=$key_port:$key_pio");
                            $key_time = microtime(get_as_float);
                            ! // Записываем в журнал только информацию о вкл/выкл, так как при переключении (команда "2") мы не знаем в каком положении ключ
                            if ( $key_pio < 2 )
                            {
                            $ab->mod_write($keys_id, "key_pio='$key_pio'", "key_label='$key_label'");
                            $ab->mod_write($ab->get_id("keys_journal"), "SYSDATE(), $key_tmpID, '$key_pio'");
                            }
                            }
                            // Обработчик для IP Power 9212 Deluxe
                            elseif ( preg_match("/^ipp./", $key_addr) )
                            {
                            list($null, $key_addr, $key_port) = explode(".", $key_addr);
                            $key_addr = "192.168.0.$key_addr";
                            ! ippower_set($key_addr, $key_port, $key_pio);
                            ! $ab->mod_write($keys_id, "key_pio='$key_pio'", "key_label='$key_label'");
                            $ab->mod_write($ab->get_id("keys_journal"), "SYSDATE(), $key_tmpID, '$key_pio'");
                            ! }
                            // Обработчик для X10
                            elseif ( preg_match("/^x10./", $key_addr) )
                            {
                            $key_addr = preg_replace("/^x10./", "", $key_addr);
                            ! if ( !empty($key_level) )
                            {
                            $key_level_old = $ab->mod_read($keys_id, "#key_level#", "", 1, "key_label='$key_label'");
                            ! if ( $key_level > $key_level_old )
                            {
                            $bright_value = $key_level - $key_level_old;
                            exec("heyu bright $key_addr $bright_value");
                            }
                            elseif ( $key_level < $key_level_old )
                            {
                            $dim_value = $key_level_old - $key_level;
                            exec("heyu dim $key_addr $dim_value");
                            }
                            ! $ab->mod_write($keys_id, "key_level='$key_level'", "key_label='$key_label'");
                            }
                            else
                            {
                            if ( $key_pio == 1 )
                            $heyu_cmd = "on";
                            elseif ( $key_pio == 0 )
                            $heyu_cmd = "off";
                            ! exec("heyu $heyu_cmd $key_addr");
                            ! $ab->mod_write($keys_id, "key_pio='$key_pio'", "key_label='$key_label'");
                            $ab->mod_write($ab->get_id("keys_journal"), "SYSDATE(), $key_tmpID, '$key_pio'");
                            }
                            ! }
                            // Обработчик для виртуальных ключей
                            elseif ( $key_addr == "virt" )
                            {
                            $ab->mod_write($keys_id, "key_pio='$key_pio'", "key_label='$key_label'");
                            $ab->mod_write($ab->get_id("keys_journal"), "SYSDATE(), $key_tmpID, '$key_pio'");
                            ! if ( $key_label == "alarm" && $key_pio == 1 )
                            file_get_contents("http://192.168.0.231/sound.php?sound=alarm-on");
                            elseif ( $key_label == "alarm" && $key_pio == 0 )
                            file_get_contents("http://192.168.0.231/sound.php?sound=alarm-off");
                            ! }
                            // Обработчик для 1-wire
                            else
                            {
                            // ownet.php не удовлетворяет Strict Standarts
                            error_reporting(0);
                            $ow=new OWNet("tcp://localhost:3000");
                            ! if ( empty($key_ch) )
                            $key_ch = "PIO";
                            else
                            $key_ch = "PIO.".$key_ch;
                            ! if ( !preg_match("///", $key_addr) )
                            $key_addr = "$key_addr/$key_ch";
                            ! // Временное
                            $ow->set($key_addr, $key_pio);
                            $key_time = microtime(get_as_float);
                            ! $cpio = 10;
                            $cpio = $ow->read("/uncached/".$key_addr);
                            ! if ( $cpio != $key_pio )
                            {
                            $my_loop = 0;
                            while ( $cpio != $key_pio && $my_loop < 3 )
                            {
                            $my_loop++;
                            $ow->set($key_addr, $key_pio);
                            $key_time = microtime(get_as_float);
                            $cpio = $ow->get("/uncached/".$key_addr);
                            // $cpio = $ow->read("/uncached/".$key_addr);
                            ! if ( $cpio != $key_pio )
                            {
                            sleep(5);
                            $log = fopen("/var/www/log_error.log", "a");
                            fwrite($log, date('d/m/Y H:i:s')." > [ $key_label | $key_pio | $key_ch ]\n");
                            fclose($log);
                            }
                            }
                            }
                            ! if ( empty($no_log) )
                            $ab->mod_write($ab->get_id("keys_journal"), "SYSDATE(), $key_tmpID, '$key_pio'");
                            ! $ab->mod_write($keys_id, "key_pio='$key_pio'", "key_label='$key_label'");
                            ! unset($ow);
                            error_reporting($ab->err_rep);
                            }
                            ! return $key_time;
                            }
                            ! if ( !empty($_REQUEST['key_label']) )
                            {
                            if ( !isset($_REQUEST['key_ch']) )
                            $_REQUEST['key_ch'] = "";
                            if ( !isset($_REQUEST['key_level']) )
                            $_REQUEST['key_level'] = "";
                            key_sw($_REQUEST['key_label'], $_REQUEST['key_pio'], $_REQUEST['key_ch'], $_REQUEST['key_level']);
                            }
                            ! ?>

                            Ab-CMS
                            
                            >!  ![443_ab-cms-index-php-1469517956127.png](/assets/uploads/files/443_ab-cms-index-php-1469517956127.png) 
                            
                            owfs 0.1.1
                            
                            при изменении 0 на 1
                            
                            >! ````
                            engine.io-client:polling polling got data 147:42["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":1,"ack":false,"ts":1469519559793,"q":0,"from":"system.adapter.admin.0","lc":1469519559793}] +8s
                              engine.io-client:socket socket receive: type "message", data "2["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":1,"ack":false,"ts":1469519559793,"q":0,"from":"system.adapter.admin.0","lc":1469519559793}]" +0ms
                              socket.io-parser decoded 2["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":1,"ack":false,"ts":1469519559793,"q":0,"from":"system.adapter.admin.0","lc":1469519559793}] as {"type":2,"nsp":"/","data":["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":1,"ack":false,"ts":1469519559793,"q":0,"from":"system.adapter.admin.0","lc":1469519559793}]} +1ms
                              socket.io-client:socket emitting event ["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":1,"ack":false,"ts":1469519559793,"q":0,"from":"system.adapter.admin.0","lc":1469519559793}] +1ms
                            2016-07-26 10:52:39.805  - debug: inMem message  owfs.0.* owfs.0.wires.Pomp_haus val=1, ack=false, ts=1469519559793, q=0, from=system.adapter.admin.0, lc=1469519559793
                              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=LOcCFn-&b64=1&sid=x-m1DmC5VQaCoA4UAABJ +1ms
                              engine.io-client:polling-xhr xhr data null +0ms
                            Write /3A.483B1E000000/PIO.B with "1"
                            2016-07-26 10:52:39.823  - debug: owfs.0 Write /3A.483B1E000000/PIO.B with "1"
                              owfs:communication Sending +8s { path: '/3A.483B1E000000/PIO.B\u00001',
                              command: 3,
                              server: '192.168.1.10',
                              port: '4304' }
                              socket.io-client:manager writing packet {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559831},null],"options":{"compress":true},"nsp":"/"} +24ms
                              socket.io-parser encoding packet {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559831},null],"options":{"compress":true},"nsp":"/"} +1ms
                              socket.io-parser encoded {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559831},null],"options":{"compress":true},"nsp":"/"} as 2["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559831},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=LOcCFoQ&b64=1&sid=x-m1DmC5VQaCoA4UAABJ +1ms
                              engine.io-client:polling-xhr xhr data 158:42["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559831},null] +0ms
                              socket.io-client:manager writing packet {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"owfs.0 Write /3A.483B1E000000/PIO.B with \"1\"","severity":"debug","from":"owfs.0","ts":1469519559835},null],"options":{"compress":true},"nsp":"/"} +1ms
                              socket.io-parser encoding packet {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"owfs.0 Write /3A.483B1E000000/PIO.B with \"1\"","severity":"debug","from":"owfs.0","ts":1469519559835},null],"options":{"compress":true},"nsp":"/"} +1ms
                              socket.io-parser encoded {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"owfs.0 Write /3A.483B1E000000/PIO.B with \"1\"","severity":"debug","from":"owfs.0","ts":1469519559835},null],"options":{"compress":true},"nsp":"/"} as 2["pushLog","system.adapter.admin.0",{"message":"owfs.0 Write /3A.483B1E000000/PIO.B with \"1\"","severity":"debug","from":"owfs.0","ts":1469519559835},null] +0ms
                              owfs:communication Receiving header +10ms { 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-26 10:52:39.840  - 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.Pomp_haus",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} +4ms
                              socket.io-parser encoding packet {"type":2,"data":["setState","owfs.0.wires.Pomp_haus",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} +1ms
                              socket.io-parser encoded {"type":2,"data":["setState","owfs.0.wires.Pomp_haus",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null],"options":{"compress":true},"nsp":"/"} as 2["setState","owfs.0.wires.Pomp_haus",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null] +5ms
                              socket.io-client:manager writing packet {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"owfs.0 Cannot write value of /3A.483B1E000000/PIO.B: [object Object]","severity":"warn","from":"owfs.0","ts":1469519559846},null],"options":{"compress":true},"nsp":"/"} +0ms
                              socket.io-parser encoding packet {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"owfs.0 Cannot write value of /3A.483B1E000000/PIO.B: [object Object]","severity":"warn","from":"owfs.0","ts":1469519559846},null],"options":{"compress":true},"nsp":"/"} +1ms
                              socket.io-parser encoded {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"owfs.0 Cannot write value of /3A.483B1E000000/PIO.B: [object Object]","severity":"warn","from":"owfs.0","ts":1469519559846},null],"options":{"compress":true},"nsp":"/"} as 2["pushLog","system.adapter.admin.0",{"message":"owfs.0 Cannot write value of /3A.483B1E000000/PIO.B: [object Object]","severity":"warn","from":"owfs.0","ts":1469519559846},null] +0ms
                              engine.io-client:socket flushing 3 packets in socket +10ms
                              engine.io-client:polling-xhr xhr open POST: http://127.0.0.1:9000/socket.io/?EIO=3&transport=polling&t=LOcCFop&b64=1&sid=x-m1DmC5VQaCoA4UAABJ +2ms
                              engine.io-client:polling-xhr xhr data 158:42["pushLog","system.adapter.admin.0",{"message":"owfs.0 Write /3A.483B1E000000/PIO.B with \"1\"","severity":"debug","from":"owfs.0","ts":1469519559835},null]104:42["setState","owfs.0.wires.Pomp_haus",{"val":0,"ack":true,"q":132,"from":"system.adapter.owfs.0"},null]179:42["pushLog","system.adapter.admin.0",{"message":"owfs.0 Cannot write value of /3A.483B1E000000/PIO.B: [object Object]","severity":"warn","from":"owfs.0","ts":1469519559846},null] +2ms
                              engine.io-client:polling polling got data 147:42["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":0,"ack":true,"ts":1469519559868,"q":132,"from":"system.adapter.owfs.0","lc":1469519559868}] +17ms
                              engine.io-client:socket socket receive: type "message", data "2["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":0,"ack":true,"ts":1469519559868,"q":132,"from":"system.adapter.owfs.0","lc":1469519559868}]" +6ms
                              socket.io-parser decoded 2["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":0,"ack":true,"ts":1469519559868,"q":132,"from":"system.adapter.owfs.0","lc":1469519559868}] as {"type":2,"nsp":"/","data":["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":0,"ack":true,"ts":1469519559868,"q":132,"from":"system.adapter.owfs.0","lc":1469519559868}]} +4ms
                              socket.io-client:socket emitting event ["message","owfs.0.*","owfs.0.wires.Pomp_haus",{"val":0,"ack":true,"ts":1469519559868,"q":132,"from":"system.adapter.owfs.0","lc":1469519559868}] +1ms
                            2016-07-26 10:52:39.890  - debug: inMem message  owfs.0.* owfs.0.wires.Pomp_haus val=0, ack=true, ts=1469519559868, q=132, from=system.adapter.owfs.0, lc=1469519559868
                              engine.io-client:polling polling +4ms
                              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=LOcCFpL&b64=1&sid=x-m1DmC5VQaCoA4UAABJ +1ms
                              engine.io-client:polling-xhr xhr data null +1ms
                              socket.io-client:manager writing packet {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559900},null],"options":{"compress":true},"nsp":"/"} +5ms
                              socket.io-parser encoding packet {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559900},null],"options":{"compress":true},"nsp":"/"} +0ms
                              socket.io-parser encoded {"type":2,"data":["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559900},null],"options":{"compress":true},"nsp":"/"} as 2["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559900},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=LOcCFpU&b64=1&sid=x-m1DmC5VQaCoA4UAABJ +1ms
                              engine.io-client:polling-xhr xhr data 158:42["pushLog","system.adapter.admin.0",{"message":"inMem message  owfs.0.* owfs.0.wires.Pomp_haus","severity":"debug","from":"owfs.0","ts":1469519559900},null] +0ms
                            ^C  socket.io-client:socket emitting packet with ack id 3 +3s
                              socket.io-client:manager writing packet {"type":2,"data":["setState","system.adapter.owfs.0.alive",{"val":false,"ack":true,"from":"system.adapter.owfs.0"}],"options":{"compress":true},"id":3,"nsp":"/"} +0ms
                              socket.io-parser encoding packet {"type":2,"data":["setState","system.adapter.owfs.0.alive",{"val":false,"ack":true,"from":"system.adapter.owfs.0"}],"options":{"compress":true},"id":3,"nsp":"/"} +0ms
                              socket.io-parser encoded {"type":2,"data":["setState","system.adapter.owfs.0.alive",{"val":false,"ack":true,"from":"system.adapter.owfs.0"}],"options":{"compress":true},"id":3,"nsp":"/"} as 23["setState","system.adapter.owfs.0.alive",{"val":false,"ack":true,"from":"system.adapter.owfs.0"}] +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=LOcCGU8&b64=1&sid=x-m1DmC5VQaCoA4UAABJ +1ms
                              engine.io-client:polling-xhr xhr data 101:423["setState","system.adapter.owfs.0.alive",{"val":false,"ack":true,"from":"system.adapter.owfs.0"}] +0ms
                              engine.io-client:polling polling got data 39:433[null,"system.adapter.owfs.0.alive"] +11ms
                              engine.io-client:socket socket receive: type "message", data "33[null,"system.adapter.owfs.0.alive"]" +1ms
                              socket.io-parser decoded 33[null,"system.adapter.owfs.0.alive"] as {"type":3,"nsp":"/","id":3,"data":[null,"system.adapter.owfs.0.alive"]} +0ms
                              socket.io-client:socket calling ack 3 with [null,"system.adapter.owfs.0.alive"] +1ms
                            

                            MajorDoMo я поставил 1wire считал, как теперь подслушать?

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

                              обновился

                              не создается объект DS18b20

                              Wrong 2016-07-26 12:09:39.317 error type of owfs.0.wires.SensorTemp.common.def

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

                                @Alekseym6:

                                обновился

                                не создается объект DS18b20

                                Wrong 2016-07-26 12:09:39.317 error type of owfs.0.wires.SensorTemp.common.def `
                                У себя такого не наблюдаю.

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

                                  Что надо, что бы протестить 1wire читать/писать на малине?

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

                                    @Bluefox:

                                    Что надо, что бы протестить 1wire читать/писать на малине? `
                                    Если ко мне вопрос, внизу есть данные

                                    Единственный нюанс, 1wire адаптер на другом (едентичном) сервере в той же сети

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

                                      @Haus:

                                      @Bluefox:

                                      Что надо, что бы протестить 1wire читать/писать на малине? `
                                      Если ко мне вопрос, внизу есть данные

                                      Единственный нюанс, 1wire адаптер на другом (едентичном) сервере в той же сети `
                                      Мне бы ссылку на что надо купить, что бы подключить 1wire к малине. Причем, что бы можно было не только читать, но и писать.

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

                                        @Bluefox:

                                        @Haus:

                                        @Bluefox:

                                        Что надо, что бы протестить 1wire читать/писать на малине? `
                                        Если ко мне вопрос, внизу есть данные

                                        Единственный нюанс, 1wire адаптер на другом (едентичном) сервере в той же сети Мне бы ссылку на что надо купить, что бы подключить 1wire к малине. Причем, что бы можно было не только читать, но и писать.
                                        К малине в основном подключают на gpio, но можно и к usb DS9490R адаптер ну и тогда ещё нужно датчик DS18B20 и ключ DS2413 и т.д. Последние это микросхемы но бывают и готовые устройства. Может проще дать тебе подключится к моему тестовому серверу?

                                        P.S. Кстати в owfs.conf есть какая та имитация датчика температуры и ключа, может можно ими дергать для отладки

                                        ######################## SOURCES ########################
                                        #
                                        # With this setup, any client (but owserver) uses owserver on the
                                        # local machine...
                                        ! server: server = localhost:4304
                                        #
                                        # ...and owserver uses the real hardware, by default fake devices
                                        # This part must be changed on real installation
                                        #server: FAKE = DS18S20,DS2405
                                        

                                        Даже работает, iobroker с него читает но так же не может изменить

                                        inMem	2016-07-27 00:57:59.005	debug	message owfs.0.* owfs.0.wires.TEST val=0, ack=true, ts=1469570279001, q=132, from=system.adapter.owfs.0, lc=1469570279001
                                        owfs-0	2016-07-27 00:57:58.937	warn	Cannot write value of /05.4AEC29CDBAAB/PIO: [object Object]
                                        owfs-0	2016-07-27 00:57:58.930	debug	Write /05.4AEC29CDBAAB/PIO with "1"
                                        inMem	2016-07-27 00:57:58.926	debug	message owfs.0.* owfs.0.wires.TEST val=1, ack=false, ts=1469570278911, q=0, from=system.adapter.admin.0, lc=1469570278911
                                        inMem	2016-07-27 00:57:53.861	debug	message owfs.0.* owfs.0.wires.Pomp_haus val=0, ack=true, ts=1469570273846, q=0, from=system.adapter.owfs.0, lc=1469530880310
                                        inMem	2016-07-27 00:57:53.792	debug	message owfs.0.* owfs.0.wires.Pomp_TP val=0, ack=true, ts=1469570273769, q=0, from=system.adapter.owfs.0, lc=1469529532725
                                        owfs-0	2016-07-27 00:57:53.767	debug	Read /3A.483B1E000000/PIO.B:0
                                        owfs-0	2016-07-27 00:57:53.758	debug	Read /3A.483B1E000000/PIO.A:0
                                        inMem	2016-07-27 00:57:53.751	debug	message owfs.0.* owfs.0.wires.Temperature_IN val=25.25, ack=true, ts=1469570273737, q=0, from=system.adapter.owfs.0, lc=1469570168401
                                        owfs-0	2016-07-27 00:57:53.728	debug	Read /28.FF7B414E0400/temperature:25.25
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Bluefox
                                          Bluefox last edited by

                                          @Haus:

                                          @Bluefox:

                                          @Haus:

                                          Если ко мне вопрос, внизу есть данные

                                          Единственный нюанс, 1wire адаптер на другом (едентичном) сервере в той же сети Мне бы ссылку на что надо купить, что бы подключить 1wire к малине. Причем, что бы можно было не только читать, но и писать.
                                          К малине в основном подключают на gpio, но можно и к usb DS9490R адаптер ну и тогда ещё нужно датчик DS18B20 и ключ DS2413 и т.д. Последние это микросхемы но бывают и готовые устройства. Может проще дать тебе подключится к моему тестовому серверу?

                                          P.S. Кстати в owfs.conf есть какая та имитация датчика температуры и ключа, может можно ими дергать для отладки

                                          ######################## SOURCES ########################
                                          #
                                          # With this setup, any client (but owserver) uses owserver on the
                                          # local machine...
                                          ! server: server = localhost:4304
                                          #
                                          # ...and owserver uses the real hardware, by default fake devices
                                          # This part must be changed on real installation
                                          #server: FAKE = DS18S20,DS2405
                                          

                                          Даже работает, iobroker с него читает но так же не может изменить

                                          inMem	2016-07-27 00:57:59.005	debug	message owfs.0.* owfs.0.wires.TEST val=0, ack=true, ts=1469570279001, q=132, from=system.adapter.owfs.0, lc=1469570279001
                                          owfs-0	2016-07-27 00:57:58.937	warn	Cannot write value of /05.4AEC29CDBAAB/PIO: [object Object]
                                          owfs-0	2016-07-27 00:57:58.930	debug	Write /05.4AEC29CDBAAB/PIO with "1"
                                          inMem	2016-07-27 00:57:58.926	debug	message owfs.0.* owfs.0.wires.TEST val=1, ack=false, ts=1469570278911, q=0, from=system.adapter.admin.0, lc=1469570278911
                                          inMem	2016-07-27 00:57:53.861	debug	message owfs.0.* owfs.0.wires.Pomp_haus val=0, ack=true, ts=1469570273846, q=0, from=system.adapter.owfs.0, lc=1469530880310
                                          inMem	2016-07-27 00:57:53.792	debug	message owfs.0.* owfs.0.wires.Pomp_TP val=0, ack=true, ts=1469570273769, q=0, from=system.adapter.owfs.0, lc=1469529532725
                                          owfs-0	2016-07-27 00:57:53.767	debug	Read /3A.483B1E000000/PIO.B:0
                                          owfs-0	2016-07-27 00:57:53.758	debug	Read /3A.483B1E000000/PIO.A:0
                                          inMem	2016-07-27 00:57:53.751	debug	message owfs.0.* owfs.0.wires.Temperature_IN val=25.25, ack=true, ts=1469570273737, q=0, from=system.adapter.owfs.0, lc=1469570168401
                                          owfs-0	2016-07-27 00:57:53.728	debug	Read /28.FF7B414E0400/temperature:25.25
                                          ```` `  
                                          

                                          Классно! Я попробую 😄

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

                                            @Bluefox:

                                            @Haus:

                                            @Bluefox:

                                            Мне бы ссылку на что надо купить, что бы подключить 1wire к малине. Причем, что бы можно было не только читать, но и писать. `
                                            К малине в основном подключают на gpio, но можно и к usb DS9490R адаптер ну и тогда ещё нужно датчик DS18B20 и ключ DS2413 и т.д. Последние это микросхемы но бывают и готовые устройства. Может проще дать тебе подключится к моему тестовому серверу?

                                            P.S. Кстати в owfs.conf есть какая та имитация датчика температуры и ключа, может можно ими дергать для отладки

                                            ######################## SOURCES ########################
                                            #
                                            # With this setup, any client (but owserver) uses owserver on the
                                            # local machine...
                                            ! server: server = localhost:4304
                                            #
                                            # ...and owserver uses the real hardware, by default fake devices
                                            # This part must be changed on real installation
                                            #server: FAKE = DS18S20,DS2405
                                            

                                            Даже работает, iobroker с него читает но так же не может изменить

                                            inMem	2016-07-27 00:57:59.005	debug	message owfs.0.* owfs.0.wires.TEST val=0, ack=true, ts=1469570279001, q=132, from=system.adapter.owfs.0, lc=1469570279001
                                            owfs-0	2016-07-27 00:57:58.937	warn	Cannot write value of /05.4AEC29CDBAAB/PIO: [object Object]
                                            owfs-0	2016-07-27 00:57:58.930	debug	Write /05.4AEC29CDBAAB/PIO with "1"
                                            inMem	2016-07-27 00:57:58.926	debug	message owfs.0.* owfs.0.wires.TEST val=1, ack=false, ts=1469570278911, q=0, from=system.adapter.admin.0, lc=1469570278911
                                            inMem	2016-07-27 00:57:53.861	debug	message owfs.0.* owfs.0.wires.Pomp_haus val=0, ack=true, ts=1469570273846, q=0, from=system.adapter.owfs.0, lc=1469530880310
                                            inMem	2016-07-27 00:57:53.792	debug	message owfs.0.* owfs.0.wires.Pomp_TP val=0, ack=true, ts=1469570273769, q=0, from=system.adapter.owfs.0, lc=1469529532725
                                            owfs-0	2016-07-27 00:57:53.767	debug	Read /3A.483B1E000000/PIO.B:0
                                            owfs-0	2016-07-27 00:57:53.758	debug	Read /3A.483B1E000000/PIO.A:0
                                            inMem	2016-07-27 00:57:53.751	debug	message owfs.0.* owfs.0.wires.Temperature_IN val=25.25, ack=true, ts=1469570273737, q=0, from=system.adapter.owfs.0, lc=1469570168401
                                            owfs-0	2016-07-27 00:57:53.728	debug	Read /28.FF7B414E0400/temperature:25.25
                                            ```` `  
                                            

                                            Классно! Я попробую 😄 `

                                            Я дописал в эту строчку DS2413 и получил ещё один виртуальный ключ (двухкональный)

                                            # This part must be changed on real installation
                                            server: FAKE = DS18S20,DS2405,DS2413
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            632
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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