@schris88 Recently worked on it a bit and added a second branch with local mongodb to save and display max power, Im planning to use the db entries to display a history chart
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Hoymiles-Wifi
-
RE: MMM-Hoymiles-Wifi
@evroom That sounds good, but we should loop through the pv_data objects and display each as a graph. In the end, there could be a config setting like detailed: true to activate the display of all pv_data objects as individual graphs. If set to false, we could display a single graph with the total power.
There are Hoymiles inverters with 6 inputs, and adding 6 × 6 to 8 variables can quickly add up. This might not be an issue for us, but it’s worth considering if the module should be as generic as possible.
Sorry I´m a IT-Consultant who, sometimes it breaks through :D
-
RE: MMM-Hoymiles-Wifi
@evroom Hi there, maybe you can confirm, if the inverter has multiple inputs there seems to be an array of pv_data objects in the json (as seen in the test.json you pushed)
so the meter should combine all pv data power to have the total, right.
But we dont need to do that by hand because the combined value should be in dtu_power already, you can get rid of all the try except.I just didnt change it in the beginning because for inverters with only one input it makes no difference because its pv_data power and dtu_power is always the same value.
-
RE: MMM-Hoymiles-Wifi
@evroom said in MMM-Hoymiles-Wifi:
@sdetweil said in MMM-Hoymiles-Wifi:
i bet the config is already passed to the node helper which execs the python script.
Actually the python script is being executed via a shell script (in order to make it running using pm2).
I do not see anything in thenode_helper.js
file.This is mainly due to the fact that the developer of the module used
MMM-HTMLSnippet
as basis and concentrated more on the data that he wanted to display.The challenge is now to have everything running inside the module, without this ‘external’ stuff.
As all modules tend to do.This is true, it´s a hacked proof of concept, nothing to be proud of at the moment :D
Not sure how much time I have for it till end of year, I can grant write access to anyone who´s willing to help.
-
RE: Dell LCD Display with ESP32
@sdetweil There is a hole thread about it in the forum, I have not read any of it tho
https://forum.magicmirror.builders/topic/18194/raspberry-pi-zero-w-for-magic-mirrormaybe you find some good answers there, it´s not a new idea, I know the zero 2W from many retro consoles and handhelds atm, so it seems to be powerfull enough while light on the battery. Many of the Anbernic devices run it.
-
RE: Dell LCD Display with ESP32
@sdetweil not sure, it just sounds like you can have at least any video output but it is very limited
ESP32Lib implements VGA output over I²S.
The highest possible resolution with this library is 800x600. Many common resolutions like 320x240 are preconfigured und can be used without any effort. Two color depths are available. 14Bit R5G5B4 and 3Bit(8 color) R1G1B1 for convenience and memory savings.so this wont look good, esp32 is not the ideal hardware to do this, I love them too for WLED stuff etc. but not very good with displays except those little 1" oleds etc.
Pi zero 2W is like 10 bucks more and you dont need to fiddle with even getting a video out to work.
Maybe someone else has any idea, I would say wrong hardware for the job. -
RE: Dell LCD Display with ESP32
@Antony1 Only way I see is running Magicmirror server only and esp32 as client see https://docs.magicmirror.builders/getting-started/installation.html#other-operating-systems (scroll way down) the esp32 will not be able to handle magicmirror itself.
esp32 can have a vga output (https://github.com/bitluni/ESP32Lib) which is present on most display control boards from ebay etc. that i´ve seen.
-
RE: MMM-Hoymiles-Wifi
@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. -
MMM-Hoymiles-Wifi
Hello, as I got into some PV lately I found no module to display the output of my solar panels, the new Hoymiles inverters with integrated wifi are not supported by OpenDTU or Ahoy because they no longer send via 2,4Ghz or Sub-1G.
This is a quick hacked solution for the issue, it uses the python library hoymiles-wifi to get the inverter data via protobuf from the connected inverter in your home network, then it renders 3 values as gauge and text with plotly
It´s working and looks okay, not much configuration right now, you have to set your inverter ip in the hoymiles_data.py and add the config to display the html.
Maybe someone sees this and finds it usefull, if there is any interest in the community I can work on this some more
https://github.com/schris88/MMM-Hoymiles-Wifi
moderator edited to expose the full url -
RE: Issues with MMM-PIR
@eyesallin yes it´s an “issue” with the pi5 as the os is now using wayland as graphical environment instead of x11 which was used forever, a lot of tools are written for it and now need to be updated to work with wayland. You will find a lot of scenarios where there is no updated tool or alternative for the pi5 atm. The switch was done end of 2023 so it´s very new.