Apollon77 / ioBroker.alexa2

ioBroker Adapter to control Amazon Alexa/Echo devices
MIT License
159 stars 46 forks source link

Smarthome Device Thermostat Mode controlling OFF / HEAT not working / but change Temperature as expected #1152

Open mac89muc opened 3 months ago

mac89muc commented 3 months ago

Hello I want to control my Heating Thermostats over the Alexa2 Adapter until the new iobroker Matter Adapter ist available. There are not much control commands only if a window or door is open for a longer time - so no problems with the risks of Blocking from Amazon servers.

I connected them to Alexa via the App and got the Datapoints unter the alexa2.0.Smart-Home-Devices tree. If I change the Temperature (Datapoint - alexa2.0.Smart-Home-Devices.id.targetSetpoint) everything is working as expected the temperature is handed over to the thermostat like I have changed it in the Alexa App. Also if I change the Temperature in the Alexa App it's working.

But if I want to change the Thermostat Mode to OFF or HEAT (alexa2.0.Smart-Home-Devices.*.thermostatMode) nothing happens - so if I type in HEAT or OFF nothing is transferred to the thermostat. If I change the Mode in the Alexa App everything is working as expected.

The Log is showing the following Info after I was trying to change the Thermostat Mode

buildSmartHomeControlParameters: myid thermostatMode thermostatMode OFF for objs = {"targetSetpoint":[{"common":{"name":"targetSetpoint","type":"number","read":true,"write":true,"role":"level.temperature"},"native":{"valueSubKey":"value","action":"setTargetTemperature","paramName":"targetTemperature.value","supportedActions":["setTargetTemperature","getTargetTemperature","incrementTargetTemperature","decrementTargetTemperature"]}},{"common":{"name":"targetSetpoint-scale","type":"string","read":true,"write":false,"role":"text","def":"CELSIUS"},"native":{"valueSubKey":"scale","action":"setTargetTemperature","paramName":"targetTemperature.scale","noFallbackStringifiedValue":true,"defaultValue":"CELSIUS"}}],"lowerSetpoint":[{"common":{"name":"lowerSetpoint","type":"number","read":true,"write":true,"role":"level.temperature"},"native":{"valueSubKey":"value","action":"setTargetTemperature","paramName":"lowerSetTemperature.value","supportedActions":["setTargetTemperature","getTargetTemperature","incrementTargetTemperature","decrementTargetTemperature"],"sendAdditional":["upperSetpoint"]},"experimental":true},{"common":{"name":"lowerSetpoint-scale","type":"string","read":true,"write":false,"role":"text","def":"CELSIUS"},"native":{"valueSubKey":"scale","action":"setTargetTemperature","paramName":"lowerSetTemperature.scale","noFallbackStringifiedValue":true,"defaultValue":"CELSIUS"},"experimental":true}],"upperSetpoint":[{"common":{"name":"upperSetpoint","type":"number","read":true,"write":true,"role":"level.temperature"},"native":{"valueSubKey":"value","action":"setTargetTemperature","paramName":"upperSetTemperature.value","supportedActions":["setTargetTemperature","getTargetTemperature","incrementTargetTemperature","decrementTargetTemperature"],"sendAdditional":["lowerSetpoint"]},"experimental":true},{"common":{"name":"upperSetpoint-scale","type":"string","read":true,"write":false,"role":"text","def":"CELSIUS"},"native":{"valueSubKey":"scale","action":"setTargetTemperature","paramName":"upperSetTemperature.scale","noFallbackStringifiedValue":true,"defaultValue":"CELSIUS"},"experimental":true}],"thermostatMode":[{"common":{"name":"thermostatMode","type":"string","read":true,"write":true,"role":"text"},"native":{"valueSubKey":"value","action":"setThermostatMode","paramName":"thermostatMode.value","supportedActions":["setTargetTemperature","getTargetTemperature","incrementTargetTemperature","decrementTargetTemperature"]},"experimental":true}]}

and

{"applianceId":"AAA_SonarCloudService_myid","endpointTypeId":"","driverIdentity":{"namespace":"AAA","identifier":"SonarCloudService"},"manufacturerName":"Eve Systems","friendlyDescription":"Eve Systems intelligentes Gerät","modelName":"","deviceType":"","version":"0","friendlyName":"Heizung Flur","friendlyNameModifiedAt":1710935815073,"capabilitiesModifiedAt":1710935815073,"ipAddress":"","port":"","entityId":"myid","applianceNetworkState":{"reachability":"REACHABLE","lastSeenAt":1710959318275,"createdAt":1710935815073,"lastSeenDiscoverySessionId":{"value":"id"}},"tags":{"tagNameToValueSetMap":{"groupIdentity":["amzn1.HomeAutomation.ApplianceGroup.id"]}},"additionalApplianceDetails":{"additionalApplianceDetails":{}},"firmwareVersion":"0","actions":[],"capabilities":[{"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":"connectivity"}],"proactivelyReported":true,"retrievable":false,"readOnly":false},"interfaceName":"Alexa.EndpointHealth"},{"type":"AlexaInterface","version":"1.0","properties":{"supported":[],"proactivelyReported":false,"retrievable":false,"nonControllable":false},"capabilityType":"AlexaEndpointCapabilityInstance","interfaceName":"Alexa.Commissionable"},{"type":"AlexaInterface","version":"1.0","properties":{"supported":[],"proactivelyReported":false,"retrievable":false,"nonControllable":false},"capabilityType":"AlexaEndpointCapabilityInstance","interfaceName":"Alexa.Matter.NodeOperationalCredentials.FabricManagement"},{"capabilityType":"AVSInterfaceCapability","type":"AlexaInterface","version":"3","properties":{"supported":[{"name":"targetSetpoint"},{"name":"lowerSetpoint"},{"name":"upperSetpoint"},{"name":"thermostatMode"}],"proactivelyReported":true,"retrievable":true,"readOnly":false},"configuration":{"supportsScheduling":false,"supportedModes":[{"value":"HEAT"},{"value":"OFF"}],"supportsSensorTargeting":false,"supportsAlexaSensors":false},"interfaceName":"Alexa.ThermostatController"}],"applianceTypes":["THERMOSTAT"],"isEnabled":true,"aliases":[],"connectedVia":"Echo Dot","alexaDeviceIdentifierList":[],"applianceKey":"id","identifiers":{"networkInterfaceIdentifiers":[{"identifierType":"MatterNetworkInterfaceIdentifier","type":"MATTER","macNetworkInterface":"THREAD","matterVendorId":"4874","matterProductId":"79","matterDiscriminator":"525"}]},"applianceDriverIdentity":{"namespace":"AAA","identifier":"SonarCloudService"},"ipaddress":"","applianceLambdaControlled":true,"mergedApplianceIds":["AAA_SonarCloudService_id"]} / {"id":"id","displayName":"Heizung Flur","description":"Eve Systems intelligentes Gerät","supportedProperties":["setTargetTemperature"],"supportedTriggers":["temperatureSensorTrigger"],"supportedOperations":["setTargetTemperature"],"availability":"AVAILABLE","icon":{"@iconType":"SmartHomeApplianceType","value":"THERMOSTAT"},"providerData":{"enabled":true,"relationships":[],"categoryType":"APPLIANCE","deviceType":"THERMOSTAT","dmsDeviceIdentifiers":[]}}

Versions:

Additional context
Add any other context about the problem here.

Apollon77 commented 3 months ago

Please provide a full debug log from adapter start with anything (and wait 5+mins till anything was initialized and then control the thermoostatMode . Then add the log or send via email to iobroker@fischer-ka.de with refernce to this issue (incl link please).

mac89muc commented 3 months ago

Please provide a full debug log from adapter start with anything (and wait 5+mins till anything was initialized and then control the thermoostatMode . Then add the log or send via email to iobroker@fischer-ka.de with refernce to this issue (incl link please).

Danke für die schnelle Zwischeninfo - habe Dir das Log per Email geschickt. Wenn Du mehr Logzeilen benötigst, gib gerne Bescheid. Gruß

mac89muc commented 3 months ago

@Apollon77 ich habe einen Fehler bekommen - ist die email von mir angekommen, bevor ich sie jetzt ein zweites mal losschicke? Gruß

Apollon77 commented 3 months ago

mail angekommen

mac89muc commented 3 months ago

@Apollon77 hattest du schon die Chance dir das Log anzusehen?

Apollon77 commented 3 months ago

Nein, sorry noch keine Zeit gefunden