Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Type "Thermostat" #15

Open
marsuboss opened this issue Mar 20, 2023 · 11 comments
Open

Add Type "Thermostat" #15

marsuboss opened this issue Mar 20, 2023 · 11 comments
Labels
enhancement New feature or request

Comments

@marsuboss
Copy link

Hello,

Is it possible to add an accessory with the Thermostat type?

Thanks.

@SynTexDZN
Copy link
Owner

Hey @marsuboss,
Currently there is no thermostat implemented in my plugin but after the upcoming "Lights" update I will publish a new one with thermostat support so stay tuned.

~ SynTex

@SynTexDZN SynTexDZN added the enhancement New feature or request label Mar 23, 2023
@tillsteinbach
Copy link

hey, any news on this one?

@SynTexDZN
Copy link
Owner

Well, after completing the Light Update I already started to work on the Thermostat Service. The configuration is a bit tricky and I also have to update the README file, but if you already wan't to try the new update you can join the Discord and apply to the beta program.

~ SynTex

@SynTexDZN
Copy link
Owner

I also wrote a quick documentation about how to configurate the new thermostat service :
https://github.com/SynTexDZN/homebridge-syntex-knx/blob/main/documentation/thermostat.md

@tillsteinbach
Copy link

had a look into Discord, but it is quite empty over there.

@CarminKern
Copy link

Hello, I have some questions about the thermostat?

  • I only have heating without cooling, is it possible to adjust this? because the heating/cooling option is always displayed in the Apple Homekit, which I don't want!
  • The current temperature is displayed in 0.5°K increments, is it possible to display it in 0.1°K increments? This is due to the temperature offset of the target temperature of 0.5K

@SynTexDZN
Copy link
Owner

Hey @CarminKern, you can actually do that by adjusting your accessories config like this:

{
	"id": "knx1",
	"name": "Thermostat Accessory",
	"services": [
		{
			"datapoint": { ... },
			"address": { ... },
			"characteristics": {
				"mode": {
					"disable": true
				},
                                "target": {
					"properties": {
						"minStep": 1
					}
				}
			},
			"type": "thermostat",
			"name": "Thermostat Service"
		}
	]
}

To disable the mode switcher is the only way to make this possible at the moment. You could use the "minValue" and "maxValue" to enable only some modes but that could be buggy.

~ SynTex

@CarminKern
Copy link

CarminKern commented Apr 14, 2024

Hi @SynTexDZN Team,
thanks for your quick reply.

I tried the characteristics as described, but I couldn't notice any change.

  "id" : "haus_erdgeschoss_flur_thermostat",
  "name" : "Thermostat Flur",
  "services" : [
    {
      "address" : {
        "control" : {
          "offset" : "2/1/14"
        },
        "status" : {
          "offset" : "2/1/14",
          "target" : "2/1/12",
          "value" : "2/1/11"
        }
      },
      "characteristics" : {
        "mode" : {
          "disable" : true
        },
        "target" : {
          "properties" : {
            "minStep" : 1
          }
        }
      },
      "datapoint" : {
        "offset" : "6.010",
        "target" : "9.001",
        "value" : "9.001"
      },
      "type" : "thermostat"
    }
  ]
} 

I actually want a thermostat that doesn't show a mode selection in the Homekit.
image

What's also annoying is that when a thermostat is added to the respective room, a blank humidity display suddenly appears
image

What really bothers me, however, is that the temperatures are rounded. Instead of 19.7°C, 19.5°C is displayed here. By the way, this not only applies to “thermostat” but also “temperature”
image

Here is the screenshot with the current correct values.
image

@SynTexDZN
Copy link
Owner

Hey @CarminKern,
I forgot something important to mention. The characteristics are applied when the accessory is created. You should update the plugin to the newest beta and clear the cache of the accessories. After that it should work.

~ SynTex

@CarminKern
Copy link

CarminKern commented Apr 15, 2024

Hello, I did exactly that, I installed the latest beta and deleted the individual device from the cache. The device has disappeared from the “Flur” group and reappeared in the Homebridge group. however, the behavior remains unchanged. Temperatures are still displayed in 0.5°C increments and the heating/cooling option is still displayed in Homekit. The latest beta has been installed the whole time otherwise thermostats wouldn't work at all.

image

By the way, thank you very much for the great support

@CarminKern
Copy link

CarminKern commented Sep 29, 2024

Any updates here?

I tried the "characteristics" again with the current beta, it still doesn't work.
There's one thing I don't understand: the value is correct in the Homebridge protocol, but not in the HomeApp; there the value is always rounded up or down to 0.5.

[SynTexKNX] [UPDATE] HomeKit Status von [Thermostat Küche] geändert zu [value: 22.2, target: 21, state: 0, mode: 1] ( haus_erdgeschoss_kueche_thermostat )
The temperature in HomeApp displayed here is not 22.2°C but only 22.0°C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants