nrf mesh to mqtt with tracing main steps

A project log for nRF5 Custom Mesh Network

A simpler, more efficient alternative to Z-x, BL-x, Thread, standard RF protocols

wassimWassim 10/04/2019 at 20:040 Comments

Serial output from the usb dongle

Dongle Firmware

cu can be used to check the output. Hint, stop serial with "~." 

cu -l /dev/ttyACM0 -s 460800 

Then start a python service to translate the serial to mqtt

Python script
python3 py/nrf_mesh/
mosquitto_sub -t 'nrf/#' -v | ts

The "| ts"  is a pipe that adds timestamp

subscribing to the mqtt topic would then show an output format inspired from zigbee2mqtt that allows to mix the custom nrf devices into the rest of the automation chain

used sensors

nRF52 DIY Sensor Tag
nRF51 sesnor tag

more details about the RF and serial protocol in