Solar Array and home energy dashboard.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
728 B

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Solar Dashboard</title>
  6. <link rel="stylesheet" type="text/css" href="css/styles.css">
  7. </head>
  8. <body>
  9. <div><span>Solar Production: <span id="production">Unknown</span> kW</div>
  10. <div><span>Consumption: <span id="consumption">Unknown</span> kW</div>
  11. <div><span>Net Power: <span id="netgrid">Unknown</span> kW</div>
  12. <div id="solarchart" style="width:100%; height:600px;"></div>
  13. <script type="text/javascript" src="js/solardash.init.js"></script>
  14. <script type="text/javascript">
  15. // Load testing/prod data first
  16. loadScript("js/solardash." + document.location.protocol.slice(0, -1) + ".js", function(){
  17. // main init code
  18. });
  19. </script>
  20. </body>
  21. </html>