How to request the status of a node #130
Replies: 1 comment 1 reply
-
Thanks, this is a really good question. This is a functionality that I should have built into the Irrigation sketch from the beginning. The proper scheme, which I'm laying out here with the intent of switching to, will require the user to specify the type of command: either set or get. I spent a while brainstorming and that's what I came up with. Let me know if it makes sense or any ideas you may have to improve this scheme. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Thanks for a fantastic frame.
I am struggling to get the status of various "nodes". For example. I would like to request the status of a relay via MQTT. Is it ON or OFF?
These MQTT messages are defined in "fdrs_gateway_config.h"
// MQTT topics
#define TOPIC_DATA "fdrs/data"
#define TOPIC_STATUS "fdrs/status"
#define TOPIC_COMMAND "fdrs/command"
How to request the status of a node using MQTT?
Beta Was this translation helpful? Give feedback.
All reactions