Skip to content

Latest commit

 

History

History
192 lines (153 loc) · 7.81 KB

File metadata and controls

192 lines (153 loc) · 7.81 KB

Acknowledgments

This solar monitoring system builds upon the work of several individuals and communities who have contributed to understanding SunPower's PVS gateway API and local monitoring capabilities.

Primary References

Scott Gruby's Blog Post

"Monitoring a SunPower Solar System" - April 28, 2020

  • URL: https://blog.gruby.com/2020/04/28/monitoring-a-sunpower-solar-system/
  • Author: Scott Gruby
  • Contribution: Detailed explanation of PVS6 API endpoints, network architecture, and Raspberry Pi bridge setup
  • Key Insights:
    • PVS6 API endpoints (/cgi-bin/dl_cgi?Command=DeviceList)
    • Network isolation and bridge requirements
    • Per-panel monitoring capabilities
    • Home Assistant and Grafana integration examples

Nelson Minar's Documentation

"Getting local access to SunPower PVS6 data" - December 2, 2021

"My custom solar monitoring system (PVS6)" - January 20, 2022

Gino Ledesma's Prometheus Exporter

"sunpower-pvs-exporter" - Prometheus Exporter for SunPower PVS

  • URL: https://github.com/ginoledesma/sunpower-pvs-exporter
  • Author: Gino Ledesma
  • Contribution: Prometheus exporter for SunPower PVS monitoring system
  • Key Features:
    • Prometheus metrics collection from PVS6
    • Grafana dashboard integration
    • Professional monitoring capabilities
    • Time-series data storage

Kiel Koleson's Technical Notes

"PVS6 Technical Documentation" - Comprehensive PVS6 Notes

  • URL: https://gist.github.com/koleson/5c719620039e0282976a8263c068e85c
  • Author: Kiel Koleson
  • Contribution: Extensive technical notes on PVS6 configuration and data access
  • Key Resources:
    • PVS6 technical specifications
    • Configuration methods and parameters
    • Data access techniques and troubleshooting
    • Experimental findings and results

Kevin Fleming's ESPHome Components

"esphome-sunpower" - ESPHome Components for SunPower PVS

  • URL: https://github.com/kpfleming/esphome-sunpower
  • Author: Kevin Fleming (kpfleming)
  • Contribution: Experimental ESPHome components for SunPower PV Supervisor devices
  • Key Features:
    • ESP32-based data collection
    • Home Assistant integration
    • Low-cost monitoring alternative
    • IoT ecosystem compatibility

Hasherati's Solar Project

"solar" - SunPower PVS6 Query Methods

  • URL: https://github.com/hasherati/solar
  • Author: Hasherati
  • Contribution: Alternative approaches to querying SunPower PVS6 solar controller
  • Key Features:
    • Multiple query methods and techniques
    • Network configuration variations
    • Data retrieval approaches
    • Setup alternatives for different environments

Technical Inspiration

Node-RED Integration

  • Source: Scott Gruby's Node-RED flow implementation
  • Adaptation: Converted from Node-RED to Python for better reliability and easier deployment
  • Improvements: Added SQLite database, web dashboard, and automated data collection

Network Architecture

  • Source: Raspberry Pi bridge concept from Scott Gruby and Nelson Minar
  • Implementation: HAProxy configuration for network bridging
  • Enhancement: Added comprehensive error handling and connection testing

Prometheus/Grafana Integration

  • Source: Gino Ledesma's sunpower-pvs-exporter
  • Inspiration: Professional monitoring with time-series data
  • Adaptation: Docker Compose setup and advanced visualization

ESPHome Alternative

  • Source: Kevin Fleming's esphome-sunpower components
  • Inspiration: Low-cost ESP32-based monitoring
  • Adaptation: Hardware comparison and alternative setup options

Technical Documentation

  • Source: Kiel Koleson's comprehensive PVS6 notes
  • Inspiration: Detailed technical specifications and troubleshooting
  • Adaptation: Enhanced troubleshooting guides and technical references

Community Resources

SunPower Community Forums

  • Contributors: SunPower system owners and installers
  • Resources: Troubleshooting guides, firmware compatibility notes, installation tips
  • Value: Real-world testing and validation of API endpoints

Home Assistant Community

  • Contributors: Home automation enthusiasts
  • Resources: Integration examples, sensor configurations, automation ideas
  • Inspiration: Web dashboard design and real-time data visualization

Code Libraries and Dependencies

Python Libraries

  • Flask: Web framework for dashboard
  • Requests: HTTP client for PVS6 API calls
  • SQLite: Database for data storage
  • Plotly: Chart generation for web dashboard
  • Pandas: Data manipulation and analysis
  • Schedule: Automated data collection

System Components

  • HAProxy: Network bridging and load balancing
  • Raspberry Pi OS: Operating system foundation
  • SQLite: Database engine for data persistence

Hardware Inspiration

Raspberry Pi Bridge Concept

  • Origin: Community-driven solution for PVS6 network access
  • Implementation: Ethernet bridge with WiFi connectivity
  • Enhancement: Added comprehensive setup documentation and automation

Documentation References

Network Setup Guides

  • Sources: Multiple community contributors
  • Content: Ethernet configuration, IP addressing, troubleshooting
  • Enhancement: Consolidated into comprehensive setup guide

Installation Guides

  • Sources: Raspberry Pi community, SunPower user forums
  • Content: Hardware requirements, installation steps, configuration
  • Improvement: Added step-by-step instructions with troubleshooting

Special Thanks

Early Adopters and Testers

  • Community: SunPower system owners who tested local monitoring solutions
  • Contribution: Real-world validation, bug reports, and feature requests
  • Value: Ensured reliability across different PVS6 firmware versions

Open Source Community

  • Contributors: Developers who shared their PVS6 research and code
  • Philosophy: Open source approach to solar monitoring
  • Impact: Enabled independent monitoring without vendor lock-in

License and Usage

This project is released under an open source license. When using this code, please:

  1. Acknowledge the original sources referenced above
  2. Respect SunPower's intellectual property (this project accesses public API endpoints)
  3. Use responsibly and follow electrical safety guidelines
  4. Contribute back to the community when possible

Disclaimer

This project is not affiliated with SunPower Corporation. It is a community-driven solution for local solar monitoring based on compiled research and theoretical implementation. This project has NOT been personally tested by the author and is provided as-is for educational purposes. Use at your own risk and always follow electrical safety guidelines when working with solar equipment.

Contributing

If you contribute to this project, please:

  1. Reference your sources when building upon others' work
  2. Test thoroughly before submitting changes
  3. Document your changes clearly
  4. Follow the existing code style and structure

Last Updated: Current session Project Status: Ready for deployment Community: Open source solar monitoring