A private doorbell project to serve an Android app with webcam pictures and microphone recordings when someone presses the button. Information is being spread via MQTT. https://www.taibsu.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
heimdall/README.md

1.6 KiB

heimdall

This project is being developed on a Windows machine and deployed on a Raspberry Pi 4B+ using cross-platform tools given by Visual Studio 2019 (as seen when creating a new Raspberry Pi project using the project assistant).

Development

Requirements

heimdall needs the libraries CppGPIO and config4cpp to be able to compile.

Windows / Visual Studio

For developing heimdall on your Windows machine, you won't need to link against those libraries in your project since they will be linked on the remote machine (Raspberry Pi) anyways. However, you will need the respective include folders (which are provided inside the 3rdparty folder) to develop using those libs.

Raspberry Pi

To make VS be able to compile the code remotely on the Raspberry Pi, make sure to follow instructions below before remotely compiling the code on your Pi.

config4cpp

GitHub

# connect
ssh user@my-raspberrypi

# clone
git clone https://github.com/config4star/config4cpp.git

# make
cd config4cpp
make -j4

# install - unfortunately, config4cpp doesn't provide a "make install" routine.
cp -r lib/* /usr/lib
cp -r include/* /usr/include
cp -r bin/* /usr/bin

# done
CppGPIO

GitHub

# connect
ssh user@my-raspberrypi

# clone
git clone https://github.com/JoachimSchurig/CppGPIO.git

# make & install
cd CppGPIO
make -j4
sudo make install

# done