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

Ability to update 'Show status only' Virtual Inputs #506

Open
raintonr opened this issue Dec 9, 2023 · 0 comments
Open

Ability to update 'Show status only' Virtual Inputs #506

raintonr opened this issue Dec 9, 2023 · 0 comments

Comments

@raintonr
Copy link
Collaborator

raintonr commented Dec 9, 2023

In Loxone config it's possible to check a Show status only box on Virtual Inputs:

image

This is useful to show the input's value to users in the web interface when it is not desirable to allow them to update the value.

Side note: Ideally Loxone would have a more granular permissions system to allow only certain users to update virtual inputs, but anyway...

Even when a virtual input is checked like this, it can be updated via HTTP API with a request such as...

http://<miniserver>/dev/sps/io/<virtualInputUUID>/<value>

I have written a workaround locally to use this when Virtual Inputs have this option, rather than trying to update the IoB state (which is currently correctly created read-only). It would be useful, however, to have the Loxone adapter (maybe optionally) detect Virtual Inputs with this option, make the IoB state read/write, and then send updates with an API request as noted above.

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

1 participant