Replies: 3 comments 1 reply
-
The project depends on a Home Automation controller to do these types of things, so there is no way to do that with the out-of-the-box firmware. But, you can customize the firmware to fit your needs and implement it in custom code. |
Beta Was this translation helpful? Give feedback.
-
that's the core of my question, how to integrate a mqtt subscribe to custom code ? |
Beta Was this translation helpful? Give feedback.
-
You are absolutely right, my request is “out of scope”! However, I appreciate the broad hardware base and the flexible UI configuration of your project. That's why I took it as the basis for my project. My question was just to get some information about the internal structure of the source code. In a project with thousands of lines of code and complex configuration options, it is not always easy to understand the code, even for an experienced software developer (especially in the MQTT part, several alternative libs are integrated) and I speak for my self 'the code is self explaining' ;-) In the meantime, however, I have realized my adaptation and will (after some tests and code cleanups) publish a fork with adapted “my_custom” code in Github. Feel free to adapt this to your project. Thanks again for your work ! |
Beta Was this translation helpful? Give feedback.
-
Is there a way (maybe with the 'my_custom' extension) to direct subscribe to an external MQTT device. In my case it is a shelly HT3 that sends temp. and hum. then goes to deep-sleep until value-change. I want to subscribe this JSON-value pair and view as a label or var.
something like this (in an other ESP32 project):
mqtt.subscribe("shellies/status/temperature:0", [](const char * topic, const char * payload)
...yes this could done in in a homeautomation system like HASS, but it is more comfortable to get the value direct without external systems and I don't use HASS.
any Ideas ?
Beta Was this translation helpful? Give feedback.
All reactions