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

Sensor Updates #15

Open
m4tthall73 opened this issue Oct 27, 2024 · 5 comments
Open

Sensor Updates #15

m4tthall73 opened this issue Oct 27, 2024 · 5 comments

Comments

@m4tthall73
Copy link

Hi, first of all thanks for doing this, really useful. One question I have, are the sensors supposed to automatically update on the device? I have some sensors and assigned to buttons on the Loupedeck but they only show the static value when I assign them. I am assuming HomeAssistant isn't able to send the sensor information to this plug-in on a regular basis? Thanks again

@schmic
Copy link
Owner

schmic commented Oct 27, 2024

Hi @m4tthall73 - sensors are supposed to be reflected (in real time) on your Loupedeck.

There was an issue reported before, so after updating the plugin to work with the new SDK I checked and whenever temperature changes on Home-Assistant I can see the values on my device. What kind of sensor are you trying to monitor?

Could you do me a favor please, go into Home-Assistants developer-tools and change the value of some sensor manually and see if it changes on your Loupedeck. Do you maybe have a light switch bound to the Loupedeck as well? Does it change when you toggle through HA?

@m4tthall73
Copy link
Author

Thanks for the quick reply and apologies for not responding sooner.

So, it seems I might have jumped to conclusions a little. Some of the sensors appear to be updating immediately whereas a couple do not. After a little investigation I believe it might be where the sensor name is over a certain size and might have been automatically resized when adding? I verified this with one of the sensors which wasn't working to rename it to something shorter and it started working fine.

And on the subject of those with longer names, some of them do not automatically resize properly and I am unable to resize manually, as it still clips the text.

Does any of this make sense? :-)

Thanks!

@schmic
Copy link
Owner

schmic commented Nov 9, 2024

Do you have an example for me that is working and not working, @m4tthall73 ?

Where would you say is the length where it breaks?
To be honest it sounds like a bug in the Loupedeck software to me when it comes to repainting the screen with long names but I'm not sure yet.

@m4tthall73
Copy link
Author

m4tthall73 commented Nov 10, 2024

I have one device which was called Living Room Zen WiFi Router. I have a sensor on this called connected devices. Therefore, this automatically came up as Living Room Zen WiFi Router Connected Devices. When I added this the count was static. When I renamed the device to ASUS Router and then the sensor was ASUS Router Connected Devices, it updated dynamically. I appreciate these names are probably a bit too long anyway but I find it helps organising in Home Assistant.

One that still isn't working is my google ping, which is from the Ping (ICMP) integration. Decide is called google.com. Sensor is Round Trip Time Average. However, this is showing a static count for "google.com Round Trip Time Average" on Loupedeck.

image

Again, on that last point, sometimes the text/images don't seem to crop correctly and manual resizing doesn't fix it.
image

Thanks

@m4tthall73
Copy link
Author

OK, playing around with this a little more, I think (not 100% sure) it is for anything that gets resized whether that occurs manually or automatically. Does the resizing cause some kind of snapshot of the data at the time of resizing, and therefore doesn't update after that?

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