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

Read only mode #45

Open
lyonsad opened this issue Feb 11, 2024 · 3 comments
Open

Read only mode #45

lyonsad opened this issue Feb 11, 2024 · 3 comments

Comments

@lyonsad
Copy link

lyonsad commented Feb 11, 2024

Is there a way to make this integration read only? Make it so it reads the value of sensors and switches but cannot change them? This would be a useful config option.

@brettonw
Copy link
Contributor

brettonw commented Feb 11, 2024 via email

@lyonsad
Copy link
Author

lyonsad commented Feb 12, 2024

I hear what you are saying and the "right" place to implement this would be on the apex system itself. But since you can only have the one local user and they are admin you cant create a read only user to use for the automation.

My reasoning for wanting this function is pretty simple. I know how to do what is suggested, and use that as a way to monitor switch states. The challenge I have is these entities still exist in HA, and as such are still vulnerable to accidental or malicious changes. Examples could be accidental de-activation through targeting the wrong entity in an automation, someone in my home going to the wrong dashboard where all entities are listed, a hacker getting access to my HA, etc.

Thanks for your consideration and for the integration in general.

@brettonw
Copy link
Contributor

I have my HA instance connected through homekit, and have had my father mischievously turning off everything in the house using Siri, so I understand what you are concerned about.

the Apex apps have the guards on some controls to prevent accidental changes, but that is entirely implemented in the app, not the Apex itself.

If you aren’t actually interested in controlling your tank through HA, another approach would be to fetch the status JSON and report the values you want. If memory serves, this doesn’t even require authentication.

some examples are online, like https://forum.neptunesystems.com/showthread.php?31648-Guide-to-show-Apex-data-in-Home-Assistant

I don’t think they are aware of the integration’s existence.

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