Using Ubuntu, I couldn't get any reliable information from Domoticz Native 'Motherboard Sensors' plugin. Especially the empty space for HDD was always giving wrong information. So I wrote this plugin for my own needs and decided to give up on native 'Motherboard Sensors'.
2018-11-11 23:44:43.723 Error: (PsUtil) 'onHeartbeat' failed 'KeyError'.
2018-11-11 23:44:43.723 Error: (PsUtil) ----> Line 247 in '/home/luigi/domoticz/plugins/psutil/plugin.py', function onHeartbeat
2018-11-11 23:44:43.723 Error: (PsUtil) ----> Line 159 in '/home/luigi/domoticz/plugins/psutil/plugin.py', function onHeartbeat
do you known what's the matter?
Domoticz on AsRock j3455-ITX 8gb ram - Aeotec ZWave Usb Stick - RFLink 433Mhz
1x Fibaro Wall Plug
1x Fibaro Motion Sensor
x NeoCoolcam Wall Plug Netatmo Weather Station - Netatmo Thermostat Philips Hue Bridge
dextm80 wrote: ↑Sunday 11 November 2018 23:46
Hi! Nice work! I've this issue:
2018-11-11 23:44:43.723 Error: (PsUtil) 'onHeartbeat' failed 'KeyError'.
2018-11-11 23:44:43.723 Error: (PsUtil) ----> Line 247 in '/home/luigi/domoticz/plugins/psutil/plugin.py', function onHeartbeat
2018-11-11 23:44:43.723 Error: (PsUtil) ----> Line 159 in '/home/luigi/domoticz/plugins/psutil/plugin.py', function onHeartbeat
do you known what's the matter?
It turns out the snap devices on ubuntu is causing a problem on both native domoticz motherboard sensors and this psutil motherboard sensors. Please check: https://github.com/domoticz/domoticz/issues/2822
On Ubuntu, the loop devices created with snap are changing the df -h output order. So the number of disk devices and their order changes everytime, which in native motherboard sensors gives the wrong result, or in psutil motherboard sensors, an error. As a quick fix i deleted all my snap devices; but since snap is a thing on ubuntu now, i need to correct this situation in my plugin someday.
Can you please check 'df -h' and look if any loop devices or canonical snap devices exist?
dextm80 wrote: ↑Sunday 11 November 2018 23:46
Hi! Nice work! I've this issue:
2018-11-11 23:44:43.723 Error: (PsUtil) 'onHeartbeat' failed 'KeyError'.
2018-11-11 23:44:43.723 Error: (PsUtil) ----> Line 247 in '/home/luigi/domoticz/plugins/psutil/plugin.py', function onHeartbeat
2018-11-11 23:44:43.723 Error: (PsUtil) ----> Line 159 in '/home/luigi/domoticz/plugins/psutil/plugin.py', function onHeartbeat
do you known what's the matter?
It turns out the snap devices on ubuntu is causing a problem on both native domoticz motherboard sensors and this psutil motherboard sensors. Please check: https://github.com/domoticz/domoticz/issues/2822
On Ubuntu, the loop devices created with snap are changing the df -h output order. So the number of disk devices and their order changes everytime, which in native motherboard sensors gives the wrong result, or in psutil motherboard sensors, an error. As a quick fix i deleted all my snap devices; but since snap is a thing on ubuntu now, i need to correct this situation in my plugin someday.
Can you please check 'df -h' and look if any loop devices or canonical snap devices exist?
I guess i fixed the keyError now. Also added 'Network Mount Drives' if you want to follow up the mounted network drives disk usage; that is selectable on the plugin profile page. Could you try the new version 0.3 on the github?
I guess i fixed the keyError now. Also added 'Network Mount Drives' if you want to follow up the mounted network drives disk usage; that is selectable on the plugin profile page. Could you try the new version 0.3 on the github?