-
Notifications
You must be signed in to change notification settings - Fork 171
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
base: master
Are you sure you want to change the base?
Conversation
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) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 ...
There was a problem hiding this comment.
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. Ruhemodus
oder Leerlauf
ist 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
Device status information of an air conditioning or heating/cooling device. Heating, cooling and idling are possible options.
ioBroker/ioBroker.matter#394