npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-solar-monitor-ivk

v1.0.16

Published

Solar production monitor for Homebridge with Pushover notifications

Readme

🏠 Homebridge Solar Monitor

A Homebridge plugin that scrapes real-time solar production data from e-SenZ and integrates with HomeKit via Pushover notifications.

✨ Features

  • 🔄 Real-time Data Scraping: Scrapes live solar production data from e-SenZ website
  • 📱 Pushover Notifications: Sends notifications to multiple users via Pushover
  • 🏠 HomeKit Integration: Creates HomeKit accessories for solar monitoring
  • Smart Scheduling: Scrapes data hourly during solar hours (6 AM - 6:30 PM IST)
  • 🚀 Auto-installation: Automatic dependency installation on Raspberry Pi

🚀 Quick Installation

1. Install Plugin

npm install -g homebridge-solar-monitor-ivk

2. Install Dependencies (Raspberry Pi)

# Navigate to plugin directory
cd /var/lib/homebridge/node_modules/homebridge-solar-monitor-ivk

# Run auto-installation script
chmod +x install_dependencies.sh
./install_dependencies.sh

3. Configure Homebridge

Add to your config.json:

{
  "accessories": [
    {
      "accessory": "SolarMonitor",
      "name": "Solar Monitor",
      "username": "your_esenz_username",
      "password": "your_esenz_password",
      "pushover_token": "your_pushover_token",
      "pushover_users": ["user_key_1", "user_key_2"],
      "scrape_interval": 3600000
    }
  ]
}

4. Restart Homebridge

sudo systemctl restart homebridge

🔧 Configuration

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | accessory | string | ✅ | Must be exactly "SolarMonitor" | | name | string | ✅ | Display name for HomeKit | | username | string | ✅ | e-SenZ login username | | password | string | ✅ | e-SenZ login password | | pushover_token | string | ✅ | Pushover app token | | pushover_users | array | ✅ | Array of Pushover user keys | | scrape_interval | number | ❌ | Scrape interval in ms (default: 1 hour) |

🐛 Troubleshooting

ChromeDriver Issues

If you get "ChromeDriver not found" errors:

# Check if ChromeDriver is installed
chromedriver --version

# If not found, install manually
sudo apt-get install -y chromium-chromedriver
sudo ln -s /usr/bin/chromedriver /usr/local/bin/chromedriver

Plugin Not Loading

  1. Check accessory name is exactly "SolarMonitor" (no spaces)
  2. Verify all required fields are present in config.json
  3. Check Homebridge logs: sudo journalctl -u homebridge -f

Python Dependencies

If Python modules are missing:

cd /var/lib/homebridge/node_modules/homebridge-solar-monitor-ivk
pip3 install -r requirements.txt

SSL Certificate Issues

The plugin uses the correct e-SenZ URL: https://esenz.co.in/esenzCustomerLoginV3.aspx

📊 Data Scraped

The plugin scrapes the following solar production data:

  • Current Power (W/kW)
  • Today's Energy (kWh)
  • Yesterday's Energy (kWh)
  • Monthly Energy (kWh)
  • Total Energy (kWh)
  • Generation Factor (GF)
  • Capacity Utilization Factor (CUF)
  • Performance Ratio (PR)

🔔 Notifications

Pushover notifications are sent:

  • When solar production starts (6 AM IST)
  • When solar production ends (6:30 PM IST)
  • On significant production changes
  • On scraping errors

🏗️ Architecture

  • Homebridge Plugin: Node.js plugin for HomeKit integration
  • Python Scraper: Selenium-based web scraper for e-SenZ
  • ChromeDriver: Headless browser automation
  • Pushover API: Multi-user notification system

📝 Logs

  • Plugin logs: Homebridge logs (sudo journalctl -u homebridge -f)
  • Scraper logs: solar_scraper.log in plugin directory

🔄 Updates

To update the plugin:

npm update -g homebridge-solar-monitor-ivk
cd /var/lib/homebridge/node_modules/homebridge-solar-monitor-ivk
./install_dependencies.sh
sudo systemctl restart homebridge

📄 License

MIT License - see LICENSE file for details.

🤝 Support

For issues and support:

  1. Check the troubleshooting section above
  2. Review Homebridge logs
  3. Check scraper logs in plugin directory
  4. Verify e-SenZ credentials and website accessibility