|
|
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 |
|
|
|
5b1948df26
|
reverse engineer protocol 1 value
|
2022-10-25 17:22:08 +02:00 |
|
|
|
a85f4200c5
|
Merge pull request 'gateway: execute array but echo each executed command' (#2) from gateway into master
Reviewed-on: #2
|
2022-10-25 14:02:46 +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 |
|
|
|
711ba29f15
|
Merge branch 'oil_sensor'
|
2022-10-17 15:13:21 +02:00 |
|
|
|
52ad568dc1
|
Merge branch 'gateway'
|
2022-10-17 15:09:21 +02:00 |
|
|
|
7f0697227a
|
Merge branch 'temp_sensor'
|
2022-10-17 15:08:46 +02:00 |
|
|
|
d803b2402d
|
update measure interval to 1h
|
2022-10-17 14:14:23 +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 |
|
|
|
ce36b712db
|
Merge pull request 'gateway: adapt it to publish sensors on MQTT' (#1) from gateway into master
Reviewed-on: #1
|
2022-10-13 20:28:46 +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 |
|
|
|
0cd557f4d5
|
stop ser2net to avoid conflicts when uploading
|
2022-10-13 20:01:07 +02:00 |
|
|
|
77c6c06a6a
|
move id outside sensor block
|
2022-10-12 10:54:29 +02:00 |
|
|
|
3b07c1c30c
|
run pipeline for gateway branch
|
2022-10-12 10:52:22 +02:00 |
|
|
|
5957c39045
|
extract Dht in separate file and disable it
|
2022-10-08 16:08:12 +02:00 |
|
|
|
be7755c381
|
update workspace after split
after_split
|
2022-10-08 16:08:01 +02:00 |
|
|
|
fed3fd3866
|
decrease send frequency
|
2022-10-07 19:52:34 +02:00 |
|
|
|
ef00f5f417
|
turn on/off sonar sensor
|
2022-10-07 13:45:25 +02:00 |
|
|
|
7dcbbfa57f
|
optimize sending logic
|
2022-10-07 13:45:25 +02:00 |
|