Giter Club home page Giter Club logo

Comments (16)

ScratMan avatar ScratMan commented on June 15, 2024 2

Hello, I'm sorry I didn't work on the thermostat for a while, arrival of baby #2 drastically reduced my free time. I hope to be able to make a new build before end of the year (as Christmas gift)

There is a need for a rework of the thermostat attributes because as is, every change in one of the attributes will trigger storing a new state in the database for the thermostat with all the attributes, even those that didn't change. It increases the size of the database and reduces the performance of HA. So I need to change the code to send the PID and debug attributes in some optional sensors that should be enabled or disabled by configuration script.

from hasmartthermostat.

bigbread59 avatar bigbread59 commented on June 15, 2024 1

Here you can find the climate.py file that is creating time_to_off and time_to_on as attributes. just overwrite the file that is in the directory /custom_components/smart_thermostat. I suggest anyway to make a copy of the original file in case of problems. climate.py.zip

Thanks, i'll try

from hasmartthermostat.

miki3421 avatar miki3421 commented on June 15, 2024

I've made this change on my own. Let me know if I can post here the updated version of the climate.py

from hasmartthermostat.

bigbread59 avatar bigbread59 commented on June 15, 2024

@miki3421
Great!!
I am very interested in this feature!

from hasmartthermostat.

miki3421 avatar miki3421 commented on June 15, 2024

Here you can find the climate.py file that is creating time_to_off and time_to_on as attributes.
just overwrite the file that is in the directory /custom_components/smart_thermostat.
I suggest anyway to make a copy of the original file in case of problems.
climate.py.zip

from hasmartthermostat.

miki3421 avatar miki3421 commented on June 15, 2024

Here you can find the climate.py file that is creating time_to_off and time_to_on as attributes. just overwrite the file that is in the directory /custom_components/smart_thermostat. I suggest anyway to make a copy of the original file in case of problems. climate.py.zip

Thanks, i'll try

Let me know if is working or not.

from hasmartthermostat.

bigbread59 avatar bigbread59 commented on June 15, 2024

@miki3421
@ScratMan

It works well.

It would be better to include this feature in the official version.

from hasmartthermostat.

dorinvlas avatar dorinvlas commented on June 15, 2024

Guys can you provide some screenshots with this implementation? It would be very interesting to see the actual visuals. Thanks

from hasmartthermostat.

miki3421 avatar miki3421 commented on June 15, 2024

from hasmartthermostat.

dorinvlas avatar dorinvlas commented on June 15, 2024

I don't see the images... only some tags like [image: image.png]. Thanks

from hasmartthermostat.

miki3421 avatar miki3421 commented on June 15, 2024

Screenshot 2022-11-08 at 08 55 29

image

from hasmartthermostat.

dorinvlas avatar dorinvlas commented on June 15, 2024

WOW niceee! Thanks.

Why you did not convert the seconds in the to minutes? :)

from hasmartthermostat.

miki3421 avatar miki3421 commented on June 15, 2024

You can do it. I don't need actually, once is set properly it works very well.

from hasmartthermostat.

dorinvlas avatar dorinvlas commented on June 15, 2024

from hasmartthermostat.

T81 avatar T81 commented on June 15, 2024

Screenshot 2022-11-08 at 08 55 29

image

Which card is the first one? It looks very informative

from hasmartthermostat.

mannebk79 avatar mannebk79 commented on June 15, 2024

There is a need for a rework of the thermostat attributes because as is, every change in one of the attributes will trigger storing a new state in the database for the thermostat with all the attributes, even those that didn't change. It increases the size of the database and reduces the performance of HA.

I already see that after one week with two smart thermostats... it really slows the system down, and i do not use the stock HA database but MariaDB for the reason the stock db is so slow if you start to pump in data like an own weather station and other trigger intensive stuff.

from hasmartthermostat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.