Repository navigation
Adding Sinope Thermostat TH11xxZB management of Occupancy specific attribute and Unoccupied heat set point - #6011
Conversation
Typo lines 208 and 244 (missing ;)
Suppress mfc as this attribute is generic.
|
I think it should be fine, but like to have more opinions on that before adding new resource items. We need to care to being more streamlined than in the past. |
SwoopX
left a comment
There was a problem hiding this comment.
Here're my thoughts around this. Besides that in my very personal opinion occupancy and unoccupied heatsetpoint is pointless, resource items should be strictly lower case only. I'm also a fan to keep them as generic as possible so they can potentially be reused on other devices/for other purposes as well, simply to restrict a rising zoo.
For local_occupancy, that could be just occupancy while also having the benefit match generic attribute 0x0002 of the thermostat cluster. Expressing that it is local does not seem relevant in my view.
On the other hand, the aforementioned attribute is read only as per spec, the one in the PR is allows also to write (config vs state having the question around exposing it twice for its own purpose). And of course does the proposed shortened name create a certain room for misunderstanding and misinterpretation (e.g. motion sensors)...
So I see removal of the underscore a must (for at least some consistency). We also should/must make other aware for their API clients?
|
The fact that you find it useless doesn't necessarily make it pointless. On the contrary, I think it's brilliant of the manufacturer to have provided this possibility. ;-)
So I can assign a different value of unoccupied setpoint for each room and just change the value of local_unoccupancy so that the thermostat takes automatically the heating value of unoccupiedsetpoint instead of having to change the heatsetpoint for each thermostat from my home automation system.
Programsmation and management of thermostats by script become simpler from my automation system.
As occupancy is readonly in Zigbee specification it seems that the manufacturer had to add another writable attribute.
That beeing said, if the only trouble is to change some attributes names to avoid confusion or to be compliant to some rules to have this PR accepted just tell me waht the name you prefer instead of local_occupancy (local refers to room).
Thanks
|
|
@SwoopX To be consistent with other config items (externalsensortemp and externalwindowsopen), what would you think about externaloccupancy or externalsensoroccupancy ? |
|
I schedule this for the next beta after stable, so we need to work out a opinion and naming for these items :) |
|
Also, sometimes DDF file for Sinope are not loaded because of legacy code is overwriting the real value reported by the manufacturer name attribute. Then we have to force reading of basic cluster as @SwoopX described it in support forum |
|
For me, we can remove this part in code
|
|
Do we have any new considerations for the local_occupancy / occupancy naming? One note to the item description |
|
I totaly agree that the binding/location in cluster that are device/manufacturer specific are to be preferably located in devices DDF. But, as I remember, that does not make it writable until you bind it to a already existing writable item. At time we discussed it with @Smanar there wasn’t such an existing config item with a name and a corresponding data type.
Le 28 août 2022 à 07:40, Manuel Pietschmann ***@***.***> a écrit :
Do we have any new considerations for the local_occupancy / occupancy naming?
I have to admit the thermostat topic is still a bit of a black box for me with all the variations floating around.
One note to the item description generic/items/config_local_occupancy_item.json: I think as a generic item which can be device specific the read, write and parse functions should be specified in the device DDF. For example here the 0x0400 attribute appears to be vendor specific.
—
Reply to this email directly, view it on GitHub<#6011 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUKZIKIJJ3AFMJHI4N6TQVLV3NF2FANCNFSM5U75TFDQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I m not sure to understand, there is something missing ? You mean to use it in the device DDF and not the generic folder ? |
|
Related thermostat items streamline issue: dresden-elektronik/deconz-rest-plugin-v2#13 |
Seems we skipped some milestones ... Chance to have it in next one ? |
And re-user resetpresence instead
No more use of this
Removing local_occupancy
Removing local_occupancy
Removing local_occupancy
BabaIsYou
left a comment
There was a problem hiding this comment.
Removing the local_occupancy item that seemed to generate dscussions and reused reset presence instead.
Adding management via REST-API of specific Occupancy Sinope state attribut and Unoccupied heat set point.
Taht way thermostat can switch automatically to unoccupied heating set point or occupied heating set point depending on the value of Occupancy.