fmtr / hct

A Tasmota Berry Script library to greatly simplify the process of exposing Home Assistant controls (e.g. Pull-down Lists, Number Sliders, Sensors, etc.) from a Tasmota device - and handling the communication between both sides.
Apache License 2.0
10 stars 2 forks source link

Example for climate entities #2

Open soyxan opened 1 year ago

soyxan commented 1 year ago

Hi,

I already integrated the internal Tasmota theremostat in HA with a custom berry script and mqtt climate in yaml (no so clean). And now I have found this library.

Could you give me an example on how to use it for climate entities in order to adapt my integration?

Thanks!

ejohb commented 1 year ago

You'll probably want to see the dehumidifier example in the examples directory.

I should probably note that I'm currently in the middle of replacing this library with haco (lets you do the same thing but using Python, via a Home Assistant addon) - but since its first release was today, be warned that it's very immature at the moment.

soyxan commented 1 year ago

Thank I will have a look to the examples. As I am now in the position to "learn" how to use this hct library, do you think is better to start with haco? Do you plan to stop the development of hct and move to haco?

ejohb commented 1 year ago

Thank I will have a look to the examples. As I am now in the position to "learn" how to use this hct library, do you think is better to start with haco? Do you plan to stop the development of hct and move to haco?

Yeah I plan to set this project to read-only in the next couple of days.

If I were you I'd start with haco, but perhaps leave it a week or so until it's somewhat stable and some documentation exists. But if you want an idea of how do implement a climate control, have a look at the test development config.

soyxan commented 1 year ago

Just for my understanding. With haco, there is no need to code in berry? Just in python? Where is this python executed? In AppDaemon or something similar? Can you give more details, I am very interested :)

ejohb commented 1 year ago

Just for my understanding. With haco, there is no need to code in berry? Just in python? Where is this python executed? In AppDaemon or something similar? Can you give more details, I am very interested :)

Doc now up :) https://github.com/fmtr/haco/blob/release/README.md

rlust commented 5 months ago

Is this code still being developed? Have an error and wanted to see if support is available.

ejohb commented 5 months ago

Formally no. If it's a serious bug I won't fix it, but if it's a config issue I might be able to help. But please post a new issue either way.