
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
homebridge-linux-diskusage
Advanced tools
Expose disk usage percentage for a Linux drive as a humidity sensor reading
A homebridge humidity sensor for exposing Linux disk usage. Based on a different plugin by Chris Jones at https://github.com/cmsj/homebridge-linux-temperature Based on the fork by Peter Harry at https://github.com/GreyPeter/homebridge-pi-lm75 Based on origial code by Mark Webb-Johnson mark@webb-johnson.net. See original code here: https://github.com/markwj/homebridge-pi
npm install -g homebridgenpm install -g homebridge-linux-diskusageconfig.json using the sample below.{
"accessory": "LinuxDiskUsage",
"name": "Root disk usage",
"diskdevice": "/dev/sda1",
"diskdevices": {
"root": "/dev/sda1",
"share": "/dev/sdb1",
"data": "/dev/sdc1"
}
}
Fields:
accessory must be "LinuxDiskUsage" (required).name is the name of the published accessory (required).diskdevice is the disk device to monitor, if you want to monitor a single device. Use Linux commands mount of df to get devices.diskdevices: key/value pairs for name and device location, if you want to monitor multiple disks in a single 'tile'.Either diskdevice or diskdevices must be used. If both exist, diskdevices is used.
FAQs
Expose disk usage percentage for a Linux drive as a humidity sensor reading
We found that homebridge-linux-diskusage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.