DietPi Team : MichaIng (lead), Daniel Knight (founder), Joulinar (support) Web : https://dietpi.com | https://twitter.com/dietpi_ Patreon Legends : Bryce Donate : https://dietpi.com/#donate DietPi Hosting : Powered by https://myvirtualserver.com dietpi-update : Run now to update DietPi from v6.29.2 to v6.30.0. dietpi-launcher : All the DietPi programs in one place. dietpi-config : Feature rich configuration tool for your device. dietpi-software : Select optimized software for installation. htop : Resource monitor. cpu : Shows CPU information and stats. root@DietPi:/opt/FOSHKplugin# sudo ./generic-FOSHKplugin-install.sh --install Phantasoft install-Script for FOSHKplugin v0.04 ----------------------------------------------- +++ FOSHKplugin +++ install and configure FOSHKplugin +++ FOSHKplugin +++ we will now install Python3 via apt OK:1 http://ppa.launchpad.net/webupd8team/java/ubuntu trusty InRelease Holen:2 http://security.debian.org/debian-security stretch/updates InRelease [94,3 kB] OK:4 https://repos.influxdata.com/debian stretch InRelease OK:5 https://deb.nodesource.com/node_12.x stretch InRelease Ign:6 https://deb.debian.org/debian stretch InRelease OK:7 https://packages.grafana.com/oss/deb stable InRelease Holen:8 https://deb.debian.org/debian stretch-updates InRelease [91,0 kB] Holen:9 https://deb.debian.org/debian-security stretch/updates InRelease [94,3 kB] Holen:10 https://deb.debian.org/debian stretch-backports InRelease [91,8 kB] OK:11 https://deb.debian.org/debian stretch Release Holen:3 https://dl.ubnt.com/unifi/debian stable InRelease [3.024 B] Es wurden 375 kB in 6 s geholt (57,1 kB/s). Paketlisten werden gelesen... Fertig Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig Die folgenden Pakete sind zurückgehalten worden: linux-image-amd64 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert. Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig python3-pip ist schon die neueste Version (9.0.1-2+deb9u1). python3 ist schon die neueste Version (3.5.3-1). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert. +++ FOSHKplugin +++ now we have to install the python-libs +++ FOSHKplugin +++ requests Requirement already satisfied: requests in /usr/local/lib/python3.5/dist-packages Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.5/dist-packages (from requests) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.5/dist-packages (from requests) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.5/dist-packages (from requests) Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.5/dist-packages (from requests) +++ FOSHKplugin +++ set executable to foshkplugin.py der Modus von 'foshkplugin.py' wurde von 0644 (rw-r--r--) in 0711 (rwx--x--x) geändert +++ FOSHKplugin +++ change owner of *.log to root:root wrote your settings to ./foshkplugin.conf, ws: 192.168.12.184:45000 will send values every 16secs to :8084; FOSHKplugin sends UDP-datagrams to :12340 +++ FOSHKplugin +++ ip address of target system []: 192.168.12.127 +++ FOSHKplugin +++ udp port on target system []: 12340 +++ FOSHKplugin +++ ip address of local system [127.0.1.1]: 192.168.12.127 The port is 8080 The port is 8081 The port is 8082 The port is 8083 +++ FOSHKplugin +++ http port on local system [8084]: 8084 +++ FOSHKplugin +++ ip address of weather station [192.168.12.184]: 192.168.12.189 +++ FOSHKplugin +++ command port of weather station [45000]: 45000 +++ FOSHKplugin +++ message-interval of weather station [16]: 16 +++ FOSHKplugin +++ are these settings ok? (Y/N) Y +++ FOSHKplugin +++ do you want to write settings into the config-file? (Y/N) Y +++ FOSHKplugin +++ configuring FOSHKplugin +++ FOSHKplugin +++ do you want to write settings into the weather station? (Y/N) Y +++ FOSHKplugin +++ configuring weather station +++ FOSHKplugin +++ do you want to enable and start the service? (Y/N) Y +++ FOSHKplugin +++ installing system-service via systemd der Eigentümer von 'foshkplugin.service.tmp' wurde als root:root erhalten Created symlink /etc/systemd/system/multi-user.target.wants/foshkplugin.service → /etc/systemd/system/foshkplugin.service. +++ FOSHKplugin +++ everything should be ok now, FOSHKplugin should be up and ready 5617 ? Rs 0:00 /usr/bin/python3 -u /opt/FOSHKplugin/foshkplugin.py +++ FOSHKplugin +++ current configuration is: [Config] LOX_IP = 192.168.12.127 LOX_PORT = 12340 LB_IP = 192.168.12.127 LBU_PORT = LBH_PORT = 8084 LOX_TIME = False USE_METRIC = True IGNORE_EMPTY = True UDP_ENABLE = True UDP_IGNORE = "" [Weatherstation] WS_IP = 192.168.12.189 WS_PORT = 45000 WS_INTERVAL = 16 [Export] EVAL_VALUES = True ADD_ITEMS = [Forward] FWD_URL = FWD_INTERVAL = FWD_IGNORE = "" FWD_TYPE = "" [Forward-1] FWD_URL = FWD_INTERVAL = FWD_IGNORE = "" FWD_TYPE = "" [CSV] CSV_NAME = CSV_FIELDS = "" CSV_INTERVAL = [Warning] WSDOG_WARNING = True WSDOG_INTERVAL = 3 STORM_WARNING = True STORM_WARNDIFF = 1.75 STORM_EXPIRE = 60 SENSOR_WARNING = False SENSOR_MANDATORY = "wh65batt" [Logging] logfile = /opt/FOSHKplugin/log-foshkplugin.log rawfile = /opt/FOSHKplugin/raw-foshkplugin.log sndfile = /opt/FOSHKplugin/snd-foshkplugin2.log createConfig: wrote your settings to ./foshkplugin.conf, ws: 192.168.12.189:45000 will send values every 16secs to 192.168.12.127:8084; FOSHKplugin sends UDP-datagrams to 192.168.12.127:12340 setWSConfig: enable custom mode on WS 192.168.12.189:45000; sending to 192.168.12.127:8084 in Ecowitt every 16sec: ok root@DietPi:/opt/FOSHKplugin#