![]() Now change directory to WolkGatewayModule-Bluetooth/dependencies and run the install_bluez.sh script that will install BlueZ, which is a Bluetooth stack for Linux kernel-based family of operating systems. This completes the setup for WolkGateway repository resulting in a service that will forward the data from the Bluetooth module to WolkAbout IoT Platform.Ĭhange directory to home/ and clone the WolkGatewayModule-Bluetooth repository: git clone -recurse-submodules Īfter that, install WolkGatewayModule-Bluetooth’s dependencies by running: sudo apt-get install autotools-dev autoconf libtool m4 zlib1g-dev cmake python python-pip & python -m pip install conan , and also use restart stop disable if needed. To check the state of the service use sudo systemctl status wolk_rvice Then move it and enable it with the following commands: sudo mv wolk_rvice /lib/systemd/system/wolk_rvice sudo chmod 644 /lib/systemd/system/wolk_rvice sudo systemctl daemon-reload sudo systemctl enable wolk_rvice sudo systemctl start wolk_rvice Make changes to the username and the path if necessary. Next, switch to the Device Management tool from the application menu.įor easier use, create a service that will run the gateway by creating a new file wolk_rvice and copy the content from the project’s attachments. Head over to and register/log in with your account. Because of the limited hardware capabilities, this step will take some time (up to 10 minutes), so while waiting for this step to finish, create a gateway on WolkAbout IoT Platform. This script will prepare the build system and compile OpenSSL. Now that the dependencies are installed change directory into WolkGateway and run the configure.sh script. Start with connecting to the Raspberry Pi and cloning the WolkGateway repository: git clone -recurse-submodules Īfter that, install WolkGateway’s dependencies by running: sudo apt-get install mosquitto cmake python python-pip & sudo python -m pip install conan The modules enable communication with subordinate devices by implementing the device’s network communication protocol on one end (Bluetooth in this project), and parse data between the Mosquitto MQTT broker on the other end. WolkGateway bridges communication between WolkAbout IoT Platform and multiple non-IP-enabled devices connected to it through modules. This project uses two repositories: WolkGateway and WolkGatewayModule-Bluetooth. Considering that there is no need for actual wiring other than connecting the power supply to the Raspberry Pi, what you need is access to the Raspberry Pi either via SSH or by connecting a monitor and a keyboard to it. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |