Python Plugin: PiMonitor Topic is solved
Moderator: leecollings
- McMelloW
- Posts: 427
- Joined: Monday 20 November 2017 17:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.1
- Location: Harderwijk, NL
- Contact:
Re: Python Plugin: PiMonitor
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.
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
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
So there is something sensitive about the way you handle the icons. But this is just a cosmetic issue
Greetings McMelloW
-
- Posts: 22
- Joined: Tuesday 09 February 2016 23:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: France
- Contact:
Re: Python Plugin: PiMonitor
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?
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
-RFXtrx433 USB
-OpenZwave USB
-Teleinfo USB
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin: PiMonitor
@Xorfor,Xorfor wrote: ↑Tuesday 09 January 2018 22:22 A small plugin available for the Raspberry Pi:
https://github.com/Xorfor/Domoticz-PiMonitor-Plugin
To monitor CPU speed, usage, temperature, etc.
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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Re: Python Plugin: PiMonitor
@waaren
Under investigationI 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.
-
- Posts: 89
- Joined: Friday 15 September 2017 18:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10076
- Location: Germany
- Contact:
Re: Python Plugin: PiMonitor
Can you add Voltage to the Plugin?
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
Re: Python Plugin: PiMonitor
Version 2.0.0 is out
- Fixed loading images (hopefully)
- Added memory usage Domoticz
- Added voltage devices
- Reformatting code, for better maintenance
-
- Posts: 17
- Joined: Monday 26 March 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: PiMonitor
@Xorfor
Thank you for this plugin, it works fine on my RPIB3+,
Can you add the get_throttled command to your plugin?
I have many problems with the PSU,
I tried to update your plugin, but my knowledge on python is null.
If needed, It is used in the following python projects: Regards
Thank you for this plugin, it works fine on my RPIB3+,
Can you add the get_throttled command to your plugin?
I have many problems with the PSU,
I tried to update your plugin, but my knowledge on python is null.
If needed, It is used in the following python projects: Regards
Latest Beta on RPI3B+
RFX, Rflink,RM Pro, Xiaomi devices, Hue bridge, Onkyo, Harmony
RFX, Rflink,RM Pro, Xiaomi devices, Hue bridge, Onkyo, Harmony
Re: Python Plugin: PiMonitor
I added the Throttled device. But I am not able to test this . Please let me know whether this is what you want.RueDesButtes wrote: ↑Monday 17 December 2018 19:41 Can you add the get_throttled command to your plugin?
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Python Plugin: PiMonitor
SOLVED: I removed the plugin and icon again
allowed new devices for 5 minutes and installed PiMonitor.
Et Voila: I have devices. posting.php?mode=edit&f=65&p=201229#
HI, I just tried to install the plugin.
running on a RPI 3 version 4.10301
downloaded and installed the latest plugin, and restarted domoticz.
the plugin does add the icons, but does not add any devices.
I tried a few times, removed plugin and icons, also py cache directory.
please advice
Qwerk
allowed new devices for 5 minutes and installed PiMonitor.
Et Voila: I have devices. posting.php?mode=edit&f=65&p=201229#
HI, I just tried to install the plugin.
running on a RPI 3 version 4.10301
downloaded and installed the latest plugin, and restarted domoticz.
the plugin does add the icons, but does not add any devices.
I tried a few times, removed plugin and icons, also py cache directory.
please advice
Qwerk
-
- Posts: 17
- Joined: Monday 26 March 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: PiMonitor
Hello thank you.Xorfor wrote: ↑Saturday 22 December 2018 21:33I added the Throttled device. But I am not able to test this . Please let me know whether this is what you want.RueDesButtes wrote: ↑Monday 17 December 2018 19:41 Can you add the get_throttled command to your plugin?
Just updated,
So for it returns only 0, has I had not faced undervoltage since the update.
does the following will always return "0"?
Code: Select all
def vcgencmd(option):
if option in options:
cmd = "/opt/vc/bin/vcgencmd {}".format(option)
Domoticz.Debug("cmd: {}".format(cmd))
try:
res = os.popen(cmd).readline()
Domoticz.Debug("res: {}".format(res))
res = res.replace("{}=".format(options[option][0]), "")
res = res.replace("{}\n".format(options[option][1]), "")
Domoticz.Debug("res (replaced): {}".format(res))
except:
res = "0"
else:
res = "0"
return float(res)
Latest Beta on RPI3B+
RFX, Rflink,RM Pro, Xiaomi devices, Hue bridge, Onkyo, Harmony
RFX, Rflink,RM Pro, Xiaomi devices, Hue bridge, Onkyo, Harmony
Re: Python Plugin: PiMonitor
The function vcgencmd is also used for measure_temp, get_mem arm, etc. So the function certainly not always returns 0! To be sure set Debug to True and view the log. If you see something like '"res (replaced): 0", then you are sure the this is the result from get_throttled command.
-
- Posts: 9
- Joined: Thursday 21 March 2019 21:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: PiMonitor
Sorry Guys for asking,
but could someone please tell me how i can install this plugin?
want to monitor my pi a bit better.
and git clone doesn't seems to do the trick (new to raspbian stretch lite)
but could someone please tell me how i can install this plugin?
want to monitor my pi a bit better.
and git clone doesn't seems to do the trick (new to raspbian stretch lite)
Re: Python Plugin: PiMonitor
@Mayki:
I have seen this before. For some reason Domoticz does not like the name for my image. Fortunately it does not stop the plugin
I have seen this before. For some reason Domoticz does not like the name for my image. Fortunately it does not stop the plugin
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Python Plugin: PiMonitor
Version: 4.10717
Build Hash: b38b49e5
Compile Date: 2019-05-09 13:04:08
dzVents Version: 2.4.19
Python Version: 3.6.4 (default, Oct 10 2018, 09:47:26) [GCC 6.3.0 20170516]
Hi ALl,
GREAT plugin !!! love it. removed the RPI Sensors hardware thats inside of Domoticz...
When I have a restart I see this line:
2019-07-10 04:00:19.299 Error: CPlugin:PyDomoticz_Status, illegal operation, Plugin has not started yet.
What can that be?
Build Hash: b38b49e5
Compile Date: 2019-05-09 13:04:08
dzVents Version: 2.4.19
Python Version: 3.6.4 (default, Oct 10 2018, 09:47:26) [GCC 6.3.0 20170516]
Hi ALl,
GREAT plugin !!! love it. removed the RPI Sensors hardware thats inside of Domoticz...
When I have a restart I see this line:
2019-07-10 04:00:19.299 Error: CPlugin:PyDomoticz_Status, illegal operation, Plugin has not started yet.
What can that be?
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Re: Python Plugin: PiMonitor
@ poudenes
Fixed in the latest version!When I have a restart I see this line:
2019-07-10 04:00:19.299 Error: CPlugin:PyDomoticz_Status, illegal operation, Plugin has not started yet.
What can that be?
Who is online
Users browsing this forum: Bing [Bot] and 1 guest