Ein Modul zur Erfassen von diversen RPi/Linux-Statistiken (SYSMON)

Begonnen von hexenmeister, 06 Dezember 2013, 17:44:38

Vorheriges Thema - Nächstes Thema

hexenmeister

#1230
Exclude funktioniert nur gruppenweise. Exclude auf 'cputemp' würde sie alle eliminieren. Einzeln geht hier nicht.
Allerdings habe ich Dein Problem nicht wirklich verstanden. Soll doch Sysmon Attribute haben. Für die Visualisierung würde ich eh entweder SYSMON-Mitteln (SYSMON_ShowValuesHTML) oder eine ReadingGroup verwenden. Was spricht dagegen?

Bei mir sieht es z.B so aus wie im Anhang.

Vize

Hi Alexander,

danke nochmal für deine Antwort.

Na ja, ein Problem ist es ja nicht wirklich...
Dann hatte ich wohl ein generelles Verständnisproblem. Dachte, man könnte sich die readings des SYSMON-device nach Belieben anpassen. Mir würde das dann reichen, und ich bräuchte nicht noch ein zusätzliches "device" (ReadingsGroup z.B.).
Das Brett ist auf jeden Fall vom Kopf gelöst...

Für die Visualisierung werde ich mich dann mal mit SYSMON_ShowValuesHTML und ReadingsGroup auseinandersetzen.

Danke auch noch an PeMue für den Hinweis auf die ReadingsGroup.

Gruß
Andreas

PeMue

Hallo Alexander,

da muss ich doch glatt mal bei Dir in github schauen, wie das mit der Balkendarstellung funktioniert  ;)

Gruß Peter
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

kvo1

Zitat von: PeMue am 25 Juni 2016, 13:01:13
Hallo Alexander,

da muss ich doch glatt mal bei Dir in github schauen, wie das mit der Balkendarstellung funktioniert  ;)

Gruß Peter
Das dachte ich auch gerade  ;)
RPi1: mit CUL: HM-CC-RT-DN,HM-ES-PMSw1-Pl,HM-LC-BL1-FM,HM-LC-Bl1PBU-FM,HM-LC-SW1-PL2,HM-SCI-3-FM,HM-SEC-SC-2,KFM-Sensor
RPi2: Viessmann(optolink) mit 99_VCONTROL.pm,
Cubietruck: Wheezy / Apache / Owncloud
Cubietruck: Armbian(Jessie) / fhem 5.7 / LMS 7.9
RPi3: (Test) mit 7" Touch  &  HM-MOD-RPI-PCB

PeMue

RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

hexenmeister

Charts waren eine 'Code-Spende' von snx8. Ich habe die Chart-Funktionalität aus dem SYSMON-Modul jetzt entfernt. Das jetzt ist in ein eigenes Modul ausgelagert (42_SYSMONChart.pm). Habe gerade in GitHab hochgeladen.

leech0r

Hallo Leute,

Habe ein kleines Problem mit dem SYSMON da ein paar Sachen vom Modul nicht geprüft sondern vorausgesetzt werden.
Dies widerum setzt Logeinträge ohne Ende ab und würde ich unnötig Daten Loggen wollen würd ich mir ein RandomLogEntry-Script basteln - will ich aber nicht ;)

Da ich FHEM alle paar Tage update, werden meine Anpassungen an dem SYSMON Modul leider jedesmal rückgängig gemacht :/
ein verbose=0 in dem Modul ist leider nur ein Workaround und löst das "Problem" nicht.

Ich nutze einen Odroid C2 mit Ubuntu 16.04LTS, alles Up2Date

Habe ein paar Einträge aus meinem Log, als Beispiel, welche nun folgen.
(Dieser LogBlock wird im übrigen jede (!) Minute erzeugt.)

LogEntrys:
cat: /sys/class/power_supply/ac/present: No such file or directory
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
cat: /sys/class/power_supply/ac/current_now: No such file or directory
cat: /sys/class/power_supply/ac/voltage_now: No such file or directory
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3609.
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3609.
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3609.
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3610.
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3610.
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3610.
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3610.
2016.06.26 03:49:48 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3610.
2016.06.26 03:49:50 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1608.
2016.06.26 03:49:50 1: PERL WARNING: Use of uninitialized value $idle in division (/) at ./FHEM/42_SYSMON.pm line 1610.

franky08

#1237
@leech0r
Hallo, ich würde exclude from update nutzen und die 42_SYSMON.pm damit vom update ausschließen. Wenn du eine Seite zurück gehst findest du eine SYSMON.pm die ich für 16.04 LTS angepasst habe (andere Pfade für cat usw.)
Zitat
Zitat von: franky08 am 29 Mai 2016, 22:42:16
Habe mal $nName mittels Log 3 ausgelesen und damit kann es nicht funktionieren:
2016.05.29 22:38:43 3: eth0
2016.05.29 22:38:43 3: wlan


da müsste enp1s0 und wlp3s0 drin stehen
jetzt noch enp1s0:enp1s0:Ethernet,wlp3s0:wlp3s0:WIFI in network-interfaces geändert und ALLES funktioniert  :)

List
Internals:
   DEF        1 1 1 10
   INTERVAL_BASE 60
   INTERVAL_MULTIPLIERS 1 1 1 10
   MODE       local
   NAME       Zotac_Status
   NR         20
   STATE      Active
   TYPE       SYSMON
   Readings:
     2016-05-29 22:47:47   cpu0_freq       499
     2016-05-29 22:47:47   cpu0_freq_stat  499.00 612.00 499.19
     2016-05-29 22:47:47   cpu0_idle_stat  98.99 99.97 99.77
     2016-05-29 22:47:47   cpu1_freq       499
     2016-05-29 22:47:47   cpu1_freq_stat  499.00 593.00 499.01
     2016-05-29 22:47:47   cpu1_idle_stat  98.71 99.93 99.74
     2016-05-29 22:47:47   cpu1_temp       49.00
     2016-05-29 22:47:47   cpu1_temp_avg   49.2
     2016-05-29 22:47:47   cpu1_temp_stat  49.00 50.00 49.19
     2016-05-29 22:47:47   cpu2_freq       499
     2016-05-29 22:47:47   cpu2_freq_stat  499.00 904.00 503.27
     2016-05-29 22:47:47   cpu2_idle_stat  99.39 99.95 99.80
     2016-05-29 22:47:47   cpu2_temp       50.00
     2016-05-29 22:47:47   cpu2_temp_avg   49.8
     2016-05-29 22:47:47   cpu2_temp_stat  49.00 50.00 49.89
     2016-05-29 22:47:47   cpu3_freq       499
     2016-05-29 22:47:47   cpu3_freq_stat  499.00 504.00 499.01
     2016-05-29 22:47:47   cpu3_idle_stat  99.37 99.92 99.83
     2016-05-29 22:47:47   cpu3_temp       50.00
     2016-05-29 22:47:47   cpu3_temp_avg   49.8
     2016-05-29 22:47:47   cpu3_temp_stat  49.00 50.00 49.98
     2016-05-29 22:47:47   cpu4_temp       50.00
     2016-05-29 22:47:47   cpu4_temp_avg   49.8
     2016-05-29 22:47:47   cpu4_temp_stat  49.00 50.00 49.96
     2016-05-29 22:47:47   cpu_core_count  256
     2016-05-29 22:47:47   cpu_freq        499
     2016-05-29 22:47:47   cpu_freq_stat   499.00 612.00 499.19
     2016-05-29 22:47:47   cpu_idle_stat   99.32 99.90 99.79
     2016-05-29 22:45:47   cpu_model_name  Intel(R) Celeron(R) CPU  N2930  @ 1.83GHz
     2016-05-29 22:47:47   enp1s0          RX: 16.90 MB, TX: 10.85 MB, Total: 27.75 MB
     2016-05-29 22:47:47   enp1s0_diff     RX: 0.00 MB, TX: 0.01 MB, Total: 0.01 MB
     2016-05-29 22:47:47   enp1s0_ip       192.168.2.73
     2016-05-29 22:47:47   enp1s0_ip6      fe80::201:2eff:fe00:a188/64
     2016-05-29 22:47:47   enp1s0_rx       17723650
     2016-05-29 22:47:47   enp1s0_speed    1000
     2016-05-29 22:47:47   enp1s0_tx       11382215
     2016-05-29 22:47:47   fhemstarttime   1464554687
     2016-05-29 22:47:47   fhemstarttime_text 29.05.2016 22:44:47
     2016-05-29 22:47:47   fhemuptime      180
     2016-05-29 22:47:47   fhemuptime_text 0 days, 00 hours, 03 minutes
     2016-05-29 22:47:47   idletime        585 1.56 %
     2016-05-29 22:47:47   idletime_text   0 days, 00 hours, 09 minutes (1.56 %)
     2016-05-29 22:47:47   loadavg         0.07 0.04 0.05
     2016-05-29 22:45:47   perl_version    v5.22.1
     2016-05-29 22:47:47   ram             Total: 7875.16 MB, Used: 152.26 MB, 1.93 %, Free: 7722.90 MB
     2016-05-29 22:47:47   ram_used_stat   147.58 168.69 154.33
     2016-05-29 22:45:47   root            Total: 460886 MB, Used: 4310 MB, 1 %, Available: 433142 MB at /
     2016-05-29 22:47:47   starttime       1464517297
     2016-05-29 22:47:47   starttime_text  29.05.2016 12:21:37
     2016-05-29 22:47:47   stat_cpu        12876 654 10561 14989978 7755 0 307
     2016-05-29 22:47:47   stat_cpu0       2269 0 2492 3748716 1595 0 108
     2016-05-29 22:47:47   stat_cpu0_diff  0 0 4 5992 0 0 0
     2016-05-29 22:47:47   stat_cpu0_percent 0.00 0.00 0.07 99.93 0.00 0.00 0.00
     2016-05-29 22:47:47   stat_cpu0_text  user: 0.00 %, nice: 0.00 %, sys: 0.07 %, idle: 99.93 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   stat_cpu1       4306 2 2780 3745968 1690 0 83
     2016-05-29 22:47:47   stat_cpu1_diff  3 0 4 5991 0 0 0
     2016-05-29 22:47:47   stat_cpu1_percent 0.05 0.00 0.07 99.88 0.00 0.00 0.00
     2016-05-29 22:47:47   stat_cpu1_text  user: 0.05 %, nice: 0.00 %, sys: 0.07 %, idle: 99.88 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   stat_cpu2       3038 58 2511 3749364 1426 0 73
     2016-05-29 22:47:47   stat_cpu2_diff  1 0 5 5992 0 0 0
     2016-05-29 22:47:47   stat_cpu2_percent 0.02 0.00 0.08 99.90 0.00 0.00 0.00
     2016-05-29 22:47:47   stat_cpu2_text  user: 0.02 %, nice: 0.00 %, sys: 0.08 %, idle: 99.90 %, io: 0.00 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   stat_cpu3       3262 593 2776 3745930 3042 0 41
     2016-05-29 22:47:47   stat_cpu3_diff  2 0 5 5986 4 0 0
     2016-05-29 22:47:47   stat_cpu3_percent 0.03 0.00 0.08 99.82 0.07 0.00 0.00
     2016-05-29 22:47:47   stat_cpu3_text  user: 0.03 %, nice: 0.00 %, sys: 0.08 %, idle: 99.82 %, io: 0.07 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   stat_cpu_diff   6 0 19 23959 5 0 1
     2016-05-29 22:47:47   stat_cpu_percent 0.03 0.00 0.08 99.87 0.02 0.00 0.00
     2016-05-29 22:47:47   stat_cpu_text   user: 0.03 %, nice: 0.00 %, sys: 0.08 %, idle: 99.87 %, io: 0.02 %, irq: 0.00 %, sirq: 0.00 %
     2016-05-29 22:47:47   swap            Total: 8084.00 MB, Used: 0.00 MB,  0.00 %, Free: 8084.00 MB
     2016-05-29 22:47:47   swap_used_stat  0.00 0.00 0.00
     2016-05-29 22:47:47   uptime          37569
     2016-05-29 22:47:47   uptime_text     0 days, 10 hours, 26 minutes
     2016-05-29 22:47:47   wlp3s0          RX: 0.00 MB, TX: 0.00 MB, Total: 0 MB
     2016-05-29 22:47:47   wlp3s0_diff     RX: 0.00 MB, TX: 0.00 MB, Total: 0.00 MB
     2016-05-29 22:47:47   wlp3s0_rx       0
     2016-05-29 22:47:47   wlp3s0_speed    not available
     2016-05-29 22:47:47   wlp3s0_tx       0
   Helper:
     sys_cpu0_freq 1
     sys_cpu0_temp 0
     sys_cpu1_freq 1
     sys_cpu1_temp 1
     sys_cpu2_freq 1
     sys_cpu2_temp 1
     sys_cpu3_freq 1
     sys_cpu3_temp 1
     sys_cpu4_freq 0
     sys_cpu4_temp 1
     sys_cpu5_freq 0
     sys_cpu5_temp 0
     sys_cpu6_freq 0
     sys_cpu6_temp 0
     sys_cpu7_freq 0
     sys_cpu7_temp 0
     sys_cpu_freq_rpi_bbb 1
     sys_cpu_temp_bbb 0
     sys_cpu_temp_rpi 0
     sys_fb     0
     sys_power_ac 0
     sys_power_bat 0
     sys_power_usb 0
     u_first_mark 1
     Cur_readings_map:
       cpu0_freq  CPU frequency (core 0)
       cpu0_freq_stat CPU frequency (core 0) stat
       cpu0_idle_stat CPU0 min/max/avg (idle)
       cpu1_freq  CPU frequency (core 1)
       cpu1_freq_stat CPU frequency (core 1) stat
       cpu1_idle_stat CPU1 min/max/avg (idle)
       cpu1_temp  CPU temperature (core 1)
       cpu1_temp_avg Average CPU temperature (core 1)
       cpu1_temp_stat CPU temperature stat (core 1)
       cpu2_freq  CPU frequency (core 2)
       cpu2_freq_stat CPU frequency (core 2) stat
       cpu2_idle_stat CPU2 min/max/avg (idle)
       cpu2_temp  CPU temperature (core 2)
       cpu2_temp_avg Average CPU temperature (core 2)
       cpu2_temp_stat CPU temperature stat (core 2)
       cpu3_freq  CPU frequency (core 3)
       cpu3_freq_stat CPU frequency (core 3) stat
       cpu3_idle_stat CPU3 min/max/avg (idle)
       cpu3_temp  CPU temperature (core 3)
       cpu3_temp_avg Average CPU temperature (core 3)
       cpu3_temp_stat CPU temperature stat (core 3)
       cpu4_idle_stat CPU4 min/max/avg (idle)
       cpu4_temp  CPU temperature (core 4)
       cpu4_temp_avg Average CPU temperature (core 4)
       cpu4_temp_stat CPU temperature stat (core 4)
       cpu5_idle_stat CPU5 min/max/avg (idle)
       cpu6_idle_stat CPU6 min/max/avg (idle)
       cpu7_idle_stat CPU7 min/max/avg (idle)
       cpu_bogomips BogoMIPS
       cpu_core_count Number of CPU cores
       cpu_freq   CPU frequency
       cpu_freq_stat CPU frequency stat
       cpu_idle_stat CPU min/max/avg (idle)
       cpu_model_name CPU model name
       date       Date
       enp1s0     Ethernet
       enp1s0_diff Ethernet (diff)
       enp1s0_ip  Ethernet (IP)
       enp1s0_ip6 Ethernet (IP6)
       enp1s0_rx  Ethernet (RX)
       enp1s0_speed Ethernet (speed)
       enp1s0_tx  Ethernet (TX)
       fhemstarttime Fhem start time
       fhemstarttime_text Fhem start time
       fhemuptime System up time
       fhemuptime_text FHEM up time
       idletime   Idle time
       idletime_text Idle time
       io_sda     TEST
       io_sda_diff TEST
       io_sda_raw TEST
       loadavg    Load average
       loadavg_1  Load average 1
       loadavg_15 Load average 15
       loadavg_5  Load average 5
       perl_version Perl Version
       ram        RAM
       ram_free   RAM free
       ram_free_percent RAM free %
       ram_total  RAM total
       ram_used   RAM used
       ram_used_stat RAM used stat
       root       Filesystem /
       starttime  System start time
       starttime_text System start time
       stat_cpu   CPU statistics
       stat_cpu0  CPU0 statistics
       stat_cpu0_diff CPU0 statistics (diff)
       stat_cpu0_percent CPU0 statistics (diff, percent)
       stat_cpu0_text CPU0 statistics (text)
       stat_cpu1  CPU1 statistics
       stat_cpu1_diff CPU1 statistics (diff)
       stat_cpu1_percent CPU1 statistics (diff, percent)
       stat_cpu1_text CPU1 statistics (text)
       stat_cpu2  CPU2 statistics
       stat_cpu2_diff CPU2 statistics (diff)
       stat_cpu2_percent CPU2 statistics (diff, percent)
       stat_cpu2_text CPU2 statistics (text)
       stat_cpu3  CPU3 statistics
       stat_cpu3_diff CPU3 statistics (diff)
       stat_cpu3_percent CPU3 statistics (diff, percent)
       stat_cpu3_text CPU3 statistics (text)
       stat_cpu4  CPU4 statistics
       stat_cpu4_diff CPU4 statistics (diff)
       stat_cpu4_percent CPU4 statistics (diff, percent)
       stat_cpu4_text CPU4 statistics (text)
       stat_cpu5  CPU5 statistics
       stat_cpu5_diff CPU5 statistics (diff)
       stat_cpu5_percent CPU5 statistics (diff, percent)
       stat_cpu5_text CPU5 statistics (text)
       stat_cpu6  CPU6 statistics
       stat_cpu6_diff CPU6 statistics (diff)
       stat_cpu6_percent CPU6 statistics (diff, percent)
       stat_cpu6_text CPU6 statistics (text)
       stat_cpu7  CPU7 statistics
       stat_cpu7_diff CPU7 statistics (diff)
       stat_cpu7_percent CPU7 statistics (diff, percent)
       stat_cpu7_text CPU7 statistics (text)
       stat_cpu_diff CPU statistics (diff)
       stat_cpu_idle_percent CPU statistics idle %
       stat_cpu_io_percent CPU statistics io %
       stat_cpu_irq_percent CPU statistics irq %
       stat_cpu_nice_percent CPU statistics nice %
       stat_cpu_percent CPU statistics (diff, percent)
       stat_cpu_sirq_percent CPU statistics sirq %
       stat_cpu_sys_percent CPU statistics sys %
       stat_cpu_text CPU statistics (text)
       stat_cpu_user_percent CPU statistics user %
       swap       swap
       swap_free  swap free
       swap_total swap total
       swap_used  swap used
       swap_used_percent swap used %
       swap_used_stat swap used stat
       uptime     System up time
       uptime_text System up time
       wlp3s0     WIFI
       wlp3s0_diff WIFI (diff)
       wlp3s0_ip  WIFI (IP)
       wlp3s0_ip6 WIFI (IP6)
       wlp3s0_rx  WIFI (RX)
       wlp3s0_speed WIFI (speed)
       wlp3s0_tx  WIFI (TX)
     Excludes:
Attributes:
   network-interfaces enp1s0:enp1s0:Ethernet,wlp3s0:wlp3s0:WIFI


In « Antwort #1225 am: 29 Mai 2016, 22:42:16 » habe ich die geänderte Datei angehangen, die läuft bei mir auf Zbox nano mit Ubuntu 16.04 LTS.

VG
Frank
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

leech0r

#1238
Aaah perfekt, hatte exclude_from_update völlig übersehen - Danke !

Ich habe sowohl einen RasPi (1 B v2.0) mit Jessie als auch den Odroid C2 (welcher durch die enorme Leistung das neue Zugpferd sein soll).
Ich guck mir deine Änderungen an und Teste ob beide Systeme (Local & entfernter Host) damit laufen.

Meine Änderungen gingen nur dahin abzufragen ob die Datei existiert und falls Nein, den Block zu überspringen und mit Var=1 zu ersetzen.
Genauso hatte ich ein paar Variablen die als Int erwartet werden mit int(Var) ersetzt (einfach nur der Sauberkeit und Sicherheit halber)...

btw: verbose=0 bringt bei beiden angelegten Devices soviel als wenn ich versuchen würde mein fhem mit den Gedanken zu steuern - nichts.

Egal, ist für mich jetzt gelöst, nochmal Thx und weiterhin Happy Fhem-ing everyone :)

Edit:
Franky, leider tritt der Fehler mit deiner Sysmon.pm noch immer auf, werde jetzt wieder meine Anpassungen (am Original) durchführen.
Die (virtuelle) Datei wird bei mir scheinbar vom System nicht angelegt weshalb die Fehlermeldungen (Datei nicht gefunden inkl. darauf resultierende Berechnungen) auftauchen.

mahowi

Ich habe seit kurzem Einträge mit negativen Werten für RAM:
SYSMON sysmon ram: Total: 925.54 MB, Used: -968.57 MB, -104.65 %, Free: 1260.55 MB

Den ersten Eintrag mit negativer Nutzung finde ich am 20.07. Woran könnte das liegen?

free ergibt normale Ergebnisse:
pi@raspberrypi:~ $ free -h
              total        used        free      shared  buff/cache   available
Mem:           925M        252M         18M         53M        654M        587M
Swap:           99M        584K         99M
CUBe (MAX): HT, FK | CUBe (SlowRF): ESA2000WZ
JeeLink: LaCrosse | nanoCUL433: Smartwares SHS-51001-EU, EM1000GZ
ZME_UZB1: GreenWave PowerNode, Popp Thermostat | SIGNALDuino: HE877, X10 MS14A, Revolt NC-5462,  IT Steckdosen + PIR
tado° | Milight | HUE, Lightify | SmarterCoffee

cortmen

#1240
Schönes Modul :)
Leider existieren diese Ordner nicht unter Ubuntu 64Bit 16.04.1 LTS -xenial , eigentlich brauche
ich diese Power-AC Werte nicht.


cat: /sys/class/power_supply/ac/present: No such file or directory
cat: /sys/class/power_supply/ac/current_now: No such file or directory
cat: /sys/class/power_supply/ac/voltage_now: No such file or director


Habe mal versucht die betr. Codezeilen im Modul mit Kommentar zu versehen, leider klappt das nicht so 100 %
Ein anlegen der gesuchten Dateien (dummy) kann man unter /sys/class...  kann nicht durchgeführt werden.

Kennt jemand die genauen ZeilenNr. von - bis nennen? Klar das ich das Modul später eventuell
auf attr global exclude_from_update <Modul.pm> setzen muss.


tuppertasse

Moin moin!
Erst einmal herzlichen Dank für dieses tolle Modul. Läuft einwandfrei auf meinem Haupt-Pi. Ich habe noch andere Pi's und wollte diese auch monitoren und das geht ja per telnet. Hat auch super geklaptt die Verbindung. nur leider wurden nur eine handvoll Readings angelegt und die sind alle leer :-(

Jemand ein Tip wo ich suchen muss ?

tuppertasse


franky08

commandref:
ZitatDas Modul nutzt das Perlmodule 'Net::Telnet' für den Fernzugriff. Dieses muss ggf. nachinstalliert werden.

hast du gemacht, oder?

VG
Frank
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

tuppertasse

Ja habe ich gemacht!
Wie gesagt: Verbindung steht aber es kommen keine Werte....alles ist Null