If you need more permanent solution than HARDWARIO Playground you can install all the services yourself in your system. This guide will help you to install and configure these services:
- HARDWARIO Gateway
bcg
- HARDWARIO BigClown Firmware Tool
bcf
- HARDWARIO Host Tool
bch
- Mosquitto MQTT broker
- Node-RED
- The process manager
pm2
- open Terminal application
Step 3: Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update && brew upgrade
brew install mosquitto
brew services start mosquitto
brew install node
sudo npm install -g --unsafe-perm node-red
cd ~/.node-red/
npm i node-red-dashboard
sudo npm install -g pm2
{% hint style="info" %} PM2 is a process manager that will help you to start Node-RED and other processes on boot. {% endhint %}
pm2 start `which node-red`
pm2 save
pm2 startup
{% hint style="danger" %}
Now you must follow the instructions provided by the command pm2 startup systemd
.
{% endhint %}
brew install python3
sudo pip3 install --upgrade --no-cache-dir pip
sudo pip3 install --upgrade --no-cache-dir bcf
sudo pip3 install --upgrade --no-cache-dir bcg
bcf devices
{% hint style="info" %}
You can use -v
parameter to see verbose information about the connected devices (possibly helping you to identify them).
{% endhint %}
bcf update
bcf flash bigclownlabs/bcf-gateway-usb-dongle:latest
pm2 start `which python3` --name "bcg-ud" -- `which bcg` --device ...
{% hint style="info" %}
Replace ...
with the device listed using bcf devices
.
{% endhint %}
{% hint style="warning" %}
If you want to update firmware in the Radio Dongle, first you have to stop bcg by the command pm2 stop bcg-ud
. After update, restart the service by the command pm2 restart bcg-ud
.
{% endhint %}
brew update && brew upgrade
sudo npm update -g node-red
sudo npm update -g pm2
sudo pip3 install --upgrade --no-cache-dir bcf
sudo pip3 install --upgrade --no-cache-dir bcg