169 Commits

Author SHA1 Message Date
a1a9edae55 not sure if these changes are needed 2024-04-26 18:08:43 +02:00
f053e89657 use registry for preamble 2023-12-18 21:21:09 +01:00
7c1afa3b87 implement bell ringing using registries 2023-12-18 21:10:53 +01:00
18e0e6ad26 add doorbell protocol 2023-12-18 21:00:51 +01:00
8569cb45c1 set pin to INPUT 2023-12-18 20:48:08 +01:00
f9b8797951 update drone to run with pi user 2023-12-18 20:33:59 +01:00
c9d0bea6ee add debug data to drone 2023-12-18 16:08:17 +01:00
14f41cf0f9 disable transmit pin when idle to avoid noise 2023-12-18 14:53:02 +01:00
4a3c54b024 upgrade libraries 2023-12-18 13:36:03 +01:00
50d48dcfe2 Merge branch 'oil_sensor-switch' into gateway 2023-05-19 10:49:32 +02:00
fdc7712b9d Merge branch 'f/advanced-receiver' into gateway 2023-05-19 10:41:30 +02:00
672691fe00 add support for displaying raw values - for finding new remotes 2023-05-17 16:31:23 +02:00
8e8fdf6611 add fritzing for oil sensor 2023-02-22 23:00:22 +01:00
9862b91bf1 use pro mini as sensor with attiny85 as controller 2023-02-22 23:00:22 +01:00
4cee82f28d update documentation 2023-02-22 22:30:24 +01:00
bfe2280d16 Merge branch 'gateway' 2023-02-20 20:19:56 +01:00
50b0762604 Merge branch 'gw/testing' into gateway
- move all tests into native
2023-01-28 09:10:11 +01:00
65b9ce8dc1 remove embedded test from pipeline 2023-01-28 09:09:40 +01:00
37fc2ab103 move sensor_builder tests into native 2023-01-28 09:09:40 +01:00
624f26c751 update testing 2023-01-28 09:09:40 +01:00
2a591cb28f Merge branch 'gw/serial-reader' into gateway
- use private library for serial reader
- optimize memory usage
- reduce memory needed for json serialization/deserialization
- remove the need for array commands
2023-01-28 09:04:06 +01:00
41ad1b4348 increase reset time
- compensates for old timeout in serial reading
2023-01-22 16:44:01 +01:00
ed755abb14 more json optimization:
- reduce allocated size using correct const/not const char*
- double buffer size for input serial
2023-01-22 14:50:15 +01:00
c61880db57 echo needs to display '\n' 2023-01-21 21:21:15 +01:00
c508092b5c extract error handling to reduce stack mem usage 2023-01-21 19:19:45 +01:00
69554f441a use private serial reader library
array is no longer needed:
- reduce json from 512 to 100
- no need for trailing comma
- no need to use []
2023-01-21 19:18:23 +01:00
a588f56e38 fix: change board to actual pro mini 2023-01-21 16:14:58 +01:00
e75fdac730 don't build & test on production 2023-01-20 14:56:53 +01:00
c8710a1cc9 return error as json and reduce json documents 2022-10-29 13:09:23 +02:00
e3e13c2536 upgrade json library 2022-10-28 16:48:54 +02:00
11f3591d84 add static check 2022-10-28 16:48:51 +02:00
ab04a72996 Merge pull request 'gw/testing' (#4) from gw/testing into gateway
Reviewed-on: #4
2022-10-28 13:43:52 +02:00
5532582531 test max values 2022-10-28 09:00:18 +02:00
5284ce9b41 define masks for tiny components 2022-10-28 09:00:18 +02:00
4ec9b50b1c fix lib path for simavr in pipeline 2022-10-28 09:00:05 +02:00
f9ae76aadf add embedded tests for building sensor 2022-10-27 21:31:49 +02:00
7a10b9e770 fix value construction in tiny 2022-10-27 20:41:09 +02:00
f9a34ff31a extract decoder for easy testing 2022-10-27 17:25:25 +02:00
32d9183b5e add decoded raw_value 2022-10-27 17:10:32 +02:00
1e695faef0 fix sensor building 2022-10-27 15:00:24 +02:00
bdf87cab17 use pointers to fix virtual calls 2022-10-27 15:00:24 +02:00
0ebb9902df fix finding protocol implementation 2022-10-27 15:00:24 +02:00
8319ae3b5d use reference to avoid copying 2022-10-27 10:48:57 +02:00
95dd0f771f separate sensor from generic in protocol 2 2022-10-27 10:44:05 +02:00
f9bcdecb57 cleanup 2022-10-26 10:36:54 +02:00
c053cc9310 separate fromJson logic 2022-10-26 10:36:26 +02:00
1b984d4987 separate toJson logic for each protocol 2022-10-26 10:35:45 +02:00
8f95262fd4 return by value
split protocol handling
2022-10-25 23:23:49 +02:00
640368af42 put back id inside sensor block 2022-10-25 21:33:56 +02:00
f1e67a80d4 fix reference and types 2022-10-25 18:05:37 +02:00