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.
    • 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
                              • Bluefox
                                Bluefox last edited by

                                Идея с виртуальным датчиком была гениальной.

                                Я обновил драйвер и сделал поиск сенсоров. И запись работает.

                                Всё ещё на гите.

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

                                  @Bluefox:

                                  Идея с виртуальным датчиком была гениальной.

                                  Я обновил драйвер и сделал поиск сенсоров. И запись работает.

                                  Всё ещё на гите. `
                                  owfs 0.2.0

                                  Read addresses ничего не показывает

                                  Вбил руками ключи переключаются

                                  Первый новый датчик температуры выдал -95 ,дальше нормально

                                  Добавил второй

                                  ! inMem 2016-07-28 01:42:06.541 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=24.9375, ack=true, ts=1469659326518, q=0, from=system.adapter.owfs.0, lc=1469659295783
                                  ! owfs-0 2016-07-28 01:42:06.511 debug Read /28.FF1C154A0400/temperature:24.9375
                                  ! inMem 2016-07-28 01:42:05.645 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659325623, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                  ! owfs-0 2016-07-28 01:42:05.617 debug Read /28.FFE6574E0400/temperature:21.0625
                                  ! inMem 2016-07-28 01:41:36.560 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659296534, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                  ! owfs-0 2016-07-28 01:41:36.526 debug Read /28.FFE6574E0400/temperature:21.0625
                                  ! inMem 2016-07-28 01:41:35.835 debug message owfs.0.* owfs.0.wires.Насос дома val=true, ack=true, ts=1469659295816, q=0, from=system.adapter.owfs.0, lc=1469659111622
                                  ! inMem 2016-07-28 01:41:35.803 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=24.9375, ack=true, ts=1469659295783, q=0, from=system.adapter.owfs.0, lc=1469659295783
                                  ! owfs-0 2016-07-28 01:41:35.783 debug Read /3A.483B1E000000/PIO.B:1
                                  ! owfs-0 2016-07-28 01:41:35.734 debug Read /28.FF1C154A0400/temperature:24.9375
                                  ! inMem 2016-07-28 01:41:34.959 debug message owfs.0.* owfs.0.wires.Насос ТП val=false, ack=true, ts=1469659294941, q=0, from=system.adapter.owfs.0, lc=1469658440592
                                  ! owfs-0 2016-07-28 01:41:34.931 debug Read /3A.483B1E000000/PIO.A:0
                                  ! inMem 2016-07-28 01:41:06.489 debug message owfs.0.* owfs.0.wires.Насос дома val=true, ack=true, ts=1469659266471, q=0, from=system.adapter.owfs.0, lc=1469659111622
                                  ! owfs-0 2016-07-28 01:41:06.466 debug Read /3A.483B1E000000/PIO.B:1
                                  ! inMem 2016-07-28 01:41:06.462 debug message owfs.0.* owfs.0.wires.Насос ТП val=false, ack=true, ts=1469659266441, q=0, from=system.adapter.owfs.0, lc=1469658440592
                                  ! owfs-0 2016-07-28 01:41:06.433 debug Read /3A.483B1E000000/PIO.A:0
                                  ! inMem 2016-07-28 01:41:06.419 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=25, ack=true, ts=1469659266406, q=0, from=system.adapter.owfs.0, lc=1469659266406
                                  ! owfs-0 2016-07-28 01:41:06.399 debug Read /28.FF1C154A0400/temperature:25
                                  ! inMem 2016-07-28 01:41:05.632 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659265607, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                  ! owfs-0 2016-07-28 01:41:05.601 debug Read /28.FFE6574E0400/temperature:21.0625
                                  ! inMem 2016-07-28 01:40:36.605 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=0, ack=true, ts=1469659236586, q=0, from=system.adapter.owfs.0, lc=1469659236586
                                  ! owfs-0 2016-07-28 01:40:36.580 debug Write /Температура лестница/холл/temperature:true
                                  ! inMem 2016-07-28 01:40:36.565 debug message owfs.0.* owfs.0.wires.Насос дома val=true, ack=true, ts=1469659236543, q=0, from=system.adapter.owfs.0, lc=1469659111622
                                  ! inMem 2016-07-28 01:40:36.534 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=25, ack=true, ts=1469659236513, q=0, from=system.adapter.owfs.0, lc=1469659236513
                                  ! owfs-0 2016-07-28 01:40:36.524 debug Read /3A.483B1E000000/PIO.B:1
                                  ! owfs-0 2016-07-28 01:40:36.503 debug Read /28.FF1C154A0400/temperature:25
                                  ! inMem 2016-07-28 01:40:35.755 debug message owfs.0.* owfs.0.wires.Насос ТП val=false, ack=true, ts=1469659235735, q=0, from=system.adapter.owfs.0, lc=1469658440592
                                  ! owfs-0 2016-07-28 01:40:35.727 debug Read /3A.483B1E000000/PIO.A:0
                                  ! inMem 2016-07-28 01:40:35.627 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659235609, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                  ! owfs-0 2016-07-28 01:40:35.602 debug Read /28.FFE6574E0400/temperature:21.0625
                                  ! owfs-0 2016-07-28 01:40:34.998 debug Write /28.FF1C154A0400/temperature with "0"
                                  ! inMem 2016-07-28 01:40:34.979 debug message owfs.0.* owfs.0.wires.Температура_лестница_холл val=0, ack=false, ts=1469659234958, q=0, from=system.adapter.owfs.0, lc=1469659234958
                                  ! owfs-0 2016-07-28 01:40:34.782 info starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.owfs
                                  ! owfs-0 2016-07-28 01:40:34.679 debug statesDB connected
                                  ! owfs-0 2016-07-28 01:40:34.649 debug objectDB connected
                                  ! host-Server1 2016-07-28 01:40:33.450 info instance system.adapter.owfs.0 started with pid 4438
                                  ! host-Server1 2016-07-28 01:40:31.489 info instance system.adapter.owfs.0 terminated with code 0 (OK)
                                  ! owfs-0 2016-07-28 01:40:31.461 info terminating
                                  ! inMem 2016-07-28 01:40:31.205 debug message *.logging system.adapter.admin.0.logging val=false, ack=true, ts=1469659231162, q=0, from=system.adapter.admin.0, lc=1469659231162
                                  ! host-Server1 2016-07-28 01:40:30.927 info stopInstance system.adapter.owfs.0 killing pid 3291
                                  ! host-Server1 2016-07-28 01:40:30.926 info stopInstance system.adapter.owfs.0
                                  в объектах "0"(красным), в состояние непонятно что

                                  ! 443_screencapture-192-168-1-11-8081-1469660867297.png

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

                                    обновился. опять ошибка owfs.0 2016-07-28 07:58:33.314 error Wrong type of owfs.0.wires.SensorTemp.common.def

                                    закоментировал некоторые строки, теперь работает.
                                    462_______________2016-07-28___8.40.41.png

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

                                      @Haus:

                                      @Bluefox:

                                      Идея с виртуальным датчиком была гениальной.

                                      Я обновил драйвер и сделал поиск сенсоров. И запись работает.

                                      Всё ещё на гите. `
                                      owfs 0.2.0

                                      Read addresses ничего не показывает

                                      Вбил руками ключи переключаются

                                      Первый новый датчик температуры выдал -95 ,дальше нормально

                                      Добавил второй

                                      ! inMem 2016-07-28 01:42:06.541 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=24.9375, ack=true, ts=1469659326518, q=0, from=system.adapter.owfs.0, lc=1469659295783
                                      ! owfs-0 2016-07-28 01:42:06.511 debug Read /28.FF1C154A0400/temperature:24.9375
                                      ! inMem 2016-07-28 01:42:05.645 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659325623, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                      ! owfs-0 2016-07-28 01:42:05.617 debug Read /28.FFE6574E0400/temperature:21.0625
                                      ! inMem 2016-07-28 01:41:36.560 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659296534, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                      ! owfs-0 2016-07-28 01:41:36.526 debug Read /28.FFE6574E0400/temperature:21.0625
                                      ! inMem 2016-07-28 01:41:35.835 debug message owfs.0.* owfs.0.wires.Насос дома val=true, ack=true, ts=1469659295816, q=0, from=system.adapter.owfs.0, lc=1469659111622
                                      ! inMem 2016-07-28 01:41:35.803 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=24.9375, ack=true, ts=1469659295783, q=0, from=system.adapter.owfs.0, lc=1469659295783
                                      ! owfs-0 2016-07-28 01:41:35.783 debug Read /3A.483B1E000000/PIO.B:1
                                      ! owfs-0 2016-07-28 01:41:35.734 debug Read /28.FF1C154A0400/temperature:24.9375
                                      ! inMem 2016-07-28 01:41:34.959 debug message owfs.0.* owfs.0.wires.Насос ТП val=false, ack=true, ts=1469659294941, q=0, from=system.adapter.owfs.0, lc=1469658440592
                                      ! owfs-0 2016-07-28 01:41:34.931 debug Read /3A.483B1E000000/PIO.A:0
                                      ! inMem 2016-07-28 01:41:06.489 debug message owfs.0.* owfs.0.wires.Насос дома val=true, ack=true, ts=1469659266471, q=0, from=system.adapter.owfs.0, lc=1469659111622
                                      ! owfs-0 2016-07-28 01:41:06.466 debug Read /3A.483B1E000000/PIO.B:1
                                      ! inMem 2016-07-28 01:41:06.462 debug message owfs.0.* owfs.0.wires.Насос ТП val=false, ack=true, ts=1469659266441, q=0, from=system.adapter.owfs.0, lc=1469658440592
                                      ! owfs-0 2016-07-28 01:41:06.433 debug Read /3A.483B1E000000/PIO.A:0
                                      ! inMem 2016-07-28 01:41:06.419 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=25, ack=true, ts=1469659266406, q=0, from=system.adapter.owfs.0, lc=1469659266406
                                      ! owfs-0 2016-07-28 01:41:06.399 debug Read /28.FF1C154A0400/temperature:25
                                      ! inMem 2016-07-28 01:41:05.632 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659265607, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                      ! owfs-0 2016-07-28 01:41:05.601 debug Read /28.FFE6574E0400/temperature:21.0625
                                      ! inMem 2016-07-28 01:40:36.605 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=0, ack=true, ts=1469659236586, q=0, from=system.adapter.owfs.0, lc=1469659236586
                                      ! owfs-0 2016-07-28 01:40:36.580 debug Write /Температура лестница/холл/temperature:true
                                      ! inMem 2016-07-28 01:40:36.565 debug message owfs.0.* owfs.0.wires.Насос дома val=true, ack=true, ts=1469659236543, q=0, from=system.adapter.owfs.0, lc=1469659111622
                                      ! inMem 2016-07-28 01:40:36.534 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=25, ack=true, ts=1469659236513, q=0, from=system.adapter.owfs.0, lc=1469659236513
                                      ! owfs-0 2016-07-28 01:40:36.524 debug Read /3A.483B1E000000/PIO.B:1
                                      ! owfs-0 2016-07-28 01:40:36.503 debug Read /28.FF1C154A0400/temperature:25
                                      ! inMem 2016-07-28 01:40:35.755 debug message owfs.0.* owfs.0.wires.Насос ТП val=false, ack=true, ts=1469659235735, q=0, from=system.adapter.owfs.0, lc=1469658440592
                                      ! owfs-0 2016-07-28 01:40:35.727 debug Read /3A.483B1E000000/PIO.A:0
                                      ! inMem 2016-07-28 01:40:35.627 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659235609, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                      ! owfs-0 2016-07-28 01:40:35.602 debug Read /28.FFE6574E0400/temperature:21.0625
                                      ! owfs-0 2016-07-28 01:40:34.998 debug Write /28.FF1C154A0400/temperature with "0"
                                      ! inMem 2016-07-28 01:40:34.979 debug message owfs.0.* owfs.0.wires.Температура_лестница_холл val=0, ack=false, ts=1469659234958, q=0, from=system.adapter.owfs.0, lc=1469659234958
                                      ! owfs-0 2016-07-28 01:40:34.782 info starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.owfs
                                      ! owfs-0 2016-07-28 01:40:34.679 debug statesDB connected
                                      ! owfs-0 2016-07-28 01:40:34.649 debug objectDB connected
                                      ! host-Server1 2016-07-28 01:40:33.450 info instance system.adapter.owfs.0 started with pid 4438
                                      ! host-Server1 2016-07-28 01:40:31.489 info instance system.adapter.owfs.0 terminated with code 0 (OK)
                                      ! owfs-0 2016-07-28 01:40:31.461 info terminating
                                      ! inMem 2016-07-28 01:40:31.205 debug message *.logging system.adapter.admin.0.logging val=false, ack=true, ts=1469659231162, q=0, from=system.adapter.admin.0, lc=1469659231162
                                      ! host-Server1 2016-07-28 01:40:30.927 info stopInstance system.adapter.owfs.0 killing pid 3291
                                      ! host-Server1 2016-07-28 01:40:30.926 info stopInstance system.adapter.owfs.0
                                      в объектах "0"(красным), в состояние непонятно что

                                      ! filename="screencapture-192-168-1-11-8081-1469660867297.png" index="1">~~ `
                                      Что бы заработало readAddresses надо добавить

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

                                        @Alekseym6:

                                        обновился. опять ошибка owfs.0 2016-07-28 07:58:33.314 error Wrong type of owfs.0.wires.SensorTemp.common.def

                                        закоментировал некоторые строки, теперь работает. `
                                        Как выглядит owfs.0.wires.SensorTemp?

                                        iobroker o g owfs.0.wires.SensorTemp --pretty
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          Haus last edited by

                                          @Bluefox:

                                          @Haus:

                                          @Bluefox:

                                          Идея с виртуальным датчиком была гениальной.

                                          Я обновил драйвер и сделал поиск сенсоров. И запись работает.

                                          Всё ещё на гите. `
                                          owfs 0.2.0

                                          Read addresses ничего не показывает

                                          Вбил руками ключи переключаются

                                          Первый новый датчик температуры выдал -95 ,дальше нормально

                                          Добавил второй

                                          ! inMem 2016-07-28 01:42:06.541 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=24.9375, ack=true, ts=1469659326518, q=0, from=system.adapter.owfs.0, lc=1469659295783
                                          ! owfs-0 2016-07-28 01:42:06.511 debug Read /28.FF1C154A0400/temperature:24.9375
                                          ! inMem 2016-07-28 01:42:05.645 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659325623, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                          ! owfs-0 2016-07-28 01:42:05.617 debug Read /28.FFE6574E0400/temperature:21.0625
                                          ! inMem 2016-07-28 01:41:36.560 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659296534, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                          ! owfs-0 2016-07-28 01:41:36.526 debug Read /28.FFE6574E0400/temperature:21.0625
                                          ! inMem 2016-07-28 01:41:35.835 debug message owfs.0.* owfs.0.wires.Насос дома val=true, ack=true, ts=1469659295816, q=0, from=system.adapter.owfs.0, lc=1469659111622
                                          ! inMem 2016-07-28 01:41:35.803 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=24.9375, ack=true, ts=1469659295783, q=0, from=system.adapter.owfs.0, lc=1469659295783
                                          ! owfs-0 2016-07-28 01:41:35.783 debug Read /3A.483B1E000000/PIO.B:1
                                          ! owfs-0 2016-07-28 01:41:35.734 debug Read /28.FF1C154A0400/temperature:24.9375
                                          ! inMem 2016-07-28 01:41:34.959 debug message owfs.0.* owfs.0.wires.Насос ТП val=false, ack=true, ts=1469659294941, q=0, from=system.adapter.owfs.0, lc=1469658440592
                                          ! owfs-0 2016-07-28 01:41:34.931 debug Read /3A.483B1E000000/PIO.A:0
                                          ! inMem 2016-07-28 01:41:06.489 debug message owfs.0.* owfs.0.wires.Насос дома val=true, ack=true, ts=1469659266471, q=0, from=system.adapter.owfs.0, lc=1469659111622
                                          ! owfs-0 2016-07-28 01:41:06.466 debug Read /3A.483B1E000000/PIO.B:1
                                          ! inMem 2016-07-28 01:41:06.462 debug message owfs.0.* owfs.0.wires.Насос ТП val=false, ack=true, ts=1469659266441, q=0, from=system.adapter.owfs.0, lc=1469658440592
                                          ! owfs-0 2016-07-28 01:41:06.433 debug Read /3A.483B1E000000/PIO.A:0
                                          ! inMem 2016-07-28 01:41:06.419 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=25, ack=true, ts=1469659266406, q=0, from=system.adapter.owfs.0, lc=1469659266406
                                          ! owfs-0 2016-07-28 01:41:06.399 debug Read /28.FF1C154A0400/temperature:25
                                          ! inMem 2016-07-28 01:41:05.632 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659265607, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                          ! owfs-0 2016-07-28 01:41:05.601 debug Read /28.FFE6574E0400/temperature:21.0625
                                          ! inMem 2016-07-28 01:40:36.605 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=0, ack=true, ts=1469659236586, q=0, from=system.adapter.owfs.0, lc=1469659236586
                                          ! owfs-0 2016-07-28 01:40:36.580 debug Write /Температура лестница/холл/temperature:true
                                          ! inMem 2016-07-28 01:40:36.565 debug message owfs.0.* owfs.0.wires.Насос дома val=true, ack=true, ts=1469659236543, q=0, from=system.adapter.owfs.0, lc=1469659111622
                                          ! inMem 2016-07-28 01:40:36.534 debug message owfs.0.* owfs.0.wires.Температура лестница/холл val=25, ack=true, ts=1469659236513, q=0, from=system.adapter.owfs.0, lc=1469659236513
                                          ! owfs-0 2016-07-28 01:40:36.524 debug Read /3A.483B1E000000/PIO.B:1
                                          ! owfs-0 2016-07-28 01:40:36.503 debug Read /28.FF1C154A0400/temperature:25
                                          ! inMem 2016-07-28 01:40:35.755 debug message owfs.0.* owfs.0.wires.Насос ТП val=false, ack=true, ts=1469659235735, q=0, from=system.adapter.owfs.0, lc=1469658440592
                                          ! owfs-0 2016-07-28 01:40:35.727 debug Read /3A.483B1E000000/PIO.A:0
                                          ! inMem 2016-07-28 01:40:35.627 debug message owfs.0.* owfs.0.wires.Температура на улице val=21.0625, ack=true, ts=1469659235609, q=0, from=system.adapter.owfs.0, lc=1469659197457
                                          ! owfs-0 2016-07-28 01:40:35.602 debug Read /28.FFE6574E0400/temperature:21.0625
                                          ! owfs-0 2016-07-28 01:40:34.998 debug Write /28.FF1C154A0400/temperature with "0"
                                          ! inMem 2016-07-28 01:40:34.979 debug message owfs.0.* owfs.0.wires.Температура_лестница_холл val=0, ack=false, ts=1469659234958, q=0, from=system.adapter.owfs.0, lc=1469659234958
                                          ! owfs-0 2016-07-28 01:40:34.782 info starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.owfs
                                          ! owfs-0 2016-07-28 01:40:34.679 debug statesDB connected
                                          ! owfs-0 2016-07-28 01:40:34.649 debug objectDB connected
                                          ! host-Server1 2016-07-28 01:40:33.450 info instance system.adapter.owfs.0 started with pid 4438
                                          ! host-Server1 2016-07-28 01:40:31.489 info instance system.adapter.owfs.0 terminated with code 0 (OK)
                                          ! owfs-0 2016-07-28 01:40:31.461 info terminating
                                          ! inMem 2016-07-28 01:40:31.205 debug message *.logging system.adapter.admin.0.logging val=false, ack=true, ts=1469659231162, q=0, from=system.adapter.admin.0, lc=1469659231162
                                          ! host-Server1 2016-07-28 01:40:30.927 info stopInstance system.adapter.owfs.0 killing pid 3291
                                          ! host-Server1 2016-07-28 01:40:30.926 info stopInstance system.adapter.owfs.0
                                          в объектах "0"(красным), в состояние непонятно что

                                          ! filename="screencapture-192-168-1-11-8081-1469660867297.png" index="2">~~ Что бы заработало readAddresses надо добавить
                                          Добавил, локально 127.0.0.1 датчик находит но с warn

                                          owfs-1	2016-07-28 09:24:08.941	warn	Cannot write value of /28.FFF67D3B0400/temperature: Error: -95
                                          owfs-1	2016-07-28 09:24:08.847	warn	Cannot write value of /28.FFF67D3B0400/fasttemp: Error: -95
                                          owfs-1	2016-07-28 09:24:07.576	info	starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.owfs
                                          host-Server1	2016-07-28 09:24:06.290	info	instance system.adapter.owfs.1 started with pid 6616
                                          host-Server1	2016-07-28 09:24:04.320	info	instance system.adapter.owfs.1 terminated with code 0 (OK)
                                          owfs-1	2016-07-28 09:24:04.298	info	terminating
                                          

                                          и почему два параметра? Для поиска лучше использовать temperature так как есть два вида датчиков DS18S20 там только temperature и DS18B20 там много всего

                                          ! 443_ds18s20.png

                                          ! 443_ds18b20.png

                                          ! 443_screencapture-192-168-1-11-8081-1469687004786.png

                                          На удаленном сервере 192.168.1.10 не находит 😞

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

                                            @Bluefox:

                                            @Alekseym6:

                                            обновился. опять ошибка owfs.0 2016-07-28 07:58:33.314 error Wrong type of owfs.0.wires.SensorTemp.common.def

                                            закоментировал некоторые строки, теперь работает. `
                                            Как выглядит owfs.0.wires.SensorTemp?

                                            iobroker o g owfs.0.wires.SensorTemp --pretty
                                            ```` `  
                                            

                                            в консоли :/opt/iobroker$ ./iobroker o g owfs.0.wires.SensorTemp –pretty

                                            Unknown command or empty: "g"

                                            настройки id 28.7F821C060000 property temperature10

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            679
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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