Adding HO integration #56

Merged
pksobon merged 3 commits from main into main 2023-05-30 05:22:03 +02:00
pksobon commented 2023-05-29 21:34:46 +02:00 (Migrated from github.com)

Adding HO integration (Kitchen Hood appliance). Working good with Haier HADG6DS46BWIFI (fw 3.8.0).

What is already done and working: - buttons to start and stop, - number selector for “Wind Speed” and “Light On/Off”, - all sensors that were detected on HADG6DS46BWIFI unit.

What is not working: - delays and timers that can be set from mobile app.

What need to be clean: - all sensors need to be described properly (some purpose of them I don’t understand), - translation data for the device (didn’t had time yet).

Adding HO integration (Kitchen Hood appliance). Working good with Haier HADG6DS46BWIFI (fw 3.8.0). What is already done and working: - buttons to start and stop, - number selector for "Wind Speed" and "Light On/Off", - all sensors that were detected on HADG6DS46BWIFI unit. What is not working: - delays and timers that can be set from mobile app. What need to be clean: - all sensors need to be described properly (some purpose of them I don't understand), - translation data for the device (didn't had time yet).
Andre0512 commented 2023-05-30 05:21:27 +02:00 (Migrated from github.com)

Hey, thanks for your contribution! Looks good so far 🙂 I’m currently generating the translation keys with the generate_translation.py script, have a look at it, but it’s undocumented for now 😅 I think in the future we should look at exposing windspeed rather as a fan entity and the light control as a light entity to integrate it more naturally in home assistant. Feel free to share your device info output and I’ll take a look at how to implement this.

Hey, thanks for your contribution! Looks good so far :slightly_smiling_face: I'm currently generating the translation keys with the `generate_translation.py` script, have a look at it, but it's undocumented for now :sweat_smile: I think in the future we should look at exposing `windspeed` rather as a fan entity and the light control as a light entity to integrate it more naturally in home assistant. Feel free to share your device info output and I'll take a look at how to implement this.
pksobon commented 2023-05-30 07:58:27 +02:00 (Migrated from github.com)

Hey,

Thanks for adding this support so quickly. I have already made those changes like one month ago, but then because of work reasons had to update repositiories before posting anything and support was lost. :) Good to know that I will not have to merge it manually again. :)

I fully agree on “windspeed” (I didn’t think of it as a fan speed(!) at first place) and light entiny, but this I didn’t know how to integrate. I have 4 different devices (2 * different AC, 1 induction hob and one kitchen hood - all are right now working and you have added it from my form :)). Here I will only post output from HO, and later will look where to post rest of them.

========== HO - Kitchen Hood ========== data: appliance: PK: user#eu-west-1:f5ece226-13f1-4d17-bcb8-f53c6b75d70d SK: app#e8-9f-6d-c4-12-e0 applianceId: e8-9f-6d-c4-12-e0#2023-04-06T16:20:52Z applianceModelId: 710 applianceStatus: 1 applianceTypeId: 15 applianceTypeName: HO attributes: acuVersion: 18.09.06 chipset: ESP32D0WDQ5 dictionaryId: 234 lang: it-IT brand: haier code: 36901712 connectivity: wifi|ble coords: lat: 51.4109911 lng: 21.1846479 defaultWarrantyYears: 2 eepromId: 41 eepromName: no_eeprom enrollmentDate: 2023-04-06T16:20:52.378Z firstEnrollment: False firstEnrollmentTBC: False fwVersion: 3.8.0 id: 710 lastUpdate: 2023-04-06T16:21:04Z macAddress: e8-9f-6d-c4-12-e0 modelName: HADG6DS46BWIFI nickName: Kitchen Hood purchaseDate: 2022-11-30T23:00:00.000Z sections: chatbot: True double_pairing_hidden: True epp_enabled: False serialNumber: xxxxxxxxxyyyyyyyyzzzzzzzz series: series4 topics: publish: subscribe: - $aws/events/presence/disconnected/e8-9f-6d-c4-12-e0 - $aws/events/presence/connected/e8-9f-6d-c4-12-e0 - haier/things/e8-9f-6d-c4-12-e0/event/appliancestatus/update - haier/things/e8-9f-6d-c4-12-e0/event/discovery/update attributes: activity: commandHistory: command: ancillaryParameters: applianceOptions: applianceType: HO attributes: channel: mobileApp energyLabel: 0 origin: standardProgram commandName: startProgram device: appVersion: 2.0.9 deviceModel: exynos9820 mobileId: 6565af2825791f0e mobileOs: android osVersion: 31 macAddress: e8-9f-6d-c4-12-e0 parameters: lightStatus: 0 onOffStatus: 1 windSpeed: 0 timestamp: 2023-05-29T16:15:31.530Z transactionId: e8-9f-6d-c4-12-e0_2023-05-29T16:15:31.530Z timestampAccepted: 2023-05-29T16:15:32.4Z timestampExecuted: 2023-05-29T16:15:33.5Z lastConnEvent: category: CONNECTED instantTime: 2023-05-25T16:26:14Z macAddress: e8-9f-6d-c4-12-e0 timestampEvent: 1685031974752 parameters: delayTime: 0 delayTimeStatus: false errors: 00 filterCleaningAlarmStatus: 1 filterCleaningStatus: 0 lastWorkTime: 6924 lightStatus: false machMode: 0 onOffStatus: 0 quickDelayTimeStatus: 0 rgbLightColors: 1 rgbLightStatus: 0 windSpeed: 0 resultCode: 0 startProgram: lightStatus: 0 onOffStatus: 1 windSpeed: 0 statistics: mostUsedPrograms: mostUsedRecipes: programsCounter: 0 stopProgram: lightStatus: 0 onOffStatus: 0 windSpeed: 0 settings: startProgram: lightStatus: max: 1 min: 0 step: 1 windSpeed: max: 5 min: 0 step: 1 stopProgram:

Hey, Thanks for adding this support so quickly. I have already made those changes like one month ago, but then because of work reasons had to update repositiories before posting anything and support was lost. :) Good to know that I will not have to merge it manually again. :) I fully agree on "windspeed" (I didn't think of it as a fan speed(!) at first place) and light entiny, but this I didn't know how to integrate. I have 4 different devices (2 * different AC, 1 induction hob and one kitchen hood - all are right now working and you have added it from my form :)). Here I will only post output from HO, and later will look where to post rest of them. `========== HO - Kitchen Hood ========== data: appliance: PK: user#eu-west-1:f5ece226-13f1-4d17-bcb8-f53c6b75d70d SK: app#e8-9f-6d-c4-12-e0 applianceId: e8-9f-6d-c4-12-e0#2023-04-06T16:20:52Z applianceModelId: 710 applianceStatus: 1 applianceTypeId: 15 applianceTypeName: HO attributes: acuVersion: 18.09.06 chipset: ESP32D0WDQ5 dictionaryId: 234 lang: it-IT brand: haier code: 36901712 connectivity: wifi|ble coords: lat: 51.4109911 lng: 21.1846479 defaultWarrantyYears: 2 eepromId: 41 eepromName: no_eeprom enrollmentDate: 2023-04-06T16:20:52.378Z firstEnrollment: False firstEnrollmentTBC: False fwVersion: 3.8.0 id: 710 lastUpdate: 2023-04-06T16:21:04Z macAddress: e8-9f-6d-c4-12-e0 modelName: HADG6DS46BWIFI nickName: Kitchen Hood purchaseDate: 2022-11-30T23:00:00.000Z sections: chatbot: True double_pairing_hidden: True epp_enabled: False serialNumber: xxxxxxxxxyyyyyyyyzzzzzzzz series: series4 topics: publish: subscribe: - $aws/events/presence/disconnected/e8-9f-6d-c4-12-e0 - $aws/events/presence/connected/e8-9f-6d-c4-12-e0 - haier/things/e8-9f-6d-c4-12-e0/event/appliancestatus/update - haier/things/e8-9f-6d-c4-12-e0/event/discovery/update attributes: activity: commandHistory: command: ancillaryParameters: applianceOptions: applianceType: HO attributes: channel: mobileApp energyLabel: 0 origin: standardProgram commandName: startProgram device: appVersion: 2.0.9 deviceModel: exynos9820 mobileId: 6565af2825791f0e mobileOs: android osVersion: 31 macAddress: e8-9f-6d-c4-12-e0 parameters: lightStatus: 0 onOffStatus: 1 windSpeed: 0 timestamp: 2023-05-29T16:15:31.530Z transactionId: e8-9f-6d-c4-12-e0_2023-05-29T16:15:31.530Z timestampAccepted: 2023-05-29T16:15:32.4Z timestampExecuted: 2023-05-29T16:15:33.5Z lastConnEvent: category: CONNECTED instantTime: 2023-05-25T16:26:14Z macAddress: e8-9f-6d-c4-12-e0 timestampEvent: 1685031974752 parameters: delayTime: 0 delayTimeStatus: false errors: 00 filterCleaningAlarmStatus: 1 filterCleaningStatus: 0 lastWorkTime: 6924 lightStatus: false machMode: 0 onOffStatus: 0 quickDelayTimeStatus: 0 rgbLightColors: 1 rgbLightStatus: 0 windSpeed: 0 resultCode: 0 startProgram: lightStatus: 0 onOffStatus: 1 windSpeed: 0 statistics: mostUsedPrograms: mostUsedRecipes: programsCounter: 0 stopProgram: lightStatus: 0 onOffStatus: 0 windSpeed: 0 settings: startProgram: lightStatus: max: 1 min: 0 step: 1 windSpeed: max: 5 min: 0 step: 1 stopProgram:`
Andre0512 commented 2023-06-09 06:15:15 +02:00 (Migrated from github.com)

Hi, I was on vacation, but will work the next days on the new entities. Thanks for the logs 🙂

Hi, I was on vacation, but will work the next days on the new entities. Thanks for the logs :slightly_smiling_face:
Andre0512 commented 2023-07-01 17:15:19 +02:00 (Migrated from github.com)

Hi, I implemented now the light and fan entity in the last beta, check it out. It would also be great if you could add your appliances data to the new hon-test-data collection. That would makes it much easier for me to fix and test hobs and hoods 🙂

Hi, I implemented now the light and fan entity in the last beta, check it out. It would also be great if you could add your appliances data to the new [hon-test-data collection](https://github.com/Andre0512/hon-test-data). That would makes it much easier for me to fix and test hobs and hoods :slightly_smiling_face:
pksobon commented 2023-07-04 21:37:34 +02:00 (Migrated from github.com)

Hi,

I will try to do it today, or latest tomorrow as after that I’m going for my well deserved vacation. :) First what I have issued was missing some packets after updating to latest pyhOn II had to install typing-extensions via pip).

Also one of my devices went offline last week and I don’t know if the data will be generated correctly.

Hi, I will try to do it today, or latest tomorrow as after that I'm going for my well deserved vacation. :) First what I have issued was missing some packets after updating to latest pyhOn II had to install typing-extensions via pip). Also one of my devices went offline last week and I don't know if the data will be generated correctly.
Andre0512 commented 2023-07-05 00:00:38 +02:00 (Migrated from github.com)

Good hint, I will add typing-extensions to the dependencies. It seems to contain everything 🙂 Thank you, have a nice vacation!

Good hint, I will add typing-extensions to the dependencies. It seems to contain everything :slightly_smiling_face: Thank you, have a nice vacation!
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: GitHub/hon#56
No description provided.