Hi!
wie ist der nächste Schritt für mich?
Du solltest die Installation/Konfiguration abschliessen:
+++ FOSHKplugin +++ ip address of target system to send UDP-messages to []:
Leave blank if no UDP forwarding is required, otherwise enter the IP address of the destination of the UDP messages.
ENTER
+++ FOSHKplugin +++ udp port on target system []:
Leave blank if no UDP forwarding is required, otherwise enter the UDP port of the target system.
ENTER
+++ FOSHKplugin +++ ip address of local system [192.168.15.237]:
Enter the IP address of the local system, i.e. the device on which FOSHKplugin is to run (please do not use an IPv6 or localhost address).
gib hier die IP-Adresse Deines Windows-Rechner an
+++ FOSHKplugin +++ http port on local system [8080]:
The local port on which the internal http server is started by FOSHKplugin, the default can be accepted with ENTER.
ENTER
+++ FOSHKplugin +++ ip address of weather station [192.168.15.215]:
Please enter the IP address of the weather station here. This is generally found automatically.
trage hier die IP-Adresse Deiner Wetterstation ein
+++ FOSHKplugin +++ command port of weather station [45000]:
The command port of the weather station. Here, too, the default 45000 (the default port for FOSHK weather stations) can be accepted with ENTER.
45000
+++ FOSHKplugin +++ message-interval of weather station [30]:
Enter the desired interval in seconds at which the weather station sends the data to FOSHKplugin. The default of 30 seconds can be accepted - however, other time intervals can also be used. Note that this is also the minimum time interval for forwards.
60
+++ FOSHKplugin +++ are these settings ok? (Y/N)
The settings made are accepted with Y. With N it can be configured again if an error is discovered.
Y
+++ FOSHKplugin +++ do you want to write settings into the config-file? (Y/N)
With Y these settings are written into the config file (foshkplugin.conf).
Y
+++ FOSHKplugin +++ do you want to write settings into the weather station? (Y/N)
With Y the required data (IP address and port of the target system from the perspective of the weather station, the interval and the data format Ecowitt) are written to the weather station.
N
+++ FOSHKplugin +++ do you want to enable and start the service? (Y/N)
With Y, a service (foshkplugin) is installed and started, which is started automatically every time the computer is restarted and which leads to the restart of FOSHKplugin within a few seconds even if the program crashes.
Y
Anschliessend must Du noch etwas "Feinschliff" im Config-File machen.
Suche dort den Eintrag
LOX_IP =
und entferne alles hinter dem =.
Zusaetzlich solltest Du dann noch die fuer Dich relevanten Forwards eintragen. Fuer PWT etwa so:
Code: Alles auswählen
[Forward]
FWD_ENABLE = True
FWD_CMT = Datenversand an PWT
FWD_URL = http://xxx.xxx.xxx.xxx:8572/ # (xxx.xxx.xxx.xxx ist die IP Adresse des Tablets, auf dem PWT läuft)
FWD_TYPE = RAWEW
Schliesslich muss Dein Windows-Port 8080 noch auf den WSL-Port 8080 umgeleitet werden.
Dazu bitte die Eingabeaufforderung als Administrator auf dem Windows-Rechner starten (per Rechtsklick) und dort eintragen:
Code: Alles auswählen
netsh interface portproxy add v4tov4 listenport=8080 listenaddress=0.0.0.0 connectport=8080 connectaddress=127.0.0.1
Mit WS View ist noch die Wetterstation einzustellen (leider klappt das bei der WSL-Loesung nicht automatisch):
Wetterstation auswaehlen
oben rechts of More klicken
Weather Services anklicken
4 mal auf rechts oben Next klicken, bis Customized angezeigt wird
Enable
Ecowitt
IP-Adresse Deines Windows-Rechners
/data/report/
8080
60
Save
oben rechts au Finsh klicken
Jetzt solltest Du auf dem Windows-Rechner per Webbrowser mit der URL
http://localhost:8080/status&minmax sehen koennen, ob irgendwelche Pakete der Wetterstation eingehen. Wenn ja ist das soweit erfolgreich verlaufen und Du kannst PWT auf einem Tablet installieren.
Oder weitere Forwards in der foshkplugin.conf konfigurieren.
Viel Erfolg!
Oliver