ha_gehome
ha_gehome copied to clipboard
Oven probe temperature
The HQ application does offer the oven probe temperature. That information would be great if it could show up in the integration. I greatly appreciate all that you've done for this add-on.
If you go to the SDK (https://github.com/simbaja/gehome), you can run the application to get the ERD codes. With a little digging, you might be able to identify the right code for temperature and then it can be added.
I have a CHS900P2M7S1 (Cafe Induction range). I believe this is the relevant part of the logs? (Pruned out some of the existing codes)
2024-10-11 11:53:50,770 DEBUG Setting ErdCode.UPPER_OVEN_DELAY_TIME_REMAINING to 0:00:00
2024-10-11 11:53:50,770 DEBUG Setting ErdCode.UPPER_OVEN_PROBE_DISPLAY_TEMP to 141
2024-10-11 11:53:50,771 DEBUG Setting ErdCode.UPPER_OVEN_PROBE_PRESENT to True
2024-10-11 11:53:50,771 DEBUG Setting ErdCode.UPPER_OVEN_ELAPSED_COOK_TIME to 0:41:00
2024-10-11 11:53:50,771 DEBUG Setting ErdCode.UPPER_OVEN_AVAILABLE_COOK_MODES to {<ErdOvenCookMode.BAKE_NOOPTION: 1>, <ErdOvenCookMode.FROZEN_SNACKS_MULTI: 57>, <ErdOvenCookMode.FROZEN_PIZZA: 58>, <ErdOvenCookMode.FROZEN_PIZZA_MULTI: 59>, <ErdOvenCookMode.CONVMULTIBAKE_NOOPTION: 27>, <ErdOvenCookMode.FROZEN_SNACKS: 56>, <ErdOvenCookMode.BAKED_GOODS: 60>, <ErdOvenCookMode.CONVROAST_NOOPTION: 36>}
2024-10-11 11:53:50,771 DEBUG Setting ErdCode.UPPER_OVEN_EXTENDED_COOK_MODES to set()
2024-10-11 11:53:50,772 DEBUG Setting ErdCode.MICROWAVE_RECIPE_STATUS to b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2024-10-11 11:53:50,772 DEBUG Setting ErdCode.ADVANTIUM_PRECISION_VERSION to b'$\x17\x95L\xf3\xbc\x1d\xba\xc0DQ\xbf\x9c\xc2\xa2\x89\\{\xbbE\xef\x84\xe5\x12\xb7;c1\xb3<x\xe3'
2024-10-11 11:53:50,772 DEBUG Setting ErdCode.PRECISION_COOKING_PROBE_CONTROL_MODE to ErdPrecisionCookingAppProbeControlMode.INACTIVE
2024-10-11 11:53:50,773 DEBUG Setting ErdCode.PRECISION_COOKING_PROBE_STATUS to 0
2024-10-11 11:53:50,773 DEBUG Setting ErdCode.PRECISION_COOKING_PROBE_TEMP_CURRENT to 0
2024-10-11 11:53:50,773 DEBUG Setting ErdCode.PRECISION_COOKING_PROBE_TIME_TARGET to 0:00:00
2024-10-11 11:53:50,773 DEBUG Setting ErdCode.PRECISION_COOKING_START_SOUS_VIDE_TIMER_ACTIVE_STATUS to ErdPrecisionCookingStartSousVideTimerActiveStatus.INACTIVE
2024-10-11 11:53:50,773 DEBUG Setting ErdCode.PRECISION_COOKING_PROBE_TIME_CURRENT to 0:00:00
2024-10-11 11:53:50,773 DEBUG Setting ErdCode.PRECISION_COOKING_PROBE_TARGET_TIME_REACHED to ErdPrecisionCookingProbeTargetTimeReached.NO
2024-10-11 11:53:50,773 DEBUG Setting ErdCode.PRECISION_COOKING_PROBE_BATTERY_STATUS to ErdPrecisionCookingProbeBatteryStatus.OK
If it would be helpful to share a full log, let me know.
The below blocks seems to have worked to add the probe display temp via devices/oven.py:
#probe
has_upper_probe_display_temp = self.has_erd_code(ErdCode.UPPER_OVEN_PROBE_PRESENT)
if has_upper_probe_display_temp:
oven_entities.append(GeErdSensor(self, ErdCode.UPPER_OVEN_PROBE_DISPLAY_TEMP, self._single_name(ErdCode.UPPER_OVEN_PROBE_DISPLAY_TEMP, ~oven_config.has_lower_oven)))