Commit graph

84 commits

Author SHA1 Message Date
15f6d277a9 Return NaN for invalid temperature readings 2022-08-03 15:27:27 +02:00
78d6841bd1 Refactor configuration reload
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-02 20:59:27 +02:00
deb1ef3578 Refactor dwingest
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-02 20:39:31 +02:00
5ecc4ba27a Use reloaded configuration in mainloop 2022-08-02 16:08:49 +02:00
52b1108798 Use reloaded configuration in dwingest 2022-08-02 16:04:06 +02:00
a5e506b0a5 Refactor configuration 2022-08-02 07:29:59 +02:00
613f7b6455 Refactor dwingest 2022-08-02 07:04:47 +02:00
2c8db8ff0b Fix onewire reset
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-02 05:15:03 +02:00
e25905c20f Reset 1-wire bus when temperature readings fail 60 consecutive times
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-01 20:40:32 +02:00
dac484d802 Update dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-30 00:20:54 +02:00
76b83896ed Add NATS message header 2022-07-30 00:20:25 +02:00
609fdfb31a Increate NATS AckWait to 5 secs
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-29 23:30:49 +02:00
e5e025abde Sleep before reading first sensor
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-29 19:40:24 +02:00
2d5f22e0e8 Set NATS ACK wait to 1 second
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-29 01:04:25 +02:00
1daac6c423 Adjust makefile for development
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-29 00:46:47 +02:00
b94f3aefbb Add 50ms delay between temp sensor reads 2022-07-29 00:46:32 +02:00
017ac159de Check DS18B20 bulk read status before reading
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 21:28:13 +02:00
b3c1e2c520 Shorten temp sensor error output
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 13:10:17 +02:00
308019b039 Shorten NATS error messages 2022-07-26 12:59:17 +02:00
8766932739 Ignore temperature magic value -128
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 12:12:19 +02:00
aaf865a72a Set cooling/heating state only if enabled
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 23:58:39 +02:00
01200ac98b Increase error output 2022-07-25 22:55:47 +02:00
5e1db5e14a Stay in idle mode until first temperature reading has occurred 2022-07-25 22:55:24 +02:00
7f4718fabc Add more error output
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 10:55:25 +02:00
9e9992a0d9 Stabilize
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 09:35:02 +02:00
ce647f2898 Use hci0 device for BlueTooth
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-24 14:42:01 +02:00
500efc0da8 Packaging
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-24 10:01:28 +02:00
b27703708e Fix udev packaging
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-24 09:51:44 +02:00
65f284a2e9 Stabilize
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-24 09:38:40 +02:00
19a79f0e59 Log tilt readings
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-24 08:28:16 +02:00
0b3d35721e Support NATS cluster 2022-07-24 08:25:02 +02:00
d873538b70 Add configuration options to disable heater/cooler 2022-07-24 08:17:04 +02:00
5b3f7708c0 Ignore temperature readings when no consumers are present
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-24 01:26:22 +02:00
56d33782c8 WIP: Stabilize
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-24 01:16:40 +02:00
c0dc0dabef Use bus 0 for I2C 2022-07-24 00:53:25 +02:00
a8cb53743e Fix build 2022-07-24 00:53:15 +02:00
8733b1c1cf Configure NATS for dwingest 2022-07-24 00:52:56 +02:00
2a8dfe9bd9 Fix executable path in package 2022-07-24 00:51:55 +02:00
7444bdec53 Fix deb 2022-07-24 00:51:45 +02:00
c78148dbd1 Fix packaging 2022-07-24 00:51:33 +02:00
aa229e8c86 Update default configuration 2022-07-24 00:51:01 +02:00
5dd1c608f3 CI 2022-07-24 00:50:47 +02:00
452e3fa2e4 Refactor code 2022-07-24 00:50:16 +02:00
dd8a48905a Publish events to dwingest 2022-07-24 00:45:22 +02:00
fe94a51acd Publish Tilt readings to DWIngest 2022-07-24 00:44:49 +02:00
7dbffce49b Update dependencies 2022-07-24 00:40:50 +02:00
3596204460 Add hardware support for door sensor and lights 2022-07-22 21:45:48 +02:00
37ffb95543 Add display code 2022-07-22 21:40:57 +02:00
7adca39509 Refactor configuration 2022-07-22 21:23:17 +02:00
d28db0788f Add Tilt support 2022-07-22 21:17:28 +02:00