Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sending commands via MQTT #1577

Open
MrKelser opened this issue Jan 17, 2025 · 0 comments
Open

sending commands via MQTT #1577

MrKelser opened this issue Jan 17, 2025 · 0 comments

Comments

@MrKelser
Copy link

MrKelser commented Jan 17, 2025

Hi, I have a question.
I need to turn on/off a relay via MQTT, I am using mosquitto broker.

mosquitto_pub -h localhost -p 1883 -t 'application/fe7bae52-4682-497c-a62c-7830637193e4/device/a8404152d185b432/command/down' -m '{"devEui":"a8404152d185b432","confirmed":true,"fPort":5,"data":"AwEB"}'

With this command, I can turn on the relay from the terminal, but subscribing from FUXA does nothing. I would like to activate it with a button, but I don't know how.

imagen.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant