flabbergast
95e59e1165
Update README.
2 years ago
flabbergast
6dda6dbcf7
Add Temp+Pressure node.
3 years ago
flabbergast
1782b1136a
Switched from error_chain to failure.
3 years ago
flabbergast
e6795c981c
Update dependencies; rumqtt API forced code changes.
3 years ago
flabbergast
b4da462407
Protocol change: extra byte before the data.
3 years ago
flabbergast
49570b79f9
Little source code optimisation.
4 years ago
flabbergast
d31bbf4114
Bump version (0.0.16). Mostly internal code cleanup/reorg.
4 years ago
flabbergast
4f85de481e
Unwrap quick_main! and switch some warn!/error!s.
4 years ago
flabbergast
8c939a7912
Reorg: 'map_err's and 'run' in 'quick_main!'
4 years ago
flabbergast
3c891ce9cb
Remove lock().unwrap() by manually bailing.
4 years ago
flabbergast
8515a69132
Remove MyErrorWrapper (not needed anymore).
4 years ago
flabbergast
a136c774f4
Default cfgfilename handling.
4 years ago
flabbergast
b53c609f46
Move output thread handling to named function.
4 years ago
flabbergast
a55ce9d980
Handle MQTT publ errors without discard_and_print_.
4 years ago
flabbergast
b6b2b81c5c
Input handler thread uses chain_err.
4 years ago
flabbergast
e7a42972f0
Chain_err() works also on Option.
4 years ago
flabbergast
6dda66d041
Rename s2n to gw (breaks cmdline params).
4 years ago
flabbergast
4fcbed780c
Improve error handling (messages, unwraps).
4 years ago
flabbergast
d75eb8e569
Update README.
4 years ago
flabbergast
c938813938
AuxOpts move to params; use * cleanup.
4 years ago
flabbergast
21550b60e3
Separate the functional parts into lib.rs.
4 years ago
flabbergast
9014700f79
Bump version (0.0.15) - breaking changes in params and config.
4 years ago
flabbergast
634af590a2
Encapsulate params into struct, print as info.
4 years ago
flabbergast
0248f03b09
Improve node_list error message.
4 years ago
flabbergast
950ba0c89c
Make cfgfile format explicitly YAML (so that any filename will work).
4 years ago
flabbergast
dfd4b1e541
Config file is optional; read params also from ENV; formatting.
4 years ago
flabbergast
6cf8c92cdb
Enable_ switches are toggle_ and configurable in cfgfile.
4 years ago
flabbergast
f960a00ea8
Config file is configurable.
4 years ago
flabbergast
1e9a344356
Read params also from config file.
4 years ago
flabbergast
bc50d5f10f
Read devices from a yaml file.
...
HashMap representation uses strings for index; u8 would be
better but somehow config-rs does not parse the Map correctly
(no error but shows empty map).
4 years ago
flabbergast
161dd66623
Use HashMap for device list.
4 years ago
flabbergast
4df98e5ab1
Refactor match/if let, add config-rs dep.
4 years ago
flabbergast
235b145dd2
Use &'a str for SensorData after all.
4 years ago
flabbergast
62af0486cc
Bump version.
4 years ago
flabbergast
245ca6f204
Implement basic packed decoding checks.
4 years ago
flabbergast
10f3bc4ad8
process_bytes can return Error.
4 years ago
flabbergast
88ca2991c6
Add a list of failure states to README.
4 years ago
flabbergast
17c0e10ec1
Switch &'a str to String in SensorData and up.
...
... anticipating parsing a node_list.
4 years ago
flabbergast
9745d30343
Formatting and typo.
4 years ago
flabbergast
e3b35d9b54
Rewrite nodes decoding as a match from a list.
4 years ago
flabbergast
4d4d3078c2
Bump version.
4 years ago
flabbergast
0b98d1ef98
Hoist sensor data decoding to a separate type/function.
4 years ago
flabbergast
5e07807c41
Add readme and license.
4 years ago
flabbergast
ce0aa95eee
Change name, bump crates.
4 years ago
flabbergast
f08ee0752c
Save localtime in csvs.
4 years ago
flabbergast
59b0a84305
Fix missing slash in mqtt.
5 years ago
flabbergast
dd51f1d94e
Add outside node.
5 years ago
flabbergast
a9143ac590
Bump version.
5 years ago
flabbergast
672fe07f6c
Swapping conservatory nodes.
5 years ago
flabbergast
43e3698b3b
Make saving optional.
5 years ago