Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.85 KB

README.rst

File metadata and controls

60 lines (42 loc) · 1.85 KB

Zephyr mesh demo python tool

The Zephyr mesh demo python tool provides functions to easily grab data from zephyr mesh demo nodes and connect to the Cayenne IoT project builder. With it you can send zephyr mesh demo data to Cayenne.

Setup.png

Cloud.png

Requirements

Getting Started

Installation

This library can be installed using pip:

On ubuntu:
pip3 install cayenne-mqtt && pip3 install pyserial


On ubuntu:
git clone https://github.com/overheat/zephyr_mesh_tool.git
cd zephyr_mesh_tool
python3 setup.py install

Cayenne Setup

  1. Create your Cayenne account at https://mydevices.com.
  2. Add a new device using the Bring Your Own Thing API selection.

Demo

Setup Zephyr Bluetooth Mesh Demo from here.

Connect any mesh node's serial port to your PC or Raspberry Pi, then

On ubuntu:
python3 app/mesh.py

Documentation

For more detailed info about the Cayenne client API you can use pydoc.

pydoc cayenne.client

Additional Cayenne MQTT Libraries

Additional libraries are available for connecting to Cayenne with other languages. These can be found at https://github.com/myDevicesIoT.