This is a default code structure to start an IOT project with XBee modules.
You need to connect a XBee coordinator to this central and launch the service.
Nom : Sébastien FLEURY
Email : sebastien.fleury@digitalseeder.com
Site Web : https://digitalseeder.com
-
Copy .env.dist to .env file and edit with local parameters
cp .env.dist .env
-
Install requirements
make install
-
Launch application
make run
-
Configure a coordinator and router/enddevice with XCTU (Download XCTU)
-
Ensure to set API mode to same one in the code (default: 2)
-
Ensure your user is member of the
dialout
group on Linux (use theid
command) and add user to group if not already donesudo usermod -a -G dialout <YOUR_USERNAME>
-
Install command make
apt install make