-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* TeslaCloud class * Placeholder TeslaCloud class * Unpack API dictionary * Add functions and tests * Add cache and setup * Remove TODOs * Add cloud setup to CLI * Fix log bug * Add teslapy to tests * CI test remove py 3.5 * Remove sample data * Add file types * Add cloud mode * Add missing data * Fix bug for sites without inverters * Add test proxy using cloud and local * Fix hash issue * Build t31 * Fix style * Fix grid services data mapping which relates to VPP events * Build t32 * Unpin pypowerwall library * Fix backup reserve percent scaling * Fix API mismatch * Fix percentage_charged * Prep for v0.7.0 * Minor fixes for consistency * Fix exception when vitals is None * Add get_time_remaining() * Remove vitals mock data * Fix vitals response * Add siteid selection to setup * Update setup install_requires * Fix duplicate line * Remove test servers * Update docs for v0.7.0 * Add simulated vitals * Remove poll() cache * Add counter param to SITE_DATA call * Revise handling of siteid selection * Stagger TTL to reduce rate limit * Infinite loop to keep container running * Allow no cache option with pwcacheexpire = 0 * Add stats for cloud mode * Startup details logging * Fix local log details * Limit cloud API requests to single thread * Reduce http timeout and remove retries * Change elapsed time measurements to monotonic clock * Fix exceptions and invalid return data * Add _site_api() to broker calls * Revise debug log order, fix sites exception * Updates to documentation and error logging * Proxy t35 * Counter param starts at 1 --------- Co-authored-by: Michael Birse <michael@birse.com.au>
- Loading branch information
Showing
16 changed files
with
1,348 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM python:3.10-alpine | ||
WORKDIR /app | ||
RUN pip3 install pypowerwall==0.6.4 bs4 | ||
RUN pip3 install pypowerwall==0.7.1 bs4 | ||
COPY . . | ||
CMD ["python3", "server.py"] | ||
EXPOSE 8675 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.