Mon, 22 Apr 2024 11:33:04 +0200
Version 0.9.19a2. Dropped TEMPSTATE[] and only use DEVPRESENT[] to mark devices state. Adjusted webpages for this switch in responses. Adjusted MySQL mon_fermenters enum values too. Rename some global Config records to better reflect their real use.Added one-wire json records and websocket. Announce when some onewire device changes. Add UNITS JSON command without parameter. Dropped global tempFormat setting that was never used.
#ifndef MY_DEVICES_H #define MY_DEVICES_H int read_w1(char *address, char *file); int write_w1(char *address, char *file, uint8_t val); int device_out(char *uuid, int value); int device_in(char *uuid, int *value); char *device_json(devices_list *device); int devices_detect(void); void *my_devices_loop(void *); #endif