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

Expose more information for the centralite pearl thermostat. #2995

Closed
apmon opened this issue Jun 29, 2020 · 9 comments
Closed

Expose more information for the centralite pearl thermostat. #2995

apmon opened this issue Jun 29, 2020 · 9 comments

Comments

@apmon
Copy link

apmon commented Jun 29, 2020

I was able to successfully add a Centralite 3157100 to my conbee I stick with 2.05.78 and do see the thermostat temperature sensor in the API and home assistant. Thanks for getting this working in #2630 However currently it seems to only expose the current temperature and not any of the other information such as temperature set point, fan setting, cooling/heating mode. If the AC/heater is actually currently running. It also doesn't appear to be settable through the API, or at least it doesn't appear in the lights section of the API. The thermostat control in home assistant therefore also doesn't appear to be able to set the thermostat. I was able to set the temperature set point directly in deconz gui and read the information from the respective zigbee clusters. Is it easy to expose these other information through the API as well? I would like to write some automations to control the A/C through a temperature sensor in a different room instead of the room the thermostat is currently physically located.

@SwoopX
Copy link
Collaborator

SwoopX commented Jun 29, 2020

The API does seem to only expose a rather limited set of attribtues in its current state. Not sure how extensive the changes might become without digging deeper into the code.

Regardless, can you please read the attributes of the pertaining clusters and chare a screenshot here?

@Smanar
Copy link
Collaborator

Smanar commented Jun 29, 2020

For information, I m working too on thermostat, and have adding some more information, and command for API, the "mode" for exemple (attribute 001C)
The code is soon finished.

for exemple Smanar@394d44b#diff-97253d482e643c24fce6275e9992ceee

Nothing realy usefull for you, but your code can provoke "code conflicts"

On my side I m too on 2 device communicating (not the same working mode than you), 1 wired thermostat and 1 remote, and the output cluster is not the thermostat one but the temperature measurement.

@Smanar
Copy link
Collaborator

Smanar commented Jun 29, 2020

Devices I m ATM
#2979 the remote
#2978 the wired device

@apmon
Copy link
Author

apmon commented Jun 30, 2020

Thanks for looking into this!

Screen Shot 2020-06-29 at 1 56 51 PM

Screen Shot 2020-06-29 at 2 01 10 PM

Screen Shot 2020-06-29 at 2 01 45 PM

Screen Shot 2020-06-29 at 2 02 18 PM

Of those attributes, it seems "Occupied Cooling Setpoint 0x0011" "Occupied Heating Setpoint 0x0012" and "Fan mode 0x0000" would be most useful to me. Even more so if they are settable/writable through the API.

I wonder if the "Thermostat running state 0x0029" provides the current state of the thermostat, i.e. A/C or heater actively running. If that is of use, I can see if that attribute changes as the thermostat does it's thing and how to interpret those likely flags.

@Smanar
Copy link
Collaborator

Smanar commented Jun 30, 2020

For your device It s perhaps not yet done but
0011 or 0012 are used it s the setpoint value (and it s working for other devices)
0029 is used too it's the "on" filed, but this one is read only.

ATM I have some problem with setpoint fonction, it seem the deconz core miss a field.

@Smanar
Copy link
Collaborator

Smanar commented Jun 30, 2020

 * option             | read/write | attribute | description
 * -------------------|------------|-----------|---------------------
 * state.on           | read only  | 0x0029    | running state on/off
 * state.temperature  | read only  | 0x0000    | measured temperature
 * config.heatsetpoint| read write | 0x0012    | heating setpoint
 * config.mode        | read write | 0x001C    | System mode
 * config.scheduleron | read write | 0x0025    | scheduler on/off
 * config.offset      | read write | 0x0010    | temperature offset
 * config.scheduler   | read write | (command) | scheduled setpoints

And fan mode 0x0000 is already in code, it's "state/speed"

Perhaps we just need to add your device in some whitelist.

@stale
Copy link

stale bot commented Jul 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 25, 2020
@SwoopX
Copy link
Collaborator

SwoopX commented Jul 25, 2020

Is that stull relevant? We've put quite some work in thermostats lately.

@stale stale bot removed the stale label Jul 25, 2020
@stale
Copy link

stale bot commented Aug 15, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 15, 2020
@stale stale bot closed this as completed Aug 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants