NEWS
Ошибка создания объекта в OWFS
-
Идея с виртуальным датчиком была гениальной.
Я обновил драйвер и сделал поиск сенсоров. И запись работает.
Всё ещё на гите. `
owfs 0.2.0Read 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"(красным), в состояние непонятно что!

-
обновился. опять ошибка 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 -
Идея с виртуальным датчиком была гениальной.
Я обновил драйвер и сделал поиск сенсоров. И запись работает.
Всё ещё на гите. `
owfs 0.2.0Read 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 надо добавить -
обновился. опять ошибка 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 -
Идея с виртуальным датчиком была гениальной.
Я обновил драйвер и сделал поиск сенсоров. И запись работает.
Всё ещё на гите. `
owfs 0.2.0Read 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 датчик находит но с warnowfs-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 там много всего
!

!

!

На удаленном сервере 192.168.1.10 не находит :(
-
обновился. опять ошибка 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
-
поправил. вернул все на место. теперь работает.
но записывать не хочет owfs-0 2016-07-28 12:12:30.116 warn Cannot write value of /28.7F821C060000/temperature10: [object Object]
если свойство поставить temphigh то опять
Wrong 2016-07-28 12:16:54.398 error type of owfs.0.wires.SensorTempHigh.common.def
попытка записи owfs-0 2016-07-28 12:18:48.948 warn Cannot write value of /28.7F821C060000/temphigh: [object Object]
-
поправил. вернул все на место. теперь работает.
но записывать не хочет owfs-0 2016-07-28 12:12:30.116 warn Cannot write value of /28.7F821C060000/temperature10: [object Object] `
А что вы туда вписать хотите?, temperatur.. только читать по мне нужно` > если свойство поставить temphigh то опять
Wrong 2016-07-28 12:16:54.398 error type of owfs.0.wires.SensorTempHigh.common.def
попытка записи owfs-0 2016-07-28 12:18:48.948 warn Cannot write value of /28.7F821C060000/temphigh: [object Object] `
У меня читает и пишет, только при первом запуске вписывает "0" . Я думаю что нужно сначала чтобы драйвер считал temphigh, templow -
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 датчик находит но с warnowfs-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 там много всего
! filename="DS18S20.png" index="1">~~
! filename="DS18B20.png" index="0">~~
! filename="screencapture-192-168-1-11-8081-1469687004786.png" index="2">~~
На удаленном сервере 192.168.1.10 не находит :( `
Объясни, зачем тебе другие атрибуты? Что бы цикл чтения тормозить?А "-95" это ответ от owserver. ENOTSUP =95
-
поправил. вернул все на место. теперь работает.
но записывать не хочет owfs-0 2016-07-28 12:12:30.116 warn Cannot write value of /28.7F821C060000/temperature10: [object Object] `
А что вы туда вписать хотите?, temperatur.. только читать по мне нужно` > если свойство поставить temphigh то опять
Wrong 2016-07-28 12:16:54.398 error type of owfs.0.wires.SensorTempHigh.common.def
попытка записи owfs-0 2016-07-28 12:18:48.948 warn Cannot write value of /28.7F821C060000/temphigh: [object Object]
У меня читает и пишет, только при первом запуске вписывает "0" . Я думаю что нужно сначала чтобы драйвер считал temphigh, templow
Для чего нужны temphigh, templow?Запись при запуске уберу.
-
обновился. опять ошибка 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 `
iobroker object get owfs.0.wires.SensorTemp --prettyИли просто в админке покажи owfs.0.wires.SensorTemp
-
поправил. вернул все на место. теперь работает.
но записывать не хочет owfs-0 2016-07-28 12:12:30.116 warn Cannot write value of /28.7F821C060000/temperature10: [object Object] `
А что вы туда вписать хотите?, temperatur.. только читать по мне нужно` > если свойство поставить temphigh то опять
Wrong 2016-07-28 12:16:54.398 error type of owfs.0.wires.SensorTempHigh.common.def
попытка записи owfs-0 2016-07-28 12:18:48.948 warn Cannot write value of /28.7F821C060000/temphigh: [object Object]
У меня читает и пишет, только при первом запуске вписывает "0" . Я думаю что нужно сначала чтобы драйвер считал temphigh, templow
Для чего нужны temphigh, templow?Запись при запуске уберу. `
Для нас я думаю ненужно, по ним можно ловить в папке alarm переходы чтобы часто не опрашивать все датчики -
Какие ещё могут полезные свойства?
var possibleProperties = [ 'humidity', 'temperature', 'fasttemp', 'date', 'PIO', 'PIO.A', 'PIO.B', 'PIO.0', 'PIO.1', 'PIO.2', 'PIO.3', 'PIO.4', 'PIO.5', 'PIO.6', 'PIO.7', 'PIO.ALL', 'PIO.BYTE', 'latch.0', 'latch.1', 'latch.2', 'latch.3', 'latch.4', 'latch.5', 'latch.6', 'latch.7', 'latch.ALL', 'latch.BYTE' ]; -
Объясни, зачем тебе другие атрибуты? Что бы цикл чтения тормозить? `
Мне не надо это я для проверки. Для DS18B20 DS18S20 temperature и DS2413 PIO.A, PIO.B , вот DS2406 там ещё что то нужно но не использовал незнаю.Главное посмотри почему с удалённого неработает
P.S Вот нашел DS2406 и DS2408 могут
"Вместо DS2405 был использован двухканальный компонент DS2406P, где один канал отвечал за включение-выключение процесса аэрации, а второй канал использовался как датчик сухого контакта и определял моменты включения насоса (эмулируя нажатие кнопки). Эта схема работала, но как обрабатывать срабатывание насоса программно? Оказывается, весьма несложно. Для этих целей лучше всего использовать свойство компонента set_alarm, установив его значение '230'. Такая установка означает, что в случае срабатывания датчика на канале B, сервер owfs сообщит об этом создав линк на файл устройства в каталоге alarm"
-
iobroker object get owfs.0.wires.SensorTemp --pretty { "type": "state", "common": { "name": "SensorTemp", "def": false, "type": "number", "read": "true", "write": "true", "role": "value.temperature10", "desc": "1wire sensor", "history": { "sql.0": { "enabled": true, "changesOnly": true, "debounce": 1000, "retention": 0 }, "sql.1": { "enabled": true, "changesOnly": true, "debounce": 1000, "retention": 0 }, "history.0": { "enabled": true, "changesOnly": true, "debounce": 1000, "maxLength": 500, "retention": 0 } } }, "native": { "id": "28.7F821C060000", "property": "temperature10" }, "_id": "owfs.0.wires.SensorTemp" } -
Какие ещё могут полезные свойства?
var possibleProperties = [ 'humidity', 'temperature', 'fasttemp', 'date', 'PIO', 'PIO.A', 'PIO.B', 'PIO.0', 'PIO.1', 'PIO.2', 'PIO.3', 'PIO.4', 'PIO.5', 'PIO.6', 'PIO.7', 'PIO.ALL', 'PIO.BYTE', 'latch.0', 'latch.1', 'latch.2', 'latch.3', 'latch.4', 'latch.5', 'latch.6', 'latch.7', 'latch.ALL', 'latch.BYTE' ]; ```` `sensed.BYTE
PIO.BYTE
получить или установить сразу 2 порта IO
-
iobroker object get owfs.0.wires.SensorTemp --pretty { "type": "state", "common": { "name": "SensorTemp", "def": false, "type": "number", "read": "true", "write": "true", "role": "value.temperature10", "desc": "1wire sensor", "history": { "sql.0": { "enabled": true, "changesOnly": true, "debounce": 1000, "retention": 0 }, "sql.1": { "enabled": true, "changesOnly": true, "debounce": 1000, "retention": 0 }, "history.0": { "enabled": true, "changesOnly": true, "debounce": 1000, "maxLength": 500, "retention": 0 } } }, "native": { "id": "28.7F821C060000", "property": "temperature10" }, "_id": "owfs.0.wires.SensorTemp" } ```` `Поменяй
"def": false,
на
"def": 0,
и ошибка должна исчезнуть
-
Главное посмотри почему с удалённого неработает `
Поменяй в файле /etc/owfs.conf# With this setup, any client (but owserver) uses owserver on the # local machine... !server: -s 4304и
####################### OWSERVER ######################## server: -p 4304У тебя только локальный доступ настроен
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login