Skip to content

area3001/mqtt2mendeleev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT to Mendeleev Bridge

This is a bridge to control the Mendeleev project over MQTT. More info on the Mendeleev protocol here.

Basic Usage

Address is the address of the node to query. It corresponds to the atomic number.

MQTT publish commands:

echo -en "\xFF\xFF\xFF\xFF" | mosquitto_pub -t mendeleev/<address>/setcolor -s

echo -en "\x01" | mosquitto_pub -t mendeleev/<address>/setmode -s

head -n 100 updatefile.elf | mosquitto_pub -t mendeleev/<address>/ota -s

MQTT publish responses:

mendeleev/<address>/setcolor/ack (null)

mendeleev/<address>/setcolor/nack (null)

Requirements

Installing

Clone the repository:

git clone [email protected]:area3001/mqtt2mendeleev.git

Go to the repository:

cd mqtt2mendeleev

Build the program:

make

Running

Run the program:

./mqtt2mendeleev -h broker.ip:port /dev/ttyRS485

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

MQTT to Mendeleev protocol bridge

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published