abmantis / whirlpool-sixth-sense

Whirlpool unofficial API for 6th Sense appliances
MIT License
13 stars 12 forks source link

New oven #62

Closed adrianlasota closed 1 month ago

adrianlasota commented 1 month ago

@abmantis Added support for new oven: W7I HT58 T

{'..., 'lastModified': 1716578321632, 'attributes': {'XCat_ApplianceInfoSetSerialNumber': {'value': '142403006974', 'updateTime': 1716547460514}, 'OvenUpperCavity_CycleSetDonenessAdjust': {'value': '0', 'updateTime': 1716547460514}, 'OvenUpperCavity_DisplaySetLightOn': {'value': '0', 'updateTime': 1716547460514}, 'OvenUpperCavity_CycleSetPreheatOn': {'value': '0', 'updateTime': 1716547460514}

------------------------------ MENU ------------------------------
u. Update status from server
l. Control lock toggle
L. Light toggle
b. Set display brightness
t. Set cooking mode/temp
o. Stop/cancel cooking
k. Set kitchen timer
s. Toggle Sabbath mode
p. Print status
v. Print raw status
c. Custom command
q. Exit
-------------------------------------------------------------------
Enter your choice: L
2024-05-24 21:33:43,308 [whirlpool.appliance INFO]: Sending attributes: {'OvenUpperCavity_DisplaySetLightOn': '1'}
2024-05-24 21:33:43,982 [whirlpool.appliance DEBUG]: Reply: {"transaction_id":"6672","message":"Command executed successfully","status":"00"}

------------------------------ MENU ------------------------------
u. Update status from server
l. Control lock toggle
L. Light toggle
b. Set display brightness
t. Set cooking mode/temp
o. Stop/cancel cooking
k. Set kitchen timer
s. Toggle Sabbath mode
p. Print status
v. Print raw status
c. Custom command
q. Exit
-------------------------------------------------------------------
Enter your choice: Attributes updated
2024-05-24 21:33:49,947 [whirlpool.appliance DEBUG]: Updating attribute XCat_WifiSetDisableWifiCommModule with 0 (1716579230293)
2024-05-24 21:33:49,947 [whirlpool.appliance DEBUG]: Updating attribute OvenUpperCavity_DisplaySetLightOn with 0 (1716579230293)
Attributes updated
u
2024-05-24 21:34:02,957 [whirlpool.oven ERROR]: Unknown cavity state: None
Attributes updated
online: True
display brightness (%): 90
control lock: False
kitchen timer 1 state: KitchenTimerState.Standby
upper meat probe: False
upper light: False
upper door open: False
upper temp (current/target, in C): 0.0/0.0
upper state: CavityState.Standby
upper cook mode: CookMode.Standby
upper cook time (seconds): 0

------------------------------ MENU ------------------------------
u. Update status from server
l. Control lock toggle
L. Light toggle
b. Set display brightness
t. Set cooking mode/temp
o. Stop/cancel cooking
k. Set kitchen timer
s. Toggle Sabbath mode
p. Print status
v. Print raw status
c. Custom command
q. Exit
-------------------------------------------------------------------
Enter your choice: b
Brightness (0-100): 50
2024-05-24 21:34:17,328 [whirlpool.appliance INFO]: Sending attributes: {'Sys_DisplaySetBrightnessPercent': '50'}
2024-05-24 21:34:17,765 [whirlpool.appliance DEBUG]: Reply: {"transaction_id":"6219","message":"Command executed successfully","status":"00"}

------------------------------ MENU ------------------------------
u. Update status from server
l. Control lock toggle
L. Light toggle
b. Set display brightness
t. Set cooking mode/temp
o. Stop/cancel cooking
k. Set kitchen timer
s. Toggle Sabbath mode
p. Print status
v. Print raw status
c. Custom command
q. Exit
-------------------------------------------------------------------
Enter your choice: Attributes updated
2024-05-24 21:34:18,578 [whirlpool.appliance DEBUG]: Updating attribute Sys_DisplaySetBrightnessPercent with 50 (1716579258850)
adrianlasota commented 1 month ago

@abmantis could you review?

abmantis commented 1 month ago

Thanks!

adrianlasota commented 1 month ago

@abmantis could we release this change? I'm going to add support in HA core

abmantis commented 3 weeks ago

@adrianlasota I've just released v0.18.9 that includes this.