Replies: 2 comments 15 replies
-
Yes, this is tricky. I haven't added automated support for this because it is hit-or-miss with the various browsers and I ran out of motivation to track it all down. The issue is that the animation is an iFrame in Grafana with some Javascript that loads the Tesla animation via proxy through pypowerwall. The error you are getting is because it is non-HTTPS. If you are interested in making it work, here is what would be needed to move it to HTTPS. Keep in mind that this is beta and may still not work (I had some odd cases where it refused to ender based on setup, browser, or something else). Please feel free to poke at it and help us all figure it out. 😁 To activate HTTPS (TLS), you will need to edit your PW_HTTPS=yes You will need to edit
And then restart everything: docker-compose -f powerwall.yml up -d A test should be available if you load https://10.2.3.4:8675/ - Key: replace 10.1.2.3 with the actual IP address of the host running the Dashboard containers. To test iFrame outside of Grafana, you can use this built-in test page: http://10.2.3.4:8675/example.html |
Beta Was this translation helpful? Give feedback.
-
I think I see what you mean. With everything using https I get a different error. Likely due to the browser not accepting the connection to the iFrame. I would probably need to get pypowerwall to use a certificate that is trusted by my browser. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I figured out how to get Grafana working with HTTPS and my certificates. The problem is this appears to break the powerflow animation. Is there any way to get this working? I can go back to HTTP for Grafana, I was just tired of my password manager giving me "unsecure site" warning every time I went to login to Grafana.
Beta Was this translation helpful? Give feedback.
All reactions