-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Currently only REST based devices can be discovered in Home Edge framework. Hence services provided by those devices are only discoverable. Devices supporting other protocols like MQTT are not discoverable in this.
Describe the solution you'd like
Method to discover MQTT based devices by adding support of MQTT (running a broker). This should support
Device discovery
Topic subscription/publish
Additional context
There are various considerations to be made during this process.
- Currently Home Edge is Peer-Peer, meaning every device talks to every other device. So in similar regards should MQTT broker be running in all devices to maintain the current topology. So all device publish and subscribe to all other devices.
- Should we run broker only in one device and all other device publish to it. Say device A runs the broker and device B ad C are client. Need to see how to exchange the capabilities of B and C with each other.
- In case of single broker, broker selection method and fallback mechanism to be thought of.
- Home Edge maintains the devices discovered by REST separately. And MQTT would be maintaining it separately. We need to either unify or refer both the dbs.
- How do we expose services offered by MQTT devices , might be custom topics.
- Identify MQTT library for adopting, probably 'mosquitto'.
Reactions are currently unavailable
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or request