Comments (4)
You're right, that can be fixed with the satellite service. Thanks for posting this though, otherwise I hadn't known :)
from hass.agent.
Related but slightly different issue with this sensor is that the value of the sensor remains set to the username even when the PC is locked. It's debatable whether this should be the case or not because technically the user is still "logged in" but the intent of this sensor IMO is to show which user has an active desktop session (i.e. is logged into the desktop session and is actively using the PC).
Thinking about the future where we have a "satellite service" and multiple users are supported and multiple users are logged in what should this value be? For example when more than one user is logged in but the PC is locked should it show the username of the last user to have an active desktop session? Should it show something like "system" or "locked"? Hmmmm 🤔
from hass.agent.
Hey @bverkron,
I've been thinking about this as well, and this is what I've come up with so far:
I'm going to make the LoggedUsersSensor
more strict: only users with an active session will be listed. Locked means not active, so not listed.
The LoggedUserSensor
will be based on the same code, but will always just show one user: if more are logged, it'll take the first.
It's up to the user to decide what they need, I don't think Windows 10/11 even support multiple active (remote desktop) users out of the box, so usually the LoggedUserSensor
will do.
The SessionStateSensor
can be used to show whether a specific user's session is locked or not.
Let me know what you think!
from hass.agent.
Fixed in the latest beta: https://github.com/LAB02-Research/HASS.Agent/releases/tag/2022.13.0-beta1
from hass.agent.
Related Issues (20)
- Feature: Greek Language Translation
- Bug: not connecting to mqtt
- Bug: Intermittent Multikey Command Response
- MQTT disconnects randomly in Windows 11 HOT 1
- Stops Communicating HOT 1
- Misc: How to see battery on laptop when lid is closed
- Misc: MQTT running but all sensors showing as "Unknown" HOT 6
- Compatible with windows 7?
- Feature: /api/image_proxy/image.entity notifications HOT 3
- Bug: Paid Syncfusion components.
- Agent working BEFORE login? HOT 5
- Mediaplayer isnt working after name change HOT 1
- Bug: Hass Agent does not open
- Bug: Signature of installer is outdated
- Monitorwake does not release up button HOT 2
- Bug: Windows 11 notifications not popping up HOT 2
- Misc: LAB02-Research vs hass-agent.io HOT 3
- Greek Translation
- Misc: Help convert MB to GB HOT 4
- Feature:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass.agent.