-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Generic MQTT integration #434
Comments
# [2.14.0](v2.13.1...v2.14.0) (2021-02-28) ### Bug Fixes * **bluetooth:** respect connecting state during retry ([8f36d87](8f36d87)) * **entities:** prevent dates from being proxied ([d861486](d861486)) ### Features * add generic MQTT integration ([848a25b](848a25b)), closes [#434](#434) * **bluetooth-classic:** allow id overrides ([f5fc88d](f5fc88d)) * **bluetooth-low-energy:** allow id overrides ([e41034e](e41034e)), closes [#433](#433) * **entities:** bunch entity updates together ([52f0197](52f0197)) * **home-assistant:** add discoveryPrefix option ([#546](#546)) ([1056bb5](1056bb5))
🎉 This issue has been resolved in version 2.14.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Great, thank you for the update and your work!
Edit: My bad, I misunderstood the concept. I switched to the mqtt integration, now I get a whole MQTT message with all distances. |
If you configure the EDIT: Jinx! |
I think this is a great start but it still requires me to subscribe to every RA instance to find where a device is. So if I have 5 RA instances and want to track where my phone is I have to subscribe to all five instances and figure out which one has the latest data for my phone. What would be great is subscribing to say |
@ljmerza If you have a stable cluster you can just determine an instance to use for your subscription, alternatively you can subscribe to e.g. The distances from all instances are under |
No you don't have to subscribe to every RA instance. I have a And wouldn't it be sufficent to subscribe to one entity, since they all communicate witch each other? For example, if I follow my kitchen entity, the mqqt message alsways contains the distances of all the other RA instances. |
My problem now is, that I do not get updates to devices which are not reachable by any RA instance. If I create a sensor in Node Red for the room occupancy, I will not be able to switch it to unavailable. |
@dflvunoooooo That would be because the entity data doesn't really change in room-assistant for that case. You should still get a state change to |
Thanks for your answer. Yes, it changes to |
Is your feature request related to a problem? Please describe.
Using room-assistant directly with NodeRED (or a different tool that goes directly to MQTT) is cumbersome, as the Home Assistant integration splits the information across multiple topics. There is no easy way to have all relevant information in a single message.
Describe the solution you'd like
A separate integration that offers a more plain and generic MQTT integration than the Home Assistant one. This integration should emit a new message as soon as something changed in the entity (state, attribute, other property...). The message should include the complete new state, and optionally the old state as well.
Describe alternatives you've considered
Additional context
This requires a bit of reworking of the entity registry.
The text was updated successfully, but these errors were encountered: