Easee: align observation IDs with official developer docs (#29044)

This commit is contained in:
Michael Heß 2026-04-12 14:19:56 +02:00 • committed by GitHub
parent b28be96d0a
commit d44bc7f8fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 628 additions and 592 deletions

View file

@ -362,11 +362,11 @@ func (c *Easee) ProductUpdate(i json.RawMessage) {
}
case easee.LIFETIME_ENERGY:
c.totalEnergy = value.(float64)
case easee.IN_CURRENT_T3:
case easee.INT_CURRENT_T3:
c.currentL1 = value.(float64)
case easee.IN_CURRENT_T4:
case easee.INT_CURRENT_T4:
c.currentL2 = value.(float64)
case easee.IN_CURRENT_T5:
case easee.INT_CURRENT_T5:
c.currentL3 = value.(float64)
case easee.PHASE_MODE:
c.phaseMode = value.(int)

File diff suppressed because it is too large Load diff

View file

@ -83,8 +83,10 @@ const (
LOCATION ObservationID = 25 // Location coordinate [event] [Position]
SITE_IDSTRING ObservationID = 26 // Site ID string [event] [String]
SITE_IDNUMERIC ObservationID = 27 // Site ID numeric value [event] [Integer]
RFID_TIMEOUT_AUTH ObservationID = 28 // Timeout set for authentication [Integer]
LOCK_CABLE_PERMANENTLY ObservationID = 30 // Lock type2 cable permanently [Boolean]
IS_ENABLED ObservationID = 31 // Set true to enable charger, false disables charger [Boolean]
TEMPERATURE_MONITOR_STATE ObservationID = 32 // Retrieves temperature of the charger [Integer]
CIRCUIT_SEQUENCE_NUMBER ObservationID = 33 // Charger sequence number on circuit [Integer]
SINGLE_PHASE_NUMBER ObservationID = 34 // Phase to use in 1-phase charging [Integer]
ENABLE3_PHASES_DEPRECATED ObservationID = 35 // Allow charging using 3-phases [Boolean]
@ -104,6 +106,8 @@ const (
MAX_CURRENT_OFFLINE_FALLBACK_P1 ObservationID = 50 // Maximum circuit current P1 when offline [event] [Integer]
MAX_CURRENT_OFFLINE_FALLBACK_P2 ObservationID = 51 // Maximum circuit current P2 when offline [event] [Integer]
MAX_CURRENT_OFFLINE_FALLBACK_P3 ObservationID = 52 // Maximum circuit current P3 when offline [event] [Integer]
RELEASE_CABLE_AT_POWER_OFF ObservationID = 54 // Cable release behavior on power loss [String]
CHARGING_SESSION_SIGNED ObservationID = 60 // Signed charging sessions [json] [String]
CHARGING_SCHEDULE ObservationID = 62 // Charging schedule [json] [String]
PAIRED_EQUALIZER ObservationID = 65 // Paired equalizer details [String]
WI_FI_APENABLED ObservationID = 68 // True if WiFi Access Point is enabled, otherwise false [Boolean]
@ -171,7 +175,7 @@ const (
LOCAL_TX_POWER ObservationID = 138 // Local radio transmission power [dBm] [telemetry] [Integer]
LOCAL_STATE ObservationID = 139 // Local radio state [event] [String]
FOUND_WI_FI ObservationID = 140 // List of found WiFi SSID and RSSI values [event] [String]
CHARGER_RAT ObservationID = 141 // Radio access technology in use: 0 = cellular, 1 = wifi [Integer]
CURRENT_CONNECTION ObservationID = 141 // Radio access technology in use: 0 = cellular, 1 = wifi [Integer]
CELLULAR_INTERFACE_ERROR_COUNT ObservationID = 142 // The number of times since boot the system has reported an error on this interface [poll] [Integer]
CELLULAR_INTERFACE_RESET_COUNT ObservationID = 143 // The number of times since boot the interface was reset due to high error count [poll] [Integer]
WIFI_INTERFACE_ERROR_COUNT ObservationID = 144 // The number of times since boot the system has reported an error on this interface [poll] [Integer]
@ -196,10 +200,10 @@ const (
BACK_PLATE_LOCKED ObservationID = 173 // Back plate confirmed locked [event] [Boolean]
CURRENT_MOTOR ObservationID = 174 // Motor current draw [debug] [Double]
BACK_PLATE_HALL_SENSOR ObservationID = 175 // Raw sensor value [mV] [Integer]
IN_CURRENT_T2 ObservationID = 182 // Calculated current RMS for input T2 [Amperes] [telemetry] [Double]
IN_CURRENT_T3 ObservationID = 183 // Current RMS for input T3 [Amperes] [telemetry] [Double]
IN_CURRENT_T4 ObservationID = 184 // Current RMS for input T4 [Amperes] [telemetry] [Double]
IN_CURRENT_T5 ObservationID = 185 // Current RMS for input T5 [Amperes] [telemetry] [Double]
INT_CURRENT_T2 ObservationID = 182 // Calculated current RMS for input T2 [Amperes] [telemetry] [Double]
INT_CURRENT_T3 ObservationID = 183 // Current RMS for input T3 [Amperes] [telemetry] [Double]
INT_CURRENT_T4 ObservationID = 184 // Current RMS for input T4 [Amperes] [telemetry] [Double]
INT_CURRENT_T5 ObservationID = 185 // Current RMS for input T5 [Amperes] [telemetry] [Double]
IN_VOLT_T1_T2 ObservationID = 190 // Input voltage RMS between T1 and T2 [Volt] [telemetry] [Double]
IN_VOLT_T1_T3 ObservationID = 191 // Input voltage RMS between T1 and T3 [Volt] [telemetry] [Double]
IN_VOLT_T1_T4 ObservationID = 192 // Input voltage RMS between T1 and T4 [Volt] [telemetry] [Double]
@ -214,12 +218,14 @@ const (
OUT_VOLT_PIN1_3 ObservationID = 203 // Output voltage RMS between type 2 pin 1 and 3 [Volt] [telemetry] [Double]
OUT_VOLT_PIN1_4 ObservationID = 204 // Output voltage RMS between type 2 pin 1 and 4 [Volt] [telemetry] [Double]
OUT_VOLT_PIN1_5 ObservationID = 205 // Output voltage RMS between type 2 pin 1 and 5 [Volt] [telemetry] [Double]
OUT_VOLT_PIN2_3 ObservationID = 206 // Output voltage RMS between type 2 pin 2 and 3 [Volt] [telemetry] [Double]
VOLT_LEVEL33 ObservationID = 210 // 3.3 Volt Level [Volt] [telemetry] [Double]
VOLT_LEVEL5 ObservationID = 211 // 5 Volt Level [Volt] [telemetry] [Double]
VOLT_LEVEL12 ObservationID = 212 // 12 Volt Level [Volt] [telemetry] [Double]
LTE_RSRP ObservationID = 220 // Reference Signal Received Power (LTE) [-144 .. -44 dBm] [Integer]
LTE_SINR ObservationID = 221 // Signal to Interference plus Noise Ratio (LTE) [-20 .. +30 dB] [Integer]
LTE_RSRQ ObservationID = 222 // Reference Signal Received Quality (LTE) [-19 .. -3 dB] [Integer]
CHARGE_SESSION_START ObservationID = 223 // Last charge session start details [json] [String]
EQ_AVAILABLE_CURRENT_P1 ObservationID = 230 // Available current for charging on P1 according to Equalizer [Double]
EQ_AVAILABLE_CURRENT_P2 ObservationID = 231 // Available current for charging on P2 according to Equalizer [Double]
EQ_AVAILABLE_CURRENT_P3 ObservationID = 232 // Available current for charging on P3 according to Equalizer [Double]