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.
 
 
 
 
 

27 lines
712 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></div>
  10. <div><span>Consumption: <span id="consumption">Unknown</span></div>
  11. <div><span>Net Energy: <span id="netgrid">Unknown</span></div>
  12. <script type="text/javascript" src="js/solardash.init.js"></script>
  13. <script type="text/javascript">
  14. // Load testing/prod data first
  15. loadScript("js/solardash." + document.location.protocol.slice(0, -1) + ".js", function(){
  16. loadScript("js/solardash.main.js", function(){
  17. // main init code
  18. });
  19. });
  20. </script>
  21. </body>
  22. </html>