Skip to content

Simple Script to extract the current data from the Sunnyportal using Python

Notifications You must be signed in to change notification settings

terminatorhaas/sunnyportal-current-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sunnyportal-current-data

Simple Python Script to Extract the current Data from the Sunnyportal using Python

This only contains a simple example to show you how to get data from the portal Furthermore it demos how to use https://github.com/wendlers/ediplug-py to turn on a ediplug

Setup

  1. Download or clone repository
  2. create a config.json file in the main folder containing email and password for the sunnyportal as well as the ip adress of your smartplug and its password
{
    "email": "",
    "password": "",
    "spip": "",
    "sppassword": ""
}
  1. pip install requests
  2. Execute main.py

About

Simple Script to extract the current data from the Sunnyportal using Python

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages