Skip to main content

MyEVSE Webinterface based on MicroPython

Reason this release was yanked:

not stable enough

Project description

MyEVSE Webinterface

Downloads Release MicroPython License: MIT

MicroPython based Webinterface of MyEVSE


General

This is the webinterface of the MyEVSE

I sell on Tindie

The current implementation does only run on a board with external SPI RAM. As of now up to 300kB of RAM are required. This is more than an ESP32-D4 Pico provides by default.

📚 The latest documentation is available at MyEVSE Webinterface ReadTheDocs 📚

Quickstart

This is a quickstart to install the myevse-webinterface library on a MicroPython board.

A more detailed guide of the development environment can be found in SETUP, further details about the usage can be found in USAGE, descriptions for testing can be found in TESTING and several examples in EXAMPLES

python3 -m venv .venv
source .venv/bin/activate

pip install -r requirements.txt

Install package on board with mip or upip

rshell -p /dev/tty.SLAB_USBtoUART --editor nano

Inside the rshell open a REPL and execute these commands inside the REPL

import machine
import network
import time
import mip
station = network.WLAN(network.STA_IF)
station.active(True)
station.connect('SSID', 'PASSWORD')
time.sleep(1)
print('Device connected to network: {}'.format(station.isconnected()))
mip.install('myevse-webinterface', index='https://pypi.org/pypi')
print('Installation completed')
machine.soft_reset()

For MicroPython versions below 1.19.1 use the upip package instead of mip

import machine
import network
import time
import upip
station = network.WLAN(network.STA_IF)
station.active(True)
station.connect('SSID', 'PASSWORD')
time.sleep(1)
print('Device connected to network: {}'.format(station.isconnected()))
upip.install('myevse-webinterface')
print('Installation completed')
machine.soft_reset()

Upload additional files to board

Copy the boot.py and main.py files to the MicroPython board as shown below using Remote MicroPython shell

Open the remote shell with the following command. Additionally use -b 115200 in case no CP210x is used but a CH34x.

rshell -p /dev/tty.SLAB_USBtoUART --editor nano

Perform the following command to copy all files to the device

cp main.py /pyboard
cp boot.py /pyboard

Usage

See USAGE and DOCUMENTATION

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

myevse-webinterface-0.10.0.tar.gz (22.4 kB view details)

Uploaded Source

File details

Details for the file myevse-webinterface-0.10.0.tar.gz.

File metadata

  • Download URL: myevse-webinterface-0.10.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.16

File hashes

Hashes for myevse-webinterface-0.10.0.tar.gz
Algorithm Hash digest
SHA256 4971fc45cc7dbec8dc134e9921c1dedae5a5b29110ac03badbf572321756517f
MD5 09b329a7b8222e0634ca71185fb91ace
BLAKE2b-256 f042ff2c221cd357c0c29e9cc65b8c98075fe162d911e9d767c44d881e69e775

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page