Usage
Overview to use this myevse-webinterface
library
Note
The onwards described steps assume a successful setup as described in the setup chapter
Further examples are available in the examples chapter
Webpages
Available webpages
URL |
Description |
Additional info |
---|---|---|
|
Manage WiFi networks |
|
|
MyEVSE data |
Table of MyEVSE data |
|
Reboot system |
|
|
Select WiFi network |
|
|
Setup system |
See setup section |
|
System info |
Available endpoints
URL |
Description |
Additional info |
---|---|---|
|
Latest Scan result |
Available networks as JSON |
|
Raw Modbus data |
Latest Modbus data as JSON |
|
Reboot system |
|
|
Raw System info |
Latest system data as JSON |
|
Shutdown webserver |
Return from |
Available ModBus registers
The available registers are defined by a JSON file and placed inside the
/pyboard/lib/registers
folder on the board during the pip package
installation. This registers definitions file is loaded by the
setup_modbus_connection
function to configure the RTU-TCP Modbus bridge.
By default, and with the installation, the brainelectronics MyEVSE registers of the brainelectronics MyEVSE, sold on Tindie board is provided with this repo.
Configuration
The system can be configured via a config.json
file. This file does not
contain any sensitive data like network passwords or other keys.
The following things can be configured by the user on the /setup
webpage.
Name |
Description |
Default |
---|---|---|
|
ModBus TCP port |
|
|
ModBus registers file, placed inside |
|
|
Mode of WiFi connection |
|
The CONNECTION_MODE
supports the following modes
Value |
Mode |
Description |
---|---|---|
|
Setup |
Setup WiFi connection via initial AccessPoint |
|
Client |
Connect to the configured networks as client, fallback to an open AccessPoint otherwise |
|
AP |
Create an open AccessPoint named |