Python Plugin: PiMonitor

Python and python framework
User avatar
McMelloW
Posts: 193
Joined: Monday 20 November 2017 18:01
Target OS: Raspberry Pi
Domoticz version: V3.beta
Location: Harderwijk, NL
Contact:

Re: Python Plugin: PiMonitor

Post by McMelloW » Sunday 25 March 2018 22:31

No errors after the update to v3.9054. Good job
Greetings McMelloW

User avatar
Xorfor
Posts: 91
Joined: Sunday 03 December 2017 23:37
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Python Plugin: PiMonitor

Post by Xorfor » Sunday 25 March 2018 22:35

McMelloW wrote:
Sunday 25 March 2018 22:31
No errors after the update to v3.9054. Good job
Thnx :) !!!

User avatar
McMelloW
Posts: 193
Joined: Monday 20 November 2017 18:01
Target OS: Raspberry Pi
Domoticz version: V3.beta
Location: Harderwijk, NL
Contact:

Re: Python Plugin: PiMonitor

Post by McMelloW » Friday 30 March 2018 11:26

When you change the icons of some devices to another one then the PiMonitors' original. You will receive the errors again after a restart of Domoticz, but only once.

Code: Select all

2018-03-30 11:15:08.631 Error: (RPi Monitor) 'onStart' failed 'KeyError'.
2018-03-30 11:15:08.631 Error: (RPi Monitor) ----> Line 164 in /home/pi/domoticz/plugins/PiMonitor/plugin.py, function onStart
2018-03-30 11:15:08.631 Error: (RPi Monitor) ----> Line 59 in /home/pi/domoticz/plugins/PiMonitor/plugin.py, function onStart
It is not surprising. Replace the icons with the originals again the errors don't appears with a restart of Domoticz.
So there is something sensitive about the way you handle the icons. But this is just a cosmetic issue
Greetings McMelloW

pigloox
Posts: 71
Joined: Wednesday 10 February 2016 0:02
Target OS: Raspberry Pi
Domoticz version: BETA
Location: France
Contact:

Re: Python Plugin: PiMonitor

Post by pigloox » Saturday 14 April 2018 17:49

Hello

Is it possible to include the monitoring of another raspberry present on the network as with the Jeedom plugin?

Is this possibility studied or will not be develloped?
RPI3 Stretch (Hard disk)
-RFXtrx433 USB
-OpenZwave USB
-Teleinfo USB

User avatar
waaren
Posts: 812
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Python Plugin: PiMonitor

Post by waaren » Tuesday 17 July 2018 23:13

Xorfor wrote:
Tuesday 09 January 2018 23:22
A small plugin available for the Raspberry Pi:

https://github.com/Xorfor/Domoticz-PiMonitor-Plugin

To monitor CPU speed, usage, temperature, etc.
@Xorfor,

I use this plugin on my Pi systems and it is working great. I have a feature request to add another virtual sensor that shows the amount of memory used by domoticz.
I am no linux expert, so not sure it will give an accurate result but found

Code: Select all

sudo pmap $(cat /var/run/domoticz.pid) | grep total
as a method to get the amount of memory in use by domoticz.
Raspberry (debian stretch via berryboot on Synology DS916+) , Domoticz (almost) latest Beta, , dzVents 2.6, RFLink, RFXtrx433e, P1, Youless, Harmony, Hue, Yeelight, Xiaomi, HomeWizard, Zwave, Amazon echo

User avatar
Xorfor
Posts: 91
Joined: Sunday 03 December 2017 23:37
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Python Plugin: PiMonitor

Post by Xorfor » Thursday 19 July 2018 23:21

@waaren
I use this plugin on my Pi systems and it is working great. I have a feature request to add another virtual sensor that shows the amount of memory used by domoticz.
Under investigation :)

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests