led-cli

Crates.ioled-cli
lib.rsled-cli
version0.1.0
sourcesrc
created_at2024-11-20 22:36:45.453957
updated_at2024-11-20 22:36:45.453957
descriptionA tool for controlling LED lights over mqqt
homepagehttps://github.com/leoseg/LED-CLI-Controller
repositoryhttps://github.com/leoseg/LED-CLI-Controller
max_upload_size
id1455402
size28,444
(leoseg)

documentation

README

LED-CLI-Controller

A simple CLI tool to control my LED strip connected to an Esp32 microcontroller. Run

led-cli set --mqtt_host=localhost --port=1884

to set the host and port of the mqtt broker to which the client should connect. Run 'on' or 'off' to publish messages at least once to the topic 'led'. You can provide the message the option 'color' and 'percentage' this will result in a message string in json format like this:

{
    "led-state": "on/off",
    "color": "red",
    "percentage": 100
}
Commit count: 10

cargo fmt