Commit Graph

217 Commits

Author SHA1 Message Date
f4dda44d15 Prepare OTA execution 2024-10-05 20:28:55 +02:00
80452e10de Decode firmware update information 2024-10-05 20:13:36 +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
382c44a18a Let ESP IDF manage app version 2024-10-05 12:03:35 +02:00
17f8931f0f Enable logs reporting 2024-10-05 11:47:41 +02:00
cc63906ec1 Update frontend dependencies 2024-10-05 11:27:21 +02:00
59f8b59efe Merge branch 'master' of http://10.0.0.10/pierre/SolarEnergy 2024-10-05 11:11:23 +02:00
06659404c1 Prepare the path for OTA implementation 2024-10-03 21:16:51 +02:00
436bcd5677 Reverse display order of log messages 2024-10-03 21:01:38 +02:00
caf05d9126 Display log events 2024-10-03 20:52:05 +02:00
7dfb172aeb Frontend requests log on backend 2024-10-02 21:54:54 +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
7f952700ad Update sdkconfig for OTA 2024-09-29 18:33:41 +02:00
5608b4e610 Add ESP32 pinout 2024-09-28 21:14:09 +02:00
b4220a3254 Avoid bad relay trigger on startup 2024-09-28 20:33:11 +02:00
4d07d83904 Start to work on GPIOs 2024-09-28 20:27:12 +02:00
274b7089d1 Ready to implement GPIO logic to manage relays 2024-09-28 20:02:34 +02:00
e574bed96f Fix a memory leak 2024-09-28 16:42:10 +02:00
ce8427b0aa Handle fails more properly 2024-09-28 16:35:50 +02:00
58abf4ec9b Parse sync response from server 2024-09-28 16:35:05 +02:00
5704f2b57f Fix frontend images path 2024-09-28 11:40:29 +02:00
51fc7cc710 Update frontend dependencies 2024-09-28 11:32:43 +02:00
b800b90337 Merge branch 'master' of ssh://gitea.communiquons.org:52001/pierre/SolarEnergy 2024-09-28 09:22:52 +02:00
b5acda292d Sign JWT 2024-09-27 21:28:05 +02:00
77c3702986 Ready to implement JWT signature 2024-09-27 20:13:50 +02:00
7f9db9f2cc Improve home page 2024-09-26 23:21:56 +02:00
cb798dfd14 Enrich home page 2024-09-26 23:14:18 +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
903f1fa8ce Show current consumption chart 2024-09-26 22:37:43 +02:00
2e72634abf Can request consumption history 2024-09-25 22:31:00 +02:00
821b4644a2 Minor refacto 2024-09-25 22:00:36 +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
d98be00a40 Update custom consumption dependencies 2024-09-23 18:55:10 +02:00
fa431857ee Generate unsigned JWT 2024-09-21 20:56:51 +02:00
c55c55d56d Encode header to base64 2024-09-21 20:43:02 +02:00
cf31de5b67 WIP JWT 2024-09-21 20:24:33 +02:00
561c49226b Ready to build JWT 2024-09-21 20:16:44 +02:00
5db7593a4f Ready to implement sync function on ESP32 device 2024-09-21 20:06:19 +02:00