Diskspace
UPDATE: New download includes the missing background images! (thank you Erik)
This script allows you to setup hard-drive monitoring for HomeSeer. Based on the values you can actually run other events, get emails, etc
Download: version 0.8b
Parameters
DJ_DriveSpace_08.vb(“Main”,”<device>|<drive>|<write?>|<device_online?>”)
Device – Device to write free space information to
Drive – Drive/network_path to check for free space
Write – (optional) Write to DB? yes/no. If yes, it calls DJ_DBLogging_05.vb for DB writes.
DeviceOnline – (optional) Check if this device is ONLINE (value=1) If yes, then continue, otherwise stop.
Don’t want to check the drive-space for devices that are not accessible (OFF?)
Version 0.8
- Major changes.
- Run script once per ‘drive-space’ device
- No configuration inside script, all trough parameters
- Database writes removed from script, calling existing database write scripts for this.
Advantage: run script 1x/hour without DB writes and 1x/Day with DB writes.
NOTE: if using DB writes, check the script for the DB fields used through the DB writes script
Version 0.5
- Adds Database writes
- code clean-up
- Added documentation / full set of files
Thanx for this script!
Is this 0.5 still the latest version?
Hello Erik,
No, it’s not the last version.. In 4 weeks I’ll have some time to document & post the new version (which has a graphical way to display the disk status)..
DJ
Hi DJ, is your new version allready available?
Erik,
The script has been updated!
Cheers
DJ
Thnx DJ.
Graphics looking good! I will install the script later this week.
Erik
Hey DJ,
I’ve installed the script and it works now.
Had some trouble with the fourth parameter. The script gives an error if there is not a fourth parameter passed, so I made an addition in case the parameter value “no” is passed.
And can you share your images hard_drive_blue.gif, hard_drive_black.gif and hard_drive_red2.gif with me?
Cheers,
Erik
Thank you for pointing this out Erik. Just updated the .zip file to include the missing files.