Commit graph

32 commits

Author SHA1 Message Date
9633b7cca8 Change drone config to extract version in alpine container 2021-03-13 15:32:07 +01:00
843fda81d1 Fix duplicate step name in drone config 2021-03-13 15:23:24 +01:00
4115a76457 Update drone config 2021-03-13 15:22:02 +01:00
765bca4241 Fix docker rust image in drone config 2021-03-13 15:11:49 +01:00
7c9bbd1a3f Set version to 0.0.1 2021-03-13 15:05:21 +01:00
2986476548 Update drone config to build the release for armhf 2021-03-13 15:04:25 +01:00
2dce7a0fdd Update drone config 2021-03-11 01:16:46 +01:00
a550f19d99 Fix name error in .drone.yml 2021-03-08 01:26:02 +01:00
9f12aec8fd Update .drone.yml 2021-03-08 01:25:09 +01:00
bb2bb4e94b Update .drone.yml 2021-03-08 01:23:34 +01:00
c12175fa45 Update README.md 2021-03-08 01:02:30 +01:00
ea4c9d6a76 Update .drone.yml 2021-03-08 00:46:13 +01:00
b02f2517e7 Update .drone.yml 2021-03-08 00:42:47 +01:00
359d1e16bd Update .drone.yml 2021-03-08 00:35:00 +01:00
47c1427fb3 Add drone build configuration 2021-03-08 00:25:14 +01:00
4cdf27a949 Add option "lto" to release build to reduce the binary size. 2021-03-01 00:54:27 +01:00
27cf849d8c Let Git ignore folder tmp and .DS_Store 2021-03-01 00:53:23 +01:00
26b6cf5e6c Don't panic when the config file couldn#t be read + disable cli arg "-v". 2021-03-01 00:52:00 +01:00
f50ac52cc1 Add README.md and configuration sample. 2021-03-01 00:50:50 +01:00
20f6438343 Change default name of configuration file to /etc/s0_meter.cfg 2021-03-01 00:00:42 +01:00
a2a3e8f98f Use name "channel_id" in response when pulses are requested via REST API. 2021-03-01 00:00:00 +01:00
ddd231c0eb Add rpi_pin_manager and make the app working on RPi. 2021-02-28 22:22:15 +01:00
38024dfc5d Build IP address and port of REST API from default values. 2021-02-25 23:00:32 +01:00
66d7958392 Add build target for RPi which will access the GPIOs if build-option --fetaure "rppal" is passed. 2021-02-25 22:58:52 +01:00
95f2611049 Add comment to explain why we sleep a little after spawning the thread. 2021-02-25 22:15:26 +01:00
1c7103a512 First implementation of REST API 2021-02-25 22:15:26 +01:00
86f9355464 Add one pulse lists per input channel to store the received pulses 2021-02-25 22:14:29 +01:00
9dc91f2512 Remove unused code and fix warnings 2021-02-25 22:11:07 +01:00
2ab7fcbe08 Implement pulse_counter 2021-02-25 21:59:09 +01:00
1070815482 Add Cargo.lock 2021-02-11 22:09:48 +01:00
7d02ff7f0a Implement config file reader 2021-02-11 22:09:29 +01:00
264acc6645 Initial commit 2021-02-11 15:05:10 +01:00