Comments (9)
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.
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:
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.
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.
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.
@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.
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.
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.
I got same issue, any fix for this yet ?
from panasonic_ac.
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)
- Heatpump not detected HOT 3
- Outside temperature HOT 6
- Help- i d'not see my Heatpump HOT 2
- Component is broken due to change by Panasonic HOT 2
- Climate Cloud not working HOT 4
- Make use of hvac_mode attribute when calling set_temperature service
- Merging new version of library?
- New app version releases - integration broken HOT 1
- manifest, version key HOT 1
- New API change breaking app HOT 1
- Not all ACs are listed HOT 1
- Integration starts but unclear heatpump visibility HOT 1
- Temparature range on some heatpumps is 8-15 and 16-30
- Error on device update
- Does not support Air to Water heat pumps
- Broken due to authentication error HOT 2
- All devices unavailable HOT 3
- Devices unavailable HOT 2
- Invalid response, status code: 401 - Data: {"code":"4106", "message": "New version app has been published"} HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panasonic_ac.