-
Notifications
You must be signed in to change notification settings - Fork 35
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
not an issue, mqtt autodiscovery idea for ha #32
Comments
one more thing, because it can matter
with two level structure one have to change json templates to read measurements. |
entity_id solved.
and nice result in entities |
@Maaciej, as I am setting up some new sensors for HA I will give this a try. Is it the intention to replace the content of the file "save-configuration.h" with your code as mentioned above? |
yes this whole save-configuration file content customized (unnecessary fields of json commented out and changed json structure) for my needs, with added mqtt autodiscovery for ha. |
Indeed, worked like a charm. Thanks a lot for the effort! |
files in question are:
files with extension .conf are from the program, and unknown are the first three.
|
Hi, i found a few issues with the above. Mainly having a device and sensor names. So updated some, added some,. https://github.com/elgansayer/TTGO-T-HIGrow/tree/feature/AutoDiscovery |
Auto discovery is complicated, it is not working for me, I don't understand what it tries to do, so I played with code.
save-configuration.h
new function
called before making json for mqtt with measure values:
And with this changes measurements show itself in home assistant for me:
still don't know how to make the measurements to be possible to disable, I mean make them with unique entity_id
And question,
it seems like there somewhere is log stored and other files, how to access them?
I thought there is web server, or it should be visible as a portable drive but I can't find.
Can anybody explain how to access log?
The text was updated successfully, but these errors were encountered: