thoukydides / homebridge-aeg-robot

AEG RX9 / Electrolux Pure i9 robot vacuum plugin for Homebridge
https://www.thouky.co.uk
ISC License
5 stars 0 forks source link

Unexpected fields in Electrolux Group API response #57

Closed Tomcraft1980 closed 3 weeks ago

Tomcraft1980 commented 3 weeks ago

Description of Issue

I get these strange log entries without having changed anything:

[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Unexpected fields in Electrolux Group API response:
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] GET /api/v1/appliances/900277268AAAAAAAA*******/info
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] └─ response.capabilities is not a RX9ApplianceCapabilities
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum]     ├─ response.capabilities.dustbinStatus is extraneous
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum]     ├─ response.capabilities.batteryStatus is extraneous
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum]     └─ response.capabilities.powerMode is extraneous

Plugin Version

2.2.3

AEG/Electrolux Appliance(s)

AEG RX9-1-IBM 900 277 268, AEG RX9-2-4-ANM 900 277 479, AEG RX9-2-6-IBM 900 277 480

HomeKit App(s)

No response

Diagnostic Checks

Log File

[16/10/2024, 21:37:53] [Homebridge UI] Rebooting linux server with command: "sudo -n shutdown -r now"
[16/10/2024, 21:37:53] [HB Supervisor] Stopping services...
[16/10/2024, 21:37:53] Got SIGTERM, shutting down Homebridge...
[16/10/2024, 21:37:58] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[16/10/2024, 21:38:25] [HB Supervisor] OS: Linux 6.6.54-v8+ arm
[16/10/2024, 21:38:25] [HB Supervisor] Node.js v20.18.0 /opt/homebridge/bin/node
[16/10/2024, 21:38:25] [HB Supervisor] Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge
[16/10/2024, 21:38:25] [HB Supervisor] UI Path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[16/10/2024, 21:38:28] [Homebridge UI] Homebridge UI v4.61.0 is listening on :: port ****
[16/10/2024, 21:38:29] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[16/10/2024, 21:38:29] [HB Supervisor] Started Homebridge v1.8.4 with PID: 1176
[16/10/2024, 21:38:30] Loaded config.json with 0 accessories and 11 platforms.
[16/10/2024, 21:38:30] Loaded 38 cached accessories from cachedAccessories.
[16/10/2024, 21:38:30] ---
Loading package.json from /var/lib/homebridge/node_modules/homebridge-aeg-robot/package.json
[16/10/2024, 21:38:30] Loaded plugin: homebridge-aeg-robot@2.2.3
[16/10/2024, 21:38:30] Registering platform 'homebridge-aeg-robot.Homebridge AEG Robot Vacuum'
[16/10/2024, 21:38:30] ---
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Initializing Homebridge AEG Robot Vacuum platform...
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] homebridge-aeg-robot version 2.2.3
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Node.js version 20.18.0 (satisfies ^22.0.0 || ^20.9.0 || ^18.20.0)
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Homebridge version 1.8.4 (satisfies ^1.8.0 || ^2.0.0-beta.0)
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Homebridge API version 2.7 (satisfies ^2.7)
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Using saved access token
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Increasing polling interval from 30 seconds to 58 seconds due to Electrolux Group API rate limit of 5000 calls/day
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] With 3 robot vacuum cleaners this reduces the polling rate from 8640 to 4469 calls/day
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Increase the value of pollIntervals.statusSeconds in the homebridge config.json file
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Product ID 900277268AAAAAAAA*******
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Product ID 900277479BBBBBBBB*******
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Product ID 900277480CCCCCCCC*******
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Found 3 robot vacuums
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] Unexpected fields in Electrolux Group API response:
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] GET /api/v1/appliances/900277268AAAAAAAA*******/info
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] └─ response.capabilities is not a RX9ApplianceCapabilities
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum]     ├─ response.capabilities.dustbinStatus is extraneous
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum]     ├─ response.capabilities.batteryStatus is extraneous
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum]     └─ response.capabilities.powerMode is extraneous
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] AEG PUREi9 (rx9)
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Product number code 900277268
[16/10/2024, 21:38:58] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Serial number AAAAAAAA
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] Unexpected fields in Electrolux Group API response:
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] GET /api/v1/appliances/900277479BBBBBBBB*******/info
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] └─ response.capabilities is not a RX9ApplianceCapabilities
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum]     ├─ response.capabilities.dustbinStatus is extraneous
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum]     ├─ response.capabilities.batteryStatus is extraneous
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum]     └─ response.capabilities.powerMode is extraneous
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] AEG PUREi9 (rx92)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Product number code 900277479
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Serial number BBBBBBBB
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] Unexpected fields in Electrolux Group API response:
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] GET /api/v1/appliances/900277480CCCCCCCC*******/info
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] └─ response.capabilities is not a RX9ApplianceCapabilities
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum]     ├─ response.capabilities.dustbinStatus is extraneous
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum]     ├─ response.capabilities.batteryStatus is extraneous
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum]     └─ response.capabilities.powerMode is extraneous
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] AEG PUREi9 (rx92)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Product number code 900277480
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Serial number CCCCCCCC
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] My name is "AEG RX9-1-IBM"
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Hardware platform 0.13
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Firmware version 43.23 installed
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Supports 6 capabilities: CustomPlay, EcoMode, FreezeMapOnDemand, InteractiveMap, MultipleScheduledCleaningsPerDay, and PowerZones
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Robot is enabled
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Robot is connected to the cloud servers
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Battery level is FULLY CHARGED
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Robot is SLEEPING (either charged on dock or idle off dock)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Dust collection bin is FULL (and requires emptying)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] ECO mode is enabled
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] Restoring accessory "AEG RX9-1-IBM" from cache for AEG PUREi9 (rx9) "AEG RX9-1-IBM" (Product ID 900277268AAAAAAAA*******)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] My name is "AEG RX9-2-4-ANM"
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Hardware platform 1.01
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Firmware version 43.23 installed
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Supports 6 capabilities: CustomPlay, FreezeMapOnDemand, InteractiveMap, MultipleScheduledCleaningsPerDay, PowerLevels, and PowerZones
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Robot is enabled
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Robot is connected to the cloud servers
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Battery level is FULLY CHARGED
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Robot is SLEEPING (either charged on dock or idle off dock)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Dust collection bin is PRESENT (and not full)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Power mode is set to SMART (cleans quietly on hard surfaces, uses full power on carpets)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] Restoring accessory "AEG RX9-2-4-ANM" from cache for AEG PUREi9 (rx92) "AEG RX9-2-4-ANM" (Product ID 900277479BBBBBBBB*******)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] My name is "AEG RX9-2-6-IBM"
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Hardware platform 1.01
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Firmware version 43.23 installed
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Supports 6 capabilities: CustomPlay, FreezeMapOnDemand, InteractiveMap, MultipleScheduledCleaningsPerDay, PowerLevels, and PowerZones
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Robot is enabled
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Robot is connected to the cloud servers
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Battery level is FULLY CHARGED
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Robot is SLEEPING (either charged on dock or idle off dock)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Dust collection bin is PRESENT (and not full)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Power mode is set to SMART (cleans quietly on hard surfaces, uses full power on carpets)
[16/10/2024, 21:38:59] [Homebridge AEG Robot Vacuum] Restoring accessory "AEG RX9-2-6-IBM" from cache for AEG PUREi9 (rx92) "AEG RX9-2-6-IBM" (Product ID 900277480CCCCCCCC*******)
thoukydides commented 3 weeks ago

Checking through my logs, there appears to have been an API change sometime between 9th and 11th October.

For now you can ignore the warnings in the log - they are perfectly safe. I will update the API definitions to prevent the warning in the next release.

Tomcraft1980 commented 3 weeks ago

Thanks in advance!

thoukydides commented 3 weeks ago

v2.2.4 updates the expected appliance capabilities returned by the API.

I notice that your log indicates that the API returned powerMode as a supported capability for your RX9.1, even though it doesn't actually support it. If it returns different details for that capability then another update will be required. Please provide a log that shows the actual API response if that is the case (either a debug log, or enabling the Log API Bodies and Log Debug as Info options).

Tomcraft1980 commented 3 weeks ago

THX!

Here is the log:

[17/10/2024, 07:01:46] [Homebridge UI] Homebridge restart request received
[17/10/2024, 07:01:47] [Homebridge UI] Sending SIGTERM to process...
[17/10/2024, 07:01:47] [HB Supervisor] Stopping services...
[17/10/2024, 07:01:47] Got SIGTERM, shutting down Homebridge...
[17/10/2024, 07:01:52] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[17/10/2024, 07:01:59] [HB Supervisor] OS: Linux 6.6.54-v8+ arm
[17/10/2024, 07:01:59] [HB Supervisor] Node.js v20.18.0 /opt/homebridge/bin/node
[17/10/2024, 07:01:59] [HB Supervisor] Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge
[17/10/2024, 07:01:59] [HB Supervisor] UI Path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[17/10/2024, 07:02:03] [Homebridge UI] Homebridge UI v4.61.0 is listening on :: port ****
[17/10/2024, 07:02:03] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules -D --strict-plugin-resolution
[17/10/2024, 07:02:03] [HB Supervisor] Started Homebridge v1.8.4 with PID: 22340
[17/10/2024, 07:02:04] Loaded config.json with 0 accessories and 11 platforms.
[17/10/2024, 07:02:04] Loaded 38 cached accessories from cachedAccessories.
[17/10/2024, 07:02:04] ---
Loading package.json from /var/lib/homebridge/node_modules/homebridge-aeg-robot/package.json
[17/10/2024, 07:02:04] Loaded plugin: homebridge-aeg-robot@2.2.4
[17/10/2024, 07:02:04] Registering platform 'homebridge-aeg-robot.Homebridge AEG Robot Vacuum'
[17/10/2024, 07:02:04] ---
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Initializing Homebridge AEG Robot Vacuum platform...
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] homebridge-aeg-robot version 2.2.4
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Node.js version 20.18.0 (satisfies ^22.0.0 || ^20.9.0 || ^18.20.0)
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Homebridge version 1.8.4 (satisfies ^1.8.0 || ^2.0.0-beta.0)
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Homebridge API version 2.7 (satisfies ^2.7)
[17/10/2024, 07:02:12] Homebridge v1.8.4 (HAP v0.12.2) (Homebridge 905F) is running on port *****.
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Using saved access token
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #1: GET /api/v1/appliances
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #1: 200 OK +341ms
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum]     [{"applianceId":"900277268AAAAAAAA*******","applianceName":"AEG RX9-1-IBM","applianceType":"PUREi9","created":"2020-03-09T09:15:57.790+00:00"},{"applianceId":"900277479BBBBBBBB*******","applianceName":"AEG RX9-2-4-ANM","applianceType":"PUREi9","created":"2024-10-08T18:12:45.823+00:00"},{"applianceId":"900277480CCCCCCCC*******","applianceName":"AEG RX9-2-6-IBM","applianceType":"PUREi9","created":"2024-10-08T18:17:12.438+00:00"}]
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Increasing polling interval from 30 seconds to 58 seconds due to Electrolux Group API rate limit of 5000 calls/day
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] With 3 robot vacuum cleaners this reduces the polling rate from 8640 to 4469 calls/day
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Increase the value of pollIntervals.statusSeconds in the homebridge config.json file
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Product ID 900277268AAAAAAAA*******
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Product ID 900277479BBBBBBBB*******
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Product ID 900277480CCCCCCCC*******
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Found 3 robot vacuums
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #2: GET /api/v1/appliances/900277268AAAAAAAA*******/info
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #3: GET /api/v1/appliances/900277479BBBBBBBB*******/info
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #4: GET /api/v1/appliances/900277480CCCCCCCC*******/info
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #2: 200 OK +21ms
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum]     {"applianceInfo":{"serialNumber":"AAAAAAAA","pnc":"900277268","brand":"AEG","deviceType":"ROBOTIC_VACUUM_CLEANER","model":"rx9","variant":"TM4","colour":"INDIGOBLUE"},"capabilities":{"CleaningCommand":{"access":"readwrite","type":"string","values":{"play":{},"stop":{},"pause":{},"home":{}}},"robotStatus":{"access":"read","type":"string","values":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{}}},"dustbinStatus":{"access":"read","type":"string","values":{"NOTCONNECTED":{},"CONNECTED":{},"FULL":{},"EMPTY":{}}},"batteryStatus":{"access":"read","max":6,"min":1,"type":"int"},"powerMode":{"access":"read","max":3,"min":1,"type":"int"}}}
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] AEG PUREi9 (rx9)
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Product number code 900277268
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Serial number AAAAAAAA
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #5: GET /api/v1/appliances/900277268AAAAAAAA*******/state
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #3: 200 OK +45ms
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum]     {"applianceInfo":{"serialNumber":"BBBBBBBB","pnc":"900277479","brand":"AEG","deviceType":"ROBOTIC_VACUUM_CLEANER","model":"rx92","variant":"M2","colour":"SHALEGREY"},"capabilities":{"CleaningCommand":{"access":"readwrite","type":"string","values":{"play":{},"stop":{},"pause":{},"home":{}}},"robotStatus":{"access":"read","type":"string","values":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{}}},"dustbinStatus":{"access":"read","type":"string","values":{"NOTCONNECTED":{},"CONNECTED":{},"FULL":{},"EMPTY":{}}},"batteryStatus":{"access":"read","max":6,"min":1,"type":"int"},"powerMode":{"access":"read","max":3,"min":1,"type":"int"}}}
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] AEG PUREi9 (rx92)
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Product number code 900277479
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Serial number BBBBBBBB
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #6: GET /api/v1/appliances/900277479BBBBBBBB*******/state
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #4: 200 OK +70ms
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum]     {"applianceInfo":{"serialNumber":"CCCCCCCC","pnc":"900277480","brand":"AEG","deviceType":"ROBOTIC_VACUUM_CLEANER","model":"rx92","variant":"M3","colour":"INDIGOBLUE"},"capabilities":{"CleaningCommand":{"access":"readwrite","type":"string","values":{"play":{},"stop":{},"pause":{},"home":{}}},"robotStatus":{"access":"read","type":"string","values":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{}}},"dustbinStatus":{"access":"read","type":"string","values":{"NOTCONNECTED":{},"CONNECTED":{},"FULL":{},"EMPTY":{}}},"batteryStatus":{"access":"read","max":6,"min":1,"type":"int"},"powerMode":{"access":"read","max":3,"min":1,"type":"int"}}}
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] AEG PUREi9 (rx92)
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Product number code 900277480
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Serial number CCCCCCCC
[17/10/2024, 07:02:12] [Homebridge AEG Robot Vacuum] Electrolux Group API #7: GET /api/v1/appliances/900277480CCCCCCCC*******/state
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Electrolux Group API #5: 200 OK +262ms
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum]     {"applianceId":"900277268AAAAAAAA*******","connectionState":"Connected","status":"enabled","properties":{"reported":{"availableLanguages":["deu","eng","fra","pol","spa","kor","zht","zhs","jpn","ces","ita","rus"],"capabilities":{"CustomPlay":{},"EcoMode":{},"FreezeMapOnDemand":{},"InteractiveMap":{},"MultipleScheduledCleaningsPerDay":{},"PowerZones":{}},"batteryStatus":6,"robotStatus":10,"messageList":{"messages":[]},"dustbinStatus":"full","platform":"0.13","applianceName":"AEG RX9-1-IBM","firmwareVersion":"43.23","ecoMode":true,"language":"deu","mute":false}}}
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] name: ?->"AEG RX9-1-IBM", hardware: ?->0.13, firmware: ?->43.23, capabilities: ?->CustomPlay,EcoMode,FreezeMapOnDemand,InteractiveMap,MultipleScheduledCleaningsPerDay,PowerZones, enabled: ?->true, connected: ?->true, battery: ?->6, activity: ?->10, dustbin: ?->full, rawEco: ?->true, simpleActivity: ?->Other, isBatteryLow: ?->false, isCharging: ?->false, isDustbinEmpty: ?->false, isDocked: ?->true, isActive: ?->true, isBusy: ?->false, and isFault: ?->false
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] My name is "AEG RX9-1-IBM"
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Hardware platform 0.13
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Firmware version 43.23 installed
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Supports 6 capabilities: CustomPlay, EcoMode, FreezeMapOnDemand, InteractiveMap, MultipleScheduledCleaningsPerDay, and PowerZones
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Robot is enabled
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Robot is connected to the cloud servers
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Battery level is FULLY CHARGED
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Robot is SLEEPING (either charged on dock or idle off dock)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Dust collection bin is FULL (and requires emptying)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] ECO mode is enabled
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Restoring accessory "AEG RX9-1-IBM" from cache for AEG PUREi9 (rx9) "AEG RX9-1-IBM" (Product ID 900277268AAAAAAAA*******)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Hardware Revision <= 0.13
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Software Revision <= 43.23
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Name <= "AEG RX9-1-IBM"
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] On (Clean) <= false
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Battery Level <= 100%
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Status Low Battery <= BATTERY_LEVEL_NORMAL
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] Charging State <= NOT_CHARGING
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Electrolux Group API #8: GET /api/v1/appliances/900277268AAAAAAAA*******/state
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Electrolux Group API #6: 200 OK +417ms
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum]     {"applianceId":"900277479BBBBBBBB*******","connectionState":"Connected","status":"enabled","properties":{"reported":{"availableLanguages":["deu","eng","fra","pol","spa","kor","zht","zhs","jpn","ces","ita","rus"],"capabilities":{"CustomPlay":{},"FreezeMapOnDemand":{},"InteractiveMap":{},"MultipleScheduledCleaningsPerDay":{},"PowerLevels":{},"PowerZones":{}},"batteryStatus":6,"robotStatus":10,"messageList":{"messages":[]},"dustbinStatus":"connected","platform":"1.01","applianceName":"AEG RX9-2-4-ANM","firmwareVersion":"43.23","language":"deu","mute":true,"powerMode":2}}}
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] name: ?->"AEG RX9-2-4-ANM", hardware: ?->1.01, firmware: ?->43.23, capabilities: ?->CustomPlay,FreezeMapOnDemand,InteractiveMap,MultipleScheduledCleaningsPerDay,PowerLevels,PowerZones, enabled: ?->true, connected: ?->true, battery: ?->6, activity: ?->10, dustbin: ?->connected, rawPower: ?->2, simpleActivity: ?->Other, isBatteryLow: ?->false, isCharging: ?->false, isDustbinEmpty: ?->true, isDocked: ?->true, isActive: ?->true, isBusy: ?->false, and isFault: ?->false
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] My name is "AEG RX9-2-4-ANM"
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Hardware platform 1.01
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Firmware version 43.23 installed
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Supports 6 capabilities: CustomPlay, FreezeMapOnDemand, InteractiveMap, MultipleScheduledCleaningsPerDay, PowerLevels, and PowerZones
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Robot is enabled
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Robot is connected to the cloud servers
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Battery level is FULLY CHARGED
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Robot is SLEEPING (either charged on dock or idle off dock)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Dust collection bin is PRESENT (and not full)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Power mode is set to SMART (cleans quietly on hard surfaces, uses full power on carpets)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Restoring accessory "AEG RX9-2-4-ANM" from cache for AEG PUREi9 (rx92) "AEG RX9-2-4-ANM" (Product ID 900277479BBBBBBBB*******)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Hardware Revision <= 1.01
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Software Revision <= 43.23
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Name <= "AEG RX9-2-4-ANM"
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] On (Clean) <= false
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Battery Level <= 100%
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Status Low Battery <= BATTERY_LEVEL_NORMAL
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-4-ANM] Charging State <= NOT_CHARGING
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Electrolux Group API #9: GET /api/v1/appliances/900277479BBBBBBBB*******/state
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Electrolux Group API #7: 200 OK +830ms
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum]     {"applianceId":"900277480CCCCCCCC*******","connectionState":"Connected","status":"enabled","properties":{"reported":{"availableLanguages":["deu","eng","fra","pol","spa","kor","zht","zhs","jpn","ces","ita","rus"],"capabilities":{"CustomPlay":{},"FreezeMapOnDemand":{},"InteractiveMap":{},"MultipleScheduledCleaningsPerDay":{},"PowerLevels":{},"PowerZones":{}},"batteryStatus":6,"robotStatus":10,"messageList":{"messages":[]},"dustbinStatus":"connected","platform":"1.01","applianceName":"AEG RX9-2-6-IBM","firmwareVersion":"43.23","language":"deu","mute":true,"powerMode":2}}}
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] name: ?->"AEG RX9-2-6-IBM", hardware: ?->1.01, firmware: ?->43.23, capabilities: ?->CustomPlay,FreezeMapOnDemand,InteractiveMap,MultipleScheduledCleaningsPerDay,PowerLevels,PowerZones, enabled: ?->true, connected: ?->true, battery: ?->6, activity: ?->10, dustbin: ?->connected, rawPower: ?->2, simpleActivity: ?->Other, isBatteryLow: ?->false, isCharging: ?->false, isDustbinEmpty: ?->true, isDocked: ?->true, isActive: ?->true, isBusy: ?->false, and isFault: ?->false
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] My name is "AEG RX9-2-6-IBM"
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Hardware platform 1.01
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Firmware version 43.23 installed
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Supports 6 capabilities: CustomPlay, FreezeMapOnDemand, InteractiveMap, MultipleScheduledCleaningsPerDay, PowerLevels, and PowerZones
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Robot is enabled
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Robot is connected to the cloud servers
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Battery level is FULLY CHARGED
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Robot is SLEEPING (either charged on dock or idle off dock)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Dust collection bin is PRESENT (and not full)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Power mode is set to SMART (cleans quietly on hard surfaces, uses full power on carpets)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Restoring accessory "AEG RX9-2-6-IBM" from cache for AEG PUREi9 (rx92) "AEG RX9-2-6-IBM" (Product ID 900277480CCCCCCCC*******)
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Hardware Revision <= 1.01
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Software Revision <= 43.23
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Name <= "AEG RX9-2-6-IBM"
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] On (Clean) <= false
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Battery Level <= 100%
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Status Low Battery <= BATTERY_LEVEL_NORMAL
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-2-6-IBM] Charging State <= NOT_CHARGING
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Electrolux Group API #10: GET /api/v1/appliances/900277480CCCCCCCC*******/state
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Electrolux Group API #8: 200 OK +647ms
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum]     {"applianceId":"900277268AAAAAAAA*******","connectionState":"Connected","status":"enabled","properties":{"reported":{"availableLanguages":["deu","eng","fra","pol","spa","kor","zht","zhs","jpn","ces","ita","rus"],"capabilities":{"CustomPlay":{},"EcoMode":{},"FreezeMapOnDemand":{},"InteractiveMap":{},"MultipleScheduledCleaningsPerDay":{},"PowerZones":{}},"batteryStatus":6,"robotStatus":10,"messageList":{"messages":[]},"dustbinStatus":"full","platform":"0.13","applianceName":"AEG RX9-1-IBM","firmwareVersion":"43.23","ecoMode":true,"language":"deu","mute":false}}}
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] [AEG RX9-1-IBM] isActive: true->false and isFault: false->true
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Electrolux Group API #9: 200 OK +529ms
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum]     {"applianceId":"900277479BBBBBBBB*******","connectionState":"Connected","status":"enabled","properties":{"reported":{"availableLanguages":["deu","eng","fra","pol","spa","kor","zht","zhs","jpn","ces","ita","rus"],"capabilities":{"CustomPlay":{},"FreezeMapOnDemand":{},"InteractiveMap":{},"MultipleScheduledCleaningsPerDay":{},"PowerLevels":{},"PowerZones":{}},"batteryStatus":6,"robotStatus":10,"messageList":{"messages":[]},"dustbinStatus":"connected","platform":"1.01","applianceName":"AEG RX9-2-4-ANM","firmwareVersion":"43.23","language":"deu","mute":true,"powerMode":2}}}
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Electrolux Group API #10: 200 OK +136ms
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum] Response body:
[17/10/2024, 07:02:13] [Homebridge AEG Robot Vacuum]     {"applianceId":"900277480CCCCCCCC*******","connectionState":"Connected","status":"enabled","properties":{"reported":{"availableLanguages":["deu","eng","fra","pol","spa","kor","zht","zhs","jpn","ces","ita","rus"],"capabilities":{"CustomPlay":{},"FreezeMapOnDemand":{},"InteractiveMap":{},"MultipleScheduledCleaningsPerDay":{},"PowerLevels":{},"PowerZones":{}},"batteryStatus":6,"robotStatus":10,"messageList":{"messages":[]},"dustbinStatus":"connected","platform":"1.01","applianceName":"AEG RX9-2-6-IBM","firmwareVersion":"43.23","language":"deu","mute":true,"powerMode":2}}}
thoukydides commented 3 weeks ago

Thanks for the log.

That is just weird... although I somewhat expected it. For both the RX9.1 and RX9.2 appliances the /api/v1/appliances/{appliance}/info API is returning:

{
    "applianceInfo": { ... },
    "capabilities": {
        ...
        "powerMode": {
            "access": "read",
            "max": 3,
            "min": 1,
            "type": "int"
        }
    }
}

... despite powerMode not being supported by the RX9.1 (and it not being added to the /api/v1/appliances/{appliance}/state response).

So this plugin matches the current API behaviour, but I expect that there will be further changes to the API responses...