package
0.0.0-20240908172838-7bcebe7d766f
Repository: https://github.com/evcc-io/evcc.git
Documentation: pkg.go.dev

# Functions

ObservationIDString retrieves an enum value from the enum constants string name.
ObservationIDStrings returns a slice of all String values of the enum.
ObservationIDValues returns all values of the enum.
TokenSource creates an Easee token source.

# Constants

Allow offline charging for all RFID tokens.
API is the Easee API endpoint.
Authorization is required for charging [Boolean].
Raw sensor value [mV] [Integer].
Back Plate RFID of charger [boot] [String].
Back plate confirmed locked [event] [Boolean].
Readback on backplate type [Integer].
1.
2.
Cable lock state [event] [Boolean].
Cable rating read [Amperes] [event] [Double].
Car connection state [Boolean].
IP address assigned by cellular network [debug] [String].
Cellular radio access technology according to RAT table [event] [Integer].
Cellular signal strength [dBm] [telemetry] [Integer].
The number of times since boot the system has reported an error on this interface [poll] [Integer].
The number of times since boot the interface was reset due to high error count [poll] [Integer].
Enum describing why charger is offline [Integer].
Charger operation mode according to charger mode table [event] [Integer].
Radio access technology in use: 0 = cellular, 1 = wifi [Integer].
Charging schedule [json] [String].
Charging sessions [json] [event] [String].
Set circuit maximum current [Amperes] [Double].
Set circuit maximum current [Amperes] [Double].
Set circuit maximum current [Amperes] [Double].
Charger sequence number on circuit [Integer].
Total current allocated to L1 by all chargers on the circuit.
Total current allocated to L2 by all chargers on the circuit.
Total current allocated to L3 by all chargers on the circuit.
Total current in L1 (sum of all chargers on the circuit) Sent in by master only [Double].
Total current in L2 (sum of all chargers on the circuit) Sent in by master only [Double].
Total current in L3 (sum of all chargers on the circuit) Sent in by master only [Double].
Reason why charger disconnected from cloud.
Communication PCB hardware version [Integer].
If charger connected to cloud or not.
Control pulse round-trip time in milliseconds [Integer].
Motor current draw [debug] [Double].
Debug string [String].
Available current after derating [A] [Double].
Available current is limited by the charger due to high temperature [event] [Boolean].
Detected power grid type according to PowerGridType table [boot] [Integer].
3.
Max current this charger is allowed to offer to car (A).
Dynamically set circuit maximum current for phase 1 [Amperes] [event] [Double].
Dynamically set circuit maximum current for phase 2 [Amperes] [event] [Double].
Dynamically set circuit maximum current for phase 3 [Amperes] [event] [Double].
Maximum circuit current when offline [event] [Integer].
Response on a EaseeLink command sent to another devic [Integer].
Data received on EaseeLink from another device [String].
Charger signals available current when EV is done charging [user option] [event] [Boolean].
Allow charging using 3-phases [Boolean].
Accumulated energy per hour [kWh] [event] [Double].
Available current for charging on P1 according to Equalizer [Double].
Available current for charging on P2 according to Equalizer [Double].
Available current for charging on P3 according to Equalizer [Double].
0 == erratic checking disabled, otherwise the number of toggles between states Charging and Charging Complete that will trigger an error [Integer].
Error code according to error code table [event] [Integer].
Descriptive error string [event] [String].
Default disabled.
List of found WiFi SSID and RSSI values [event] [String].
SIM integrated circuit card identifier [String].
Calculated current RMS for input T2 [Amperes] [telemetry] [Double].
Current RMS for input T3 [Amperes] [telemetry] [Double].
Current RMS for input T4 [Amperes] [telemetry] [Double].
Current RMS for input T5 [Amperes] [telemetry] [Double].
Input voltage RMS between T1 and T2 [Volt] [telemetry] [Double].
Input voltage RMS between T1 and T3 [Volt] [telemetry] [Double].
Input voltage RMS between T1 and T4 [Volt] [telemetry] [Double].
Input voltage RMS between T1 and T5 [Volt] [telemetry] [Double].
Input voltage RMS between T2 and T3 [Volt] [telemetry] [Double].
Input voltage RMS between T2 and T4 [Volt] [telemetry] [Double].
Input voltage RMS between T2 and T5 [Volt] [telemetry] [Double].
Input voltage RMS between T3 and T4 [Volt] [telemetry] [Double].
Input voltage RMS between T3 and T5 [Volt] [telemetry] [Double].
Input voltage RMS between T4 and T5 [Volt] [telemetry] [Double].
Internal relative humidity [Percent] [event] [Integer].
4.
Set true to enable charger, false disables charger [Boolean].
LED strip brightness, 0-100% [Integer].
Charger LED mode [event] [Integer].
0 = not legacy ev, 1 = legacy ev detected, 2 = reviving ev [Integer].
Accumulated energy in the lifetime of the charger [kWh] [Double].
Total number of hours in operation [Integer].
Total number of relay switches in the lifetime of the charger (irrespective of the number of phases used) [Integer].
Ambient light from front side [Percent] [debug] [Integer].
True = charger needs control pulse to consider itself online.
Number of connected chargers in the load balancin.
Local RFID authorization is required for charging [user options] [event] [Boolean].
Allow offline charging for whitelisted RFID token.
Slaves only.
0-Unconfigured, 1-Master, 2-Extender, 3-End device [Integer].
If master-Number of slaves connected, If slave- Address parent [Integer].
Preauthorize with whitelist enabled.
Channel nr 0 - 11 [Integer].
Local radio signal strength [dBm] [telemetry] [Integer].
Address of charger on local radio network [Integer].
Local radio state [event] [String].
Local radio transmission power [dBm] [telemetry] [Integer].
Location coordinate [event] [Position].
Lock type2 cable permanently [Boolean].
Reference Signal Received Power (LTE) [-144 .
Reference Signal Received Quality (LTE) [-19 .
Signal to Interference plus Noise Ratio (LTE) [-20 .
Back Plate RFID of master [event] [String].
Max current this charger is allowed to offer to car (A).
Maximum circuit current P1 when offline [event] [Integer].
Maximum circuit current P2 when offline [event] [Integer].
Maximum circuit current P3 when offline [event] [Integer].
Current mobile network operator [pollable] [String].
charge mode definition.
charge mode definition.
charge mode definition.
charge mode definition.
charge mode definition.
charge mode definition.
charge mode definition.
Modem firmware version [String].
charge mode definition.
charge mode definition.
Number of cars currently charging [Integer].
Number of cars connected to this circuit [Integer].
Number of cars that appear to be fully charged [Integer].
Number of cars currently in queue, waiting to be allocated power [Integer].
Charger behavior when offline [Integer].
OTA error code, see table [event] [Integer].
Output voltage RMS between type 2 pin 1 and 2 [Volt] [telemetry] [Double].
Output voltage RMS between type 2 pin 1 and 3 [Volt] [telemetry] [Double].
Output voltage RMS between type 2 pin 1 and 4 [Volt] [telemetry] [Double].
Output voltage RMS between type 2 pin 1 and 5 [Volt] [telemetry] [Double].
Available current signaled to car with pilot tone [Double].
Active output phase(s) to EV according to output phase type table.
Paired equalizer details [String].
Observed user token when charger put in RFID pairing mode [event] [String].
Phase mode on this charger.
Pilot signal high [Volt] [debug] [Double].
Pilot signal low [Volt] [debug] [Double].
Pilot Mode Letter (A-F) [event] [String].
5.
Power PCB hardware version [Integer].
Enum describing why a charger with a car connected is not offering current to the car [Integer].
Reason of reboot.
Remote start required flag [event] [Boolean].
JSON with details from self-test [String].
PASSED or error codes [String].
Session accumulated energy [kWh] [telemetry] [Double].
Phase to use in 1-phase charging [Integer].
Site ID numeric value [event] [Integer].
Site ID string [event] [String].
Site Structure [boot] [String].
Smart button is enabled [Boolean].
Smart charging state enabled by capacitive touch button [event] [Boolean].
Embedded software package release id [boot] [Integer].
7.
6.
Ambient temperature [Celsius] [event] [Double].
Temperature measured by ambient sensor on power board [Celsius] [event] [Double].
Temperature at input T2 [Celsius] [event] [Double].
Temperature at input T3 [Celsius] [event] [Double].
Temperature at input T4 [Celsius] [event] [Double].
Temperature at input T5 [Celsius] [event] [Double].
Maximum temperature for all sensors [Celsius] [telemetry] [Double].
Temperature at type 2 connector plug for L1 [Celsius] [event] [Double].
Temperature at type 2 connector plug for L2 [Celsius] [event] [Double].
Temperature at type 2 connector plug for L3 [Celsius] [event] [Double].
Temperature at type 2 connector plug for N [Celsius] [event] [Double].
Total power [kW] [telemetry] [Double].
Number of chargers connected to master through UDP / WIFI [Integer].
User ID token string from RFID reading [event] [String].
User ID token string from RFID reading [event] (NB! Must reverse these strings) [String].
12 Volt Level [Volt] [telemetry] [Double].
3.3 Volt Level [Volt] [telemetry] [Double].
5 Volt Level [Volt] [telemetry] [Double].
IP address assigned by WiFi network [debug] [String].
True if WiFi Access Point is enabled, otherwise false [Boolean].
WiFi signal strength [dBm] [telemetry] [Integer].
WiFi SSID name [String].
WiFi network type letters (G, N, AC, etc) [debug] [String].
Enum with WiFi event codes.
The number of times since boot the system has reported an error on this interface [poll] [Integer].
The number of times since boot the interface was reset due to high error count [poll] [Integer].

# Structs

Charger is the charger type.
ChargerSettings is the charger settings type.
ChargerStatus is the charger status type.
Circuit is the circuit type.
CircuitSettings is the circuit settings type.
Site is the site type.
Token is the Easee Token.

# Interfaces

Logger is a simple logger interface.

# Type aliases

https://www.notion.so/Charger-template-c6a20ff7cfea41e2b5f80b00afb34af5.