22 Commits

Author SHA1 Message Date
1d716594da Add migration to add meter data columns 2022-07-19 21:33:54 +02:00
def17ff49c Implement query meter data
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 23:29:14 +02:00
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
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
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
dd8ec50a07 Add status command
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-17 11:05:41 +02:00
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
b3b6f28401 modbus: Validate response
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-16 22:39:26 +02:00
10ec839e1f Increase UDP timeout
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-15 21:14:55 +02:00
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
d42fc74911 Quieten output 2022-07-15 04:41:46 +02:00
80da073ae2 Add Dockerfile 2022-07-15 04:41:46 +02:00
731652dcb3 handler: Add health check
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 21:36:38 +02:00
f70fc1d266 Add LICENSE
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 19:04:13 +02:00
baa8ba7479 handler: Wire in Postgres store 2022-07-13 19:04:13 +02:00
72b0a690a6 Add gateway and daemon boilerplate 2022-07-13 19:04:13 +02:00
bcb15b75e8 Rename to solar-toolkit 2022-07-13 19:04:13 +02:00
a103e2c4d8 Add data types and test coverage 2022-07-13 19:04:13 +02:00
e467102cfe Implement DeviceInfo and RuntimeData commands 2022-07-11 20:04:08 +02:00
fcd937c52a Read runtime data using Modbus protocol 2022-07-10 17:17:53 +02:00
eb884862b4 Read serial number and model name over UDP 2022-07-09 11:08:46 +02:00
7936532a56 Initial commit 2022-07-08 15:53:45 +02:00