Commit graph

256 commits

Author SHA1 Message Date
Gwendolyn
b7c6fe8cfc look up firmware first seen timestamp correctly (for real now) 2024-03-29 18:08:55 +01:00
Laura Klünder
a09a34638d UPLINK/IBEACON typo 2024-03-29 18:08:20 +01:00
Laura Klünder
299c77fb8b some more fixes to the c formats 2024-03-29 18:01:35 +01:00
Laura Klünder
54e96cd2b3 show ibeacon and node config in node details 2024-03-29 17:53:15 +01:00
Laura Klünder
89e26f4cf9 get initial for message form correctly 2024-03-29 17:50:11 +01:00
Laura Klünder
fd687ec948 forms to configure node data and node ibeacon 2024-03-29 17:39:27 +01:00
Laura Klünder
a2a2df6855 more .parsed.content. 2024-03-29 17:29:10 +01:00
Laura Klünder
d4b74de444 another parsed.content missing 2024-03-29 17:29:10 +01:00
Gwendolyn
1d2ea20694 look up firmware first seen timestamp correctly 2024-03-29 17:07:12 +01:00
Laura Klünder
504084d9e9 more parsed.content 2024-03-29 16:56:25 +01:00
Laura Klünder
6d24c4c78f fix the prefetch_firmwares stuff some more 2024-03-29 16:43:42 +01:00
Laura Klünder
1fdab350ff fix aweomse prefetch_firmwares code 2024-03-29 16:14:20 +01:00
Laura Klünder
8432c1b783 more beautiful fixes for message parsing 2024-03-29 16:05:17 +01:00
Laura Klünder
117be4238c fix error with parsed.app_desc to parsed.content.app_desc 2024-03-29 15:40:32 +01:00
Laura Klünder
186f1a2887 make our CEnum behave like a strenum properly 2024-03-29 15:26:21 +01:00
Laura Klünder
03426c1989 model_dump() needs to use mode="json" 2024-03-29 15:01:39 +01:00
Jenny Danzmayr
4686bf21a7 websocket debugging stuff 2024-03-28 21:39:30 +01:00
Laura Klünder
79b67056e4 update ibeacon config message 2024-03-24 22:49:04 +01:00
Laura Klünder
9e0284b172 fix mesh overview 2024-03-24 20:25:05 +01:00
Laura Klünder
602035a624 add node and ibeacon config messages 2024-03-17 12:51:54 +01:00
Laura Klünder
372db50224 add bluetooth and UWB parameters to RangingBeacon model 2024-03-10 13:45:20 +01:00
Laura Klünder
0fd789173a change all of the MeshMessages c-models from dataclasses to pydantic 2024-03-09 17:19:08 +01:00
Laura Klünder
54031df457 introducing StructType.get_field_format 2024-02-11 18:15:27 +01:00
Laura Klünder
69c33690af fix ctypes for uwb / spi stuff 2024-02-10 21:44:05 +01:00
Laura Klünder
732c6f8449 set_node_number 2024-02-07 18:35:02 +01:00
Laura Klünder
d7f175f7ef add options and postpone imports to massively reduce memory usage 2024-02-07 18:17:13 +01:00
Laura Klünder
0e5b10b586 fix get_locator_xyz if it's not loaded 2024-02-01 16:59:04 +01:00
Laura Klünder
776ec0b348 request up to 128 chunks 2024-02-01 16:58:52 +01:00
Laura Klünder
233d09fd04 send ota chunks more slowly 2024-02-01 16:39:17 +01:00
Gwendolyn
4b1ac9f194 convert django lazy string proxies to strings in the base schema validator, rather than in the serialization code of each source model 2023-12-11 20:59:19 +01:00
Laura Klünder
a8fda62d24 read x-mesh-secret header correctly 2023-12-09 20:24:48 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Laura Klünder
78ee84842e APIKeyAuth in scopes 2023-12-04 23:13:58 +01:00
Laura Klünder
68d9d535c7 mesh websocket auth: use X-Mesh-Secret 2023-12-04 23:09:27 +01:00
Laura Klünder
4491f68dc7 move api auth from authorization header to X-API-Key header 2023-12-04 23:07:45 +01:00
Laura Klünder
ba4c2b7d0a rename newapi to api 2023-12-03 21:55:08 +01:00
Laura Klünder
c21c43a6da improve mesh api v2 documentation 2023-12-03 20:25:30 +01:00
Laura Klünder
5c203a7a2b editor geometries now available in new API 2023-12-03 16:37:05 +01:00
Laura Klünder
f1876903c3 fix some incorrect API scopes 2023-12-02 02:29:17 +01:00
Gwendolyn
7849611028 javascript typo 2023-12-02 02:25:43 +01:00
Gwendolyn
ac6f154f06 various ota fixes 2023-12-02 02:25:43 +01:00
Gwendolyn
c18abb1b8c firmware description should not be cached 2023-12-02 02:25:43 +01:00
Gwendolyn
62eb9eb081 includes for generated c types 2023-12-02 02:25:43 +01:00
Gwendolyn
013a480f6d switch ota status highest_chunk to next_expected_chunk 2023-12-02 02:21:42 +01:00
Gwendolyn
c2170ae741 remove update_id from request status message 2023-12-02 02:21:42 +01:00
Laura Klünder
0d772f860c fix! 2023-12-02 02:21:05 +01:00
Laura Klünder
c623ca3a5c fix? 2023-12-02 02:19:30 +01:00
Laura Klünder
22049f79c3 fix typo 2023-12-02 02:13:30 +01:00
Laura Klünder
664df23468 hide progress when we're done or failed 2023-12-02 02:03:05 +01:00
Laura Klünder
d789bb2382 don't fail with unhandled message type bluh bluh 2023-12-02 02:02:54 +01:00