kovapatrik / homebridge-midea-platform

Homebridge plugin for Midea devices
https://www.npmjs.com/package/homebridge-midea-platform
Apache License 2.0
25 stars 2 forks source link

Add deeper support for Midea Portasplit #105

Open bssnik opened 2 weeks ago

bssnik commented 2 weeks ago

Hi,

I'm new to Homebridge as I've bought a midea portasplit and already amazed that the plugin can control the Unit. I want some deeper support and more function :-) Is this possible? Using the Midea SmartHome App there are additional functions like Gear, Boost.

What can I do to help this one to work? grafik

kovapatrik commented 2 weeks ago

Boost mode should already be available in the latest beta.

Regarding the other feature, I would need you to set your Homebridge instance to debug mode, set verbosity to true on this accessory inside the plugin's settings, then turn on and off the feature and then send me the logs. If you need help in this, feel free to ask me.

bssnik commented 2 weeks ago

Ah, great. I'll look into the beta release, thanks! I've enabled debugging for the homebridge instance and enabled verbose within the plugin for the midea portasplit. Here is the Log output. From looking over the logs, I cant find relevant status changes for ION or other attributes. Seems like there a lot of status changes for the live status of energy consumption..

[8/27/2024, 11:23:42 AM] [midea-platform] Discovered device: {"ip":"X.X.X","port":6444,"id":152832116663127,"model":"00000Q1A","sn":"xxx","name":"net_ac_64D0","type":172,"version":3} [8/27/2024, 11:23:42 AM] [midea-platform] [Amilk] Device specific verbose debug logging is set to false [8/27/2024, 11:23:42 AM] [midea-platform] [Amilk] Device specific log recoverable errors is set to true [8/27/2024, 11:23:42 AM] [midea-platform] [Amilk] Restoring existing accessory from cache: Amilk [8/27/2024, 11:23:42 AM] [midea-platform] [Amilk] Cached device, using token/key from config file [8/27/2024, 11:23:42 AM] [midea-platform] Connecting to device Amilk (X.X.X:6444)... [8/27/2024, 11:23:42 AM] [midea-platform] [Amilk] Authentication success. [8/27/2024, 11:23:42 AM] [midea-platform] [Amilk] Starting network listener. [8/27/2024, 11:23:42 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:23:43 AM] [midea-platform] No subtype for AC device [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Subtype: 524, device protocol version: 8 [8/27/2024, 11:23:43 AM] [midea-platform] No subtype for AC device [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Subtype: 524, device protocol version: 8 [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for POWER changed from 'undefined' to 'false' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for MODE changed from '0' to '2' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for TARGET_TEMPERATURE changed from '0' to '23' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for FAN_SPEED changed from '0' to '102' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for FAN_AUTO changed from 'false' to 'true' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for SWING_VERTICAL changed from 'undefined' to 'true' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for SWING_HORIZONTAL changed from 'undefined' to 'false' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for SCREEN_DISPLAY changed from 'undefined' to 'false' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for INDOOR_TEMPERATURE changed from 'undefined' to '23' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for OUTDOOR_TEMPERATURE changed from 'undefined' to '29' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for TOTAL_ENERGY_CONSUMPTION changed from 'undefined' to '30.66' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for CURRENT_ENERGY_CONSUMPTION changed from 'undefined' to '0' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '0' to '1.5' [8/27/2024, 11:23:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:23:44 AM] [midea-platform] Sending discovery message to 192.168.178.255, try 2... [8/27/2024, 11:23:46 AM] [midea-platform] Sending discovery message to 192.168.178.255, try 3... [8/27/2024, 11:23:48 AM] [midea-platform] Sending discovery message to 192.168.178.255, try 4... [8/27/2024, 11:23:50 AM] [midea-platform] Device discovery complete after 4 network broadcasts. [8/27/2024, 11:23:50 AM] [midea-platform] Discovery complete, check for missing devices [8/27/2024, 11:23:50 AM] [midea-platform] All configured devices added to Homebridge [8/27/2024, 11:23:58 AM] [Homebridge UI] [homebridge-midea-platform] Custom UI created. [8/27/2024, 11:23:58 AM] [Homebridge UI] [homebridge-midea-platform] Incoming Request: /getDefaults [8/27/2024, 11:23:58 AM] [Homebridge UI] [homebridge-midea-platform] Incoming Request: /mergeToDefault [8/27/2024, 11:24:13 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:24:13 AM] [midea-platform] [Amilk] Value for OUTDOOR_TEMPERATURE changed from '29' to '28' [8/27/2024, 11:24:13 AM] [midea-platform] [Amilk] Set attribute OUTDOOR_TEMPERATURE to: 28 [8/27/2024, 11:24:13 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:13 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:18 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:21 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:25 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:39 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:42 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:43 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:24:43 AM] [midea-platform] [Amilk] Value for POWER changed from 'false' to 'true' [8/27/2024, 11:24:43 AM] [midea-platform] [Amilk] Value for TARGET_TEMPERATURE changed from '23' to '22' [8/27/2024, 11:24:43 AM] [midea-platform] [Amilk] Value for SCREEN_DISPLAY changed from 'false' to 'true' [8/27/2024, 11:24:43 AM] [midea-platform] [Amilk] Set attribute POWER to: true [8/27/2024, 11:24:43 AM] [midea-platform] [Amilk] Set attribute TARGET_TEMPERATURE to: 22 [8/27/2024, 11:24:43 AM] [midea-platform] [Amilk] Set attribute SCREEN_DISPLAY to: true [8/27/2024, 11:24:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:44 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '1.5' to '36.3' [8/27/2024, 11:24:44 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 36.3 [8/27/2024, 11:24:44 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 36.3 [8/27/2024, 11:24:45 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:48 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:51 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:24:57 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:12 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:14 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:25:14 AM] [midea-platform] [Amilk] Value for INDOOR_TEMPERATURE changed from '23' to '22' [8/27/2024, 11:25:14 AM] [midea-platform] [Amilk] Set attribute INDOOR_TEMPERATURE to: 22 [8/27/2024, 11:25:14 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:15 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '36.3' to '247.1' [8/27/2024, 11:25:15 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 247.1 [8/27/2024, 11:25:15 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 247.1 [8/27/2024, 11:25:15 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:18 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:22 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:25 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:32 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:35 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:38 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:41 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:44 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:25:44 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Value for TOTAL_ENERGY_CONSUMPTION changed from '30.66' to '30.67' [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Value for CURRENT_ENERGY_CONSUMPTION changed from '0' to '0.01' [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '247.1' to '219.5' [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Set attribute TOTAL_ENERGY_CONSUMPTION to: 30.67 [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute TOTAL_ENERGY_CONSUMPTION to 30.67 [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Set attribute CURRENT_ENERGY_CONSUMPTION to: 0.01 [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute CURRENT_ENERGY_CONSUMPTION to 0.01 [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 219.5 [8/27/2024, 11:25:45 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 219.5 [8/27/2024, 11:25:47 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:51 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:54 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:25:57 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:26:00 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:26:03 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:26:12 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:26:15 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:26:15 AM] [midea-platform] [Amilk] Value for INDOOR_TEMPERATURE changed from '22' to '21' [8/27/2024, 11:26:15 AM] [midea-platform] [Amilk] Value for OUTDOOR_TEMPERATURE changed from '28' to '27' [8/27/2024, 11:26:15 AM] [midea-platform] [Amilk] Set attribute INDOOR_TEMPERATURE to: 21 [8/27/2024, 11:26:15 AM] [midea-platform] [Amilk] Set attribute OUTDOOR_TEMPERATURE to: 27 [8/27/2024, 11:26:15 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:26:15 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '219.5' to '266.5' [8/27/2024, 11:26:15 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 266.5 [8/27/2024, 11:26:15 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 266.5 [8/27/2024, 11:26:27 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:26:35 AM] [Homebridge UI] [homebridge-midea-platform] Custom UI created. [8/27/2024, 11:26:35 AM] [Homebridge UI] [homebridge-midea-platform] Incoming Request: /getDefaults [8/27/2024, 11:26:35 AM] [Homebridge UI] [homebridge-midea-platform] Incoming Request: /mergeToDefault [8/27/2024, 11:26:42 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:26:45 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:26:45 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:26:46 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:26:46 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '266.5' to '271.5' [8/27/2024, 11:26:46 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 271.5 [8/27/2024, 11:26:46 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 271.5 [8/27/2024, 11:26:57 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:27:12 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:27:15 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:27:15 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Value for TOTAL_ENERGY_CONSUMPTION changed from '30.67' to '30.68' [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Value for CURRENT_ENERGY_CONSUMPTION changed from '0.01' to '0.02' [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '271.5' to '265.9' [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Set attribute TOTAL_ENERGY_CONSUMPTION to: 30.68 [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute TOTAL_ENERGY_CONSUMPTION to 30.68 [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Set attribute CURRENT_ENERGY_CONSUMPTION to: 0.02 [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute CURRENT_ENERGY_CONSUMPTION to 0.02 [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 265.9 [8/27/2024, 11:27:16 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 265.9 [8/27/2024, 11:27:27 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:27:42 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:27:45 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:27:45 AM] [midea-platform] [Amilk] Value for INDOOR_TEMPERATURE changed from '21' to '20' [8/27/2024, 11:27:45 AM] [midea-platform] [Amilk] Value for OUTDOOR_TEMPERATURE changed from '27' to '26' [8/27/2024, 11:27:45 AM] [midea-platform] [Amilk] Set attribute INDOOR_TEMPERATURE to: 20 [8/27/2024, 11:27:45 AM] [midea-platform] [Amilk] Set attribute OUTDOOR_TEMPERATURE to: 26 [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Value for TOTAL_ENERGY_CONSUMPTION changed from '30.68' to '30.7' [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Value for CURRENT_ENERGY_CONSUMPTION changed from '0.02' to '0.04' [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '265.9' to '258.5' [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Set attribute TOTAL_ENERGY_CONSUMPTION to: 30.7 [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute TOTAL_ENERGY_CONSUMPTION to 30.7 [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Set attribute CURRENT_ENERGY_CONSUMPTION to: 0.04 [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute CURRENT_ENERGY_CONSUMPTION to 0.04 [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 258.5 [8/27/2024, 11:27:46 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 258.5 [8/27/2024, 11:27:57 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:11 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:14 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:16 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:28:16 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:16 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:17 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '258.5' to '266.5' [8/27/2024, 11:28:17 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 266.5 [8/27/2024, 11:28:17 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 266.5 [8/27/2024, 11:28:18 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:21 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:24 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:27 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:30 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:42 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:46 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Value for OUTDOOR_TEMPERATURE changed from '26' to '27' [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Set attribute OUTDOOR_TEMPERATURE to: 27 [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Value for TOTAL_ENERGY_CONSUMPTION changed from '30.7' to '30.71' [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Value for CURRENT_ENERGY_CONSUMPTION changed from '0.04' to '0.05' [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '266.5' to '258.5' [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Set attribute TOTAL_ENERGY_CONSUMPTION to: 30.71 [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute TOTAL_ENERGY_CONSUMPTION to 30.71 [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Set attribute CURRENT_ENERGY_CONSUMPTION to: 0.05 [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute CURRENT_ENERGY_CONSUMPTION to 0.05 [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 258.5 [8/27/2024, 11:28:47 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 258.5 [8/27/2024, 11:28:57 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:29:12 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:29:16 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:29:17 AM] [midea-platform] [Amilk] Value for OUTDOOR_TEMPERATURE changed from '27' to '26' [8/27/2024, 11:29:17 AM] [midea-platform] [Amilk] Set attribute OUTDOOR_TEMPERATURE to: 26 [8/27/2024, 11:29:17 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:29:17 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '258.5' to '239.3' [8/27/2024, 11:29:17 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 239.3 [8/27/2024, 11:29:17 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 239.3 [8/27/2024, 11:29:27 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:29:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Value for INDOOR_TEMPERATURE changed from '20' to '19' [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Set attribute INDOOR_TEMPERATURE to: 19 [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Value for TOTAL_ENERGY_CONSUMPTION changed from '30.71' to '30.72' [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Value for CURRENT_ENERGY_CONSUMPTION changed from '0.05' to '0.06' [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '239.3' to '130.7' [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Set attribute TOTAL_ENERGY_CONSUMPTION to: 30.72 [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute TOTAL_ENERGY_CONSUMPTION to 30.72 [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Set attribute CURRENT_ENERGY_CONSUMPTION to: 0.06 [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute CURRENT_ENERGY_CONSUMPTION to 0.06 [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 130.7 [8/27/2024, 11:29:47 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 130.7 [8/27/2024, 11:30:17 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:30:17 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:30:17 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:30:17 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '130.7' to '136.3' [8/27/2024, 11:30:17 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 136.3 [8/27/2024, 11:30:17 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 136.3 [8/27/2024, 11:30:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:30:48 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:30:48 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:30:48 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:30:48 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:31:18 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:31:18 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:31:18 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:31:18 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '136.3' to '134.3' [8/27/2024, 11:31:18 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 134.3 [8/27/2024, 11:31:18 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 134.3 [8/27/2024, 11:31:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Value for TOTAL_ENERGY_CONSUMPTION changed from '30.72' to '30.73' [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Value for CURRENT_ENERGY_CONSUMPTION changed from '0.06' to '0.07' [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '134.3' to '84.7' [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Set attribute TOTAL_ENERGY_CONSUMPTION to: 30.73 [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute TOTAL_ENERGY_CONSUMPTION to 30.73 [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Set attribute CURRENT_ENERGY_CONSUMPTION to: 0.07 [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute CURRENT_ENERGY_CONSUMPTION to 0.07 [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 84.7 [8/27/2024, 11:31:49 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 84.7 [8/27/2024, 11:32:19 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:32:19 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:32:20 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:32:20 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '84.7' to '89.7' [8/27/2024, 11:32:20 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 89.7 [8/27/2024, 11:32:20 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 89.7 [8/27/2024, 11:32:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:32:50 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:32:50 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:32:50 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:32:50 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '89.7' to '70.3' [8/27/2024, 11:32:50 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 70.3 [8/27/2024, 11:32:50 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 70.3 [8/27/2024, 11:33:20 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:33:20 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:21 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:21 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '70.3' to '80.9' [8/27/2024, 11:33:21 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 80.9 [8/27/2024, 11:33:21 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 80.9 [8/27/2024, 11:33:24 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:27 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:30 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:33 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:36 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:43 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:46 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:51 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:33:51 AM] [midea-platform] [Amilk] Value for OUTDOOR_TEMPERATURE changed from '26' to '27' [8/27/2024, 11:33:51 AM] [midea-platform] [Amilk] Set attribute OUTDOOR_TEMPERATURE to: 27 [8/27/2024, 11:33:51 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:33:51 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '80.9' to '68.9' [8/27/2024, 11:33:51 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 68.9 [8/27/2024, 11:33:51 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 68.9 [8/27/2024, 11:34:02 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:34:05 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:34:08 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:34:21 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:34:21 AM] [midea-platform] [Amilk] Value for MODE changed from '2' to '3' [8/27/2024, 11:34:21 AM] [midea-platform] [Amilk] Set attribute MODE to: 3 [8/27/2024, 11:34:21 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:34:21 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '68.9' to '80.7' [8/27/2024, 11:34:21 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 80.7 [8/27/2024, 11:34:21 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 80.7 [8/27/2024, 11:34:30 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:34:33 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:34:36 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:34:39 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:34:45 AM] [Homebridge UI] [admin] Accessory layout changes saved. [8/27/2024, 11:34:51 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:34:52 AM] [midea-platform] [Amilk] Value for MODE changed from '3' to '1' [8/27/2024, 11:34:52 AM] [midea-platform] [Amilk] Set attribute MODE to: 1 [8/27/2024, 11:34:52 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:34:52 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '80.7' to '10.9' [8/27/2024, 11:34:52 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 10.9 [8/27/2024, 11:34:52 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 10.9 [8/27/2024, 11:35:10 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:35:22 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:35:22 AM] [midea-platform] [Amilk] Value for INDOOR_TEMPERATURE changed from '19' to '20' [8/27/2024, 11:35:22 AM] [midea-platform] [Amilk] Set attribute INDOOR_TEMPERATURE to: 20 [8/27/2024, 11:35:22 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:35:22 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '10.9' to '10.5' [8/27/2024, 11:35:22 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 10.5 [8/27/2024, 11:35:22 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 10.5 [8/27/2024, 11:35:32 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:35:52 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:35:52 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:35:53 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:35:53 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '10.5' to '8.5' [8/27/2024, 11:35:53 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 8.5 [8/27/2024, 11:35:53 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 8.5 [8/27/2024, 11:36:21 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:36:22 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:36:22 AM] [midea-platform] [Amilk] Value for INDOOR_TEMPERATURE changed from '20' to '21' [8/27/2024, 11:36:22 AM] [midea-platform] [Amilk] Set attribute INDOOR_TEMPERATURE to: 21 [8/27/2024, 11:36:23 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:36:23 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '8.5' to '10.5' [8/27/2024, 11:36:23 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 10.5 [8/27/2024, 11:36:23 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 10.5 [8/27/2024, 11:36:32 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:36:52 AM] [midea-platform] [Amilk] Refreshing status... [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Status unchanged [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Value for TOTAL_ENERGY_CONSUMPTION changed from '30.73' to '30.74' [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Value for CURRENT_ENERGY_CONSUMPTION changed from '0.07' to '0.08' [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Value for REALTIME_POWER changed from '10.5' to '8.5' [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Set attribute TOTAL_ENERGY_CONSUMPTION to: 30.74 [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute TOTAL_ENERGY_CONSUMPTION to 30.74 [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Set attribute CURRENT_ENERGY_CONSUMPTION to: 0.08 [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute CURRENT_ENERGY_CONSUMPTION to 0.08 [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Set attribute REALTIME_POWER to: 8.5 [8/27/2024, 11:36:53 AM] [midea-platform] [Amilk] Attempt to set unsupported attribute REALTIME_POWER to 8.5 [8/27/2024, 11:37:23 AM] [midea-platform] [Amilk] Refreshing status...

kovapatrik commented 2 weeks ago

Yes, you are right, it looks like these are totally new features. Can you please send me the serial number of your device? It's logged out when you run a discovery using the plugin config. You can send me in private (kovapatrik@gmail.com) if you don't want to disclose it here. I need this to download the code which controls the unit within the official application.

kovapatrik commented 2 weeks ago

What do the settings for iECO look like? And what does Gear do? Is that just a simple switch? Is that changing the mode of the unit entirely?

kovapatrik commented 2 weeks ago

Or to be more specific, what feature(s) would you need other than Gear? Could you please describe them (what they do, and you can also send screenshots about them)? Sorry, I don't have these features on my unit so I can only rely on your information.

bssnik commented 2 weeks ago

Sure. Here are the functions described. Just for me the ION-Toggle is more important than the eco-toggle or the gear function 👍

ION-Button (on,off): Ionisation of the air to improve the air quality. This is particularly beneficial for asthmatics or allergy sufferers. These functions purify the air and eliminate odours.

Eco-Button (on,off): Activate or deactivate the ECO mode. In cooling mode, pressing this button button automatically sets the temperature to automatically set to 24°C and the fan speed is set to Auto to save energy. save energy. In ECO mode it is possible to possible to change the temperature, but it but it cannot be lowered to below 24°. be lowered. Note: If you press the ECO button again button again, change the mode or set the set temperature to less than 24°C the ECO mode will be cancelled. If the ECO mode results in insufficient cooling capacity, press the ECO button again to return return to normal operation.

Gear-Button (select 75% or 50% power): Reduce the power and energy consumption energy consumption manually. Sounds like Eco-Button but manually set..

grafik

kovapatrik commented 2 weeks ago

The ECO switch should already be added and can be activated in the same way as the boost mode.

I will look the other features up.

kovapatrik commented 1 week ago

With the latest beta version, v1.2.0-beta.2, the self-cleaning (or ION) switch is available and it should work. Can you please check it out? Also, I've added minimal support for the gear stuff, I would need you to mess around with the gear settings from the official application, and look for logs in the terminal like Buffer<0> or something like this.

bssnik commented 1 week ago

Hey, thanks for updating. I can see the self cleaning toggle but not the ION one.. IMG_7267

kovapatrik commented 1 week ago

I think these two things (I mean the self-cleaning and the ION feature) are exactly the same but with different names. Correct me if I'm wrong on this one though.

kovapatrik commented 1 week ago

Oh wait, I found another feature which might be ION. But then, what's the difference between ION and self-cleaning?

bssnik commented 1 week ago

That’s two different functions. The self cleaning (active clean)enables a circa 30 min mode where the unit cleans itself to protect from bacteria. The ion mode enables a function to make better air when having allergies..

kovapatrik commented 1 week ago

Aaaaah I see. Thanks for the explanation! Give me a few minutes and I will add the ION switch as well.

kovapatrik commented 1 week ago

In the meantime, can you check the GEAR thing? There should be logs in your terminal about it.

bssnik commented 1 week ago

In the meantime, can you check the GEAR thing? There should be logs in your terminal about it. Yes, here I’ve set the gear function to 75% RATE_SELECT: <Buffer 4b> [9/1/2024, 4:40:41 PM] [midea-platform] [Midea-Klima] Body: {"type":"Buffer","data":[181,1,72,0,1,75,227,178]} [9/1/2024, 4:40:41 PM] [midea-platform] [Midea-Klima] Value for RATE_SELECT changed from '100' to '75' [9/1/2024, 4:40:41 PM] [midea-platform] [Midea-Klima] Status change: {"RATE_SELECT":75} [9/1/2024, 4:40:41 PM] [midea-platform] [Midea-Klima] Set attribute RATE_SELECT to: 75 [9/1/2024, 4:40:41 PM] [midea-platform] [Midea-Klima] Attempt to set unsupported attribute RATE_SELECT to 75

kovapatrik commented 1 week ago

Oh nice, so it's sending the literal value. Let me do this too.

kovapatrik commented 1 week ago

Do you have any suggestions on what the gear selection should look like? I didn't use Apple Home that much and don't have that many official appliances, but I think there are no such things as selecting a value between 3 values (like in this case 50%, 75% and 100%). I could add a slider or something, where it snaps to the closest valid value but it's not that intuitive I think.

bssnik commented 1 week ago

As there are just two options 50% Or 75% I think two toggles could be a solution? Like one toggle for 50% and one for 75%

kovapatrik commented 1 week ago

Hm, yeah, but then the feature is separated which makes it less intuitive again I would say. Let's try with the slider first and if you don't like it, I can change it later.

bssnik commented 1 week ago

Is fine for me

kovapatrik commented 1 week ago

I've published a new beta version, which includes support for the ION switch as well as the GEAR feature. Can you check them out please?

bssnik commented 1 week ago

I've published a new beta version, which includes support for the ION switch as well as the GEAR feature. Can you check them out please?

Hey, I’ve checked it and it does not work.. give me some time and I’ll attach logs 😊

bssnik commented 1 week ago

Here is the log, when toggling the ION function on: 9/5/2024, 8:21:36 AM] [midea-platform] [Midea-Klima] Decrypted data to parse: aa1cac00000000000802b0021e001004000700001a0000010100000027 [9/5/2024, 8:21:36 AM] [midea-platform] [Midea-Klima] Body: {"type":"Buffer","data":[176,2,30,0,16,4,0,7,0,0,26,0,0,1,1,0,0,0]} [9/5/2024, 8:21:36 AM] [midea-platform] [Midea-Klima] Value for ION changed from 'true' to 'false' [9/5/2024, 8:21:36 AM] [midea-platform] [Midea-Klima] Status change: {"ION":false} [9/5/2024, 8:21:36 AM] [midea-platform] [Midea-Klima] Set attribute ION to: false [9/5/2024, 8:21:42 AM] [midea-platform] [Midea-Klima] Send message: 5a5a011038007b0000000000000500090018001457230600008b00000000000000000000000000002194c2d0fcd7b130c09be89061ac76c9 [9/5/2024, 8:21:42 AM] [midea-platform] [Midea-Klima] Raw data to parse: 8370005e206305c4744bb684788e6901c81fd9b9ce2bd7387a4833b6831b39446bf0a28c611156df60e09f8c2d16b705d33a350b2577f7d3f990511bbb9e70721cbe375800deea8dc99dfb4cc2257f36814cef0b5f2ba969469f958a0d8ef5383dae3720f6f8 [9/5/2024, 8:21:42 AM] [midea-platform] [Midea-Klima] Msg to process. Length: 0 (0x0), Type: 1 (0x1) 5a5a010038007b8000000000c7e615060509181457230600008b000000000000000001800000000000000000000000000000000000000000 [9/5/2024, 8:21:42 AM] [midea-platform] [Midea-Klima] Heartbeat: 5a5a010038007b8000000000c7e615060509181457230600008b000000000000000001800000000000000000000000000000000000000000

kovapatrik commented 1 week ago

If you change the ION from the app, does the plugin show the correct state of ION?