TODO description, images, etc.
git clone --recursive https://github.com/7FM/DryNoMore.git
- Or
git clone https://github.com/7FM/DryNoMore.git
followed bygit submodule update --init --recursive
For Debian:
apt install git git-lfs gcc make binutils cmake libssl-dev libboost-system-dev zlib1g-dev libyaml-cpp-dev
Note that you will need gcc-11
to compile the telegram bot, as it uses std::bit_cast
(added in C++20).
Debian bullseye uses gcc-10
by default and g++-11
is currently only available in the testing channel.
Hence, you must add
deb http://httpredir.debian.org/debian testing main contrib non-free
to /etc/apt/sources.list
.
To avoid updating all packages to the testing channel create the file /etc/apt/preferences.d/unstable-preferences
with the following content:
Package: *
Pin: release a=testing
Pin-Priority: 100
Package: *
Pin: release a=unstable
Pin-Priority: 200
Then you can use apt -t testing install gcc
to install gcc-11
.
For NixOS see flake.nix
.
- For the Arduino project simply use PlatformIO, i.e. through the PlatformIO IDE.
- For the Telegram Bot simply go into the folder
server/telegram_bot
and runmake
. On success a binary should be present atserver/telegram_bot/build/drynomore-telegram-bot
Configure the Arduino Project:
- all major settings are adjustable in the
config.hpp
TODO list options
Configure the Telegram Bot:
- all major settings are adjustable though a YAML config file. As an example take a look at the
example_config.yaml
.
TODO list options
- v0.1:
- Barrel Jack power input (J10) has swapped polarity.
- v0.2:
- Main power consumption is caused by the W5500 Ethernet module
- fix power input polarity
- add mosfet to switch off the W5500 Ethernet module