panasonic_cc
panasonic_cc copied to clipboard
Create low temperature mode
Some (many) panasonic heat pumps allow for a freezing protection or low temperature 8-10C mode.
This PR adds this mode optionally, but keeps the default behaviour.
Fixes #20, #85 and #92
This looks like it has the commits from #155 in it too. Could you please re-base it?
Right you are @codyc1515 ! Changed it to only have the relevant commit.
Adding the "Summer House" / "Freeze protection" mode isn't as easy as just allowing lower temperature.
Depending on what the API return on the summerHouse property, this is done differently.
I haven't had time to look in depth how the different summerHouse types work, but from what I gather from the App there are 3 different types 1, 2 and 3. And they all work slightly different.
Fair enough, but do we have proper documentation do know how exactly summerHouse modes actually work? If there was such a thing I'd of course be happy to implement all of the modes "properly", but for now I have at least anecdotal evidence that this setting works exactly as intended for me, and therefore probably would also help some other people all while almost certainly doing no harm.
My summerHouse mode is 2. Would you like the option of enabling low-temperature mode automatically only if summerHouse mode was 2 more for example?
Full data dump from my pump for reference:
{
"uiFlg": false,
"groupCount": 1,
"groupList":
[
{
"groupId": 1234567,
"groupName": "XXXXXX",
"pairingList":
[],
"deviceList":
[
{
"deviceGuid": "CS-NZ25YKE+XXXXXXX",
"deviceType": "3",
"deviceName": "Summerhouse heat pump",
"permission": 3,
"temperatureUnit": 0,
"summerHouse": 2,
"nanoeStandAlone": true,
"autoMode": true,
"modeAvlList":
{
"autoMode": 1
},
"parameters":
{
"operate": 1,
"operationMode": 3,
"temperatureSet": 8,
"fanSpeed": 5,
"fanAutoMode": 1,
"airSwingLR": 2,
"airSwingUD": 1,
"ecoFunctionData": 0,
"ecoMode": 0,
"ecoNavi": 0,
"nanoe": 1,
"iAuto": 0,
"airDirection": 1,
"lastSettingMode": 0
},
"deviceModuleNumber": "CS-NZ25YKE",
"deviceHashGuid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"modelVersion": 1,
"coordinableFlg": true,
"pairedFlg": false
}
]
}
]
}
This has been added as a preset