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 idea: Group subscriptions on one server with own headers #33

Open
luebbe opened this issue Mar 17, 2020 · 4 comments
Open

Feature idea: Group subscriptions on one server with own headers #33

luebbe opened this issue Mar 17, 2020 · 4 comments

Comments

@luebbe
Copy link

luebbe commented Mar 17, 2020

As far as I have understood the example it is right now possible to set a header for the entire module and labels for each subscription. Assuming we have several temp/humidity sensors on the same sever, it would be nice to subscribe to each of them and have a header for each.

Example:

Indoor
Temp 20°
Humid 56%
Outdoor
Temp -3°
Humid 34%

It could also be a good idea to define a kind of mqtt sensor template if similar sensors exist to avoid repeating configuration. This template could grab the subtopics underneath a base topic and render them.

@ottopaulsen
Copy link
Owner

Hi

I have no time for this module right now, as I am working on my MMM-Tibber module, but I will keep your request for later.

In the meantime you can try to set up the module twice. Then I think you can have different titles and different contents, and that way you can get the kind of grouping you want.

Repeating configuration is, in my opinion, not a big issue with the kid of powerful editors we have today, but I will keep it in mind.

Otto

@luebbe
Copy link
Author

luebbe commented Apr 4, 2020

Always remember that nano or vi via SSH may be the tools of choice for configuration ;)

@ottopaulsen
Copy link
Owner

True. Dis you try to set up multiple module instances?

Otto

@luebbe
Copy link
Author

luebbe commented Apr 7, 2020

Yes I did and it works fine. I wanted to have them next to each other in bottom_center, but unfortunately they stack. Have to find out how to achieve this. For now I put one in bottom_center and one in bottom_right, but if I want to show a third value, I have to find a solution.

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

2 participants