Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 73.592
» Latest member: fhjafhja
» Forum threads: 215
» Forum posts: 918
Full Statistics
|
Online Users |
There are currently 93 online users. » 0 Member(s) | 93 Guest(s)
|
Latest Threads |
SmartPi nicht mehr mit In...
Forum: SmartPi - Deutsch
Last Post: daniel.pernold
01.03.2023, 16:43
» Replies: 1
» Views: 378
|
InFluxDB
Forum: SmartPi - Deutsch
Last Post: daniel.pernold
28.02.2023, 22:49
» Replies: 9
» Views: 3.551
|
Tagesverbrauch über die l...
Forum: SmartPi - Deutsch
Last Post: daniel.pernold
19.09.2022, 10:05
» Replies: 12
» Views: 19.571
|
Weboberfläche nicht errei...
Forum: SmartPi - Deutsch
Last Post: sysop
19.09.2022, 09:17
» Replies: 1
» Views: 1.375
|
Grafana in beta.smartpi.e...
Forum: SmartPi - Deutsch
Last Post: sysop
19.09.2022, 09:14
» Replies: 1
» Views: 1.254
|
MQTT - verfügbare Werte
Forum: SmartPi - Deutsch
Last Post: daniel.pernold
25.08.2022, 01:45
» Replies: 2
» Views: 5.126
|
SmartPi aus Kickstarterpr...
Forum: SmartPi - Deutsch
Last Post: jens
01.06.2022, 11:20
» Replies: 7
» Views: 6.224
|
Consumption Total und Pro...
Forum: SmartPi - Deutsch
Last Post: jens
31.05.2022, 10:19
» Replies: 15
» Views: 11.085
|
SmartPi-buster Image Fehl...
Forum: SmartPi - Deutsch
Last Post: jens
24.05.2022, 09:24
» Replies: 3
» Views: 3.024
|
Aktuelles Raspberry Pi OS...
Forum: SmartPi - Deutsch
Last Post: jens
18.05.2022, 16:13
» Replies: 1
» Views: 2.165
|
|
|
Weboberfläche nicht erreichbar |
Posted by: Andi - 04.08.2022, 23:56 - Forum: SmartPi - Deutsch
- Replies (1)
|
 |
Hallo Zusammen,
leider scheint der Smartpi mal wieder Probleme zu haben.
Ich hatte länger nicht mehr drauf geschaut, als ich jetzt mal wieder die erfassten Werte anschauen wollte stellte ich fest, dass der SmartPi nicht mehr reagierte - also nicht mal mehr auf ping.
=> Hart ausgeschalten und neu gebootet
Nun kann ich mich auch wieder über ssh einloggen, aber im Browser ist er weiterhin nicht erreichbar. ("sudo reboot" brachte auch keinen Erfolg).
Habt ihr eine Idee woran es liegen könnte?
Läuft vielleicht der Webserver nicht? Kann ich das prüfen?
Gerne natürlich auch noch weitere Vorschläge...
top-Ausgabe:
Code: top -b -n 1
top - 00:53:45 up 31 min, 2 users, load average: 0,04, 0,05, 0,07
Tasks: 131 total, 1 running, 130 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2,5 us, 3,8 sy, 0,0 ni, 93,7 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
MiB Mem : 923,2 total, 530,1 free, 122,5 used, 270,6 buff/cache
MiB Swap: 0,0 total, 0,0 free, 0,0 used. 747,4 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2061 pi 20 0 10296 2836 2512 R 11,1 0,3 0:00.05 top
1 root 20 0 15336 8048 6392 S 0,0 0,9 0:08.89 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.01 kthreadd
3 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_par_gp
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/0:0H-mmc_complete
8 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mm_percpu_wq
9 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_tasks_rude_
10 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_tasks_trace
11 root 20 0 0 0 0 S 0,0 0,0 0:00.22 ksoftirqd/0
12 root 20 0 0 0 0 I 0,0 0,0 0:00.79 rcu_sched
13 root rt 0 0 0 0 S 0,0 0,0 0:00.02 migration/0
14 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
15 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/1
16 root rt 0 0 0 0 S 0,0 0,0 0:00.01 migration/1
17 root 20 0 0 0 0 S 0,0 0,0 0:00.22 ksoftirqd/1
20 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/2
21 root rt 0 0 0 0 S 0,0 0,0 0:00.01 migration/2
22 root 20 0 0 0 0 S 0,0 0,0 0:00.21 ksoftirqd/2
24 root 0 -20 0 0 0 I 0,0 0,0 0:00.02 kworker/2:0H-kblockd
25 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/3
26 root rt 0 0 0 0 S 0,0 0,0 0:00.01 migration/3
27 root 20 0 0 0 0 S 0,0 0,0 0:00.13 ksoftirqd/3
30 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
31 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 netns
33 root 20 0 0 0 0 I 0,0 0,0 0:00.29 kworker/1:1-cgroup_destroy
34 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kauditd
36 root 20 0 0 0 0 S 0,0 0,0 0:00.00 khungtaskd
37 root 20 0 0 0 0 S 0,0 0,0 0:00.00 oom_reaper
38 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 writeback
39 root 20 0 0 0 0 S 0,0 0,0 0:00.15 kcompactd0
57 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kblockd
58 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 blkcg_punt_bio
59 root -51 0 0 0 0 S 0,0 0,0 0:00.00 watchdogd
61 root 0 -20 0 0 0 I 0,0 0,0 0:00.14 kworker/3:1H-kblockd
62 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rpciod
63 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/u9:0-hci0
64 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 xprtiod
65 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kswapd0
66 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 nfsiod
69 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 iscsi_eh
70 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 iscsi_destroy
71 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 dwc_otg
73 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 DWC Notificatio
75 root 1 -19 0 0 0 S 0,0 0,0 0:00.00 vchiq-slot/0
76 root 1 -19 0 0 0 S 0,0 0,0 0:00.00 vchiq-recy/0
77 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 vchiq-sync/0
78 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 zswap-shrink
84 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mmc_complete
87 root 0 -20 0 0 0 I 0,0 0,0 0:00.15 kworker/1:1H-kblockd
88 root 20 0 0 0 0 S 0,0 0,0 0:00.00 jbd2/mmcblk0p2-
89 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 ext4-rsv-conver
90 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/1:2H
93 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 ipv6_addrconf
108 root 0 -20 0 0 0 I 0,0 0,0 0:00.31 kworker/2:2H-kblockd
110 root 0 -20 0 0 0 I 0,0 0,0 0:00.37 kworker/0:2H-mmc_complete
119 root 20 0 33072 9648 8780 S 0,0 1,0 0:04.44 systemd-journal
129 root 0 -20 0 0 0 I 0,0 0,0 0:00.01 kworker/3:2H
179 root 20 0 18596 3976 3108 S 0,0 0,4 0:00.99 systemd-udevd
233 root 20 0 0 0 0 S 0,0 0,0 0:00.00 vchiq-keep/0
244 root 10 -10 0 0 0 S 0,0 0,0 0:00.00 SMIO
265 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mmal-vchiq
270 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mmal-vchiq
273 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mmal-vchiq
277 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mmal-vchiq
278 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mmal-vchiq
343 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 cfg80211
344 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 brcmf_wq/mmc1:0
346 root 20 0 0 0 0 S 0,0 0,0 0:00.00 brcmf_wdog/mmc1
429 message+ 20 0 6708 3484 3000 S 0,0 0,4 0:03.14 dbus-daemon
435 root 20 0 13176 5532 4904 S 0,0 0,6 0:00.82 systemd-logind
437 root 20 0 10744 3752 3380 S 0,0 0,4 0:00.06 wpa_supplicant
438 root 20 0 66496 9864 8184 S 0,0 1,0 0:00.41 udisksd
440 root 39 19 11772 4564 3964 S 0,0 0,5 0:00.08 alsactl
442 root 20 0 7976 2224 2048 S 0,0 0,2 0:00.03 cron
444 root 20 0 27904 6740 5596 S 0,0 0,7 0:00.12 cupsd
446 pi 20 0 184212 67512 25088 S 0,0 7,1 0:15.48 node-red
452 nobody 20 0 4320 2152 1980 S 0,0 0,2 0:00.04 thd
455 avahi 20 0 5768 2532 2280 S 0,0 0,3 0:00.22 avahi-daemon
483 root 20 0 27656 80 0 S 0,0 0,0 0:00.07 rngd
505 avahi 20 0 5768 252 0 S 0,0 0,0 0:00.00 avahi-daemon
541 root 20 0 40336 8496 7508 S 0,0 0,9 0:00.19 cups-browsed
548 root 20 0 2844 1236 1160 S 0,0 0,1 0:00.01 syslogd
552 root 20 0 37964 5660 5076 S 0,0 0,6 0:00.44 polkitd
558 root 20 0 11000 1876 1336 S 0,0 0,2 0:00.03 wpa_supplicant
565 lp 20 0 13832 4600 4016 S 0,0 0,5 0:00.01 dbus
586 root 20 0 2140 128 0 S 0,0 0,0 0:00.00 hciattach
587 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/u9:2-hci0
598 root 20 0 9808 4324 3972 S 0,0 0,5 0:00.13 bluetoothd
599 root 20 0 26708 4200 3872 S 0,0 0,4 0:00.03 bluealsa
604 root 10 -10 0 0 0 S 0,0 0,0 0:00.00 krfcommd
722 root 20 0 2968 1860 1444 S 0,0 0,2 0:00.02 dhcpcd
724 telegraf 20 0 913772 85300 66440 S 0,0 9,0 0:20.14 telegraf
743 root 20 0 9728 2524 2224 S 0,0 0,3 0:00.05 su
745 root 20 0 8056 3092 2884 S 0,0 0,3 0:00.10 smartpi_check_u
757 root 20 0 10728 5296 4744 S 0,0 0,6 0:00.04 sshd
776 root 20 0 6616 1864 1772 S 0,0 0,2 0:00.01 agetty
777 root 20 0 5724 2792 2340 S 0,0 0,3 0:00.08 login
784 pi 20 0 14732 7356 6384 S 0,0 0,8 0:00.21 systemd
786 pi 20 0 16980 3460 1688 S 0,0 0,4 0:00.00 (sd-pam)
821 pi 20 0 851436 7484 6588 S 0,0 0,8 0:00.05 smartpiserver
840 pi 20 0 8360 3688 2884 S 0,0 0,4 0:00.21 bash
1027 root 20 0 9728 2616 2316 S 0,0 0,3 0:00.04 su
1038 root 20 0 14608 7360 6424 S 0,0 0,8 0:00.17 systemd
1039 root 20 0 16980 1868 96 S 0,0 0,2 0:00.00 (sd-pam)
1049 root 20 0 859124 9256 5496 S 0,0 1,0 0:00.64 smartpimodbusse
1273 root 20 0 12344 6324 5524 S 0,0 0,7 0:00.17 sshd
1279 pi 20 0 12344 3588 2788 S 0,0 0,4 0:00.04 sshd
1280 pi 20 0 2056 1236 1156 S 0,0 0,1 0:00.03 sftp-server
1281 root 20 0 0 0 0 I 0,0 0,0 0:00.06 kworker/3:0-events
1367 root 20 0 0 0 0 I 0,0 0,0 0:00.27 kworker/2:1-events
1442 root 20 0 0 0 0 I 0,0 0,0 0:00.08 kworker/u8:2-events_unbound
1467 root 20 0 12344 6376 5576 S 0,0 0,7 0:00.22 sshd
1505 pi 20 0 12344 3540 2740 S 0,0 0,4 0:00.79 sshd
1506 pi 20 0 8488 3692 2804 S 0,0 0,4 0:00.36 bash
1607 root 20 0 0 0 0 I 0,0 0,0 0:00.37 kworker/2:0-events
1664 root 20 0 0 0 0 I 0,0 0,0 0:00.04 kworker/0:1-cgroup_destroy
1739 root 20 0 0 0 0 I 0,0 0,0 0:00.06 kworker/u8:1-events_unbound
1741 root 20 0 0 0 0 I 0,0 0,0 0:00.00 kworker/3:2-cgroup_destroy
1780 root 20 0 0 0 0 I 0,0 0,0 0:00.21 kworker/2:2-events
1798 root 20 0 0 0 0 I 0,0 0,0 0:00.01 kworker/1:0-events
1843 root 20 0 0 0 0 I 0,0 0,0 0:00.07 kworker/0:2-events
1920 root 20 0 6456 364 312 S 0,0 0,0 0:00.00 sleep
1946 root 20 0 0 0 0 I 0,0 0,0 0:00.18 kworker/2:3-events
1958 root 20 0 0 0 0 I 0,0 0,0 0:00.01 kworker/3:1-mm_percpu_wq
1959 root 20 0 0 0 0 I 0,0 0,0 0:00.00 kworker/3:3
1969 root 20 0 0 0 0 I 0,0 0,0 0:00.00 kworker/1:2-cgroup_destroy
1970 root 20 0 0 0 0 I 0,0 0,0 0:00.00 kworker/1:3
1989 root 20 0 0 0 0 I 0,0 0,0 0:00.00 kworker/0:0-events
2054 root 20 0 37500 5488 4956 S 0,0 0,6 0:00.08 lightdm
2060 root 20 0 12140 4844 3836 S 0,0 0,5 0:00.02 Xorg
Danke und viele Grüße,
Andi
|
|
|
SmartPi-buster Image Fehler |
Posted by: Swagner - 21.05.2022, 11:41 - Forum: SmartPi - Deutsch
- Replies (3)
|
 |
Hi an Alle,
Bei meinen Smartpi2 wurde nach ca. 3+ Jahre die Speicherkarte defekt und ich musste den Smartpi2 neu installieren, hierfür habe ich das Smartpi-buster image verwendet.
https://files.enerserve.eu/smartpi/smartpi-buster.7z (2022-02-24_smartpi_buster.img)
Die Installation war genau nach Beschreibung,
- Laden Sie sich das Programm
- Win32DiskImager von https://sourceforge.net/projects/win32diskimager/ herunter
- Setzen Sie die SDKarte in den SDKartenleser Ihres PCs ein
- Beachten Sie den Laufwerksbuchstaben der SDKarte. Sie sehen den Laufwerksbuchstaben in der linken Spalte des Windows Explorers, zB G:
- Führen Sie das zuvor heruntergeladene Programm aus.
- Wählen Sie im feld "Image File" die entpackte Datei aus (*.img)
- Wählen sie in dem Auswahlfeld "Device" den laufwerksbuchstaben der SdKarte aus und klicken Sie auf "Write"
- Warten Sie, bis das Schreiben abgeschlossen ist
Folgende Probleme,
- Der Smartpi2 startet das Filesystem ist aber read only, ich habe das behoben mit sudo fschk und danach einen reboot.
- MQTT funktioniert nicht obwohl ich genau die selben Einstellungen verwendet habe die 3+ Jahre funktioniert haben, der Fehler war in der /etc/smartpi Konfiguration.
/etc/smartpi die Zeile mqtt_broker_scheme = ssl:// entfernen oder auskommentieren, danach ein reboot und MQTT wieder funktioniert.
[mqtt]
mqtt_enabled = true
#mqtt_broker_scheme = ssl://
- Im Node Red war etwas definiert, ich hab es einfach gelöscht.
Ich werde jetzt noch ein update starten da das Image ca 3 Monate alt ist, update mit sudo apt-get update && sudo apt-get upgrade -y
Das update ist ca. 30min gelaufen, der Kernel war auch schon etwas älter :-)
Entpacken von libraspberrypi0 (1:1.20220308~buster-1) über (1:1.20211201~buster-1) ...
Nachtrag:
- Ich hatte in dmesg noch die Warnung das ich fsck laufen lassen sollte, ich habe folgend Schritte gemacht und danach war der Eintrag weg, /var/log/fsck gib es bei mir nicht.
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Check beim nächsten Reboot - Schritte:
- Melden Sie sich als Root an: su
Navigieren Sie in das Rootverzeichnis: cd /
- Erstellen Sie eine Datei mit folgender Bezeichnung: touch /forcefsck
- Starten Sie den RPi neu: sudo shutdown -r now
- Warten Sie den Neustart ab.
Melden Sie sich am RPi an.
- Navigieren Sie in das folgende Verzeichnis: /var/log/fsck/
- Kontrollieren Sie Inhalt der Check Dateien.
Nach einen simulierten Stromausfall gab es in dmesg wieder die Meldung,
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Um das zu beheben habe in der /boot/cmdline.txt folgenden Wert eingetragen, fsck.mode=force (mit auto hat es nicht funktioniert)
console=serial0,115200 console=tty1 root=PARTUUID=37ea51b1-02 rootfstype=ext4 elevator=deadline fsck.repair=yes fsck.mode=force rootwait quiet splash plymouth.ignore-serial-consoles fastboot noswap
- dmesg füllt sich mit UFW Meldungen für diverse interne IP Adressen von der UFW (Uncomplicated Firewall).
[UFW BLOCK] IN=eth0 OUT=....
Ich habe das logging mal mit sudo ufw logging off abgeschaltet
- diverse Eintrage für brcmfmac im dmesg
WIFI und BT benötige ich auch nicht und habe es in der /boot/config.txt abgeschaltet
...
[all]
#dtoverlay=vc4-fkms-v3d
dtoverlay=disable-wifi
dtoverlay=disable-bt
danach in der console,
sudo systemctl disable hciuart.service
sudo systemctl disable bluealsa.service
sudo systemctl disable bluetooth.service
sudo reboot
- dmesg zeigt mit i2c i2c-1: Failed to register i2c client ds1307 at 0x68 (-16)
mit sudo i2cdetect -y 1 bekomme ich die RTCs angezeigt und die bei Adresse 0x68 funktioniert nicht da sie in "use" ist, sobald ich etwas gefunden habe gibt's wieder ein update @Jens, danke wenn du Infos darüber hast.
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
-dmesg meldet ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead
damit diese Meldung nicht mehr angezeigt wird habe ich ipv6 im/etc/dhcpcd.conf ausgeschaltet indem ich diese beiden Zeilen eingetragen habe, kein Fehler mehr nach einem reboot.
noipv6rs
noipv6
-dmesg meldet,
systemd[1]: /usr/lib/systemd/system/grafana-server.service:26: Unknown lvalue 'ProtectClock' in section 'Service', ignoring
systemd[1]: /usr/lib/systemd/system/grafana-server.service:29: Unknown lvalue 'ProtectHostname' in section 'Service', ignoring
systemd[1]: /usr/lib/systemd/system/grafana-server.service:30: Unknown lvalue 'ProtectKernelLogs' in section 'Service', ignoring
systemd[1]: /usr/lib/systemd/system/grafana-server.service:33: Unknown lvalue 'ProtectProc' in section 'Service', ignoring
systemd[1]: /usr/lib/systemd/system/grafana-server.service:39: Unknown lvalue 'RestrictSUIDSGID' in section 'Service', ignoring
Damit diese Meldungen nicht mehr angezeigt werden müssen ein paar Zeilen in /usr/lib/systemd/system/grafana-server.service auskommentiert werden, danach reboot
##CapabilityBoundingSet=
##DeviceAllow=
##LockPersonality=true
##MemoryDenyWriteExecute=false
##NoNewPrivileges=true
##PrivateDevices=true
##PrivateTmp=true
##ProtectClock=true
##ProtectControlGroups=true
##ProtectHome=true
##ProtectHostname=true
##ProtectKernelLogs=true
##ProtectKernelModules=true
##ProtectKernelTunables=true
##ProtectProc=invisible
##ProtectSystem=full
##RemoveIPC=true
##RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
##RestrictNamespaces=true
##RestrictRealtime=true
##RestrictSUIDSGID=true
##SystemCallArchitectures=native
mfg
Stefan
|
|
|
UMFRAGE bzgl Software und Hardware Support |
Posted by: Swagner - 24.04.2022, 08:01 - Forum: SmartPi - Deutsch
- Replies (2)
|
 |
Hallo an Alle im Forum,
Ich möchte gerne eine kleine Umfrage Starten bzgl Support / Smartpi Software / Hardware / Dokumentation / Zuverlässigkeit.
Bewertung von 1 schlecht - 10 Sehr gut und ob jemand den Smartpi noch einmal kaufen würde.
mfg
Stefan
UMFRAGE:
Support (1-10) : 2, so gut wie nicht vorhanden.
Software (1-10) : 3, sieht so aus als ob sie nicht mehr weiter entwickelt wird.
Hardware (1-10) : 9, funktioniert soweit ohne Probleme.
Dokumentation (1-10) : 5, nur zum Teil vorhanden.
Zuverlässigkeit (1-10) : 9, läuft sein mehr als 2 Jahren ohne Probleme.
Würde ich den Smartmeter noch einmal kaufen (Ja / nein) : nein, wenn ich einen anderen SmartMeter finde der die Funktion hat die ich benötige.
Kommentare : Seit 2 Jahren kein fix für eine falsche Berechnung bei Consumption / Production wenn eine PV vorhanden ist.
|
|
|
smartpi 1 manual install error |
Posted by: Pedro - 12.04.2022, 11:31 - Forum: SmartPi - English
- No Replies
|
 |
Ola,
unable to install smartpi in a new fresh install:
Raspberry Pi OS Lite
Linux raspberrypi 5.15.32-v7+ #1538 SMP Thu Mar 31 19:38:48 BST 2022 armv7l GNU/Linux
I get a error with the cmd:
sudo apt install smartpi
"The following packages have unmet dependencies:
smartpi : Depends: grafana but it is not installable
E: Unable to correct problems, you have held broken packages."
obs: grafana is running on port 3000 tried with several versions of it: 8.4.5, 6.7.6, 6.1.6
Pedro
|
|
|
Aktuelles Raspberry Pi OS ? |
Posted by: Norbert - 08.04.2022, 16:44 - Forum: SmartPi - Deutsch
- Replies (1)
|
 |
Hallo,
das smartpi-Image basiert auf Raspberry Pi OS "buster". Der Versuch mit dem OS "bullseye" die Installation aus dem Repository durchzufüren ist gesscheitert.
Beispielsweise gibt es beim Start von infuxdb folgnde Fehlermeldung:
pi@smartpi01:~ $ sudo systemctl start influxdb
Job for influxdb.service failed because a timeout was exceeded.
See "systemctl status influxdb.service" and "journalctl -xe" for details.
pi@smartpi01:~ $ journalctl -xe
Apr 08 17:28:20 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 9 attempts...
Apr 08 17:28:21 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 10 attempts...
Apr 08 17:28:22 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 11 attempts...
Apr 08 17:28:23 smartpi01 telegraf[542]: 2022-04-08T15:28:23Z E! [outputs.influxdb] When writing to [http://localhost:8086]: failed doing req: Post "http://localhost:8086/write?db=telegraf": dial tcp [::1]:8086: connect: conn>
Apr 08 17:28:23 smartpi01 telegraf[542]: 2022-04-08T15:28:23Z E! [agent] Error writing to outputs.influxdb: could not write any address
Apr 08 17:28:23 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 12 attempts...
Apr 08 17:28:24 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 13 attempts...
Apr 08 17:28:25 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 14 attempts...
Apr 08 17:28:26 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 15 attempts...
Apr 08 17:28:28 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 16 attempts...
Apr 08 17:28:28 smartpi01 dhcpcd[1911]: eth0: no IPv6 Routers available
Apr 08 17:28:29 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 17 attempts...
Apr 08 17:28:29 smartpi01 dhcpcd[1911]: wlan0: no IPv6 Routers available
Apr 08 17:28:30 smartpi01 telegraf[542]: 2022-04-08T15:28:30Z E! [inputs.disk] [SystemPS] => error getting disk usage ("/run/user/1000/gvfs"): permission denied
Apr 08 17:28:30 smartpi01 telegraf[542]: 2022-04-08T15:28:30Z E! [inputs.disk] [SystemPS] => error getting disk usage ("/media/pi/RASPI00"): permission denied
Apr 08 17:28:30 smartpi01 influxd-systemd-start.sh[1802]: InfluxDB API unavailable after 18 attempts...
Ich vermute, dass die Installation aus dem Repository nicht für Raspberry Pi OS "bullseye" vorgesehen ist.
Hat das schon mal jemand unter "bullseye" gemacht?
Frage an Jens: gibt es bald ein aktuelles Image oder eine angepaßte Installation aus dem Repository?
Wir würden gerne ein aktuelles OS für die Auslieferung an unsere Kunden verwenden.
Gruß Norbert
|
|
|
VNC |
Posted by: Norbert - 06.04.2022, 14:19 - Forum: SmartPi - Deutsch
- Replies (1)
|
 |
Hallo,
der Remotezugriff mit VNC funktioniert mit dem aktuelle Image (2022-02-24_smartpi_buster.img) nicht. Hat jemand schon eine Lösung parat?
Danke und Grüße in die Runde
Lösung:
Es lag an der Firewall. Der VNC Port 5900 muss z.B. wie folgt freigeschaltet werden.
mit
sudo nano /etc/ufw/user.rules
im Bereich '-A ufw-user-input' folgende Zeile einfügen
-A ufw-user-input -p tcp -m tcp --dport 5900 -j ACCEPT
|
|
|
Consumption Total und Production Total mit PV |
Posted by: Swagner - 19.02.2022, 13:52 - Forum: SmartPi - Deutsch
- Replies (15)
|
 |
Hallo Jens,
Gibt es bereits eine Möglichkeit die Consumption Total und Production Total richtig angezeigt zu bekommen ?
Ich hatte ja bereits 20.03.2020 diesbezüglich angefragt,
https://forum.enerserve.eu/showthread.php?tid=1385
Gibt es bereits einen REST API Befehlt oder kann das über MQTT / MODBUS richtig ausgelesen werden ?
Die Werte die über MQTT ausgelesen werden,
/smartpi2/Ectot (Consumption Counter) werden ja mit Consumption Total berechnet und sind somit falsch.
/smartpi2/Eptot (Production Counter) werden ja mit Production Total berechnet und sind somit auch falsch.
Diese falschen Werte stehen auch im Verzeichnis /var/smartpi
Danke,
Stefan
|
|
|
|