Read the statement by Michael Teeuw here.
MMM-SunnyPortal not reading data - more then one plants not showing any values on MM2
-
@frits-erasmus yep. either didn’t get data or api changed
-
@sdetweil
Sam,I think it is because I have two plants registered and manually logging onto the site incurs another step where one has to select the correct plant. That step is not a usual step when you only have one plant registered. That, I think causes MMM-SunnyPoprtal to fail.
I also have two SunnyBow inverters that might contribute to this complexity.
I will then go the MQTT route until the SunnyPortal is resolved. I also left a message for the developer in Github.
I have an MQTT server running on my LAN and I have feeds of everything I would like to monitor, so that could potentially be the better route to takeTo play save I am going to start fresh with an SSD /NVME - M.2 for stability
In your message starting with " no. how do you start MagicMirror?" I learned quite a lot.
Is that way of starting supposed to give no RED messages when I connect via SSH?I saw several lines withRED text.
I suppose there should be no RED text when there are no errors?
I will also do a little more reading now that I have a basic understanding of how MM2 works
See you in my next post (Sorry for being such a nuisance)
-
@frits-erasmus yes the red is a fatal error on the module.
request is a li rare to get data (request it). many developers did not properly handle errors.
in this case it looks like the data is supposed to contain an array xxx[1] and that is not the case. oops…
I don’t know if it because of error, or api change , or multiple sources.
how MagicMirror works
the modulename.js runs in the browser (electron is a browser), but as such it cannot directly access the system it runs on for security (can’t read files, fiddle w hardware , reformat your disks…)so the module has a helper, that runs o the server side which CAN do all that.
so the modulename.js sends a request to the helper to get data. the helper does it, and sends back. … the modilenane.js is waiting (loading… on the screen)
but if there is an error most helpers do not send back. so both sides are waiting…
helper gor another request modulename.js a response to last request…stalemate…
-
Thanks Sam for that info.
Although I do not understand it 100% it gives me an idea why there is an issue with that module.I started from scratch and this time took it slow.
Used your script on your github page made the install so much cleaner.
THANKS for your effort there!!