29 Commits

Author SHA1 Message Date
Rob Watson
6fc72959fa chore: upgrade Go to 1.21.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-11 21:57:25 +02:00
Rob Watson
9cdf907247 fix: image version
All checks were successful
continuous-integration/drone Build is passing
2023-07-16 09:07:02 +02:00
Rob Watson
6a8af667c3 chore: increase timeouts 2023-07-16 08:56:30 +02:00
Rob Watson
e38fb4d85f chore: update README 2023-07-16 08:56:30 +02:00
Rob Watson
6ae59ae7d9 chore: bump Go version 2023-07-16 08:56:25 +02:00
Rob Watson
1287efa8a3 Update Go to 1.19
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-05 19:42:12 +02:00
Rob Watson
a7f18e4f75 Write meter data to store
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-19 21:34:32 +02:00
Rob Watson
1d716594da Add migration to add meter data columns 2022-07-19 21:33:54 +02:00
Rob Watson
def17ff49c Implement query meter data
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 23:29:14 +02:00
Rob Watson
8c80417a53 Update created_at column to NOT NULL
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 14:27:25 +02:00
Rob Watson
32d6adba4b Write created_at to database
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 11:36:12 +02:00
Rob Watson
9ec626a78a Add created_at column to et_runtime_data
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 11:29:15 +02:00
Rob Watson
dd8ec50a07 Add status command
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 11:05:41 +02:00
Rob Watson
65d89406dc Fix test
All checks were successful
continuous-integration/drone/push Build is passing
Previously the same byte was read for both the error code and the first
byte of the checksum, which was definitely incorrect. The response is
updated with an extra byte which (hopefully) provides a more accurate
test case.
2022-07-17 10:22:22 +02:00
Rob Watson
b3b6f28401 modbus: Validate response
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-16 22:39:26 +02:00
Rob Watson
10ec839e1f Increase UDP timeout
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-15 21:14:55 +02:00
Rob Watson
aecb10f981 Retry UDP i/o on network error
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-15 04:44:16 +02:00
Rob Watson
d42fc74911 Quieten output 2022-07-15 04:41:46 +02:00
Rob Watson
80da073ae2 Add Dockerfile 2022-07-15 04:41:46 +02:00
Rob Watson
731652dcb3 handler: Add health check
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 21:36:38 +02:00
Rob Watson
f70fc1d266 Add LICENSE
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 19:04:13 +02:00
Rob Watson
baa8ba7479 handler: Wire in Postgres store 2022-07-13 19:04:13 +02:00
Rob Watson
72b0a690a6 Add gateway and daemon boilerplate 2022-07-13 19:04:13 +02:00
Rob Watson
bcb15b75e8 Rename to solar-toolkit 2022-07-13 19:04:13 +02:00
Rob Watson
a103e2c4d8 Add data types and test coverage 2022-07-13 19:04:13 +02:00
Rob Watson
e467102cfe Implement DeviceInfo and RuntimeData commands 2022-07-11 20:04:08 +02:00
Rob Watson
fcd937c52a Read runtime data using Modbus protocol 2022-07-10 17:17:53 +02:00
Rob Watson
eb884862b4 Read serial number and model name over UDP 2022-07-09 11:08:46 +02:00
Rob Watson
7936532a56 Initial commit 2022-07-08 15:53:45 +02:00