106 Commits

Author SHA1 Message Date
61a7ca0bde separate pro-mini and huzzah logic into dedicated files 2024-04-27 00:00:11 +02:00
100a89a92f add huzzah with support for ota and wifi 2024-04-26 13:45:10 +02:00
5b30e0317d fix warning about const char & upgrade arduino json library 2024-04-26 13:26:07 +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
4cee82f28d update documentation 2023-02-22 22:30:24 +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
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
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
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
5532582531 test max values 2022-10-28 09:00:18 +02:00
f9ae76aadf add embedded tests for building sensor 2022-10-27 21:31:49 +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
5b1948df26 reverse engineer protocol 1 value 2022-10-25 17:22:08 +02:00
389242f493 make a copy of cmd, ArudinoJson alters original one 2022-10-24 20:59:07 +02:00
d232bc4ffa write json directly into Serial 2022-10-24 20:58:46 +02:00
ac8dd2c807 refactor into smaller functions 2022-10-24 20:54:45 +02:00
cb95fbba71 echo every command in array 2022-10-24 20:54:38 +02:00
d1fd249397 move voltage under diagnostic 2022-10-15 13:00:42 +02:00
0e92f31c4b switch back to NaN as string 2022-10-15 13:00:38 +02:00
41e777f586 use builtin NaN for 0 voltage 2022-10-13 20:21:41 +02:00
1a8ddfacae convert values of sensors to float 2022-10-13 20:03:17 +02:00
4b5c6b930f don't send 0 voltage 2022-10-13 20:03:17 +02:00
77c6c06a6a move id outside sensor block 2022-10-12 10:54:29 +02:00
5957c39045 extract Dht in separate file and disable it 2022-10-08 16:08:12 +02:00
52f7fcf6d6 signal failed reset 2022-10-06 21:17:49 +02:00
2db7d778f5 add generic sensor 2022-10-06 09:09:39 +02:00
580266e50e gateway: update platformio board after upgrade 2021-12-31 15:53:31 +01:00
69cf0dae0d add support for humidity 2021-12-31 15:53:26 +01:00
d622d70dc0 update temp_sensor and adapt gateway to it 2021-12-24 15:09:37 +01:00
4c9df3f51a move .drone.yml to the right place 2021-06-20 21:47:18 +02:00
801ad546f5 always build on branch 2021-06-20 21:35:26 +02:00