Commit Graph

19 Commits

Author SHA1 Message Date
Rob Watson 32d6adba4b Write created_at to database
continuous-integration/drone/push Build is passing Details
2022-07-17 11:36:12 +02:00
Rob Watson 9ec626a78a Add created_at column to et_runtime_data
continuous-integration/drone/push Build is passing Details
2022-07-17 11:29:15 +02:00
Rob Watson dd8ec50a07 Add status command
continuous-integration/drone/push Build is passing Details
2022-07-17 11:05:41 +02:00
Rob Watson 65d89406dc Fix test
continuous-integration/drone/push Build is passing Details
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
continuous-integration/drone/push Build is passing Details
2022-07-16 22:39:26 +02:00
Rob Watson 10ec839e1f Increase UDP timeout
continuous-integration/drone/push Build is passing Details
2022-07-15 21:14:55 +02:00
Rob Watson aecb10f981 Retry UDP i/o on network error
continuous-integration/drone/push Build is passing Details
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
continuous-integration/drone/push Build is passing Details
2022-07-13 21:36:38 +02:00
Rob Watson f70fc1d266 Add LICENSE
continuous-integration/drone/push Build is passing Details
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