Open patrickkuhl opened 8 months ago
I just tried to add the Danfoss Thermostats as well and I'm running into the exact same bug.
After updating to version v2.0.8 and v2.1.0 I see additional logs during the startup process (screenshot see below). Maybe they can help to solve the issue with the Danfoss Link thermostats. For me it seems that each thermostat will be recognized as a temperature sensor AND as a thermostat. Here one example out of the log for one thermostat "OG Bad":
"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLmE5Y2U3ZjU4LTZkZjAtNDAwMi1hOTMzLTM5OTI3MjhmYTBmYSIsInN0YWdlIjoibGl2ZSJ9_Room:7": {
"applianceId": "SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLmE5Y2U3ZjU4LTZkZjAtNDAwMi1hOTMzLTM5OTI3MjhmYTBmYSIsInN0YWdlIjoibGl2ZSJ9_Room:7",
"endpointTypeId": "",
"driverIdentity": {
"namespace": "SKILL",
"identifier": "eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLmE5Y2U3ZjU4LTZkZjAtNDAwMi1hOTMzLTM5OTI3MjhmYTBmYSIsInN0YWdlIjoibGl2ZSJ9"
},
"manufacturerName": "Danfoss A/S",
"friendlyDescription": "Thermostat connected via Danfoss",
"modelName": "",
"deviceType": "CLOUD_DISCOVERED_DEVICE",
"version": "0",
"friendlyName": "OG Bad",
"friendlyNameModifiedAt": 1696876100839,
"capabilitiesModifiedAt": 1696876100839,
"ipAddress": "",
"port": "",
"entityId": "ad1263af-bace-49a9-85ae-ce2eadfd1c64",
"applianceNetworkState": {
"reachability": "REACHABLE",
"lastSeenAt": 1704362660245,
"createdAt": 1696876100839,
"lastSeenDiscoverySessionId": {
"value": "c932f1d2-6d13-47fd-b3c9-1e5c19dbb8d9"
}
},
"tags": {
"tagNameToValueSetMap": {}
},
"additionalApplianceDetails": {
"additionalApplianceDetails": {}
},
"firmwareVersion": "0",
"actions": [],
"capabilities": [
{
"capabilityType": "AVSInterfaceCapability",
"type": "AlexaInterface",
"version": "3",
"interfaceName": "Alexa"
},
{
"capabilityType": "AVSInterfaceCapability",
"type": "AlexaInterface",
"version": "3",
"properties": {
"supported": [
{
"name": "temperature"
}
],
"proactivelyReported": true,
"retrievable": true,
"readOnly": false
},
"interfaceName": "Alexa.TemperatureSensor"
},
{
"capabilityType": "AVSInterfaceCapability",
"type": "AlexaInterface",
"version": "3",
"properties": {
"supported": [
{
"name": "targetSetpoint"
}
],
"proactivelyReported": true,
"retrievable": true,
"readOnly": false
},
"interfaceName": "Alexa.ThermostatController"
},
{
"capabilityType": "AVSInterfaceCapability",
"type": "AlexaInterface",
"version": "3",
"properties": {
"supported": [
{
"name": "connectivity"
}
],
"proactivelyReported": true,
"retrievable": true,
"readOnly": false
},
"interfaceName": "Alexa.EndpointHealth"
}
],
"applianceTypes": [
"TEMPERATURE_SENSOR",
"THERMOSTAT"
],
"isEnabled": true,
"aliases": [],
"connectedVia": "",
"alexaDeviceIdentifierList": [],
"applianceKey": "ad1263af-bace-49a9-85ae-ce2eadfd1c64",
"identifiers": {
"networkInterfaceIdentifiers": []
},
"applianceDriverIdentity": {
"namespace": "SKILL",
"identifier": "eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLmE5Y2U3ZjU4LTZkZjAtNDAwMi1hOTMzLTM5OTI3MjhmYTBmYSIsInN0YWdlIjoibGl2ZSJ9"
},
"ipaddress": "",
"applianceLambdaControlled": true,
"mergedApplianceIds": [
"SKILL_eyJza2lsbElkIjoiYW16bjEuYXNrLnNraWxsLmE5Y2U3ZjU4LTZkZjAtNDAwMi1hOTMzLTM5OTI3MjhmYTBmYSIsInN0YWdlIjoibGl2ZSJ9_Room:7"
]
}
@patrickkuhl thanks for providing the additional logs! I will work on adding support for this and let you know once it can be tested.
Describe The Bug:
Hi joeyhage,
I have eleven thermostats (Danfoss Link System) connected to Alexa and they are working fine (you can find four of them in the screenshot below under favorites). These thermostats are the only devices I control via Alexa. All my other smarthome stuff is controlled via HomeKit. I wanted to use your plugin to transfer these thermostats to HomeKit. Unfortunately, the plugin recognizes them as temperature sensors. Have I done something wrong or is it a bug? Maybe there is one thing. The mode of the thermostats is not changeable in Alexa. The mode is always „Benutzerdefiniert“, in English „custom“.
Best regards,
Patrick
To Reproduce:
Expected behavior:
Logs:
Plugin Config:
Screenshots:![image](https://github.com/joeyhage/homebridge-alexa-smarthome/assets/149885065/2aa9aae3-7dd6-4299-b00e-1076ace6d8e6)
Environment: