Skip to content
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

[FEATURE REQUEST] MQTT Support #268

Open
stonkage opened this issue Nov 25, 2024 · 4 comments
Open

[FEATURE REQUEST] MQTT Support #268

stonkage opened this issue Nov 25, 2024 · 4 comments
Milestone

Comments

@stonkage
Copy link

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

@svilenmarkov
Copy link
Member

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.

@svilenmarkov svilenmarkov added this to the Backlog milestone Nov 30, 2024
@EranStockdale
Copy link

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

  1. Something for Home Assistant which exposes a JSON API
  2. Something that sits inbetween Home Assistant and the MQTT device, and then reports back to Glance.

Just figured I'd add to this.

@svilenmarkov
Copy link
Member

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.

@EranStockdale
Copy link

@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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants