seydx / homebridge-fritz-platform

AiO Homebridge dynamic platform plugin for AVM hardware like Fritz!Box, Fritz!Repeater etc.
MIT License
223 stars 32 forks source link

Set temperature via siri not working on iphone? #274

Open pand0r opened 2 years ago

pand0r commented 2 years ago

Describe the bug If i want to change the temperature of a thermostate via siri, it doen't work on my iPhone (+ Apple Watch) , but works on my homepod. Telling siri to change the temperature is leading to "there is no heater in this room". On my homepod the exact same command works fine. Could this be a iOS 15.4 public beta issue, or do i have smth misconfigured?

To Reproduce Steps to reproduce the behavior:

  1. Tell siri to change temperature in a room

Expected behavior The temperature will be changed

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Running with hoobs 4.0.110 with latest version of fritz-platform (6.0.19), everything is using german language (hoobs, iphone, homepod)

Kai9555 commented 2 years ago

Seit iOS 15.4 auf HomePod und iPhone geht es bei mir auch nicht mehr. Ich hatte schon einmal gemeldet das die Thermostate generell den falschen Device Typ haben und so auch nicht bei 3. Anbieter Apps, bereits schon vor 15.4, nicht als Heizungen erkannt wurden und somit nicht gesteuert werden konnten.

Ich hoffe das an dem Plugin noch gearbeitet wird, aber derzeit sieht es weniger danach aus.

pand0r commented 2 years ago

@Kai9555 Was genau meinst du denn mit falschem Device Typ? Ggf. könnte man das ja in einem Fork fixen, wenn dieses Repo nicht mehr gepflegt wird.

Kai9555 commented 2 years ago

@pand0rx Hier hatte ich es schon einmal versucht zu beschreiben: https://github.com/seydx/homebridge-fritz-platform/issues/256

Ich bin kein Profi, aber die Thermostate werden definitiv nicht korrekt in der Home.app als Thermostat gematcht. Was denkst du?

pand0r commented 2 years ago

@Kai9555 ich versuche mir am Wochenende mal anzusehen was das andere Plugin das du benutzt anders macht als dieses hier

Kai9555 commented 2 years ago

@Kai9555 ich versuche mir am Wochenende mal anzusehen was das andere Plugin das du benutzt anders macht als dieses hier

Danke für deine Mühe 🙏 ich bin gespannt 🙌

maciboy commented 2 years ago

@seydx Besteht Hoffnung an einem Fix für iOS 15.4? Danke :)

pand0r commented 2 years ago

@Kai9555 Könntest du mir vielleicht mal die "Zubehördaten" von deiner Bodenheizung zukommen lassen? Ich benutze Hoobs, falls du Homebridge benutzt hoffe ich mal, dass es die da auch gibt. In Hoobs die Einstellungen des entsprechenden Geräts öffnen und da bekommst du dann ein JSON-File: https://imgur.com/a/Q07JTf8

Kai9555 commented 2 years ago

Ich kenne Hoobs leider nicht und unter Homebridge gibt es solch einen Button „Zubehördaten“ nicht. Was wirft er dir denn aus? Einfach die Config? Ich geb dir mal vorsorglich die Config von dem Plugin bei mir:

{ "name": "TuyaWebPlatform", "options": { "username": "", "password": "", "countryCode": "49", "platform": "tuya" }, "defaults": [ { "id": "****", "device_type": "climate", "min_temper": "10", "max_temper": "28", "current_temperature_factor": "0.5", "target_temperature_factor": "0.5" }, { "id": "**£*", "device_type": "climate", "min_temper": "10", "max_temper": "28", "current_temperature_factor": "0.5", "target_temperature_factor": "0.5" } ], "scenes": false, "platform": "TuyaWebPlatform" }

pand0r commented 2 years ago

@Kai9555 Nee, das gibt dann wohl die Daten aus, die an Homekit gegeben werden:

{ "uuid": "asd", "accessory_identifier": "asd", "bridge_identifier": "asd", "bridge": "fritzplatformbridge", "plugin": "homebridge-fritz-platform", "room": "arbeitszimmer", "category": 1, "name": "Arbeitszimmer Heizung", "sequence": 0, "hidden": false, "type": "heater_cooler", "identify": false, "manufacturer": "Homebridge", "model": "smarthome", "serial_number": "Arbeitszimmer Heizung", "firmware_revision": "6.0.19", "characteristics": [ { "uuid": "asd", "type": "active", "service": { "uuid": "asd", "type": "heater_cooler" }, "description": "Active", "value": 1, "format": "uint8", "max_value": 1, "min_value": 0, "min_step": 1, "valid_values": [ 0, 1 ], "read": true, "write": true }, { "uuid": "asd", "type": "current_heater_cooler_state", "service": { "uuid": "asd", "type": "heater_cooler" }, "description": "Current Heater-Cooler State", "value": 2, "format": "uint8", "max_value": 2, "min_value": 0, "min_step": 1, "valid_values": [ 0, 1, 2 ], "read": true, "write": false }, { "uuid": "asd", "type": "target_heater_cooler_state", "service": { "uuid": "asd", "type": "heater_cooler" }, "description": "Target Heater-Cooler State", "value": 1, "format": "uint8", "max_value": 1, "min_value": 1, "min_step": 1, "valid_values": [ 1 ], "read": true, "write": true }, { "uuid": "asd", "type": "current_temperature", "service": { "uuid": "asd", "type": "heater_cooler" }, "description": "Current Temperature", "value": 21, "format": "float", "unit": "celsius", "max_value": 100, "min_value": -100, "min_step": 0.1, "read": true, "write": false }, { "uuid": "asd", "type": "cooling_threshold_temperature", "service": { "uuid": "asd", "type": "heater_cooler" }, "description": "Cooling Threshold Temperature", "value": 19.5, "format": "float", "unit": "celsius", "max_value": 28, "min_value": 8, "min_step": 0.5, "read": true, "write": true }, { "uuid": "asd", "type": "heating_threshold_temperature", "service": { "uuid": "asd", "type": "heater_cooler" }, "description": "Heating Threshold Temperature", "value": 19.5, "format": "float", "unit": "celsius", "max_value": 28, "min_value": 8, "min_step": 0.5, "read": true, "write": true }, { "uuid": "asd", "type": "asd", "service": { "uuid": "asd", "type": "heater_cooler" }, "description": "Valve Position", "value": 20, "format": "uint8", "unit": "percentage", "read": true, "write": false }, { "uuid": "asd", "type": "status_low_battery", "service": { "uuid": "asd", "type": "battery" }, "description": "Status Low Battery", "value": 0, "format": "uint8", "max_value": 1, "min_value": 0, "min_step": 1, "valid_values": [ 0, 1 ], "read": true, "write": false }, { "uuid": "asd", "type": "charging_state", "service": { "uuid": "asd", "type": "battery" }, "description": "Charging State", "value": 2, "format": "uint8", "max_value": 2, "min_value": 0, "min_step": 1, "valid_values": [ 0, 1, 2 ], "read": true, "write": false }, { "uuid": "asd", "type": "battery_level", "service": { "uuid": "asd", "type": "battery" }, "description": "Battery Level", "value": 80, "format": "uint8", "unit": "percentage", "max_value": 100, "min_value": 0, "min_step": 1, "read": true, "write": false }, { "uuid": "asd", "type": "asd", "service": { "uuid": "asd", "type": "asd" }, "description": "S2R1", "value": "asd==", "format": "data", "read": true, "write": false }, { "uuid": "asd", "type": "asd", "service": { "uuid": "asd", "type": "asd" }, "description": "S2R2", "value": "AA==", "format": "data", "read": true, "write": false }, { "uuid": "asd", "type": "asd", "service": { "uuid": "asd", "type": "asd" }, "description": "S2W1", "value": null, "format": "data", "read": false, "write": true }, { "uuid": "asd", "type": "asd", "service": { "uuid": "asd", "type": "asd" }, "description": "S2W2", "value": null, "format": "data", "read": false, "write": true } ], "icon": "thermometer" }

Kai9555 commented 2 years ago

Ah verdammt. So etwas gibt es bei Homebridge meines Wissens nicht. Ich habe das auch einmal kurz gegoogelt und nichts weiter dazu gefunden.

Kannst du das Plugin nicht installieren bei Hoobs und einmal schauen 👀?

pand0r commented 2 years ago

Hatte ich grad probiert, aber ohne Geräte die ich konfigurieren kann, klappt das so leider nicht :(

Kai9555 commented 2 years ago

Ich habe dir meine Config Daten an Kontakt [at] patrick-heina.de gesendet. Schau mal ob es geht. ich ändere später einfach das PW wenn du fertig bist.

Gummibando commented 2 years ago

I have pretty much the same problem (since i/Pad/OS 15.4 and macOS 12.3?).

While the temperature can be controlled perfectly fine via the UI in the Home app, when trying to set the temperature via Siri, the response is something along the lines of "There are no heaters in room that support temperature regulation".

The room temperature provided by the temperature sensor in the thermostats can be queried via Siri, though.

fraho67 commented 2 years ago

Bump…..did work until iOS 15.4 As I am not a developer I hope someone will fix this.

frenc1976 commented 2 years ago

@pand0r und @Kai9555 Servus, gibt es denn schon was Neues zu dem Thema ? Ich hab gerade mal geschaut, ich glaube nicht, dass es an dem Typ liegt - den gibt es seit IOS 10.2 (https://developer.apple.com/documentation/homekit/hmservicetypeheatercooler)

Gummibando commented 2 years ago

Working again w/ macOS 12.4, i(Pad)OS 15.5 etc.

@seydx