- Datenquellen Fronius GEN24 FW Installiert: ROW 1.21.6-1
- Wechselrichter Primo GEN24 3.6 Plus
über ip/solar_api/GetAPIVersion.cgi
bekomme ich dies ausgeben
Code: Alles auswählen
{
"APIVersion" : 1,
"BaseURL" : "/solar_api/v1/",
"CompatibilityRange" : "1.7-6"
}
12 für fronius
die ip und den Port 80
wen ich aber dann über mcedit /var/www/log/solaranzeige.log
es ist ein 64g usb stick angeschlossen
Code: Alles auswählen
login as: pi
Linux solaranzeige 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024 -05-29) aarch64
Raspberry Pi Version 6.1.0 64Bit Basis August 2024 [ Bookworm ]
Software Version 6.1.0b update September 2024
Last login: Sun Oct 27 20:08:21 2024 from 192.168.178.39
CPU Temperatur 53 °C
pi@solaranzeige:~ $ raspi-config
Script must be run as root. Try 'sudo raspi-config'
pi@solaranzeige:~ $ sudo raspi-config
Welcome to fdisk (util-linux 2.38.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.
Command (m for help):
Disk /dev/sda: 58,2 GiB, 62495129600 bytes, 122060800 sectors
Disk model: Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa878ce8e
Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 1056767 1048576 512M c W95 FAT32 (LBA)
/dev/sda2 1056768 122060799 121004032 57,7G 83 Linux
Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.
Command (m for help): Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-122060 799, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1056768-12206 0799, default 122060799):
Created a new partition 2 of type 'Linux' and of size 57,7 GiB.
Partition #2 contains a ext4 signature.
Command (m for help):
Disk /dev/sda: 58,2 GiB, 62495129600 bytes, 122060800 sectors
Disk model: Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa878ce8e
Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 1056767 1048576 512M c W95 FAT32 (LBA)
/dev/sda2 1056768 122060799 121004032 57,7G 83 Linux
Command (m for help): The partition table has been altered.
Syncing disks.
Welcome to fdisk (util-linux 2.38.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.
Command (m for help):
Disk /dev/sda: 58,2 GiB, 62495129600 bytes, 122060800 sectors
Disk model: Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa878ce8e
Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 1056767 1048576 512M c W95 FAT32 (LBA)
/dev/sda2 1056768 122060799 121004032 57,7G 83 Linux
Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.
Command (m for help): Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-122060 799, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1056768-12206 0799, default 122060799):
Created a new partition 2 of type 'Linux' and of size 57,7 GiB.
Partition #2 contains a ext4 signature.
Command (m for help):
Disk /dev/sda: 58,2 GiB, 62495129600 bytes, 122060800 sectors
Disk model: Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa878ce8e
Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 1056767 1048576 512M c W95 FAT32 (LBA)
/dev/sda2 1056768 122060799 121004032 57,7G 83 Linux
Command (m for help): The partition table has been altered.
Syncing disks.
Broadcast message from root@solaranzeige on pts/2 (Sun 2024-10-27 20:25:21 CET):
The system will reboot now!
pi@solaranzeige:~ $
login as: pi
pi@192.168.178.84's password:
Linux solaranzeige 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024 -05-29) aarch64
Raspberry Pi Version 6.1.0 64Bit Basis August 2024 [ Bookworm ]
Software Version 6.1.0b update September 2024
Last login: Sun Oct 27 20:26:10 2024
CPU Temperatur 58 °C
pi@solaranzeige:~ $ mcedit /var/www/log/solaranzeige.log
pi@solaranzeige:~ $ user.config.php
-bash: user.config.php: Kommando nicht gefunden.
pi@solaranzeige:~ $ mcedit /var/www/log/solaranzeige.log
/var/www/log/solaranzeige.log [BM--] 0 L:[921+43 964/1060] *(57198/63448b) 0010 0x00A [*][X]
'Model' => '"VIA Hub"',
'Hotplug' => 'USB',
'Vendor' => 'usb 0x2109 "VIA Labs, Inc."',
'Device' => 'usb 0x3431 "Hub"',
'Revision' => '"4.21"',
'Driver' => '"hub"',
'Speed' => '480 Mbps',
'Module Alias' => '"usb:v2109p3431d0421dc09dsc00dp01ic09isc00ip00in00"',
'Config Status' => 'cfg=new, avail=yes, need=no, active=unknown',
'Attached to' => '#27 (Hub)',
)
27.10. 20:25:35 -Daten:
array (
30 => 'USB 00.0: 10a00 Hub',
'' => '',
'Unique ID' => 'pBe4.djic47EFb5E',
'Parent ID' => 'VCu0.m2lGPNk7Xc4',
'SysFS ID' => '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-0:1.0',
'SysFS BusID' => '2-0:1.0',
'Hardware Class' => 'hub',
'Model' => '"Linux Foundation 3.0 root hub"',
'Hotplug' => 'USB',
'Vendor' => 'usb 0x1d6b "Linux Foundation"',
'Device' => 'usb 0x0003 "3.0 root hub"',
'Revision' => '"6.06"',
'Serial ID' => '"0000:01:00.0"',
'Driver' => '"hub"',
'Module Alias' => '"usb:v1D6Bp0003d0606dc09dsc00dp03ic09isc00ip00in00"',
'Config Status' => 'cfg=new, avail=yes, need=no, active=unknown',
'Attached to' => '#1 (USB Controller)',
)
27.10. 20:25:35 -USB Devices:
array (
1 =>
array (
'Device' => '0x0003',
),
)
27.10. 20:25:35 -Regler: 12
27.10. 20:25:35 -Device: Ethernet wird in die user.config.php eingetragen.
27.10. 20:25:35 -Zeile gefunden. USB Device kann ausgetauscht werden. Index: 745 $USBRegler = "Ethernet";
27.10. 20:25:35 -Zeile gefunden. Raspberry Modell kann eingetragen werden. Index: 764 $Platine = "Raspberry Pi 4 Model B Rev 1.4";
27.10. 20:25:35 -Es handelt sich um ein 64 Bit System.
27.10. 20:26:27 |---------------- Start fronius_symo_serie.php ---------------.
27.10. 20:26:27 -API Version: 1 CompatibilityRange noch unbekannt: 1.7-6
27.10. 20:26:27 -Modell = Fronius GEN 24
27.10. 20:26:28 * -Daten zur lokalen InfluxDB [ solaranzeige ] gesendet..
27.10. 20:27:21 -OK. Datenübertragung erfolgreich.
27.10. 20:27:21 -WattstundenGesamtHeute: 0
27.10. 20:27:21 |---------------- Stop fronius_symo_serie.php ---------------.
27.10. 20:28:01 |---------------- Start fronius_symo_serie.php ---------------.
27.10. 20:28:01 -API Version: 1 CompatibilityRange noch unbekannt: 1.7-6
27.10. 20:28:01 -Modell = Fronius GEN 24
27.10. 20:28:02 * -Daten zur lokalen InfluxDB [ solaranzeige ] gesendet..
27.10. 20:28:55 -OK. Datenübertragung erfolgreich.
27.10. 20:28:55 -WattstundenGesamtHeute: 0
27.10. 20:28:55 |---------------- Stop fronius_symo_serie.php ---------------.