Read the statement by Michael Teeuw here.
MMM-Hoymiles-Wifi
-
Hi there,
I am using hoymiles-wifi myself and am curious on how it looks on the MagicMirror.
Very nice initiative !!Trying to get your module working, but no luck till now.
I will open some Issues for you to have a look at.Best regards,
E.J.
-
@evroom We will make this work, great input, there is so many possibilities what and how to display the data.
Im thinking about feeding a free tier mongodb or some local docker db for long time charts. -
It is working now.
I see it displayed on the MagicMirror.
Due to no sunshine I cannot check actual values, but that is for later. -
@schris88 dfg
Hi,
I am using
HMS-800W-2T
I have done your installation steps but there is no output on my MagicMirror.
The source http://127.0.0.1:5000 is correct?
What can I try?
Have you any idea what could be wrong? -
@SuVo said in MMM-Hoymiles-Wifi:
What can I try?
Have you any idea what could be wrong?You have to edit
~/MagicMirror/modules/MMM-Hoymiles-Wifi/hoymiles_data.py
Change this line to the address of your DTU:
dtu = DTU("192.168.178.114")
And I had to change
width: "288px", height: "360px",
in the
~/MagicMirror/config/config.js
file.This is my config:
{ module: "MMM-Hoymiles-Wifi", header: "MMM-Hoymiles-Wifi", disabled: false, position: "top_left", config: { width: "288px", height: "360px", updateInterval: 60000, // in milli seconds frames : [ { src: 'http://127.0.0.1:5000' }, ] }, },
-
Just FYI.
I am currently busy making some changes to the module.
As there is no sunshine due to the current weather conditions, it is a bit difficult to have real measurements.
Trying to add a test using a JSON dataset.
Hope to be able to present it a.s.a.p.E.J.
-
@evroom said in MMM-Hoymiles-Wifi:
~/MagicMirror/modules/MMM-Hoymiles-Wifi/hoymiles_data.py
Change this line to the address of your DTU:
dtu = DTU(“192.168.178.114”)sounds like a new config parm so you don’t have to edit the file
(pass as a parameter on /hoymiles_data.py start) -
@sdetweil said in MMM-Hoymiles-Wifi:
sounds like a new config parm so you don’t have to edit the file
(pass as a parameter on /hoymiles_data.py start)Exactly!
I did change
hoymiles_data.py
to be able to refrain from hard-coding it:
python hoymiles_data.py --dtu_ip_address 192.168.178.114--debug
The next thing would be to pass the parameter(s) from the configuration (to be coded in theMMM-Hoymiles-Wifi.js
file).As I never made a module myself, I would need to find out how.
Any suggestions are much appreciated!
E.J.
-
@evroom put it in the modulename.js defaults section
i bet the config is already passed to the node helper which execs the python script.
yepthis.sendSocketNotification("INIT", this.config)
then the user adds the property to the config.js module entry, as they are editing it anyhow
-
Hi, question,
do you live somewhere sunny ?
Could you try the run this and share the output ?
hoymiles-wifi --host 192.168.178.114 get-real-data-new
You’ll need to change the IP to the IP of your DTU.
E.J.