-
Notifications
You must be signed in to change notification settings - Fork 502
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
eCozy Thermostat and more #3087
Conversation
Quick hack to open/close _Window Covering_ devices from groups.
Lose sanity check on state.ct, see #3018.
Add schedule commands to _Thermostat_ cluster, see #2392.
This reverts commit 6334c33.
This reverts commit b8c76f8.
Fix hang (due to infinite loop) when processing schedule with more than one transition, see #2393.
Fix latent bug in websocket notification. Only appeared when exposing `RConfigColorCapabilities` resource item.
- `lastseen` in minute resolution, see #2590.
- eCozy uses _Temperature Setpoint Hold_ attribute to disable/enable the on-device schedule (`config.scheduleron`), see #2393. - Simplify handling of `config.scheduler`; - Issue events for `config.scheduler`.
- Attribute reporting for eCozy thermostat, see #2393.
- Add `state.valve` for eCozy thermostat, see #2393
- Add `state.valve` for eCozy thermostat, see #2393
- Additional _Thermostat_ cluster attributes. The eCozy actually keeps track who changes the setpoint and when, see #2393.
Layout
Link _Get Weekly Schedule Response_ to _Get Weekly Schedule_ command, see #2393.
Allow 0 schedules in _Set Weekly Schedule_ and _Get Weekly Schedule Response_, see #2393. Setting 0 schedules will clear the schedules for these weekdays.
Add `state.lastset` and `state.utc` for `ZHATime` sensor, see #2393.
Add `state.lastset` and `state.utc` for `ZHATime` sensor, see #2393.
Add support for `ZHATime` sensor, see #2393.
Add support for `ZHATime` sensor, see #2393.
Add support for `ZHATime` sensor, see #2393.
Add support for `ZHATime` sensor, see #2393.
Add support for `ZHATime` sensor and syncing on-device real-time clock with system clock, see #2393.
Add additional attributes for eCozy Thermostat, see #2393.
Support for eCozy thermostat, see #2393.
Additional support for eCozy thermostat, see #2393.
Additional attributes for eCozy thermostat, see #2393.
Additional attributes for eCozy thermostat, see #2393.
Additional attributes for eCozy thermostat, see #2393.
Additional attributes for eCozy thermostat, see #2393.
Additional support for eCozy thermostat, see #2393.
Fix indendation.
Fix debug message.
Hm, I was still working on this one. Edited the list. |
@ebaauw The Bitron Thermostat 902010/32 does not have attribute 0x0023 and the I am using HomeKit to turn off and on the Bitron Thermostat scheduler. In HomeKit the thermostat status on or off was mapped to the scheduler being enabled or disabled. That is a very useful feature for me, for example when leaving for holidays in the winter time. Is it possible to revert the that change and bring back the mapping in HomeKit between scheduler and thermostat status? Or at least to make it configurable how the thermostat scheduler is mapped into HomeKit? |
Does the Bitron support on-device schedules? Using the Zigbee standard or some proprietary method? I only mapped I think there’s something wrong in the way Homebridge Hue currently uses the Thermostat mode. In HomeKit, you can set the target mode to Off, Heat, Cool, or Auto, indicating whether the thermostat should automatically heat, cool, or both. The current mode is Off, Heat, or Cool, indicating whether the thermostat is currently heating or cooling. This has nothing to do with whether the schedule is enabled. It also has nothing to do whether the Spirit is in automatic mode (where it sets the valve position based on the heatsetpoint) or in manual mode (where you set the value position manually). Eve shows a separate on/off switch for the schedule, I want to see if I can map that to |
Yes, using Zigbee standerd. I did add support in PR #1003 for Thermostat cluster (including get/set schedule) and Bitron Thermostat 902010/32.
Makes me happy again.
That is true. I don't use Eve very often and was not aware about the option Enabled in the thermostat. Anyway, I am also happy to use Eve to enable and disable the scheduler. |
Ah, cool. Did you see in #2393 that |
Another question, @ma-ca: how does the Bitron handle the timing of the schedule? Does it have an on-device clock? How do you keep that sync'ed? |
The Bitron has a Time cluster that syncs the attributes for UTC time, time zone, dst start, dst end and dst shift. |
Reporting is enabled and configured every 5 minutes for attribute 0x0000. Polling is already configured every 15 minutes for attributes 0x0012, 0x0025 and 0x0029. |
Is that a client (grey) Time cluster, or a server (blue) one? Does it find the Time cluster on the coordinator and sync itself automatically? Or did you set something up? EDIT found the technical manual at https://images-eu.ssl-images-amazon.com/images/I/91ZbuTU-duS.pdf. It's a server Time cluster that indeed syncs automatically with the gateway server Time cluster. Bummer that the eCozy doesn't do that. Or was I too impatient?
|
A Time server cluster that syncs automatically to the coordinator. I did implement #774 especially for the Bitron. |
The Bitron also supports 0x0030, 0x0031, and 0x0032, so it could also expose |
The Bitron attribute 0x0032 value is the correct UTC time (right after changing heat setpoint the 0x0032 attribute value is close to Time cluster 0x000A attribute 0x0000 value with UTC time) |
Changes:
ZHATime
/sensors
resource;config.scheduler
toconfig.schedule
, and refactored the logic to expose the on-device schedule as JSON instead of as a string. The code no longer clears the schedule when refreshing it; newly received Get Weekly Schedule Response messages are merged with the cached schedule. It now also handles multiple days in the response correctly.state.valve
;config.scheduleron
toconfig.schedule_on
and expose Temperature Setpoint Hold (0x0023) asconfig.schedule_on
;config.lastchange.source
. The values can be "manual" (using the on-device keys), "schedule", or "zigbee";config.lastchange.amount
;config.lastchange.time
(in UTC);state
andconfig
attributes are either reported or polled. The on-device schedule is also polled, but I think there's still an issue that some days might be missed on larger, more busy networks.lastseen
with a resolution of minutes, and issue at most one web socket notification per minute per device forlastseen
, see Proposal: deprecatereachable
attributes #2590.action.open
for/groups
to send Window Covering commands Open and Close to a group (to mitigate routing issues to thelumi.curtain
. No check that the group actually contains Window Covering devices;state.ct
is exposed when doing a PUT of a/lights
state
withct
in the body, see Deconz reporting CT parameter as invalid #3018.colorcapabilities
on the/lights
resource. For now, just the (decimal) value of the bitmap, see API doesn't update colour for Hue Bloom #3079;swversion
in Hue emulation mode;