[FEATURE REQUEST] MQTT Support
Hi - i love Glance!
Having the ability to add MQTT topics that i can "glance" at quickly.
I can get this info via other sources, but having the ability on my start page (which glance is) would be amazing
Hey, thanks for the suggestion!
I don't know pretty much anything about MQTT and also don't own any IoT devices so I'm not really the right person to add this feature for the time being. This is a good opportunity for someone else to build an extension for Glance that does this.
Alternatively, if you're a developer and are comfortable building an API that exposes the information you'd like to see via JSON, there will be a custom API widget added in v0.7.0 that would allow you to easily add that information to Glance.
Other than that, the only other option for now is to include the other sources you mentioned as an iframe widget.
Hey! I might be up for adding this (I have a couple smart plugs), however the issue is that MQTT devices only send data to a singular address (say, Home Assistant), there may need to be either
- Something for Home Assistant which exposes a JSON API
- Something that sits inbetween Home Assistant and the MQTT device, and then reports back to Glance.
Just figured I'd add to this.
Hey @EranStockdale, thanks for offering help! I think taking the data directly from Home Assistant would be ideal since that's what most use and it wouldn't require people to change their existing setups by introducing a proxy.
@svilenmarkov Actually, now that I think about it, Tasmota (commonly used on smart home devices) actually has it's own JSON API so that could be used instead to show the current status of devices. Shall I make it in a PR or as a custom integration/plugin (can't remember what they're called right now)?
Home Assistant Integration would be awesome. Like show the state of sensors, values such as temperatures etc. Even better if we could add interactive buttons.
Small update to this one, I am currently iframing a home assistant dashboard themed to glance
https://github.com/stonkage/fantastic-broccoli/blob/main/Glance%2FREADME.md