👷Flashing a Raspberry Pi with Edgeware from scratch
Install Ubuntu Server 22.04.22 LTS (64 bit) and Docker, then install Edgeware
How to install Edgeware's Docker image
After you have installed Docker, follow the below instructions to install the image.
First, determine the latest release number

Make sure the release number is correct in the below snippet
mkdir edgeware
cd edgeware
wget https://raw.githubusercontent.com/Edgewaretech/edgeware-bluegate/v1.0.0/docker-compose.yml
sudo docker compose up -d

Ensure that the version also matches the docker compose version


After editing this, the docker command should work.

Confirm that the containers are all running, and try and visit the EMQX instance at http://ubuntu.local:18083/
If this hostname isn't registered, try the ip address directly

You can see all the running services, at their respective ports


If you see that there is a container failing you can assess the logs

In this case no sensor or BleuIO BLE USB dongle were attached or configured and so this might be causing the issue.
Lets stop the containers and configure our settings, attach the bluetooth dongle and restart the pi.


FLASHING THE USB DONGLE
wget https://www.bleuio.com/getting_started/files/host_usb_updater_RPi.zip
sudo apt-get install unzip
unzip host_usb_updater_RPi.zip
wget https://www.bleuio.com/getting_started/files/bleuio.2.2.0.zip
unzip bleuio.2.2.0.zip
sudo ./host_usb_updater /dev/ttyACM0 ./bleuio.2.2.0.imgCheck if the usb is attached.
lsusb
The usb is attached, but the container isn't noticing it, check if the bind mounts are correct in docker.

And now we see this error, which is good:

Lets try and limit the traffic to only the MAC addresses we are interested in.

Go to the Ruuvi Station smartphone app and get the MAC address of the sensor
Now lets see if its working, lets go to nodeRed
http://edgeware.local:1880
Go to settings>palette and download edgeware

Drop a debug node on the canvas

Drop an Edgeware Ruuvi node on the canvas and configure with the MAC address

Link the edgeware node to the debug node and deploy, ignoring the warning and click ok

You should see messages pumping

Notice that this action creates topics in EMQX

lets go to EMQX portal
http://edgeware.local:18083/#/users
The default credentials are
admin
publicLast updated