{"action":"created","issue":{"url":"https://api.github.com/repos/Koenkk/zigbee2mqtt/issues/497","repository_url":"https://api.github.com/repos/Koenkk/zigbee2mqtt","labels_url":"https://api.github.com/repos/Koenkk/zigbee2mqtt/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/Koenkk/zigbee2mqtt/issues/497/comments","events_url":"https://api.github.com/repos/Koenkk/zigbee2mqtt/issues/497/events","html_url":"https://github.com/Koenkk/zigbee2mqtt/issues/497","id":371547437,"node_id":"MDU6SXNzdWUzNzE1NDc0Mzc=","number":497,"title":"Need guidance to add support for Stelpro products","user":{"login":"carldebilly","id":4174207,"node_id":"MDQ6VXNlcjQxNzQyMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/4174207?v=4","gravatar_id":"","url":"https://api.github.com/users/carldebilly","html_url":"https://github.com/carldebilly","followers_url":"https://api.github.com/users/carldebilly/followers","following_url":"https://api.github.com/users/carldebilly/following{/other_user}","gists_url":"https://api.github.com/users/carldebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/carldebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carldebilly/subscriptions","organizations_url":"https://api.github.com/users/carldebilly/orgs","repos_url":"https://api.github.com/users/carldebilly/repos","events_url":"https://api.github.com/users/carldebilly/events{/privacy}","received_events_url":"https://api.github.com/users/carldebilly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-18T14:04:42Z","updated_at":"2018-12-30T17:52:05Z","closed_at":null,"author_association":"NONE","body":"## Context\r\nI'm currently in the process to switch to Home Assistant and I'm using _zigbee2mqtt_ for my zigbee devices. I'm in Canada and here a lot of thermostats are _Line Voltate Thermostats_, meaning the power current is flowing in the thermostat itself. It seems there's only one company in the world building _Smart Home compatible_ thermostats like this:  [Stelpro](https://www.stelpro.com/en-CA/smart-home). I have many of them in my home. Some of them are zigbee other are z-wave... but let's talk about the zigbee models here.\r\n\r\n## Outdoor temperature\r\nThey integrates pretty well as _Heating Thermostat_ and _Temperature Sensor_ in the zigbee network. But they also have a very nice feature: **they are able to display the outdoor temperature** and I want my new setup to support this.\r\n\r\nTo acheive that, they implemented a custom zigbee MFG cluster to _push_ the outdoor temperature to the device. We can see they published the [implementation of this for SmartThings](https://github.com/stelpro/Ki-ZigBee-Thermostat/blob/master/devicetypes/stelpro/stelpro-ki-zigbee-thermostat.src/stelpro-ki-zigbee-thermostat.groovy#L334).\r\n\r\n## Implementation into Zigbee2Mqtt\r\nNow, I need guidance to add this support into Zigbee2Mqtt. I think the best way would be to add a new [`toZigbee` converter](https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/converters/toZigbee.js) to set the outdoor temperature and listen to a MQTT topic for the temperature to push.\r\n\r\nWhere I'm not sure is how to setup the MQTT topic listening and where to define it. Should I _hard code_ a topic for this? Is it better to have one topic per device and have something elsewhere to \"push\" the outdoor temperature to each of the thermostats on the network, separately instead of a shared topic?\r\n\r\nThanks for your help."},"comment":{"url":"https://api.github.com/repos/Koenkk/zigbee2mqtt/issues/comments/450576338","html_url":"https://github.com/Koenkk/zigbee2mqtt/issues/497#issuecomment-450576338","issue_url":"https://api.github.com/repos/Koenkk/zigbee2mqtt/issues/497","id":450576338,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDU3NjMzOA==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-12-30T17:52:05Z","updated_at":"2018-12-30T17:52:05Z","author_association":"NONE","body":"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.\n"}}
{"actor":{"display_login":"stale"}}