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

Update stateroles.md / airconditioner #579

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ticaki
Copy link

@ticaki ticaki commented Feb 22, 2025

Device status information of an air conditioning or heating/cooling device. Heating, cooling and idling are possible options.

ioBroker/ioBroker.matter#394

Device status information
@@ -225,7 +225,8 @@ Switch controls a boolean device (`true = ON, false = OFF`)
* `level.mode.fan` - `AUTO, HIGH, LOW, MEDIUM, QUIET, TURBO`
* `level.mode.swing` - `AUTO, HORIZONTAL, STATIONARY, VERTICAL`
* `level.mode.airconditioner` - air conditioner: `AUTO, COOL, DRY, ECO, FAN_ONLY, HEAT, OFF`, heating thermostat: `AUTO, MANUAL, VACATION`,
* `level.mode.thermostat` - thermostat: `AUTO, MANUAL, VACATION`,
* `level.mode.thermostat` - thermostat: `AUTO, MANUAL, VACATION`,
* `value.mode.airconditioner` - current device state: `IDLE`, `HEAT, `COOL` (0,1,2 in apple home)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but values schould be listed with value and not level or? Additionally where you see any value states?

Copy link
Collaborator

@Apollon77 Apollon77 Feb 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also not see where IDLE is a supported value anywhwere?

In fact the reality currently is defined by https://github.com/ioBroker/ioBroker.type-detector/blob/4386aa12352fef2920259728fc0ee3249bfe2455/src/TypePatterns.ts#L1438 ... And I would also not go with IDLE ... thats OFF basically ...

Copy link
Author

@ticaki ticaki Feb 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich hab value ergänzt, das level hat er mit übernommen ist aber schon vorher da.

Nehmen wir mal eine normale Heizung - diese kann auf heizen und aus stehen. Wenn die nun auf heizen steht. Macht sie das ja nicht durchgehen sondern nur wenn die Temperatur unterhalb eines bestimmten Wertes ist. Sie ist aber auch nicht aus, das wäre hier missverständliche. Ruhemodusoder Leerlaufist hier passend. Nun nehmen wir eine Anlange die heizen und kühlen kann. Damit kann ich darstellen, ob die Anlage aktuell kühlt oder heizt oder keines von beiden macht.

Wie schon bei Matter angemerkt, wird das aktuell so von Apple bei Homekit kompatiblen Geräten unterstützt. Im Yahka gibts dazu die entsprechenden Felder.

Was spricht dagegen eine solche role aufzunehmen?

Oh wie ich gerade sehe gehört da inactive noch dazu.

das wären dann inactive, idle, heating, cooling

https://developer.apple.com/documentation/homekit/hmcharacteristicvaluecurrentheatercoolerstate

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

Successfully merging this pull request may close these issues.

2 participants