You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a github project sdmon that can read the status / remaining endurance of certain sdcards. To make home assistant more robust it would be great to integrate sdmon into haos and enable it somehow for sdcards that can be read with sdmon. And warn a user when it is time to replace the sdcard before it fails.
Then I thought why is this not integrated into haos for all the platforms that (can) run from sdcard?
The not working addon doesn't seem to have any Mount point so it probably cannot access the sdcard device. But i haven't tried to troubleshoot that further.
I managed to copy the sdmon executable from the container into the host using the ssh 22222 debug terminal.
The size is: 266.5K, would that be okay to monitor the health of perhaps the most vulnerable part of a home assistant device?
Running it from the host with a WD Purple (endurance) sdcard, it can read the status of the card and outputs the following information:
So in theory still 99% of the endurance lifetime available.
Unfortunately there is not a single documented industrial standard and it is trial and error to find out which cards work. And I think the output of different cards might also vary. (Perhaps the open home foundation knows their ways into the industry or something to press for an open standard?).
I believe integrating sdmon could help to make home assistant much more robust when running from a supported sdcard on embedded devices.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
There is a github project sdmon that can read the status / remaining endurance of certain sdcards. To make home assistant more robust it would be great to integrate sdmon into haos and enable it somehow for sdcards that can be read with sdmon. And warn a user when it is time to replace the sdcard before it fails.
I tried using the sdmon app https://github.com/MaximizeRr/homeassistant-addon-sdmon
But unfortunately it doesn't seem to work.
Then I thought why is this not integrated into haos for all the platforms that (can) run from sdcard?
The not working addon doesn't seem to have any Mount point so it probably cannot access the sdcard device. But i haven't tried to troubleshoot that further.
I managed to copy the sdmon executable from the container into the host using the ssh 22222 debug terminal.
The size is: 266.5K, would that be okay to monitor the health of perhaps the most vulnerable part of a home assistant device?
Running it from the host with a WD Purple (endurance) sdcard, it can read the status of the card and outputs the following information:
"healthStatusPercentUsed": 1
So in theory still 99% of the endurance lifetime available.
Unfortunately there is not a single documented industrial standard and it is trial and error to find out which cards work. And I think the output of different cards might also vary. (Perhaps the open home foundation knows their ways into the industry or something to press for an open standard?).
I believe integrating sdmon could help to make home assistant much more robust when running from a supported sdcard on embedded devices.
Beta Was this translation helpful? Give feedback.
All reactions