<commit_before># Sound of Sunshine

Adjusts my thermostat when my solar array is generating lots of power, and is likely to continue, basically using my house as a battery.

Combines data from [Enphase Enlighten’s API](https://enphase.com/en-us/products-and-services/enlighten-and-apps) and the [Current Cost Envi](http://www.currentcost.com/product-cc128.html) to generate a CSV log of energy production/consumption, a static HTML page reporting production/consumption status, and report excess production/consumption via [Pushover](https://pushover.net/) alerts. To come: uses this data to adjust the temperature of a Nest thermostat, using Weather Underground’s API to determine when that is worth doing.<commit_msg>Credit Enphase Energy<commit_after># Sound of Sunshine

Adjusts my thermostat when my solar array is generating lots of power, and is likely to continue, basically using my house as a battery.

## Overview

Combines data from [Enphase Enlighten’s API](https://enphase.com/en-us/products-and-services/enlighten-and-apps) and the [Current Cost Envi](http://www.currentcost.com/product-cc128.html) to generate a CSV log of energy production/consumption, a static HTML page reporting production/consumption status, and report excess production/consumption via [Pushover](https://pushover.net/) alerts. To come: uses this data to adjust the temperature of a Nest thermostat, using Weather Underground’s API to determine when that is worth doing.

## Satisfying API License Requirements

I need to write the following to satisfy [a license agreement](https://developer.enphase.com/docs#Display-Requirements):

[Powered by Enphase Energy](https://enphase.com/).
{'fraction_non_alphanumeric': 0.08188882247459653, 'fraction_numerical': 0.0035863717872086074, 'mean_word_length': 5.246268656716418, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2781619', 'n_tokens_mistral': 454, 'n_tokens_neox': 431, 'n_words': 191}