Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

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

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

            поправил. вернул все на место. теперь работает.

            но записывать не хочет 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]

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

              @Alekseym6:

              поправил. вернул все на место. теперь работает.

              но записывать не хочет 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

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

                @Haus:

                @Bluefox:

                @Haus:

                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 там много всего

                ! 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

                http://owfs.org/index.php?page=error-codes

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

                  @Haus:

                  @Alekseym6:

                  поправил. вернул все на место. теперь работает.

                  но записывать не хочет 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?

                  Запись при запуске уберу.

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

                    на этом сервере нет DS2413. хотел проверить корректность записи.

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

                      @Alekseym6:

                      @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 `

                      iobroker object get owfs.0.wires.SensorTemp --pretty
                      

                      Или просто в админке покажи owfs.0.wires.SensorTemp

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

                        @Bluefox:

                        @Haus:

                        @Alekseym6:

                        поправил. вернул все на место. теперь работает.

                        но записывать не хочет 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 переходы чтобы часто не опрашивать все датчики

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

                          Какие ещё могут полезные свойства?

                              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'
                              ];
                          
                          1 Reply Last reply Reply Quote 0
                          • H
                            Haus last edited by

                            @Bluefox:

                            Объясни, зачем тебе другие атрибуты? Что бы цикл чтения тормозить? `
                            Мне не надо это я для проверки. Для DS18B20 DS18S20 temperature и DS2413 PIO.A, PIO.B , вот DS2406 там ещё что то нужно но не использовал незнаю.

                            Главное посмотри почему с удалённого неработает

                            P.S Вот нашел DS2406 и DS2408 могут

                            "Вместо DS2405 был использован двухканальный компонент DS2406P, где один канал отвечал за включение-выключение процесса аэрации, а второй канал использовался как датчик сухого контакта и определял моменты включения насоса (эмулируя нажатие кнопки). Эта схема работала, но как обрабатывать срабатывание насоса программно? Оказывается, весьма несложно. Для этих целей лучше всего использовать свойство компонента set_alarm, установив его значение '230'. Такая установка означает, что в случае срабатывания датчика на канале B, сервер owfs сообщит об этом создав линк на файл устройства в каталоге alarm"

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

                              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"
                              }
                              
                              1 Reply Last reply Reply Quote 0
                              • A
                                Alekseym6 last edited by

                                @Bluefox:

                                Какие ещё могут полезные свойства?

                                    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

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

                                  @Alekseym6:

                                  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,

                                  и ошибка должна исчезнуть

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

                                    @Haus:

                                    Главное посмотри почему с удалённого неработает `
                                    Поменяй в файле /etc/owfs.conf

                                    # With this setup, any client (but owserver) uses owserver on the
                                    # local machine...
                                    !server: -s 4304
                                    
                                    

                                    и

                                    ####################### OWSERVER ########################
                                    
                                    server: -p 4304
                                    
                                    

                                    У тебя только локальный доступ настроен

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

                                      @Haus:

                                      @Bluefox:

                                      Объясни, зачем тебе другие атрибуты? Что бы цикл чтения тормозить? `
                                      Мне не надо это я для проверки. Для DS18B20 DS18S20 temperature и DS2413 PIO.A, PIO.B , вот DS2406 там ещё что то нужно но не использовал незнаю.

                                      Главное посмотри почему с удалённого неработает

                                      P.S Вот нашел DS2406 и DS2408 могут

                                      "Вместо DS2405 был использован двухканальный компонент DS2406P, где один канал отвечал за включение-выключение процесса аэрации, а второй канал использовался как датчик сухого контакта и определял моменты включения насоса (эмулируя нажатие кнопки). Эта схема работала, но как обрабатывать срабатывание насоса программно? Оказывается, весьма несложно. Для этих целей лучше всего использовать свойство компонента set_alarm, установив его значение '230'. Такая установка означает, что в случае срабатывания датчика на канале B, сервер owfs сообщит об этом создав линк на файл устройства в каталоге alarm" `
                                      set_alarm сложный объект:

                                      ├── set_alarm
                                      │   │   ├── dew_point_hi
                                      │   │   ├── dew_point_low
                                      │   │   ├── heat_index_hi
                                      │   │   ├── heat_index_low
                                      │   │   ├── humidex_hi
                                      │   │   ├── humidex_low
                                      │   │   ├── humidity_hi
                                      │   │   ├── humidity_low
                                      │   │   ├── temp_hi
                                      │   │   └── temp_low
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Bluefox
                                        Bluefox last edited by

                                        @Alekseym6:

                                        @Bluefox:

                                        Какие ещё могут полезные свойства? `

                                        sensed.BYTE

                                        PIO.BYTE

                                        получить или установить сразу 2 порта IO `
                                        я расширил:

                                        var possibleProperties = [
                                                'humidity',
                                                'pressure',
                                                'inHg',
                                                'vib_level',
                                                'vib_peak',
                                                'vib_min',
                                                'vib_max',
                                                'current.0',
                                                'current.1',
                                                'current.2',
                                                'current.ALL',
                                                'min_current.0',
                                                'min_current.1',
                                                'min_current.2',
                                                'min_current.ALL',
                                                'max_current.0',
                                                'max_current.1',
                                                'max_current.2',
                                                'max_current.ALL',
                                                'volts.0',
                                                'volts.1',
                                                'volts.2',
                                                'volts.ALL',
                                                'min_volts.0',
                                                'min_volts.1',
                                                'min_volts.2',
                                                'min_volts.ALL',
                                                'max_volts.0',
                                                'max_volts.1',
                                                'max_volts.2',
                                                'max_volts.ALL',
                                                'gain',
                                                'offset',
                                                'current',
                                                'illuminance',
                                                'relay/state',
                                                'relay/control',
                                                'LED/state',
                                                'LED/control',
                                                'resistance',
                                                'dew_point',
                                                'heat_index',
                                                'humidex',
                                                'light',
                                                'temperature',
                                                'fasttemp',
                                                'set_alarm',
                                                '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'
                                            ];
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          Haus last edited by

                                          @Bluefox:

                                          @Haus:

                                          Главное посмотри почему с удалённого неработает `
                                          Поменяй в файле /etc/owfs.conf

                                          # With this setup, any client (but owserver) uses owserver on the
                                          # local machine...
                                          !server: -s 4304
                                          
                                          

                                          и

                                          ####################### OWSERVER ########################
                                          
                                          server: -p 4304
                                          
                                          

                                          У тебя только локальный доступ настроен `

                                          Это я уже давно сделал, проблема в чём то другом. Когда я руками заполняю датчики всё работает, а Read addresses "Найдено 0 сенсор(a/ов)"

                                          ioBroker server 192.168.1.11

                                          owfs server 192.168.1.10 (где подключён адаптер) owfs.conf

                                          ! # Sample configuration file for the OWFS suite for Debian GNU/Linux.
                                          ! #
                                          ! #
                                          ! # This is the main OWFS configuration file. You should read the
                                          ! # owfs.conf(5) manual page in order to understand the options listed
                                          ! # here.
                                          ! ######################## SOURCES ########################
                                          ! #
                                          ! # With this setup, any client (but owserver) uses owserver on the
                                          ! # local machine…
                                          ! ! server: server = 4304
                                          ! #
                                          ! # ...and owserver uses the real hardware, by default fake devices
                                          ! # This part must be changed on real installation
                                          ! #server: FAKE = DS18S20,DS2405
                                          ! #
                                          ! # USB device: DS9490
                                          ! #server: usb = all
                                          ! #
                                          ! # Serial port: DS9097
                                          ! server: passive = /dev/ttyUSB0
                                          ! server: 8bit
                                          ! #server: passive = /dev/ttyUSB1
                                          ! #server: 8bit
                                          ! #
                                          ! # owserver tcp address
                                          ! #server: server = 192.168.10.1:3131
                                          ! #
                                          ! # random simulated device
                                          ! #server: FAKE = DS18S20,DS2405
                                          ! #
                                          ! ######################### OWFS ##########################
                                          ! #
                                          ! mountpoint = /mnt/1wire
                                          ! allow_other
                                          ! #
                                          ! ####################### OWHTTPD #########################
                                          ! http: port = 2121
                                          ! ####################### OWFTPD ##########################
                                          ! ftp: port = 2120
                                          ! ####################### OWSERVER ########################
                                          ! server: port = 4304

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

                                            @Bluefox:

                                            @Haus:
                                            owfs 0.2.1

                                            Зачем при read датчик выдаёт fasttemp?

                                            Я уже выкладывал log Response for write /Sensor2_temperature/temperature: true ????

                                            ! inMem 2016-07-29 13:33:19.406 debug message owfs.1.* owfs.1.wires.Sensor2_temperature val=24.5, ack=true, ts=1469788399389, q=0, from=system.adapter.owfs.1, lc=1469788399389
                                            ! owfs-1 2016-07-29 13:33:19.383 debug Read /28.FFF67D3B0400/temperature:24.5
                                            ! inMem 2016-07-29 13:33:18.575 debug message owfs.1.* owfs.1.wires.Sensor1_fasttemp val=24.5, ack=true, ts=1469788398559, q=0, from=system.adapter.owfs.1, lc=1469788398559
                                            ! owfs-1 2016-07-29 13:33:18.551 debug Read /28.FFF67D3B0400/fasttemp:24.5
                                            ! inMem 2016-07-29 13:32:49.589 debug message owfs.1.* owfs.1.wires.Sensor2_temperature val=0, ack=true, ts=1469788369575, q=0, from=system.adapter.owfs.1, lc=1469788369575
                                            ! owfs-1 2016-07-29 13:32:49.566 debug Response for write /Sensor2_temperature/temperature: true
                                            ! inMem 2016-07-29 13:32:49.507 debug message owfs.1.* owfs.1.wires.Sensor1_fasttemp val=0, ack=true, ts=1469788369492, q=0, from=system.adapter.owfs.1, lc=1469788369492
                                            ! owfs-1 2016-07-29 13:32:49.487 debug Response for write /Sensor1_fasttemp/fasttemp: true
                                            ! inMem 2016-07-29 13:32:49.479 debug message owfs.1.* owfs.1.wires.Sensor2_temperature val=24.5, ack=true, ts=1469788369458, q=0, from=system.adapter.owfs.1, lc=1469788369458
                                            ! owfs-1 2016-07-29 13:32:49.387 debug Read /28.FFF67D3B0400/temperature:24.5
                                            ! inMem 2016-07-29 13:32:48.612 debug message owfs.1.* owfs.1.wires.Sensor1_fasttemp val=24.5, ack=true, ts=1469788368599, q=0, from=system.adapter.owfs.1, lc=1469788368599
                                            ! owfs-1 2016-07-29 13:32:48.589 debug Read /28.FFF67D3B0400/fasttemp:24.5
                                            ! owfs-1 2016-07-29 13:32:48.509 debug Write /28.FFF67D3B0400/temperature with "0"
                                            ! owfs-1 2016-07-29 13:32:48.466 debug Write /28.FFF67D3B0400/fasttemp with "0"
                                            ! inMem 2016-07-29 13:32:48.450 debug message owfs.1.* owfs.1.wires.Sensor2_temperature val=0, ack=null, ts=1469788368431, q=0, from=system.adapter.owfs.1, lc=1469788368431
                                            ! inMem 2016-07-29 13:32:48.407 debug message owfs.1.* owfs.1.wires.Sensor1_fasttemp val=0, ack=null, ts=1469788368378, q=0, from=system.adapter.owfs.1, lc=1469788368378
                                            ! owfs-1 2016-07-29 13:32:48.231 info starting. Version 0.2.1 in /opt/iobroker/node_modules/iobroker.owfs
                                            ! owfs-1 2016-07-29 13:32:48.139 debug statesDB connected
                                            ! owfs-1 2016-07-29 13:32:48.120 debug objectDB connected
                                            ! host-Server1 2016-07-29 13:32:46.864 info instance system.adapter.owfs.1 started with pid 3576
                                            ! host-Server1 2016-07-29 13:32:44.896 info instance system.adapter.owfs.1 terminated with code 0 (OK)
                                            ! owfs-1 2016-07-29 13:32:44.873 info terminating

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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