utzl / MMM-Solarman

MIT License
2 stars 1 forks source link

failed to load swrast driver #2

Closed Matze181280 closed 5 months ago

Matze181280 commented 10 months ago

Hello,

somehow it does not work I did everything according to the instructions. Attached the log Maybe someone can help me? For the app I got all the code from sorlaman support /App_ID and App_Secret

and the other I have also adjusted by helper.js

    // define urls
    let url = 'https://globalapi.solarmanpv.com/device/v1.0/currentData?appId=' + this.config.appId + '&language=en&=';
    let urlH = 'https://globalapi.solarmanpv.com/device/v1.0/historical?appId=' + this.config.appId + '&language=en&=';

    var options = {

Thank you!

Require stack:

utzl commented 10 months ago

Hi Matze, honestly I have no idea what the swrast driver does or what the issue could be in your case. Do you have this issue only when the solarman module is activ in your config.js?

Try to set a wrong accessToken in your config file and see if the module itself works then (of course without your data, but it would be a start)

all the best

utzl commented 9 months ago

Where you able to solve your issue or is it still open?

Matze181280 commented 9 months ago

Hello Utzl, Sorry for my late reply. Thank you for your help, unfortunately I did not get any further. I tried what you told me: the same error came back. Is there something wrong with my installation? I have installed it again, but it did not work. Maybe you have another idea? Thanks !

utzl commented 9 months ago

Hi, now I had a similar bug after npm installation of another module. and then nothing worked anymore... I installed a newer version of node (18.18). And full apt-get update/upgrade. And I also updated to MagicMirror version 2.25.

Recommend to use on of these scripts: https://github.com/sdetweil/MagicMirror_scripts

Hope this will also help you. Send me the pm2 log again if not.

Matze181280 commented 9 months ago

Hi,

thanks for the feedback and Info. I'll try it out when I get back from the field. Thanks you, I will get back to you. Br / Matze

utzl commented 6 months ago

Hi Matze, can I close this issue?

Matze181280 commented 5 months ago

Hello utzl,

thanks for asking, at the moment you can close the issue.

Thank you ! Br / Matze

Am Di., 16. Jan. 2024 um 16:36 Uhr schrieb utzl @.***>:

Hi Matze, can I close this issue?

— Reply to this email directly, view it on GitHub https://github.com/utzl/MMM-Solarman/issues/2#issuecomment-1893993962, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCN5ZMOHUNMFIVM4MNIYCMDYO2NAJAVCNFSM6AAAAAA4QB7NVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTHE4TGOJWGI . You are receiving this because you authored the thread.Message ID: @.***>