# HG changeset patch # User Michiel Broek # Date 1712416889 -7200 # Node ID fa39f9c0e219b216472af9f394a50cad7d1bb23e # Parent 56c72393ca26ea11b9a1ebedebbc5636e8a74243 Updated MIGRATION document. diff -r 56c72393ca26 -r fa39f9c0e219 MIGRATION --- a/MIGRATION Fri Apr 05 20:10:26 2024 +0200 +++ b/MIGRATION Sat Apr 06 17:21:29 2024 +0200 @@ -19,24 +19,21 @@ ---------------- These are the current running threads. -1. my_devices_loop. -2. my_server_loop. -3. my_panel_loop. -4. my_simulator_loop (if enabled). +1. my_one_wire_loop. +2. my_devices_loop. +3. my_server_loop. +4. my_panel_loop. +5. my_simulator_loop (if enabled). Steps to do. ------------ -Write a new thread for the one-wire devices. Make it a dynamic table. The -old device table is still needed to tie devices to fermenters. Try to read all temperature sensors at once. The kernel supports this now. The devices thread needs to use the collected temperatures. Read all ds2413 devices from sys/bus/w1. If output bits are set different then send output values. -Create tables for ds28b20 and ds2413. Simulated and real sensors should -share these tables. Add pigpio library and make it testable by the configure script. @@ -52,7 +49,7 @@ 3. Check for exit. Read all DS2413 devices programmed as input. 4. Check for exit. - Read one temperture sensor from list and update device. + Read one temperture sensor from list and update. 5. Check for exit. Check for missing devices not in one wire table. Goto 2.