GithubHelp home page GithubHelp logo

Comments (9)

djbulsink avatar djbulsink commented on August 27, 2024

Hi @simonunzio,

I don't have a heat pump myself, so I can't reproduce the error. The setting for the air swing left-right is not know by the integration, according to the logs. I like to add the setting, but I dont know what the description should be. Can you tell me what is shown in the comfort app for "Air swing".

Cheers DJBulsink

from panasonic_ac.

arnefm avatar arnefm commented on August 27, 2024

I have a heat pump too, which supports the air swing setting both horizontally and vertically. It's been working flawlessly with your integration! Thanks for your hard work.
Here is a screenshot of how the air swing setting looks inside the Comfort Cloud app:

comfort_cloud

This probably isn't very helpful, so here is some data from pcomfortcloud:

$ pcomfortcloud -s true [email protected] myPassword list
list of devices and its device id (1-x)
device #1
    id             : XXXXXXXXXXXXXXXXXXXXXXXXXX
    name           : Air conditioner
    group          : arnefm's heatpump
    model          : CS-HZ25UKE
$ pcomfortcloud -s true [email protected] myPassword get 1                                
reading from device 'Air conditioner' (XXXXXXXXXXXXXXXXXXXXXXXXXXXX)
id                       : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
parameters
    temperatureInside    : 20
    temperatureOutside   : 3
    power                : On
    temperature          : 20.0
    mode                 : Heat
    fanSpeed             : Auto
    airSwingHorizontal   : Mid
    airSwingVertical     : Up
    eco                  : Auto
pcomfortcloud -s true [email protected] myPassword dump 1                                         
deviceGuid               : CS-HZ25UKE+4939713442
timestamp                : 1581787900915
summerHouse              : 2
iAutoX                   : False
nanoe                    : True
autoMode                 : True
heatMode                 : True
fanMode                  : True
dryMode                  : True
coolMode                 : True
ecoNavi                  : False
powerfulMode             : True
permission               : 3
quietMode                : True
airSwingLR               : True
ecoFunction              : 0
temperatureUnit          : 0
modeAvlList
    autoMode             : 1
    fanMode              : 1
parameters
    devGuid              : CS-HZ25UKE+4939713442
    eventTime            : None
    online               : True
    operate              : 1
    operationMode        : 3
    temperatureSet       : 20.0
    fanSpeed             : 0
    fanAutoMode          : 1
    airSwingLR           : 2
    airSwingUD           : 0
    airDirection         : 0
    ecoMode              : 0
    ecoNavi              : 0
    nanoe                : 2
    iAuto                : 0
    defrosting           : -255
    errorCode            : KgAACwEBSDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
    errorCodeStr         : H00
    insideTemperature    : 20
    outTemperature       : 2
    devRacCommunicateStatus: -255
    errorStatus          : -255
    errorStatusFlg       : False
    actualNanoe          : 2
    airQuality           : 0
    ecoFunctionData      : 0
    updateTime           : None
autoTempMax              : -1
dryTempMax               : -1
heatTempMax              : -1
coolTempMax              : -1
autoTempMin              : -1
dryTempMin               : -1
heatTempMin              : -1
coolTempMin              : -1
fanSpeedMode             : -1
fanDirectionMode         : -1

Please tell me if you need more information - I could for instance do a "pcomfortcloud get 1" for each swing setting both horizontally and vertically if that would be helpful.

from panasonic_ac.

djbulsink avatar djbulsink commented on August 27, 2024

Hi @simonunzio @arnefm ,

I've created a quick fix for this problem. Can you test it. By using this file in the custom component: https://github.com/djbulsink/panasonic_ac/blob/fix/heat-pump/custom_components/panasonic_ac/climate.py .

In the future I hope to implement the horizontal airswing. Not sure how to do this because of the limit methods home assistant support for climate devices: https://developers.home-assistant.io/docs/entity_climate/#set-swing-mode

DJ.

from panasonic_ac.

nimikko avatar nimikko commented on August 27, 2024

Not sure if this help but there is similar discussion going on another climate device.

https://github.com/home-assistant/core/labels/integration%3A%20melcloud

from panasonic_ac.

djbulsink avatar djbulsink commented on August 27, 2024

@joha-git Thanks for the hint. I implemented it now the same way. I don't have a device that's swings horizontal, so I'm not able to test it.

I still don't know what causes the 'ValueError: 5 is not a valid AirSwingLR' is some cases. Probably the class AirSwingLR is not complete.

from panasonic_ac.

nimikko avatar nimikko commented on August 27, 2024

Well i got the same problems when i tried to test the horizontal swing. My guess at the moment is that the AirSwingLR is not correct as for example when i turn the swing to left it says right on home assistant and I get the ValueError: 5 when it is either on the most right position or the second most right position, but i do try to debug it more later.

from panasonic_ac.

nimikko avatar nimikko commented on August 27, 2024

I went trough all the horizontal swing settings and commented on the pcomfort cloud. As for me there was some differences on the comfort cloud and AirSwingLR class. On my unit I got these results.

class AirSwingLR(Enum):
Auto = -1
Left = 1
LeftMid = 5
Mid = 2
RightMid = 4
Right = 0

from panasonic_ac.

com-xuonghuynh avatar com-xuonghuynh commented on August 27, 2024

I got same issue, any fix for this yet ?

from panasonic_ac.

shyne99 avatar shyne99 commented on August 27, 2024

I think that this issue comes from the underlying python package that this integration is relying on.

Haven't tested it but there is a ongoing pull request pending : lostfields/python-panasonic-comfort-cloud#24

from panasonic_ac.

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.