Skip to content

Cliente Python (NO OFICIAL) para i-DE (Iberdrola distribución)

License

Notifications You must be signed in to change notification settings

pgallent/python-oligo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-oligo

[ES] Cliente Python (NO OFICIAL) para i-DE (Iberdrola distribución).

Instalación:

pip install oligo

Ejemplos:

Consultar consumo actual:

from oligo import Iber

connection = Iber()
connection.login("user", "password")

watt = connection.watthourmeter()
print(watt)

Consultar estado ICP interno:

from oligo import Iber
connection = Iber()
connection.login("user", "password")
status = connection.icpstatus()
print(status)

[EN] Python client (UNOFFICIAL) for i-DE (Iberdrola distribución).

Install:

pip install oligo

Example:

Obtain current consumption:

from oligo import Iber

connection = Iber()
connection.login("user", "password")

watt = connection.watthourmeter()
print(watt)

Get ICP status:

from oligo import Iber
connection = Iber()
connection.login("user", "password")
status = connection.icpstatus()
print(status)

About

Cliente Python (NO OFICIAL) para i-DE (Iberdrola distribución)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%