Synching device status #372
Unanswered
JuliaSoriaSmith
asked this question in
Integration enhancements
Replies: 1 comment
-
|
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Integration name
Syncthing
Link to integration documentation on our website
https://www.home-assistant.io/integrations/syncthing/
Describe the enhancement
Currently Synching reports the status of folders, but not the state of a device. E.g. a folder may be synced on your end but you do not know if its being received by a device.
By adding a device as a sensor it is possible to see if has been disconnected for a prolong period of time. Especially helpful as the SERVER_UNAVAILIBLE doesnt always report correctly, and multiple devices can receive one folder.
Use cases
Having a sensor to report the device status will allow users to verify that the data is being sent/received.
Anything else?
Device status can easily be-received as is via:
url = f"{self.host}/rest/system/connections"
headers = {"X-API-Key": self.api_key}
Beta Was this translation helpful? Give feedback.
All reactions