Commit Graph

153 Commits

Author SHA1 Message Date
45029f24cc Can use cURL to request fronius production 2024-10-18 21:18:00 +02:00
c789056ccf Improve env var name
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-10-18 20:05:40 +02:00
f5f783698f Add support for environment files
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-10-18 19:57:06 +02:00
2c300109a3 Update Rust crate serde_json to v1.0.129
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-18 01:42:35 +00:00
6528de4a9e Update Rust crate libc to v0.2.161
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-10-18 00:28:57 +00:00
9fd87b6452 Update Rust crate openssl to v0.10.68
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-10-17 00:28:19 +00:00
ebb4f8bdd2 Update dependencies 2024-10-14 22:14:55 +02:00
13f8b5a592 Add support for legacy relays API 2024-10-12 20:53:23 +02:00
5408cd3a9c Can get consumption on Fronius inverter 2024-10-12 17:28:49 +02:00
5857892a4b Handle non-existent OTA storage directories 2024-10-12 16:42:01 +02:00
138dd6c6b8 Minor improvments 2024-10-08 22:24:00 +02:00
eafa8e6a4b Can delete an OTA update 2024-10-08 22:22:57 +02:00
2e4a2b68dd Can manually download an OTA update 2024-10-08 22:13:36 +02:00
6cf7c2cae1 Display the list of OTA updates in the frontend 2024-10-08 21:53:21 +02:00
aa262879f0 Add route to download firmware on device 2024-10-05 20:00:57 +02:00
37844ae5fa Notify devices of available updates through sync endpoint 2024-10-05 19:44:32 +02:00
d38040cb98 Get the list of OTA updates for a given platform 2024-10-05 19:35:23 +02:00
2feb3f6490 Can set device desired version 2024-10-05 16:26:07 +02:00
2f971c0055 Add a route to upload update to the platform 2024-10-05 15:50:46 +02:00
e1a94acdcb Add a route to get the list of supported platforms for OTA 2024-10-05 13:03:30 +02:00
06659404c1 Prepare the path for OTA implementation 2024-10-03 21:16:51 +02:00
75753051f9 Add function to extract logs 2024-10-01 22:27:34 +02:00
63bdeed952 Add function to report devices activity 2024-09-30 22:12:06 +02:00
58abf4ec9b Parse sync response from server 2024-09-28 16:35:05 +02:00
3f41269c0b Use medians 2024-09-26 23:05:10 +02:00
7895b9eca8 Display relay consumption history 2024-09-26 22:51:43 +02:00
2e72634abf Can request consumption history 2024-09-25 22:31:00 +02:00
e0f0067e89 Get state of relay on device page 2024-09-25 21:56:54 +02:00
3c2fa18d9a Display relays status 2024-09-25 19:35:39 +02:00
78ace02d15 Store relay consumption values 2024-09-25 19:06:34 +02:00
d0a80c7960 Prevent potential value overflow 2024-09-23 21:49:45 +02:00
228e1a7293 Record received consumption from inverter 2024-09-23 21:47:25 +02:00
0e0da14fde Use cached consumption value 2024-09-23 20:30:34 +02:00
8316746377 Update project dependencies 2024-09-21 17:04:30 +02:00
419d395241 Add blocking dependency test 2024-09-20 22:45:56 +02:00
f0bac090e4 Return real relay state to devices 2024-09-20 22:43:16 +02:00
ae366a84a2 Add new test scenarios 2024-09-20 22:37:02 +02:00
923f726bb4 Add test scenario 2024-09-20 22:30:26 +02:00
b7635935ba Implement energy engine test logic 2024-09-20 18:27:20 +02:00
719b0a0c5c Energy actor shall never fail 2024-09-19 21:29:31 +02:00
fe0bc03c03 Implement catchup hours logic 2024-09-19 21:26:57 +02:00
09c25a67c5 Can count the time a relay was up during a given amount of time 2024-09-18 22:05:23 +02:00
92878e6548 Delete relay energy information 2024-09-17 22:42:24 +02:00
565db05fb0 Record relays state 2024-09-17 22:31:51 +02:00
368eb13089 Add relay state history proto 2024-09-16 22:41:20 +02:00
20bc71851d Take relays consumption in account 2024-09-16 22:27:43 +02:00
79b2ad12d8 Add missing device information synchronization 2024-09-15 22:06:42 +02:00
9c45e541dd Better handle enabled / disabled relays 2024-09-15 22:01:06 +02:00
2262b98952 WIP engine 2024-09-15 21:53:08 +02:00
f0081eb4bf Virtually turn off all relays that can be stopped 2024-09-13 22:11:40 +02:00
1d11c3a968 WIP energy engine update 2024-09-12 21:45:58 +02:00
c1c01058d8 Ready to implement update logic 2024-09-10 19:55:51 +02:00
c74ed0cfbb Refactor energy management 2024-09-10 19:40:06 +02:00
36ba4efd9f Update general device information 2024-09-09 21:43:57 +02:00
7cac6aeb35 Store last ping of devices 2024-09-09 21:06:33 +02:00
1b02a812b4 Start to build sync route 2024-09-04 22:43:23 +02:00
583dd7c8f7 Fix bad self-loop check 2024-08-31 20:54:14 +02:00
78663854cc Check for dependencies conflict before deleting a device 2024-08-31 20:46:02 +02:00
bbe128e055 Add the route to update a relay 2024-08-31 20:26:16 +02:00
f35aac04f6 Add the route to delete a relay 2024-08-31 20:00:40 +02:00
871d5109bf Fix authentication issue 2024-08-31 18:52:29 +02:00
2022e99274 Update dependencies 2024-08-31 18:26:24 +02:00
6028be92ef Anticipate relay ID collision 2024-08-27 22:35:07 +02:00
87fb3360fb Can create a relay 2024-08-27 22:32:22 +02:00
f46a7dbc94 Update tests 2024-08-27 18:41:09 +02:00
50e61707cc Check for loops in relays 2024-08-27 18:38:49 +02:00
e18162b32d Can build central in production mode 2024-08-07 16:44:30 +02:00
48a2f728de Start to check device relay information 2024-07-31 23:33:58 +02:00
8a65687970 Start to build relay dialog 2024-07-29 22:11:13 +02:00
73163e6e69 Can get the full list of relays through the API 2024-07-24 23:35:58 +02:00
4d5ba939d1 Can update device general information 2024-07-22 22:19:48 +02:00
1ce9ca3321 Display basic device information 2024-07-18 20:06:46 +02:00
370084b3bb Add devices definitions 2024-07-17 18:57:23 +02:00
37406faa32 Automatically regenerate CRLs at regular interval 2024-07-17 18:44:09 +02:00
717ad5b5e0 Can revoke issued certificates 2024-07-17 18:31:57 +02:00
6ad50657a5 Automatically download certificate on Python device 2024-07-03 22:19:56 +02:00
8674d25512 Can get a single device enrollment status 2024-07-03 22:05:19 +02:00
e97ef6fe45 Validate devices 2024-07-03 21:32:32 +02:00
2502ed6bcf Can delete a pending device 2024-07-03 21:10:15 +02:00
716af6219a Display the list of pending devices in the UI 2024-07-03 19:17:47 +02:00
01ffe085d7 Complete enroll route 2024-07-02 22:55:51 +02:00
e64a444bd0 Can issue certificate for devices 2024-07-01 22:24:03 +02:00
9ba4aa5194 Start to implement devices enrollment 2024-07-01 21:10:45 +02:00
378c296e71 Devices can request current time with a precision to the millisecond 2024-07-01 17:56:10 +02:00
1f14cf8212 Draw ui 2024-06-30 22:54:23 +02:00
f468f192d8 Can read consumption from a file 2024-06-30 20:14:23 +02:00
dca8848ec9 Start to create Python client 2024-06-29 18:05:58 +02:00
e1739d9818 Add authentication layer 2024-06-29 14:43:56 +02:00
d4a81f5fdf Create energy actor 2024-06-29 11:45:39 +02:00
49a3e3a669 Start to implement energy consumption backend 2024-06-29 10:11:31 +02:00
9d3e2beb81 Serve PKI files 2024-06-28 22:28:43 +02:00
b4647d70a0 Leaf certificates are explicitly marked as non CA 2024-06-28 22:04:36 +02:00
11054385a6 Add servers 2024-06-28 22:00:20 +02:00
09f526bfb7 Generate server certificate 2024-06-28 21:34:18 +02:00
f4fde9bc46 Refresh all CRLs 2024-06-28 19:43:33 +02:00
24f8f8f842 Fix issue 2024-06-28 19:39:07 +02:00
aa97d28657 Generate first CRL 2024-06-28 19:29:18 +02:00
32d5707055 Update 2024-06-28 19:19:17 +02:00
8bac181552 Improve certificates issuance 2024-06-28 17:21:40 +02:00
716e524bf4 WIP cert authorities 2024-06-28 01:34:22 +02:00