I’ve been using this great tool for a while on a few different RPi, except the host machine that’s running my HA setup. On that machine Ive been using the SystemMonitor integration instead.
Is there any reason why I couldn’t use this system_sensors on the HA machine? MQTT is running on this same machine.
I don’t see a reason that it shouldn’t work on the same machine. Depends more on how you installed Home Assistant, with Home Assistant OS it’s probably difficult and won’t survive updates.
Could someone help and tell me what I’m doing wrong!? I’m running PiHole on a pi3, and HA on a pi4, I’ve followed all the steps from Sennevds but when running “python3 src/system_sensors.py src/settings.yaml” I get this;
something whent wrong
Connected to broker
Connected to broker
Connected to broker
Connected to broker
Connected to broker
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "src/system_sensors.py", line 42, in run
self.execute(*self.args, **self.kwargs)
File "src/system_sensors.py", line 50, in update_sensors
if settings['sensors'][sensor] == False:
KeyError: 'disk_use_drive1'
I’ve haven’t changed anything in ststem_sensors.py and I’m running python3 on the Pihole.
Hi, I know I’m probably been simple but I’ve followed the commands and it doesn’t appear it is working for me. I’m assuming the commands listed are abbreviated?
Here is what I got in the image, I skipped step 4 as I’ve already got python3 up to date.
Could you point out what I’m doing wrong here please.
@Burningstone if you see the very top line, I tried without changing to the root user and it kept telling me it didn’t exist.
Not sure if I should delete and start again.
Hi again. This is probably unbareable but here I go, it has not worked.
Step 3 didn’t work and then not sure if I did the next steps correctly, as an error was given.
I tried to edit the file with the commands you gave me but when using ‘nano’ a menu was brought up, so when out of that menu, a pasted the ‘mv’ command.