Check for python
and pip
:
PS C:\Users\asoko\Projects\psmqtt> python --version
Python 3.10.8
PS C:\Users\asoko\Projects\psmqtt> which python
/c/Users/asoko/AppData/Local/Microsoft/WindowsApps/python
PS C:\Users\asoko\Projects\psmqtt> python -m pip --version
pip 22.0.3 from C:\Users\asoko\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pip (python 3.10)
Installed smartctl from here.
Check for smartctl
:
PS C:\Users\asoko\Projects\psmqtt> smartctl --scan
/dev/sda -d ata # /dev/sda, ATA device
/dev/sdb -d nvme # /dev/sdb, NVMe device
git clone https://github.com/asokolsky/psmqtt.git
git switch typing
python3 -m pip install -r requirements.txt
Played with psmqtt-publish.py
and identified;
psutil.sensors_temperatures
not implementedpsutil.sensors_fans
not implementedpySMART
is broken on Windows
Decided to not proceed.