Read the statement by Michael Teeuw here.
MMM-Hoymiles-Wifi
-
@evroom said in MMM-Hoymiles-Wifi:
$ grep ‘dtu_ip_address’ HoymilesWifi.sh
Until that line everything is ok. After that it says:
grep: HoymilesWifi.sh: No such file or directory -
@evroom said in MMM-Hoymiles-Wifi:
$ hoymiles-wifi --host 192.168.178.50 identify-inverters
This works:
Identify-inverters Response: {'1412a015f1e3': 'HMS-800W/1000W-2T'}After that: ./HoymilesWifi.sh
* Serving Flask app 'hoymiles_data' * Debug mode: off Address already in use Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port. -
@Jose1701 typo
grep 'dtu_ip_address' Hoymiles-Wifi.sh -
-
@Jose1701 he just wanted to see the IP address the module was connecting to , which is hard coded in that line
-
First of all, where I write
/home/admin/please use
~/(tilde sign)
And can you please send me:
cd ~/MagicMirror/modules/MMM-Hoymiles-Wifi git branch git remote -vEvery time you get that port in use error, run the long command to see what programs are using the port.
And of course do not use HoymilesWifi.sh when it is also active under pm2.I am starting to wonder if the module works at all.
I finally got a picture, but it showed an error in it. -
You also might try this module:
https://github.com/CuddlyCow/MMM-HoymilesPVMonitor
I may give it a try myself.
-
* master origin https://github.com/schris88/MMM-Hoymiles-Wifi (fetch) origin https://github.com/schris88/MMM-Hoymiles-Wifi (push)I used the ~ symbol.
-
Well I tried that but I’m to silly to install it.
florian@raspberrypi:~/MagicMirror/modules/MMM-Hoymiles-Wifi $ pip3 install hoymiles-wifi error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. For more information visit http://rptl.io/venv note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. florian@raspberrypi:~/MagicMirror/modules/MMM-Hoymiles-Wifi $ sudo apt install python3 hoymiles-wifi Error: Unable to locate package hoymiles-wifi florian@raspberrypi:~/MagicMirror/modules/MMM-Hoymiles-Wifi $ -
You installed that already, so no need to install it again.
Probably using:python -m pip install -r requirements.txt --break-system-packagesThe schris88 requirements.txt contains the hoymiles-wifi package.
