-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
#751 and #759 #781
#751 and #759 #781
Conversation
A lot of breaking changes for HA, but there are some thing to think about:
|
Thanks for the review
I changed it, like you said no harm in sending every hour
I couldn't reproduce that. It worked fine in my setup.
fixed that , thanks
en-fullname removed, good catch.
I've fixed that too. Now just need some small tests and I'll check in the latest updates to this PR |
See https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery
The node_id (basename) is skipped in your new implementation, but here Lines 558 to 563 in 7144c74
Your HA works, but the cleanup if you disable HA discovery not. Also i think in mqtt (explorer or other viewers) it's better to have all configs of one HA-node together. like this |
still not following you 100% the node is our mqtt base, and it follows the same folder structure as your screenshot. I made some changes, but haven't tested as I don't have HA right now (on a plane). From the output, it looks ok. I did a quick test earlier and found out the subscribe wasn't working, like for example sending a value to the topic Also I couldn't get the I'll pick it up again on the weekend Wish I never started stupid #759 !! |
You're right, sorry, i dont know what i have seen, but now i've tested and it's ok. A few last things:
And a question:
|
@MichaelDvP I need your help. With this PR (version b11) the MQTT subscribe is not working anymore and I can't figure out why. It works in b10 and if I compare this PR against it I see nothing that would break the subscribe. This is without HA. For example, sending a publish to |
I'll take a look when i'm back home, tomorrow evening or mo morning. |
Thanks, it's driving me nuts and just can't figure it out. To reproduce
only with b11 (this PR) step 4 doesn't comes up with nothing I don't know why since most of the changes are HA related, except for the NTP time in the info topic. |
@MichaelDvP I found the error. I had removed |
merging... |
I've tested now the latest dev, the maxTopicLength is only used here:
We can only set this line to FACTORY_MQTT_MAX_TOPIC_LENGTH (also tested) I'm not happy with changing the command log to INFO, With Thomas' iobroker-adater getting device values every10 sec the log is flooded. I'll make a few changes in a PR. |
good point, forgot about that. Can you change it back to |
No description provided.