Giter Club home page Giter Club logo

Comments (11)

biker91620 avatar biker91620 commented on July 16, 2024

Can you update cozypy library.
It should be fixed :)

from ha-cozytouch.

thundergreen avatar thundergreen commented on July 16, 2024

Hey mate.. unfortunately this issue / error persists . I just tried to increase the temperature. Another thing: I get a fan mode which is obsolete for the heater. Is it somehow possible to "remove" unneeded options for the climate component?

I installed version 1.1.1 cozypy .

from ha-cozytouch.

thundergreen avatar thundergreen commented on July 16, 2024

@biker91620 Sorry to bother but the component is still not working. Are you still on it?

from ha-cozytouch.

Oniric75 avatar Oniric75 commented on July 16, 2024

HEllo,
i upgrade ha to the lastest upgrade yesterday, got issues with multiple plugin but managed to repair most of them expect for cozytouch (that i like a lot for my radiator!)

i have the exact same issue: first cozypi was missing, i upgrade ha-cozytouch plugin manually then added cozypi into the container. it repaired part of the issue : it start now but this morning i notice the error
2019-11-29 08:04:53 INFO (SyncWorker_3) [custom_components.cozytouch.climate] Update thermostat Chambre Ami Radiateur 2019-11-29 08:04:53 INFO (SyncWorker_4) [custom_components.cozytouch.switch] Update switch Chambre Gabrielle Radiateur 2019-11-29 08:04:53 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.chambre_ami_radiateur fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 270, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 450, in async_device_update await self.hass.async_add_executor_job(self.update) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/cozytouch/climate.py", line 201, in update self.heater.update() File "/usr/local/lib/python3.7/site-packages/cozypy/objects.py", line 391, in update sensor.update() File "/usr/local/lib/python3.7/site-packages/cozypy/objects.py", line 390, in update for sensor in self.sensors: TypeError: 'NoneType' object is not iterable
but it seems that the presence detector inside the radiator are still ok, only the climate seems to fail.

thanks for your great jobs ! are you thinking of pushing your addon to hacs one day ? would be great to not have to make upgrade manually anymore !

from ha-cozytouch.

Oniric75 avatar Oniric75 commented on July 16, 2024

btw if I can help to test, just ask for it :)

i tried to make cozypy work on standalone with your examples files and it works
the issue seems to be somewhere else, but no clue how to find it. it seems to be through hass update calls ...

to make the examples works i had to change the example a little bite:

clientId = os.environ['COZYTOUCH_CLIENT_ID']
clientPassword = os.environ['COZYTOUCH_CLIENT_PASSWORD']

by

clientId = 'COZYTOUCH_CLIENT_ID'
clientPassword = 'COZYTOUCH_CLIENT_PASSWORD'

from ha-cozytouch.

Oniric75 avatar Oniric75 commented on July 16, 2024

@biker91620 @thundergreen
i don't know if you received it too but apparently there will be a major update of the cozytouch... let's hope it wont break the api.
@thundergreen do you still have the issue too ? or did you find a fix ? i'm kinda stuck, i will try this weekend to set HA in debug mode and attach visual code to the cozytouch plugin and hope i will have a lead.
if by any chance i found out something i will of course keep you inform

from ha-cozytouch.

thundergreen avatar thundergreen commented on July 16, 2024

@Oniric75 unfortunately I did not find a fix yet. It just is broke. maybe @biker91620 could give a statement? And yessss there will be a major update.. got the email today. We hope the best. The only chance is to shutdown the cozytouch for the time the update is programmed :) But i will risk the update as this component is not a MUST HAVE but a nice gimick :)

from ha-cozytouch.

Oniric75 avatar Oniric75 commented on July 16, 2024

issue seems to have fixed itself ! or @biker91620 made a update i didnt see, i upgrade to 0.103.2 and re install cozytouch plugin and i got values again !

from ha-cozytouch.

Oniric75 avatar Oniric75 commented on July 16, 2024

and ... it came back ... that's so weird ... i will try to find some time to set hass in debug mode to understand what is happening. @biker91620 some help would be so much appreciate ! if you have a tipee or something like that i would be happy to participate to it

from ha-cozytouch.

Oniric75 avatar Oniric75 commented on July 16, 2024

this patch fix the issue: https://github.com/biker91620/cozypy/pull/4
@biker91620 could you merge this pull request on cozypy ?

from ha-cozytouch.

Oniric75 avatar Oniric75 commented on July 16, 2024

@thundergreen patch this above request into your local repo and everything work find again :)

from ha-cozytouch.

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.