Read ds2413 moved to one-wire thread. Only reprogram if it is an input and programmed as output.

One-wire thread is now the first to start. The devices_detect() function now uses the detected one-wire linked list instead of scan the sysfs. Base code for ds2413 added in the state table, needs rework.

State machine logging only when debug is active.

Added one-wire thread and some old state table macro's. The state machine first state scans new one-wire devices and stores them in a linked list.

Version 0.9.17

Moved all delay functions into a new general file.

Log compile options on startup.

Brought the retry attempts to read the DHT11 sensors to the main devices loop. The actual read function is now very simple. Called every 30 seconds when all is well, or 2 seconds if something is wrong.

Version 0.9.16. Final changes DHT11 reading via sysfs.

Better detection of the DHT11 sensors. Read DHT11 with errors detection and reapeated tries.

(0) -300 -100 -10 +10 tip

mercurial