Just plug a dongle and watch the serial port

cu -l /dev/ttyACM0 -s 460800 

Then start a python service to turn serial to mqtt

Link to the python script nrf_mesh.py

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

more details about the protocol on the Home Smart Mesh Website Protocol page

Home Smart Mesh with comprehensible structure, menu for different boards, mesh concept,...

Repeater and Command Line Interface : nRF52840 usb dongle


DIY nRF52 Sensor Tag

Why am I doing a custom HW ? When I started this there were no Aqara sensors on the market. The aqara weather do not measure ambient light, the motion sensor does but with unpractical sampling rate and resolution. The nRF51802 is an 8€ tag that can sense temperature and ambient light, and the aqara the humidity and pressure which for my use case do not require a high sampling rate. So this nRF52 is more as a platform to plug in any new sensor but is an optional chain in the nRF custom mesh framework.

mRF52 Sensor Tag Key Features

Two battery types

nRF52 Mesh Router Dongle

Not really cheaper but smaller than the nRF52840 usb dongle. The nRF52840 usb dongle is now a much attractive alternative with way higher performance. But I do have lots of these nRF5832 dongles and the do the job, so both will be supported in this project.

nRF52 Mesh Dongle Key Features

How the Mesh Works

Complete Mesh to MQTT Mapping

The mqtt has been updated to be similar to zigbee2mqtt (json payload and topi in two levels not three), these changes are not yet reflected in the diagram below.

Docker and Raspberry pi Server Software

More structured info on

nRF52 Home Smart Mesh Website

More details about the DIY nRF52 : The PCB is ready


CR2032CR2477Factor
Cost0.25 €2 €x8
Capacity230 mAh900 mAhx4
Holder height4 mm12 mmx3

Link to Schematics

Used module

"nRF52832 module" search keyword, returns on vendor websites modules similar to this one :

Selection process of the power supply strategy 

Market Available nRF52 sensor Tags Alternatives

As this is not a project that focus on competition rather on feature rich eco-system, here are provided the closest market available alternatives, all of those HW could easily be ported to the Home Smart Mesh SW stack and vice versa.

RUUVIO

This is the ideal design, low power sensors logging in mind, has a big battery for longer life, open source, open hw. Although everything looks ideal, it is not affordable for a simple maker like me to redesign this into my own IoT sensors combination. Same as in the #Home Smart Mesh , the Ruuvio community is also converging to standard tools for logging data such as Grafana and a serious time series database such as Influx db. But funnily enough, as of 08-Apr-18 they hope to get the data in real time, they'll probably have fun with the bluetooth limitations and end up in a non optimal RF power usage, where as #Home Smart Mesh uses a custom power efficient protocol. So all of this shows that projects can profit from one another's oppenness.

Image result for ruuvio

Thingy 52

Professionaly boosted sensors you can never think of, this IoT wonder is not designed for long term sensors logging but rather for short term very smart companion (li-ion battery), although this could easily be changed. Again here, the cost is prohibitive for a maker you only wants one sensor type for an application, or let's say a dash button, that would be a waste.

nRF52 R40

source, undefined, search keywords "nRF52832 sensor".