[gelöst] RPI_1wire und DS2408

Begonnen von dan1180, 19 November 2023, 11:06:05

Vorheriges Thema - Nächstes Thema

Adimarantis

Da war doch was  :)
Beim Programmieren dacht ich mir noch - auf den Fall musst du aufpassen, weil das Device die Parameter mit "," trennt. Und dann doch vergessen.

Ich hoffe das ist jetzt kein Schnellschuss, aber ich habs zumindest grob probiert. Sollte eigentlich jetzt gehen.
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

dan1180

Sieht gut aus!

on/off/on-for-timer/off-for-timer hat funktioniert:
  • Direkt im Device
  • Über die Befehlszeile
  • Aus einem DOIF heraus

Ich werde jetzt meine DOIFs umschreiben und mal alles laufen lassen. Kann übers Wochenende regelmäßig schauen, ob meine Heizung, und vor allem der Mischer für die Fußbodenheizung, läuft. Ich werde berichten...

Vielen lieben Dank soweit.
Gruß,
Dan
FHEM 6.2 auf RPi4B
Raspberrymatic 3.X auf RPI3B

1xDS2408 und 6xDS18B20 an GPIO über Modul RPI_1Wire
>50 Homematic-Geräte

Adimarantis

Alles klar. Hab die inline Doku noch bisschen poliert und die Version eingecheckt.
Danke fürs Testen.
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

dan1180

Super. Ich habe dir zu danken. Das Testen war wohl der geringere Aufwand.

Vielleicht noch ein Hinweis zu den Schreibrechten auf "output". Ich hatte damit weiter manchmal Probleme und setze nun einfach über cron einen Befehl ab, der die Rechte der Datei bei jedem Neustart setzt.

Nochmal vielen Dank!
FHEM 6.2 auf RPi4B
Raspberrymatic 3.X auf RPI3B

1xDS2408 und 6xDS18B20 an GPIO über Modul RPI_1Wire
>50 Homematic-Geräte

Adimarantis

Für die Rechte ist eigentlich udev als standard Linux Weg gedacht.
Kannst du dazu nochmal die angehängte Version probieren?

Version einspielen, dann mal testweise die Schreibrechte von "output" wieder wegnehmen und diesmal auch ein "shutdown restart" weil der Test nur im "init" des Device durchgeführt wird.

Er sollte dann ein Hinweis zu den Rechten im Device erfolgen und ein "get udev" Befehl freigeschaltet werden.
Dieser erklärt genau was zu tun ist.
Wenn das so eingerichtet ist, sollte er bei einem Reboot die Rechte automatisch korrigieren.

In der vorherigen Version hat der Test noch nicht für alle switch Typen gegriffen.
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

dan1180

Sieht erst mal gut aus!

Als ich die Schreibrechte runter genommen habe kam der udev-Kommentar. Nach dem Einrichten und einem Reboot hat es dann auf Anhieb wieder funktioniert (Schreibrechte waren da).

Ich hatte das schon bei den Temperatursensoren eingerichtet aber als es dann nicht getan hat, habe ich die cron-Variante gewählt. Nun habe ich gesehen, dass da noch keine Zeile für "output" mit drin war.

Jetzt lass ich das jetzt mal so laufen: Zeile in cron deaktiviert (#), udev eingerichtet.

Nochmal vielen Dank!
FHEM 6.2 auf RPi4B
Raspberrymatic 3.X auf RPI3B

1xDS2408 und 6xDS18B20 an GPIO über Modul RPI_1Wire
>50 Homematic-Geräte

dan1180

#21
Hallo Adimarantis,

leider habe ich aktuell massiv Probleme mit dem Modul. Die Kanäle lassen sich nicht zuverlässig schalten und gehen immer wieder ohne erkennbaren Grund aus.

Ich habe bereits Folgendes versucht:
  • DS2408 ausgetauscht
  • GPIO gewechselt
  • FHEM auf Stand vom 28.11. zurückgesetzt
  • Alle DOIFs deaktiviert

Beim "Spielen" mit den Schaltern habe ich folgende Aufzeichnung aus dem LOG bekommen nachdem ich:
  • pio4 eingeschaltet
  • pio4 ausgeschaltet
  • pio5 eingeschaltet
  • pio2 eingeschaltet
  • pio2 ausgeschaltet
habe. pio4 und pio5 sind dann mit ausgegangen.

2023-12-03_20:56:23 Logfile clear
2023.12.03 20:56:27 2: tmpfrl: No data found in /sys/bus/w1/devices/28-00000b1b3da9/w1_slave
2023.12.03 20:56:27 2: tmpfvl: No data found in /sys/bus/w1/devices/28-0000055f5782/w1_slave
2023.12.03 20:56:53 3: relais set pio 4 on -

2023.12.03 20:56:53 3: relais: Switching 29-0000001acee4 to 239 (pio4 on) for (-)
2023.12.03 20:56:53 4: relais: Poll for 8p-switch took 0.018966 s
2023.12.03 20:56:58 3: relais set pio 4 off -

2023.12.03 20:56:58 3: relais: Switching 29-0000001acee4 to 255 (pio4 off) for (-)
2023.12.03 20:56:58 4: relais: Poll for 8p-switch took 0.017029 s
2023.12.03 20:56:59 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.03 20:56:59 4: relais: Poll for 8p-switch took 0.021933 s
2023.12.03 20:57:02 3: relais set pio 4 on -

2023.12.03 20:57:02 3: relais: Switching 29-0000001acee4 to 239 (pio4 on) for (-)
2023.12.03 20:57:02 4: relais: Poll for 8p-switch took 0.042973 s
2023.12.03 20:57:10 3: relais set pio 4 on -

2023.12.03 20:57:10 3: relais: Switching 29-0000001acee4 to 239 (pio4 on) for (-)
2023.12.03 20:57:10 4: relais: Poll for 8p-switch took 0.017042 s
2023.12.03 20:57:22 3: relais set pio 5 on -

2023.12.03 20:57:22 3: relais: Switching 29-0000001acee4 to 207 (pio5 on) for (-)
2023.12.03 20:57:22 4: relais: Poll for 8p-switch took 0.017072 s
2023.12.03 20:57:35 3: relais set pio 2 on -

2023.12.03 20:57:35 3: relais: Switching 29-0000001acee4 to 203 (pio2 on) for (-)
2023.12.03 20:57:35 4: relais: Poll for 8p-switch took 0.01702 s
2023.12.03 20:57:39 3: relais set pio 2 off -

2023.12.03 20:57:39 3: relais: Switching 29-0000001acee4 to 207 (pio2 off) for (-)
2023.12.03 20:57:39 4: relais: Poll for 8p-switch took 0.018958 s

Ich habe absolut keine Ahnung warum das jetzt passiert. Bisher lief das Modul...

Kurze Ergänzung nach einer Nachtschicht mit FHEM ;-)
Ich habe die Vermutung, dass die Rechte für "output" nicht ausreichen. Wenn ich diese mittels "chmod 777" änder, scheint alles wieder zu funktionieren. Allerdings haben sich diese Rechte bis heute Morgen wieder geändert. Ist das aus dem udev eine regelmäßige Routine, die die Rechte regelmäßig wieder überschreibt?
FHEM 6.2 auf RPi4B
Raspberrymatic 3.X auf RPI3B

1xDS2408 und 6xDS18B20 an GPIO über Modul RPI_1Wire
>50 Homematic-Geräte

Adimarantis

Hi Dan,

Das udev Script ergänzt nur die Schreibrechte - da ich davon ausgehe (was beim Temperatursensor auch zu stimmen scheint) dass Leserechte schon bestehen.
Der Effekt den zu beschreibst könnte schon mit den Rechten zusammenhängen. Er muss ja immer alle 8 Schalter lesen und dann den verändern den er schalten will und alle 8 wieder setzen. Wenn er falsch liest, dann setzt er auch falsch.
Ändere mal das udev Script so, dass es chmod g+rw macht.
Dein fhem user muss ausserdem in der gpio Gruppe sein.

Jörg
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

dan1180

#23
Es scheint jetzt tatsächlich besser zu sein. Leider noch nicht wieder gut  :'(

Das Relais schält, für mich nicht nachvollziehbar, immer wieder aus und ein. Davon ist im LOG nichts zu sehen (trotz Verbose 4) aber ich sehen das in meinem SVG. Woran könnte das liegen?

Hier mein LOG:
2023.12.04 14:26:11 3: relais set pio 4 on -

2023.12.04 14:26:11 3: relais: Switching 29-0000001acee4 to 207 (pio4 on) for (-)
2023.12.04 14:26:11 4: relais: Poll for 8p-switch took 0.017054 s
2023.12.04 14:26:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:26:53 4: relais: Poll for 8p-switch took 0.023062 s
2023.12.04 14:27:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:27:53 4: relais: Poll for 8p-switch took 0.023845 s
2023.12.04 14:28:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:28:53 4: relais: Poll for 8p-switch took 0.022107 s
2023.12.04 14:29:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:29:53 4: relais: Poll for 8p-switch took 0.023172 s
2023.12.04 14:30:03 2: tmpfrl: No data found in /sys/bus/w1/devices/28-00000b1b3da9/w1_slave
2023.12.04 14:30:04 2: tmpfvl: No data found in /sys/bus/w1/devices/28-0000055f5782/w1_slave
2023.12.04 14:30:05 2: tmphzg: No data found in /sys/bus/w1/devices/28-0000055ed911/w1_slave
2023.12.04 14:30:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:30:53 4: relais: Poll for 8p-switch took 0.020122 s
2023.12.04 14:31:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:31:53 4: relais: Poll for 8p-switch took 0.021577 s
2023.12.04 14:32:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:32:53 4: relais: Poll for 8p-switch took 0.022119 s
2023.12.04 14:33:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:33:53 4: relais: Poll for 8p-switch took 0.022903 s
2023.12.04 14:34:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:34:53 4: relais: Poll for 8p-switch took 0.020183 s
2023.12.04 14:35:03 2: tmpfrl: No data found in /sys/bus/w1/devices/28-00000b1b3da9/w1_slave
2023.12.04 14:35:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:35:53 4: relais: Poll for 8p-switch took 0.022279 s
2023.12.04 14:36:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:36:53 4: relais: Poll for 8p-switch took 0.0238 s
2023.12.04 14:37:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:37:53 4: relais: Poll for 8p-switch took 0.039727 s
2023.12.04 14:38:01 2: tmpbrw: No data found in /sys/bus/w1/devices/28-0000055ee86d/w1_slave
2023.12.04 14:38:03 2: tmpfvl: No data found in /sys/bus/w1/devices/28-0000055f5782/w1_slave
2023.12.04 14:38:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:38:53 4: relais: Poll for 8p-switch took 0.022725 s
2023.12.04 14:39:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:39:53 4: relais: Poll for 8p-switch took 0.020308 s
2023.12.04 14:40:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:40:53 4: relais: Poll for 8p-switch took 0.023432 s
2023.12.04 14:41:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:41:53 4: relais: Poll for 8p-switch took 0.023124 s
2023.12.04 14:42:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:42:53 4: relais: Poll for 8p-switch took 0.019284 s
2023.12.04 14:43:00 2: tmpfrl: No data found in /sys/bus/w1/devices/28-00000b1b3da9/w1_slave
2023.12.04 14:43:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:43:53 4: relais: Poll for 8p-switch took 0.022212 s
2023.12.04 14:44:03 2: tmpfrl: No data found in /sys/bus/w1/devices/28-00000b1b3da9/w1_slave
2023.12.04 14:44:04 2: tmpfvl: No data found in /sys/bus/w1/devices/28-0000055f5782/w1_slave
2023.12.04 14:44:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:44:53 4: relais: Poll for 8p-switch took 0.022977 s
2023.12.04 14:45:04 2: tmpfrl: No data found in /sys/bus/w1/devices/28-00000b1b3da9/w1_slave
2023.12.04 14:45:05 2: tmpbrw: No data found in /sys/bus/w1/devices/28-0000055ee86d/w1_slave
2023.12.04 14:45:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:45:53 4: relais: Poll for 8p-switch took 0.025196 s
2023.12.04 14:46:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:46:53 4: relais: Poll for 8p-switch took 0.023136 s
2023.12.04 14:47:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:47:53 4: relais: Poll for 8p-switch took 0.02256 s
2023.12.04 14:48:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:48:53 4: relais: Poll for 8p-switch took 0.020651 s
2023.12.04 14:49:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:49:53 4: relais: Poll for 8p-switch took 0.023826 s
2023.12.04 14:50:04 2: tmpfvl: No data found in /sys/bus/w1/devices/28-0000055f5782/w1_slave
2023.12.04 14:50:05 2: tmphzg: No data found in /sys/bus/w1/devices/28-0000055ed911/w1_slave
2023.12.04 14:50:53 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:50:54 4: relais: Poll for 8p-switch took 0.0230399999999999 s
2023.12.04 14:51:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:51:54 4: relais: Poll for 8p-switch took 0.021327 s
2023.12.04 14:52:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:52:54 4: relais: Poll for 8p-switch took 0.022323 s
2023.12.04 14:53:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:53:54 4: relais: Poll for 8p-switch took 0.023458 s
2023.12.04 14:54:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:54:54 4: relais: Poll for 8p-switch took 0.019667 s
2023.12.04 14:55:01 2: tmpfrl: No data found in /sys/bus/w1/devices/28-00000b1b3da9/w1_slave
2023.12.04 14:55:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:55:54 4: relais: Poll for 8p-switch took 0.020644 s
2023.12.04 14:56:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:56:54 4: relais: Poll for 8p-switch took 0.024131 s
2023.12.04 14:57:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:57:54 4: relais: Poll for 8p-switch took 0.033462 s
2023.12.04 14:58:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:58:54 4: relais: Poll for 8p-switch took 0.022701 s
2023.12.04 14:59:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 14:59:54 4: relais: Poll for 8p-switch took 0.019898 s
2023.12.04 15:00:02 2: tmpauh: No data found in /sys/bus/w1/devices/28-0000055ecfd0/w1_slave
2023.12.04 15:00:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 15:00:54 4: relais: Poll for 8p-switch took 0.023211 s
2023.12.04 15:01:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 15:01:54 4: relais: Poll for 8p-switch took 0.01985 s
2023.12.04 15:02:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 15:02:54 4: relais: Poll for 8p-switch took 0.022634 s
2023.12.04 15:03:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 15:03:54 4: relais: Poll for 8p-switch took 0.020392 s
2023.12.04 15:04:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 15:04:54 4: relais: Poll for 8p-switch took 0.023593 s
2023.12.04 15:05:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 15:05:54 4: relais: Poll for 8p-switch took 0.018838 s
2023.12.04 15:06:54 4: relais: DeviceUpdate(relais), pollingInterval:60
2023.12.04 15:06:54 4: relais: Poll for 8p-switch took 0.022319 s
2023.12.04 15:07:01 2: tmpkof: No data found in /sys/bus/w1/devices/28-0114328c83a7/w1_slave

pio4 wird zu keiner Zeit aus- oder wieder eingeschaltet.

Mein SVG zeigt aber diverse Unterbrechungen, die ich auch im Status des Device (pio4 steht auf 0) zu sehen sind. Hier das zugehörige LOG:

2023-12-04_14:24:59 tmpbrw temperature: 71.062
2023-12-04_14:25:53 relais pio4: 0
2023-12-04_14:25:53 relais pio5: 1
2023-12-04_14:25:59 tmpbrw temperature: 71.062
2023-12-04_14:26:00 tmpfvl temperature: 31.250
2023-12-04_14:26:01 tmphzg temperature: 57.437
2023-12-04_14:26:11 relais pio4: 1
2023-12-04_14:26:11 relais pio5: 1
2023-12-04_14:26:53 relais pio4: 1
2023-12-04_14:26:53 relais pio5: 1
2023-12-04_14:27:00 tmpbrw temperature: 71.062
2023-12-04_14:27:01 tmpfvl temperature: 48.000
2023-12-04_14:27:02 tmphzg temperature: 57.437
2023-12-04_14:27:53 relais pio4: 1
2023-12-04_14:27:53 relais pio5: 1
2023-12-04_14:27:59 tmpbrw temperature: 71.062
2023-12-04_14:28:00 tmpfvl temperature: 48.312
2023-12-04_14:28:01 tmphzg temperature: 57.437
2023-12-04_14:28:53 relais pio4: 1
2023-12-04_14:28:53 relais pio5: 1
2023-12-04_14:29:00 tmpbrw temperature: 71.000
2023-12-04_14:29:01 tmpfvl temperature: 44.500
2023-12-04_14:29:02 tmphzg temperature: 57.437
2023-12-04_14:29:53 relais pio4: 1
2023-12-04_14:29:53 relais pio5: 1
2023-12-04_14:30:00 tmpbrw temperature: 71.000
2023-12-04_14:30:53 relais pio4: 1
2023-12-04_14:30:53 relais pio5: 1
2023-12-04_14:30:59 tmpbrw temperature: 71.000
2023-12-04_14:31:00 tmpfvl temperature: 44.500
2023-12-04_14:31:01 tmphzg temperature: 57.437
2023-12-04_14:31:53 relais pio4: 1
2023-12-04_14:31:53 relais pio5: 1
2023-12-04_14:31:59 tmpbrw temperature: 71.000
2023-12-04_14:32:00 tmpfvl temperature: 45.000
2023-12-04_14:32:01 tmphzg temperature: 57.437
2023-12-04_14:32:53 relais pio4: 1
2023-12-04_14:32:53 relais pio5: 1
2023-12-04_14:33:00 tmpbrw temperature: 71.000
2023-12-04_14:33:01 tmpfvl temperature: 41.937
2023-12-04_14:33:02 tmphzg temperature: 57.375
2023-12-04_14:33:53 relais pio4: 1
2023-12-04_14:33:53 relais pio5: 1
2023-12-04_14:34:01 tmpfvl temperature: 39.875
2023-12-04_14:34:02 tmphzg temperature: 57.375
2023-12-04_14:34:02 tmpbrw temperature: 71.000
2023-12-04_14:34:53 relais pio4: 1
2023-12-04_14:34:53 relais pio5: 1
2023-12-04_14:35:00 tmpbrw temperature: 71.000
2023-12-04_14:35:01 tmpfvl temperature: 39.750
2023-12-04_14:35:02 tmphzg temperature: 57.375
2023-12-04_14:35:53 relais pio4: 1
2023-12-04_14:35:53 relais pio5: 1
2023-12-04_14:35:59 tmpbrw temperature: 71.000
2023-12-04_14:36:01 tmphzg temperature: 57.375
2023-12-04_14:36:01 tmpfvl temperature: 40.000
2023-12-04_14:36:53 relais pio4: 1
2023-12-04_14:36:53 relais pio5: 1
2023-12-04_14:37:00 tmpbrw temperature: 71.000
2023-12-04_14:37:02 tmpfvl temperature: 40.437
2023-12-04_14:37:02 tmphzg temperature: 57.375
2023-12-04_14:37:53 relais pio4: 0
2023-12-04_14:37:53 relais pio5: 0
2023-12-04_14:37:58 tmphzg temperature: 57.375
2023-12-04_14:38:53 relais pio4: 0
2023-12-04_14:38:53 relais pio5: 0
2023-12-04_14:38:55 tmpbrw temperature: 71.000
2023-12-04_14:38:56 tmpfvl temperature: 40.937
2023-12-04_14:38:57 tmphzg temperature: 57.312
2023-12-04_14:39:53 relais pio4: 0
2023-12-04_14:39:53 relais pio5: 0
2023-12-04_14:39:57 tmphzg temperature: 57.312
2023-12-04_14:39:58 tmpbrw temperature: 71.000
2023-12-04_14:40:00 tmpfvl temperature: 40.937
2023-12-04_14:40:53 relais pio4: 1
2023-12-04_14:40:53 relais pio5: 1
2023-12-04_14:40:59 tmpbrw temperature: 71.000
2023-12-04_14:41:01 tmpfvl temperature: 40.937
2023-12-04_14:41:02 tmphzg temperature: 57.187
2023-12-04_14:41:53 relais pio4: 0
2023-12-04_14:41:53 relais pio5: 0
2023-12-04_14:41:55 tmpbrw temperature: 70.937
2023-12-04_14:41:56 tmpfvl temperature: 42.062
2023-12-04_14:41:58 tmphzg temperature: 57.062
2023-12-04_14:42:53 relais pio4: 0
2023-12-04_14:42:53 relais pio5: 0
2023-12-04_14:42:57 tmpfvl temperature: 42.062
2023-12-04_14:42:57 tmphzg temperature: 56.812
2023-12-04_14:42:58 tmpbrw temperature: 70.937
2023-12-04_14:43:53 relais pio4: 1
2023-12-04_14:43:53 relais pio5: 1
2023-12-04_14:43:59 tmpbrw temperature: 70.937
2023-12-04_14:44:05 tmphzg temperature: 56.812
2023-12-04_14:44:53 relais pio4: 1
2023-12-04_14:44:53 relais pio5: 1
2023-12-04_14:45:00 tmpfvl temperature: 42.062
2023-12-04_14:45:01 tmphzg temperature: 56.125
2023-12-04_14:45:53 relais pio4: 1
2023-12-04_14:45:53 relais pio5: 1
2023-12-04_14:45:59 tmpbrw temperature: 70.937
2023-12-04_14:46:01 tmpfvl temperature: 45.437
2023-12-04_14:46:02 tmphzg temperature: 55.750
2023-12-04_14:46:53 relais pio4: 1
2023-12-04_14:46:53 relais pio5: 1
2023-12-04_14:46:59 tmpbrw temperature: 70.937
2023-12-04_14:47:01 tmpfvl temperature: 46.750
2023-12-04_14:47:02 tmphzg temperature: 55.375
2023-12-04_14:47:53 relais pio4: 1
2023-12-04_14:47:53 relais pio5: 1
2023-12-04_14:47:59 tmpbrw temperature: 70.937
2023-12-04_14:48:01 tmpfvl temperature: 44.312
2023-12-04_14:48:02 tmphzg temperature: 55.375
2023-12-04_14:48:53 relais pio4: 1
2023-12-04_14:48:53 relais pio5: 1
2023-12-04_14:49:00 tmpbrw temperature: 70.937
2023-12-04_14:49:01 tmpfvl temperature: 44.312
2023-12-04_14:49:02 tmphzg temperature: 54.625
2023-12-04_14:49:54 relais pio4: 1
2023-12-04_14:49:54 relais pio5: 1
2023-12-04_14:50:00 tmpbrw temperature: 70.937
2023-12-04_14:50:54 relais pio4: 1
2023-12-04_14:50:54 relais pio5: 1
2023-12-04_14:51:00 tmpbrw temperature: 70.937
2023-12-04_14:51:02 tmpfvl temperature: 42.687
2023-12-04_14:51:03 tmphzg temperature: 53.937
2023-12-04_14:51:54 relais pio4: 1
2023-12-04_14:51:54 relais pio5: 1
2023-12-04_14:52:00 tmpbrw temperature: 70.875
2023-12-04_14:52:02 tmpfvl temperature: 42.687
2023-12-04_14:52:03 tmphzg temperature: 53.625
2023-12-04_14:52:54 relais pio4: 1
2023-12-04_14:52:54 relais pio5: 1
2023-12-04_14:53:01 tmpbrw temperature: 70.937
2023-12-04_14:53:02 tmpfvl temperature: 42.687
2023-12-04_14:53:03 tmphzg temperature: 53.375
2023-12-04_14:53:54 relais pio4: 1
2023-12-04_14:53:54 relais pio5: 1
2023-12-04_14:53:55 tmpbrw temperature: 70.875
2023-12-04_14:53:57 tmpfvl temperature: 42.750
2023-12-04_14:53:58 tmphzg temperature: 53.250
2023-12-04_14:54:54 relais pio4: 0
2023-12-04_14:54:54 relais pio5: 0
2023-12-04_14:54:57 tmpfvl temperature: 42.750
2023-12-04_14:54:58 tmphzg temperature: 53.125
2023-12-04_14:54:59 tmpbrw temperature: 70.875
2023-12-04_14:55:54 relais pio4: 1
2023-12-04_14:55:54 relais pio5: 1
2023-12-04_14:56:01 tmpbrw temperature: 70.875
2023-12-04_14:56:02 tmpfvl temperature: 43.062
2023-12-04_14:56:03 tmphzg temperature: 53.000
2023-12-04_14:56:54 relais pio4: 1
2023-12-04_14:56:54 relais pio5: 1
2023-12-04_14:57:01 tmpbrw temperature: 70.875
2023-12-04_14:57:01 tmpfvl temperature: 43.000
2023-12-04_14:57:02 tmphzg temperature: 53.000
2023-12-04_14:57:54 relais pio4: 0
2023-12-04_14:57:54 relais pio5: 0
2023-12-04_14:58:01 tmpbrw temperature: 70.875
2023-12-04_14:58:02 tmpfvl temperature: 43.000
2023-12-04_14:58:02 tmphzg temperature: 52.937
2023-12-04_14:58:54 relais pio4: 1
2023-12-04_14:58:54 relais pio5: 1
2023-12-04_14:58:55 tmpbrw temperature: 70.875
2023-12-04_14:58:57 tmpfvl temperature: 43.062
2023-12-04_14:58:58 tmphzg temperature: 52.875
2023-12-04_14:59:54 relais pio4: 0
2023-12-04_14:59:54 relais pio5: 0
2023-12-04_14:59:57 tmpfvl temperature: 42.937
2023-12-04_14:59:58 tmphzg temperature: 52.812
2023-12-04_15:00:04 tmpbrw temperature: 70.875
2023-12-04_15:00:54 relais pio4: 0
2023-12-04_15:00:54 relais pio5: 0
2023-12-04_15:01:01 tmpbrw temperature: 70.875
2023-12-04_15:01:02 tmpfvl temperature: 44.187
2023-12-04_15:01:02 tmphzg temperature: 52.812
2023-12-04_15:01:54 relais pio4: 1
2023-12-04_15:01:54 relais pio5: 1
2023-12-04_15:02:00 tmpbrw temperature: 70.875
2023-12-04_15:02:02 tmpfvl temperature: 45.812
2023-12-04_15:02:02 tmphzg temperature: 52.750
2023-12-04_15:02:54 relais pio4: 1
2023-12-04_15:02:54 relais pio5: 1
2023-12-04_15:03:00 tmpbrw temperature: 70.875
2023-12-04_15:03:02 tmpfvl temperature: 45.812
2023-12-04_15:03:02 tmphzg temperature: 52.625
2023-12-04_15:03:54 relais pio4: 1
2023-12-04_15:03:54 relais pio5: 1
2023-12-04_15:04:01 tmpbrw temperature: 70.812
2023-12-04_15:04:02 tmpfvl temperature: 42.187
2023-12-04_15:04:02 tmphzg temperature: 52.562
2023-12-04_15:04:54 relais pio4: 1
2023-12-04_15:04:54 relais pio5: 1
2023-12-04_15:04:56 tmpbrw temperature: 70.812
2023-12-04_15:04:57 tmpfvl temperature: 42.187
2023-12-04_15:04:58 tmphzg temperature: 52.500
2023-12-04_15:05:54 relais pio4: 0
2023-12-04_15:05:54 relais pio5: 0
2023-12-04_15:05:57 tmpfvl temperature: 42.187
2023-12-04_15:05:58 tmphzg temperature: 52.437
2023-12-04_15:05:59 tmpbrw temperature: 70.812
2023-12-04_15:06:54 relais pio4: 1
2023-12-04_15:06:54 relais pio5: 1
2023-12-04_15:06:58 tmphzg temperature: 52.375
2023-12-04_15:06:59 tmpbrw temperature: 70.812
2023-12-04_15:06:59 tmpfvl temperature: 41.000
2023-12-04_15:07:54 relais pio4: 1
2023-12-04_15:07:54 relais pio5: 1
2023-12-04_15:08:00 tmpbrw temperature: 70.812
2023-12-04_15:08:02 tmpfvl temperature: 41.000
2023-12-04_15:08:03 tmphzg temperature: 52.250
2023-12-04_15:08:54 relais pio4: 1
2023-12-04_15:08:54 relais pio5: 1
FHEM 6.2 auf RPi4B
Raspberrymatic 3.X auf RPI3B

1xDS2408 und 6xDS18B20 an GPIO über Modul RPI_1Wire
>50 Homematic-Geräte

Adimarantis

Schaltet das Relais tatsächlich aus und ein, oder zeigt er nur an, dass es ausgeschaltet wäre?
Was mich nämlich ebenfalls irritiert, ist die Anzahl an Fehlermeldungen ("no data") die du von deinen Temperatursensoren bekommst.
Da frage ich mich ob du nicht Störungen auf deinem 1Wire Bus hast und die Meldung "aus" tatsächlich einfach ein fehlerhaftes Auslesen des Status ist.
Wenn dann einfach "0" kommt, dürfte das als "alle PIOs an" intepretiert werden - da es aber nur 8 Bit sind, weiss ich nicht wie man erkennen kann, das es Fehler gibt. Bei den 2-Fach Schaltern sind die Bits im oberen Bereich nochmal invertiert - damit kann man Fehler erkennen.

Wenn ich auf meinen Raspi mit 10 Temperatursensoren schaue, dann geht der "failure" count auch hoch - da gibt es immer wieder Aussetzer. Ist z.B. die Frage ob die alle genug Strom bekommen.
Welche Dateien gibt es noch parallel zu "output" - kann man da evtl. irgendwo einen Fehler abfragen?

Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

dan1180

#25
Ich habe keine Ahnung mehr, was mein System macht und was mein Beitrag dazu ist/war  :'(

Ich bekomme weder mein DS2408, noch auch nur einen meiner Temperatursensoren mehr angezeigt. Nicht in FHEM und nicht unter /sys/bus/w1/devices.
pi@raspberrypi:/sys/bus/w1/devices $ ls  -la
insgesamt 0
drwxr-xr-x 2 root root 0  5. Dez 22:40 .
drwxr-xr-x 4 root root 0  5. Dez 22:40 ..
lrwxrwxrwx 1 root root 0  5. Dez 23:02 00-180000000000 -> ../../../devices/w1_bus_master1/00-180000000000
lrwxrwxrwx 1 root root 0  5. Dez 23:02 00-580000000000 -> ../../../devices/w1_bus_master1/00-580000000000
lrwxrwxrwx 1 root root 0  5. Dez 23:02 00-980000000000 -> ../../../devices/w1_bus_master1/00-980000000000
lrwxrwxrwx 1 root root 0  5. Dez 22:40 w1_bus_master1 -> ../../../devices/w1_bus_master1

Ich habe dann nochmal jeden Schritt zum Anschließen der 1wire-Sensoren nachvollzogen und dabei gesehen, dass bei lsmod | grep w1 die Ausgabe w1_therm               28672  0 fehlt. Daher habe ich

# /etc/modules
w1-gpio pullup=1
w1-therm
nachgepflegt...w1-therm wird jetzt angezeigt aber es wird noch immer NICHTS erkannt.

Wie kann das sein? Es ist doch mal alles gelaufen? Kann mir ein defekter Sensor meinen Pi zerschossen haben?

Ich weiß noch nicht einmal mehr, wo ich mit der Fehlersuche weitermachen soll... :-\

EDIT:
Ist es möglich, dass ich mit meinen 5V an den Sensoren, mit denen ich am Pi3 bald 2 Jahre kein Problem hatte, mein GPIO am Pi4B zerschossen habe?
FHEM 6.2 auf RPi4B
Raspberrymatic 3.X auf RPI3B

1xDS2408 und 6xDS18B20 an GPIO über Modul RPI_1Wire
>50 Homematic-Geräte

dan1180

#26
So, ich habe mein 1wire jetzt mal auf GPIO17 gelegt und starte erst einmal mit dem DS2408 und nur zwei DS18B20. Das System läuft im Moment. Gibt es außer trial-and-error noch eine Möglichkeit einen defekten Temperatursensor zu finden?

Update:
Grundsätzlich läuft oben stehendes Setup. Zwei Phänomene sind aber aufgetreten:
  • Bei einem "set pio0 on-for-timer wurden pio4 und pio5 einfach auf 0 gesetzt (Relais hat auch tatsächlich ausgeschaltet).
  • Ca. eine halbe Stunde nach 1. wurden pio4 und pio5 wieder auf 0 gesetzt (Relais hat auch tatsächlich ausgeschaltet).

Beides Mal war im LOG nichts davon zu sehen?!
2023-12-06_11:43:21 Logfile clear
2023.12.06 11:53:38 3: relais set pio 6 on-for-timer 1

2023.12.06 11:53:38 3: relais: Switching 29-0000001acee4 to 143 (pio6 on-for-timer) for (1)
2023.12.06 11:53:39 3: relais set pio 6 off -

2023.12.06 11:53:39 3: relais: Switching 29-0000001acee4 to 207 (pio6 off) for (-)
2023.12.06 11:59:37 3: relais set pio 0 on-for-timer -

2023.12.06 11:59:37 3: relais: Switching 29-0000001acee4 to 206 (pio0 on-for-timer) for (-)
2023.12.06 11:59:38 3: relais set pio 6 on-for-timer 1

2023.12.06 11:59:38 3: relais: Switching 29-0000001acee4 to 142 (pio6 on-for-timer) for (1)
2023.12.06 11:59:39 3: relais set pio 6 off -

2023.12.06 11:59:39 3: relais: Switching 29-0000001acee4 to 206 (pio6 off) for (-)
2023.12.06 12:01:38 3: relais set pio 6 on-for-timer 1

2023.12.06 12:01:38 3: relais: Switching 29-0000001acee4 to 142 (pio6 on-for-timer) for (1)
2023.12.06 12:01:39 3: relais set pio 6 off -

2023.12.06 12:01:39 3: relais: Switching 29-0000001acee4 to 206 (pio6 off) for (-)
2023.12.06 12:03:38 3: relais set pio 6 on-for-timer 1

2023.12.06 12:03:38 3: relais: Switching 29-0000001acee4 to 142 (pio6 on-for-timer) for (1)
2023.12.06 12:03:39 3: relais set pio 6 off -

2023.12.06 12:03:39 3: relais: Switching 29-0000001acee4 to 206 (pio6 off) for (-)
2023.12.06 12:05:38 3: relais set pio 6 on-for-timer 1

2023.12.06 12:05:38 3: relais: Switching 29-0000001acee4 to 142 (pio6 on-for-timer) for (1)
2023.12.06 12:05:39 3: relais set pio 6 off -

2023.12.06 12:05:39 3: relais: Switching 29-0000001acee4 to 206 (pio6 off) for (-)
2023.12.06 12:07:38 3: relais set pio 6 on-for-timer 1

2023.12.06 12:07:38 3: relais: Switching 29-0000001acee4 to 142 (pio6 on-for-timer) for (1)
2023.12.06 12:07:39 3: relais set pio 6 off -

2023.12.06 12:07:39 3: relais: Switching 29-0000001acee4 to 206 (pio6 off) for (-)
2023.12.06 12:09:38 3: relais set pio 6 on-for-timer 1

2023.12.06 12:09:38 3: relais: Switching 29-0000001acee4 to 142 (pio6 on-for-timer) for (1)
2023.12.06 12:09:40 3: relais set pio 6 off -

2023.12.06 12:09:40 3: relais: Switching 29-0000001acee4 to 206 (pio6 off) for (-)
2023.12.06 12:16:08 3: relais set pio 0 off -

2023.12.06 12:16:08 3: relais: Switching 29-0000001acee4 to 207 (pio0 off) for (-)
2023.12.06 12:16:20 3: relais set pio 0 on-for-timer 600

2023.12.06 12:16:20 3: relais: Switching 29-0000001acee4 to 206 (pio0 on-for-timer) for (600)
2023.12.06 12:26:20 3: relais set pio 0 off -

2023.12.06 12:26:20 3: relais: Switching 29-0000001acee4 to 207 (pio0 off) for (-)
2023.12.06 12:50:40 3: relais set pio 6 on-for-timer 1

2023.12.06 12:50:40 3: relais: Switching 29-0000001acee4 to 143 (pio6 on-for-timer) for (1)
2023.12.06 12:50:41 3: relais set pio 6 off -

2023.12.06 12:50:41 3: relais: Switching 29-0000001acee4 to 207 (pio6 off) for (-)
2023.12.06 12:52:40 3: relais set pio 6 on-for-timer 1

2023.12.06 12:52:40 3: relais: Switching 29-0000001acee4 to 143 (pio6 on-for-timer) for (1)
2023.12.06 12:52:41 3: relais set pio 6 off -

2023.12.06 12:52:41 3: relais: Switching 29-0000001acee4 to 255 (pio6 off) for (-)
2023.12.06 12:53:42 3: relais set pio 0 on-for-timer -

2023.12.06 12:53:42 3: relais: Switching 29-0000001acee4 to 254 (pio0 on-for-timer) for (-)
2023.12.06 12:53:50 3: relais set pio 0 on-for-timer 1200

2023.12.06 12:53:50 3: relais: Switching 29-0000001acee4 to 254 (pio0 on-for-timer) for (1200)
2023.12.06 12:55:03 3: relais set pio 4 on -

2023.12.06 12:55:03 3: relais: Switching 29-0000001acee4 to 238 (pio4 on) for (-)
2023.12.06 12:55:03 3: relais set pio 6 on-for-timer 1

2023.12.06 12:55:03 3: relais: Switching 29-0000001acee4 to 174 (pio6 on-for-timer) for (1)
2023.12.06 12:55:04 3: relais set pio 6 off -

2023.12.06 12:55:04 3: relais: Switching 29-0000001acee4 to 238 (pio6 off) for (-)
2023.12.06 12:55:08 3: relais set pio 5 on -

2023.12.06 12:55:08 3: relais: Switching 29-0000001acee4 to 206 (pio5 on) for (-)
2023.12.06 13:13:50 3: relais set pio 0 off -

2023.12.06 13:13:50 3: relais: Switching 29-0000001acee4 to 207 (pio0 off) for (-)
2023.12.06 13:28:42 3: relais set pio 7 on-for-timer 1

2023.12.06 13:28:42 3: relais: Switching 29-0000001acee4 to 79 (pio7 on-for-timer) for (1)
2023.12.06 13:28:43 3: relais set pio 7 off -

2023.12.06 13:28:43 3: relais: Switching 29-0000001acee4 to 207 (pio7 off) for (-)
2023.12.06 13:44:43 3: relais set pio 6 on-for-timer 1

2023.12.06 13:44:43 3: relais: Switching 29-0000001acee4 to 143 (pio6 on-for-timer) for (1)
2023.12.06 13:44:44 3: relais set pio 6 off -

2023.12.06 13:44:44 3: relais: Switching 29-0000001acee4 to 255 (pio6 off) for (-)

Was mir in dem Zusammenhang auch aufgefallen ist; ich zeichne pio0, pio4 und pio5 in einem LOG auf und lasse es in einem SVG anzeigen. Im LOG steht pio0=0, das SVG zeigt aber "1" an (siehe Anhang).
FHEM 6.2 auf RPi4B
Raspberrymatic 3.X auf RPI3B

1xDS2408 und 6xDS18B20 an GPIO über Modul RPI_1Wire
>50 Homematic-Geräte

dan1180

Sorry, hatte noch vergessen deine Fragen zu beantworten:

ZitatWenn ich auf meinen Raspi mit 10 Temperatursensoren schaue, dann geht der "failure" count auch hoch - da gibt es immer wieder Aussetzer. Ist z.B. die Frage ob die alle genug Strom bekommen.
Die Sensoren waren, wie vorher erwähnt, an 5V angeschlossen. Ich habe das nun auf 3,3V umgebaut. Außerdem habe ich kontrolliert, dass die Spannung auch an jedem Sensor (zumindest am Stecker) ankommt. Momentan lass ich das System nur mit zwei Sensoren laufen. Nach jeweils 1-2 Tagen werde ich die anderen wieder dazu nehmen um hoffentlich den Fehler zu finden.


ZitatWelche Dateien gibt es noch parallel zu "output" - kann man da evtl. irgendwo einen Fehler abfragen?
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ ls -la
insgesamt 0
drwxr-xr-x 3 root gpio    0  6. Dez 10:23 .
drwxr-xr-x 6 root gpio    0  6. Dez 10:29 ..
-rw-r--r-- 1 root gpio    1  6. Dez 10:23 activity
-r--r--r-- 1 root gpio    1  6. Dez 10:23 cond_search_mask
-r--r--r-- 1 root gpio    1  6. Dez 10:23 cond_search_polarity
lrwxrwxrwx 1 root gpio    0  6. Dez 10:23 driver -> ../../../bus/w1/drivers/w1_slave_driver
-r--r--r-- 1 root gpio 4096  6. Dez 10:23 id
-r--r--r-- 1 root gpio 4096  6. Dez 10:23 name
-rw-rw-r-- 1 root gpio    1  6. Dez 18:43 output
drwxr-xr-x 2 root gpio    0  6. Dez 10:23 power
-r--r--r-- 1 root gpio    1  6. Dez 10:23 state
-rw-r--r-- 1 root gpio    1  6. Dez 10:23 status_control
lrwxrwxrwx 1 root gpio    0  6. Dez 10:23 subsystem -> ../../../bus/w1
-rw-r--r-- 1 root gpio 4096  6. Dez 10:23 uevent
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $
FHEM 6.2 auf RPi4B
Raspberrymatic 3.X auf RPI3B

1xDS2408 und 6xDS18B20 an GPIO über Modul RPI_1Wire
>50 Homematic-Geräte

Adimarantis

Hi Dan,

da hast du ja inzwischen die meisten Dinge die ich angemerkt hätte schon selbst probiert (wie alternative GPIO).
Bei mir laufen alle Temperatursensoren auf 3.3V, aber ich habe mal ein Diagramm gesehen, wo der Anschluss mit 5V durchaus empfohlen wurde. Da müsste man mal weiter forschen ob das jetzt ein Problem ist oder nicht. Wenn die 5V tatsächlich auch auf der Datenleitung ankommen, dann brät es die GPIO auf Dauer sicherlich durch.

SVG: ich sehe jetzt deine Funktion nicht vollständig, aber steht da nicht sowas wie "wenn 0, dann 1"? Vielleicht ein Überbleibsel aus der Zeit als es noch verdreht war?

Ich habe mal eine Version mit mehr loginfo generiert. Diese gibt den Status erstens binär aus (dann ist es leichter zu lesen), ausserdem wird vor dem Setzen der PIO nochmal der aktuelle Status angefragt und verglichen ob das dem in FHEM gespeicherten entspricht.
Mal sehen ob das meine Theorie mit dem Lesefehler stützt. Eine andere Möglichkeit wäre noch eine Race condition, wenn man den Status unmittelbar nach dem Setzen abfragt, aber soweit ich verstanden habe passiert das Problem ja erst später, nachdem er schon wieder mehrmals abgefragt hatte.

Bezüglich der anderen Dateien im sysfs - kannst du den Inhalt von allen diesen 1 Byte Dateien mal ausgeben?
Wenn es binär ist mit "od -h" - also z.B.
od -h state
Durchaus mal in verschiedenen Schaltzuständen und sehen ob sich die Werte dann ändern.





Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)

dan1180

#29
Hi Adimarantis,

ich hatte auf meinem Pi3 jetzt auch zwei Jahre die Temperatursensoren mit 5V versorgt. Habe jetzt bei der Fehlersuche aber gelesen, dass das keine so gute Idee sei...hm...bin jetzt mal auf 3,3V gegangen. Ob es mir einen GPIO gebraten hat, weiß ich noch nicht. Auf gpio4 und gpio26 hat nichts mehr funktioniert. Ich bleibe jetzt auf 17 bis alles wieder funktioniert. Dann kann ich die anderen ja nochmal testen.

Die SVG Funktion sieht vollständig so aus:
$fld[3]=~"1"?0.95:-1Funktioniert mit pio4 und pio5 (auf den Werten 0.05 und 1.05) wunderbar.

Die neue Version habe ich jetzt mal eingespielt und werde berichten. Was mir (aber schon vorher mal) aufgefallen ist: Bei der Auswahl der Regexp gibt es bei pio0 zwei Auswahlmöglichkeiten, bei den anderen Beiden nur eine. Keine Ahnung ob das was zu bedeuten hat?! Hab einen Screenshot im Anhang.

Und hier noch die Ausgaben von od -h für den Schaltzustand:

00000000
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h activity
0000000 00f7
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h cond_search_mask
0000000 0000
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h cond_search_polarity
0000000 0000
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h output
0000000 00ff
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h state
0000000 00ff
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h status_control
0000000 0088
0000001

00110000
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h activity
0000000 00ff
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h cond_search_mask
0000000 0000
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h cond_search_polarity
0000000 0000
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h output
0000000 00f3
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h state
0000000 00f3
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h status_control
0000000 0088
0000001

00001100
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h activity
0000000 00f7
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h cond_search_mask
0000000 0000
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h cond_search_polarity
0000000 0000
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h output             
0000000 00cf
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h state
0000000 00cf
0000001
pi@raspberrypi:/sys/bus/w1/devices/29-0000001acee4 $ od -h status_control
0000000 0088
0000001

FHEM 6.2 auf RPi4B
Raspberrymatic 3.X auf RPI3B

1xDS2408 und 6xDS18B20 an GPIO über Modul RPI_1Wire
>50 Homematic-Geräte