fjs21 / homebridge-kumo

Control your Kumo cloud devices using Homebridge.
https://www.npmjs.com/package/homebridge-kumo
Apache License 2.0
35 stars 8 forks source link

Not sure it's working.... #13

Closed monteroman closed 3 years ago

monteroman commented 3 years ago

Hey there. It's really great to see this plugin development! I've been waiting for a long time for this to work. My Kumo Cloud app on my phone doesn't seem to line up with the data the plugin is showing.

The issue I'm running into is that with the API direct connect on or off, the HomeBridge UI-X shows the temp at 56.3 degrees in the room, but it's actually 71. Also, the Heater/Cooler range was set to off, but it actually was on heat and set to 70, but the target temperature on the HomeBridge UI-X is showing 56 degrees. I'm not sure it's reading the information correctly.

I also set the fan rotation speed to 100%, but according to the app, it's still showing it on "auto" and not running at 100%.

Also, I did notice one thing when I first set up the plugin - it was pulling the name as "heat pump" which is what my app was showing. When I changed the name to "Pump", it kept pulling the name "Heat Pump" from the home bridge cache and it wasn't showing it on the accessories screen. I had to delete the accessories cache file in Homebridge for it force a refresh.

[11/19/2020, 5:57:46 AM] [Kumo] Kumo API: Successfully connected to the Kumo API. [11/19/2020, 5:57:46 AM] [Kumo] Number of devices found: 1 [11/19/2020, 5:57:46 AM] [Kumo] Restoring existing accessory from cache: Pump

Running Hombridge 1.16, plugin version 1.2.8

Thanks!

fjs21 commented 3 years ago

For removal, the easiest approach is to use the web UI. It makes it very easy to remove individual accessories and then a reboot of Homebridge will reinstall them.

The name in the plugin is pulled directly from the Kumo cloud. So if you want to change you can either update on the Kumo app or alternatively rename in the Home app. The latter approach will change the display but retain the Kumo name.

Last, to help you diagnose your issue, can you enable debugging from the UI and see if you can post your responses from the Kumo cloud and the device. Remove or obfuscate the serial number/security key and any other identifying information. The JSON data between the {} contains the key information.

Cheers, Fraser

monteroman commented 3 years ago

How do I enable the debugging? I only have the options for ID, Pw and connect directly to devices.

Also, I have the PAC-USWHS002-WF-1 adapter talking to the MSZ-FH25.

Thanks!

fjs21 commented 3 years ago

You can access the debug option from the Homebridge UI. Select Homebridge settings from the drop down menu in the top right of the screen. You can then toggle debug on. Restart Homebridge in the UI and you should be able to get the necessary information.

This issue might be similar to #9 but I'd like to wait and see what your debug data looks like. If it is the same issue then you can try installing the beta version described in that issue. The issue boils down to the older device communicating differently and me not being able to troubleshoot directly. I think I mocked up a working version but have not been able to test with the older WiFi adapter. Let me know.

monteroman commented 3 years ago

Hi fjs21.

I went into the UI to look to turn on the option for debugging, but it's not there. The only 2 options I have under HomeBridge Setting is Unpair Bridges / Cameras / TVs / External Accessories and Unpair Bridges / Cameras / TVs / External Accessories. I also looked into the Homebridge UI settings through the plugin, but it doesn't have an option for debugging. I ended up having to kill -9 the process and run it manually with DEBUG=* homebridge -D > /logfile.log

Here is what I'm seeing in the debug log: [11/20/2020, 5:40:56 AM] [Nest] Authentication successful. [11/20/2020, 5:40:57 AM] [Kumo] [ { device: null, token: 'asdfasdfasdf', username: 'asdfasdfasdf' }, { filterReminder: true, lastUpdate: 1442269912169 }, { children: [ { '$$hashKey': 'object:730', children: [], id: '1442269912170-3273445245', label: 'Home', lastScheduleChange: 1491172608687, lastUpdate: 1444493826299, level: 2, reportedCondition: { more: {}, operation_mode: 2, power: 1, set_temp: 21, sp_cool: 11.5, sp_heat: 10 }, version: 655, zoneTable: { '1507290186': { '$$hashKey': 'object:541', _isRespondingLocally: null, _requestRescan: 0, address: '192.168.0.12', desiredConditionStack: [], eqcStageThreeBacksupChannels: { '1': 0, '2': 0, '3': 0, '4': 0 }, eqcUpdatedLocally: { '1': false, '2': false, '3': false, '4': false }, equipmentControllerSettings: {}, errorHandler: {}, forceCloudUpdates: false, hasElectricHeatingOption: false, holdChanged: 0, label: 'Pump', lastUpdate: 1605868038257, ledDisabled: false, localAdapterStatus: 'NORMAL', mac: '00:1d:c9:92:bc:c3', mhk2Settings: { auto: [Object], connected: [Object], dr: [Object], hold: [Object], info: [Object], schedule: [Object], status: [Object] }, optimalStart: false, overrideSettings: {}, port: 80, profileCodeFrames: [ 'fc7b013010c9030020001407758c25a0be94bea0be09', 'fc7b013010cda0bea0bea0be18000000000000000045' ], programEventSettings: { '1': null, '10': null, '11': null, '12': null, '13': null, '14': null, '15': null, '16': null, '17': null, '18': null, '19': null, '2': null, '20': null, '21': null, '22': null, '23': null, '24': null, '25': null, '26': null, '27': null, '28': null, '3': null, '4': null, '5': null, '6': null, '7': null, '8': null, '9': null }, prohibits: { effective: [Object], global: [Object], local: [Object] }, prohibitsChanged: 0, reportedCondition: { _created: 1605868038257, more: {} }, rssi: {}, sendDesiredConditionsPending: false, sendDesiredConditionsTime: '2020-11-19T22:39:11.559Z', serial: '1507290186', systemChangeoverSettings: { masterZone: [Object], priority: 1 }, timezone: null } } } ], id: '1477083513267-2908743508', label: 'kumo cloud', lastScheduleChange: 0, lastUpdate: 1605955256856, level: 1, version: 3588, zoneTable: {} }, 'no device token' ] [11/20/2020, 5:40:57 AM] [Kumo] Kumo API: Successfully connected to the Kumo API. [11/20/2020, 5:40:57 AM] [Kumo] Parsing child: [ { '$$hashKey': 'object:730', children: [], id: '1442269912170-3273445245', label: 'Home', lastScheduleChange: 1491172608687, lastUpdate: 1444493826299, level: 2, reportedCondition: { more: {}, operation_mode: 2, power: 1, set_temp: 21, sp_cool: 11.5, sp_heat: 10 }, version: 655, zoneTable: { '1507290186': { '$$hashKey': 'object:541', _isRespondingLocally: null, _requestRescan: 0, address: '192.168.0.12', desiredConditionStack: [], eqcStageThreeBacksupChannels: [Object], eqcUpdatedLocally: [Object], equipmentControllerSettings: {}, errorHandler: {}, forceCloudUpdates: false, hasElectricHeatingOption: false, holdChanged: 0, label: 'Pump', lastUpdate: 1605868038257, ledDisabled: false, localAdapterStatus: 'NORMAL', mac: '00:1d:c9:92:bc:c3', mhk2Settings: [Object], optimalStart: false, overrideSettings: {}, port: 80, profileCodeFrames: [Array], programEventSettings: [Object], prohibits: [Object], prohibitsChanged: 0, reportedCondition: [Object], rssi: {}, sendDesiredConditionsPending: false, sendDesiredConditionsTime: '2020-11-19T22:39:11.559Z', serial: '1507290186', systemChangeoverSettings: [Object], timezone: null } } } ] [11/20/2020, 5:40:57 AM] [Kumo] Serial: 1507290186 [11/20/2020, 5:40:57 AM] [Kumo] Label: Pump [11/20/2020, 5:40:57 AM] [Kumo] Parsing child: [] [11/20/2020, 5:40:57 AM] [Kumo] Number of devices found: 1 [11/20/2020, 5:40:57 AM] [Kumo] Token: asdfasdfasdf [11/20/2020, 5:40:57 AM] [Kumo] Restoring existing accessory from cache: Pump [11/20/2020, 5:40:57 AM] [Kumo] Kumo response: [ true,-(91%) null,-(91%) [ [ { active_thermistor: null, actual_fan_speed: 3, air_direction: 0, device_serial: '1507290186', fan_speed: 3, id: '2253230162586918', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a030000000cab000000007d fc620130100300000c008cadabfe000000000000006c f c6201301004000000800000000000000000000000d9 fc620130100900000003000000000000000000000051', record_time: '2020-11-20T10:40:19.777Z', room_temp: 14, room_temp_a: 22.5, room_temp_beyond: null, rssi: -46, run_test: null, seconds_since_contact: 38, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 5:40:57 AM] [Kumo] queryDevice success.

It seems to be partially working. When I ran home bridge in debug mode, it started giving me data, though I can't control it. The information it is giving me is partially correct. I've attached pictures of what Kumo Cloud is showing and what Homebridge is sending HomeKit for info. You'll see the temperature is wrong and the on/off settings are wrong and the heat/cooling mode is off.

Also note that my option shows I-See Heat which is due to my Mitsubishi heat pump has a sensor that scans the room for cold/hot spots. When you turn on heat, after a while, it will go to i-see heat or i-see cool.

Image 11-20-20 at 5 58 AM IMG_9676 IMG_9681 IMG_9677 IMG_9678 IMG_9679 IMG_9680

monteroman commented 3 years ago

Update: It looks like forcing Homebridge to run in debug mode fixed my cache issue with it not working on HomeKit. I can control the fan, but the temperature isn't recording correctly and it doesn't show the i-see modes for heat and cool. I really appreciate your efforts on this. It's so cool that this plugin exists! I've been waiting for this for well over a year! I'll gladly help you debug and get you more info as you continue to develop this plugin.

fjs21 commented 3 years ago

Thanks. As I suspected this is the same as #9 and is likely due to differences in how the version 1 and 2 adapter communicate.

Take a look at this - https://github.com/fjs21/homebridge-kumo/issues/9#issuecomment-707454787 It's probably worth skimming the entire issue as that person had the same issue with using the older version WiFI adapter. It describes how to start working out the relationships between what the device is reporting and what you expect. Based on that previous issue, I was able to code a test version but I never received any feedback on whether or not it worked.

Please try installing the beta (homebridge-kumo v1.2.9-beta.0) and, on reboot, check your log, you should see the following:

Initializing "Pump" as generic (unspecified) unit.

Inside the home app it will now look like a thermostat rather than a heater/cooler but the temps should now be correct and you might even be able to control it! Let me know.

monteroman commented 3 years ago

Running the beta, here's the debug log:

[11/20/2020, 7:16:26 AM] [Kumo] Initializing Kumo platform... [11/20/2020, 7:16:26 AM] [Kumo] Finished initializing platform: undefined [11/20/2020, 7:16:26 AM] [Kumo] Loading accessory from cache: Pump [11/20/2020, 7:16:26 AM] [Kumo] Executed didFinishLaunching callback [11/20/2020, 7:16:28 AM] [Kumo] [ { device: null, token: 'asdfasdfasdf', username: 'asdfasdfasdf' }, { filterReminder: true, lastUpdate: 1442269912169 }, { children: [ { '$$hashKey': 'object:730', children: [], id: '1442269912170-3273445245', label: 'Home', lastScheduleChange: 1491172608687, lastUpdate: 1444493826299, level: 2, reportedCondition: { more: {}, operation_mode: 2, power: 1, set_temp: 21, sp_cool: 11.5, sp_heat: 10 }, version: 655, zoneTable: { '1507290186': { '$$hashKey': 'object:541', _isRespondingLocally: null, _requestRescan: 0, address: '192.168.0.12', desiredConditionStack: [], eqcStageThreeBacksupChannels: { '1': 0, '2': 0, '3': 0, '4': 0 }, eqcUpdatedLocally: { '1': false, '2': false, '3': false, '4': false }, equipmentControllerSettings: {}, errorHandler: { '1': [Object] }, forceCloudUpdates: false, hasElectricHeatingOption: false, holdChanged: 0, label: 'Pump', lastUpdate: 1605874496092, ledDisabled: false, localAdapterStatus: 'NORMAL', mac: '00:1d:c9:92:bc:c3', mhk2Settings: { auto: [Object], connected: [Object], dr: [Object], hold: [Object], info: [Object], schedule: [Object], status: [Object] }, optimalStart: false, overrideSettings: {}, port: 80, profileCodeFrames: [ 'fc7b013010c9030020001407758c25a0be94bea0be09', 'fc7b013010cda0bea0bea0be18000000000000000045' ], programEventSettings: { '1': null, '10': null, '11': null, '12': null, '13': null, '14': null, '15': null, '16': null, '17': null, '18': null, '19': null, '2': null, '20': null, '21': null, '22': null, '23': null, '24': null, '25': null, '26': null, '27': null, '28': null, '3': null, '4': null, '5': null, '6': null, '7': null, '8': null, '9': null }, prohibits: { effective: [Object], global: [Object], local: [Object] }, prohibitsChanged: 0, reportedCondition: { _created: 1605874496092, more: {} }, rssi: {}, sendDesiredConditionsPending: false, sendDesiredConditionsTime: '2020-11-20T10:27:25.605Z', serial: 'asdfasdf', systemChangeoverSettings: { masterZone: [Object], priority: 1 }, timezone: null } } } ], id: '1477083513267-2908743508', label: 'kumo cloud', lastScheduleChange: 0, lastUpdate: 1605960987958, level: 1, version: 3591, zoneTable: {} }, 'no device token' ] [11/20/2020, 7:16:28 AM] [Kumo] Kumo API: Successfully connected to the Kumo API. [11/20/2020, 7:16:28 AM] [Kumo] Parsing child: [ { '$$hashKey': 'object:730', children: [], id: '1442269912170-3273445245', label: 'Home', lastScheduleChange: 1491172608687, lastUpdate: 1444493826299, level: 2, reportedCondition: { more: {}, operation_mode: 2, power: 1, set_temp: 21, sp_cool: 11.5, sp_heat: 10 }, version: 655, zoneTable: { '1507290186': { '$$hashKey': 'object:541', _isRespondingLocally: null, _requestRescan: 0, address: '192.168.0.12', desiredConditionStack: [], eqcStageThreeBacksupChannels: [Object], eqcUpdatedLocally: [Object], equipmentControllerSettings: {}, errorHandler: [Object], forceCloudUpdates: false, hasElectricHeatingOption: false, holdChanged: 0, label: 'Pump', lastUpdate: 1605874496092, ledDisabled: false, localAdapterStatus: 'NORMAL', mac: '00:1d:c9:92:bc:c3', mhk2Settings: [Object], optimalStart: false, overrideSettings: {}, port: 80, profileCodeFrames: [Array], programEventSettings: [Object], prohibits: [Object], prohibitsChanged: 0, reportedCondition: [Object], rssi: {}, sendDesiredConditionsPending: false, sendDesiredConditionsTime: '2020-11-20T10:27:25.605Z', serial: 'asdfasdfasdf', systemChangeoverSettings: [Object], timezone: null } } } ] [11/20/2020, 7:16:28 AM] [Kumo] Serial: asdfasdfasdf [11/20/2020, 7:16:28 AM] [Kumo] Label: Pump [11/20/2020, 7:16:28 AM] [Kumo] Parsing child: [] [11/20/2020, 7:16:28 AM] [Kumo] Number of devices found: 1 [11/20/2020, 7:16:28 AM] [Kumo] Token:asdfasdfasdfadsf [11/20/2020, 7:16:28 AM] [Kumo] Restoring existing accessory from cache: Pump [11/20/2020, 7:16:28 AM] [Kumo] Initializing "Pump" as generic (unspecified) unit. [11/20/2020, 7:16:28 AM] [Kumo] Kumo response: [ true, null, [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 9, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:28 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:31 AM] [Kumo] Kumo response: [ true, null,-(86%) [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 12, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:31 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:31 AM] [Kumo] Kumo response: [ true, null, [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 12, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:31 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:32 AM] [Kumo] Kumo response: [ true, null, [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 12, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:32 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:32 AM] [Kumo] Kumo response: [ true, null, [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 12, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:32 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:32 AM] [Kumo] Kumo response: [ true,-(90%) null,-(90%) [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf, fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 12, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:32 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:32 AM] [Kumo] Kumo response: [ true,-(90%) null,-(90%) [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 12, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:32 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:32 AM] [Kumo] Kumo response: [ true,-(91%) null,-(91%) [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 12, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:32 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:33 AM] [Kumo] Kumo response: [ true,-(93%) null,-(93%) [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 14, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:33 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:33 AM] [Kumo] Kumo response: [ true,-(93%) null,-(93%) [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 14, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:33 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:33 AM] [Kumo] Kumo response: [ true, null, [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 14, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:33 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:33 AM] [Kumo] Kumo response: [ true, null, [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 14, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:33 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:33 AM] [Kumo] Kumo response: [ true, null, [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf, fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 14, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:33 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:33 AM] [Kumo] Kumo response: [ true, null, [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 14, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:33 AM] [Kumo] queryDevice success. [11/20/2020, 7:16:33 AM] [Kumo] Kumo response: [ true, null, [ [ { active_thermistor: null, actual_fan_speed: 2, air_direction: 0, device_serial: 'asdfasdf', fan_speed: 0, id: '2253230162601623', it_status: 'NORMAL', operation_mode: 9, out_of_use: 0, power: 1, prohibit_local_remote_control: 0, raw_frames: 'fc6201301002000001091a000000000cab0000000080 fc620130100300000d008caeadfe0000000000000068 f c6201301004000000800000000000000000000000d9 fc620130100900000002000000000000000000000052', record_time: '2020-11-20T12:16:19.616Z', room_temp: 14.5, room_temp_a: 23, room_temp_beyond: null, rssi: -44, run_test: null, seconds_since_contact: 14, set_temp: 21.5, set_temp_a: 21.5, sp_auto: null, sp_cool: null, sp_heat: null, status_display: 0, temp_source: null, two_figures_code: 'A0', unusual_figures: 32768 } ], [] ] ] [11/20/2020, 7:16:33 AM] [Kumo] queryDevice success.

IMG_9682 IMG_9683 IMG_9684

It looks like you can now set Celsius or Fahrenheit which is a good thing! This is looking better under the beta. :-)

monteroman commented 3 years ago

by the way, I didn't see the line below until I reran home bridge out of debug mode. It may be that I just missed copying it out of the debug log.

[11/20/2020, 7:33:07 AM] [Kumo] Initializing "Pump" as generic (unspecified) unit.

fjs21 commented 3 years ago

Looks like it is working! Please check to see if you can control the set point and mode (heat/cool/auto/off) appropriately. Easiest thing is change it on the Home App and then wait a while (30 secs or sometimes more) and see if the Kumo app reports the change. Do the reverse as well to see if the Home App can be appropriately updated. Do the same with the temp set point and see if it propagates appropriately (Kumo -> Home, Home -> Kumo).

The reported Fahrenheit temps may be off by a degree within a certain range. It has do with the Celsius to Fahrenheit conversion being different in the Kumo app and HomeKit - see #3.

Try out for a few days and if it looks good. I'll push the beta to the main branch.

monteroman commented 3 years ago

Fan control appears to be working okay. When I set the fan all the way down though, it doesn't set it to auto. It sets it to "quiet". Changing temperature is working and when I set it to "Auto" for heat/cool, it's working fine. Though when you open up the app in HomeKit, it shows Cooling to 70 degrees, but the header shows "heating to 70 degrees" IMG_9685

Ok, it took a couple of minutes, but now it says "set to 70" in auto mode. IMG_9686

What's also interesting on the beta is that i'm still seeing Heater/Cooler... will that go away with this update? IMG_9687

Here's something that I don't know if you can get working with HomeKit. If I set Kumo to Dehumidify, it sends the data back to Homebridge as the device is off and the fan is off. IMG_9690 IMG_9689 IMG_9688

Bidirectional commands seem to be flowing. I haven't tried "Fan only" mode on it yet. (i'm working at the office while playing with this... )

monteroman commented 3 years ago

It seems to be able to bring it out of Humidify mode, but it takes it some time to do so when you set it in the Home app back to Heat from it's 'off' state (which is really dehumidify). It took about 4-5 minutes for Kumo to recognize it.

I kept going back to the Home app and it kept showing it as off still, but now it's showing as Heating. I'm betting that's just a refresh thing and it takes a while for Kumo to recognize the command....?

fjs21 commented 3 years ago
fjs21 commented 3 years ago

re: the lag. it's a delay between the Kumo cloud and the device. It doesn't seem to poll very often and the interval is inconsist. You could try checking the direct connection option but that might break the plugin as I have only tested this with the v2 controller. (It's easy enough to turn it back off though)

Personally speaking, the lag is pain when debugging but once you have it setup the lag isn't much of an issue once you know that it will work. The direct connection is nicer but it might need more debugging.

monteroman commented 3 years ago

Fan only mode shows the thermostat to off and fan to on. So that appears to be working just fine bidirectionally from a HomeKit to Kumo and vice versa.

monteroman commented 3 years ago

RE: for the fan - that works and makes sense to me. RE: dehumidify, I am in the very very northeast US so I do use dehumidify in the summer months. Costs less on power bills and cools just as if not better than Cool mode.

RE: Heater/Cooler in HB UI, I don't have the option to delete it sadly. (screenshot)

Screen Shot 2020-11-20 at 1 04 22 PM

So far, it's working as designed. Another thing about the heater/cooler, it does seem to be following the plugin as when I combine the accessories into one button on the Home app, it shows up in the accessories section. IMG_9691

fjs21 commented 3 years ago

Here's some instructions to remove a single accessory:

image

Click on the three dots. Click homebridge settings.

image

Click on the arrow. Click on the trash icon and reboot.

If the heater/cooler is still there, then there is a bug.

monteroman commented 3 years ago

Oddly, i don't seem to have that option.

Screen Shot 2020-11-20 at 2 07 06 PM

I'm running HB 1.2.3.

Screen Shot 2020-11-20 at 2 08 30 PM

And configUI 4.34

Screen Shot 2020-11-20 at 2 09 31 PM
fjs21 commented 3 years ago

As far as I know, it's on the Homebridge Settings page you show in your first screen shot if you scroll down a bit.

fjs21 commented 3 years ago

image

fjs21 commented 3 years ago

I'm on Homebridge v1.1.6 with homebridge-config-ui-x v4.33.0 (Node.js Version | v14.15.0).

Windows 10

monteroman commented 3 years ago

Hmm.... I'm running this in a docker on Unraid. I wonder if that's why the options are different for me. Node was on 14.14, just updating to 14.15.

Running all of the same versions now and it's still only giving me the two options above (unpair bridges... and reset home bridge accessories.

I don't have the Environment Variables nor the Manage Cached Accessories options.

How odd!

monteroman commented 3 years ago

Could it be a plugin that's giving those options for you?

monteroman commented 3 years ago

It looks like it's the docker version of HomeBridge for UnRaid that's the culprit. I faked home bridge out and ran it with the variable to make it think it's running in a Docker and now I see the debug option and the accessory flag option. It must be this specialized version that's running that is available for Unraid

fjs21 commented 3 years ago

Can I go ahead and close this issue? Is the beta still working for you? Any lingering issues?

I will be working on adding the dehumidifier as a separate accessory shortly.

monteroman commented 3 years ago

Yes. It does seem to have resolved it for me. Thank you.

On Dec 10, 2020, at 3:51 PM, Fraser Sim notifications@github.com wrote:

 Can I go ahead and close this issue? Is the beta still working for you? Any lingering issues?

I will be working on adding the dehumidifier as a separate accessory shortly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.