NEWS
Ошибка создания объекта в OWFS
-
Мне бы ссылку на что надо купить, что бы подключить 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
-
Идея с виртуальным датчиком была гениальной.
Я обновил драйвер и сделал поиск сенсоров. И запись работает.
Всё ещё на гите.
-
Идея с виртуальным датчиком была гениальной.
Я обновил драйвер и сделал поиск сенсоров. И запись работает.
Всё ещё на гите. `
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?Запись при запуске уберу.
-
на этом сервере нет DS2413. хотел проверить корректность записи.
-
обновился. опять ошибка 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,
и ошибка должна исчезнуть