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

Enhancement Ideas: Widget Functionality and Layout Improvements #10

Open
moritz-john opened this issue Nov 11, 2023 · 6 comments
Open

Comments

@moritz-john
Copy link

moritz-john commented Nov 11, 2023

Hello,

First and foremost, I want to express my gratitude for creating this fantastic widget.


I've noticed a couple of things and have some feedback:

  1. Currently, I can only use one widget at a time, as the other one keeps on spinning, even though both are configured with the same URL and Token.
    In case I need to use a different token per widget(?), this should be documented somewhere.
  2. It would be fantastic if we could resize widget 2️⃣/3️⃣, similar to how we can with widget 1️⃣ (or if the height of the widget is being automatically adjusted based on the number of entities).
    As you can see, I currently only need to control two entities, so there's a considerable amount of wasted space.
  3. I'd appreciate the ability to change the view so that all my entities span the entire width, mirroring the layout in 1️⃣, rather than creating a horizontal stack as seen in 3️⃣.
    image
    image

For the README:

Use
1) Enter the URL of the Home Assistant instance
2) Create Long Lived Access Token on your Home Assistant Profile page (https://<your_ha_address>/profile) and put it in the plasmoid configuration
3) Add entities

Maybe add a 4) step: "reboot", "login / logout" or kquitapp5 plasmashell && kstart5 plasmashell since I had to do one of those things in order to make my entities appear.

Kind regards,
Moritz

@moritz-john moritz-john changed the title Enhancement Request: Widget Functionality and Layout Improvements Enhancement Ideas: Widget Functionality and Layout Improvements Nov 11, 2023
@korapp
Copy link
Owner

korapp commented Nov 11, 2023

Thank you for your feedback.

  1. I am aware of this - it has been on my mind for some time.
  2. (3). I'm considering a more customizable layout but for now you should be able to achieve this (if you are using Plasma 5.26 or later) by resizing the widget:
resize_720p.mp4

It shouldn't be necessary to re-initialize the plasma, so this may be a bug. I'll investigate it.

@moritz-john
Copy link
Author

moritz-john commented Nov 11, 2023

for now you should be able to achieve this (if you are using Plasma 5.26 or later) by resizing the widget

You are absolutely right! Thank you for the video. I am running Plasma 5.27.9

@moritz-john
Copy link
Author

moritz-john commented Nov 11, 2023

Should I close this issue?
Aside from 1. (which you are already ware of), you provided a nice workaround for the other "issues".
Thank you :).

@wpinfusion
Copy link

I experience the same issue. I added it as desktop widget first and it worked fine. Then I wanted to add a widget to my taskbar and it just opened a popup with a spinner. Even after deleting the desktop widget, en readding the taskbar widget it's the same.

@korapp
Copy link
Owner

korapp commented Jan 7, 2024

Please check if the problem still occurs in v0.3.0.

@moritz-john
Copy link
Author

Please check if the problem still occurs in v0.3.0.

Thank you so much for your work. I can confirm that two widgets at the same time are working 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