Mon, 15 Apr 2024 17:04:57 +0200
Better websocket broadcast messages. Added GLOBAL JSON command to the server. Better logic to trigger websocket and mqtt data updates for the fermenter units. Websocket receive added fermenter mode, stage, setpoints, switches. Added more css styles for the fermenter screen. Added the fermenter screen php and javascript.
158 | 1 | #ifndef MY_DEVICES_H |
2 | #define MY_DEVICES_H | |
3 | ||
654
e981d0185485
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.
Michiel Broek <mbroek@mbse.eu>
parents:
648
diff
changeset
|
4 | int read_w1(char *address, char *file); |
e981d0185485
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.
Michiel Broek <mbroek@mbse.eu>
parents:
648
diff
changeset
|
5 | int write_w1(char *address, char *file, uint8_t val); |
158 | 6 | |
654
e981d0185485
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.
Michiel Broek <mbroek@mbse.eu>
parents:
648
diff
changeset
|
7 | int device_out(char *uuid, int value); |
e981d0185485
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.
Michiel Broek <mbroek@mbse.eu>
parents:
648
diff
changeset
|
8 | int device_in(char *uuid, int *value); |
158 | 9 | int devices_detect(void); |
10 | ||
11 | void *my_devices_loop(void *); | |
12 | ||
13 | #endif |