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

How to use observer (API?) #150

Open
spanzetta opened this issue Dec 8, 2023 · 3 comments
Open

How to use observer (API?) #150

spanzetta opened this issue Dec 8, 2023 · 3 comments

Comments

@spanzetta
Copy link

I wonder if it's possible to use the Observer (trough port 4357) for sending command to HA instance (in my case running on RPI) to force a restart or to download logs..
I see in the Readme page that it mentions 2 Api command but it is not clear how to use them .. and I noticed that a /restart command was available in the past but apparently it is now removed..

I have sometimes my RPI tha doesn't respond on 8123 port (main GUI), even with local IP, but the Observer is running and it reports connected and healthy.. so my idea was to use it to restart the Raspberry.. but I need instructions (I don't keep SSH enabled for security)

I think that this can be usefull to all users in the same situation

@spanzetta
Copy link
Author

Nobody can help?

@jjvelar
Copy link

jjvelar commented Jan 24, 2024

I am interested too!

@agners
Copy link
Member

agners commented Apr 8, 2024

I wonder if it's possible to use the Observer (trough port 4357) for sending command to HA instance (in my case running on RPI) to force a restart or to download logs..

The logs are shared, e.g. you can query them through http://ha-yellow-prod.lan:4357/logs. However, there is no full fledged API, as the observer has no authentication.

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