HI,
First Post, hope I am in correct room.
I have my own mqtt (mosquitto) server running. Would ESPEasy integrate with it? I have looked at the docs and it seems not.
When I say integrate - I mean - be able to receive GPIO commands and set pin states etc via MQTT messages.
I use node-red, and node-red-Dashboard. If it supports getting commands via normal MQTT then this is perfect for me.
Your inputs appreciated.
regards
MQTT Client
Moderators: grovkillen, Stuntteam, TD-er
Re: MQTT Client
ESP Easy can connect to mosquitto and listen for commands on the '<subscribe template>/cmd' topic.tooblippe wrote:HI,
First Post, hope I am in correct room.
I have my own mqtt (mosquitto) server running. Would ESPEasy integrate with it? I have looked at the docs and it seems not.
When I say integrate - I mean - be able to receive GPIO commands and set pin states etc via MQTT messages.
I use node-red, and node-red-Dashboard. If it supports getting commands via normal MQTT then this is perfect for me.
Your inputs appreciated.
regards
http://www.esp8266.nu/index.php/ESPEasy ... _Reference
Re: MQTT Client
Yes thank you.
I missed the leading "/" in setting the topic and did not understand how to format the cmd but maybe this will help someone.
I used the OpenHAB MQTT as setting
My server is running mosquitto
Lets say your device is called 'POOL'
The command is formatted like this (e.g. to set GPIO pin 5 to 1)
Format your MQTT message like below. Remember the leading '/'
Topic = /POOL/cmd
msg = GPIO,5,1
thanks
Tobie
I missed the leading "/" in setting the topic and did not understand how to format the cmd but maybe this will help someone.
I used the OpenHAB MQTT as setting
My server is running mosquitto
Lets say your device is called 'POOL'
The command is formatted like this (e.g. to set GPIO pin 5 to 1)
Format your MQTT message like below. Remember the leading '/'
Topic = /POOL/cmd
msg = GPIO,5,1
thanks
Tobie
Who is online
Users browsing this forum: Ahrefs [Bot] and 11 guests