Skip to content

mbbush/python-juicenet

 
 

Repository files navigation

Python Juicenet

Access to the Juicenet EVSE charger API

Example

import aiohttp
import asyncio
import pyjuicenet

async def main():
  async with aiohttp.ClientSession() as session:
    api = pyjuicenet.Api('ACCESS_TOKEN', session)
    devices = await api.get_devices()
    charger = devices[0]
    await charger.update_state()
    print(charger.voltage) # 240
    await charger.set_override(True) # Charge the car now ignoring the schedule

asyncio.run(main())

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.7%
  • Shell 3.3%