Comments (10)
I am testing and for me this bug is fixed
from hon.
Hello, I tested this new beta version and solves this bug. Thank you very much
from hon.
Hi, i like this integration but have same problema...any command return connection Lost. Can you help me? Thanks
from hon.
Today I see this error in log. I don't know if it's the same bug....
Detalls del registre (ERROR)
Aquest error té origen en una integració personalitzada.
Logger: custom_components.hon.hon
Source: custom_components/hon/hon.py:92
Integration: Haier hOn (documentation, issues)
First occurred: 04:28:07 (1 occurrences)
Last logged: 04:28:07
Unexpected error fetching xx-xx-xx-xx-xx-data: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hon/hon.py", line 92, in _async_update_data
await self._device.update()
File "/usr/local/lib/python3.11/site-packages/pyhon/appliance.py", line 198, in update
await self.load_attributes()
File "/usr/local/lib/python3.11/site-packages/pyhon/appliance.py", line 174, in load_attributes
for name, values in attributes.pop("shadow", {}).get("parameters", {}).items():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
from hon.
Hi, I have an idea what could be the problem here, maybe the empty operationName
of the parameters gets synced to the settings command and causes probably the issue. Can you provide your Data Archive zip? Than it's much more easy for me to test 🙂
from hon.
This is the zip. Thank you!
ac_397.zip
from hon.
Hi, I have the same problem.
If I try to change some attributes, at 80% times receive "connection lost"
I solve selecting a value from program menu and than I can choice for example "fan velocity" or can use other switch succesfully
For example, this is the last log...I used "screen display" switch and turn to OFF
2023-07-19 18:22:50.775 ERROR (MainThread) [pyhon.connection.api] https://api-iot.he.services/commands/v1/send - Payload: {'ancillaryParameters': {}, 'applianceOptions': {}, 'applianceType': 'AC', 'attributes': {'channel': 'mobileApp', 'energyLabel': '0', 'origin': 'standardProgram'}, 'commandName': 'settings', 'device': {'appVersion': '2.1.2', 'deviceModel': 'exynos9820', 'mobileId': 'xxxx', 'mobileOs': 'android', 'osVersion': 31}, 'macAddress': 'xxxx', 'parameters': {'10degreeHeatingStatus': '0', 'ch2oCleaningStatus': '0', 'cleaningTimeStatus': '0', 'echoStatus': '0', 'electricHeatingStatus': '0', 'energySavePeriod': '15', 'energySavingStatus': '0', 'filterChangeStatusCloud': '0', 'freshAirStatus': '0', 'halfDegreeSettingStatus': '0', 'healthMode': '0', 'heatAccumulationStatus': '0', 'humanSensingStatus': '0', 'humidificationStatus': '0', 'humiditySel': '30', 'intelligenceStatus': '0', 'lightStatus': '0', 'lockStatus': '0', 'machMode': '6', 'muteStatus': '0', 'onOffStatus': '1', 'operationName': '', 'pm2p5CleaningStatus': '0', 'pmvStatus': '0', 'rapidMode': '0', 'screenDisplayStatus': '1', 'selfCleaning56Status': '0', 'selfCleaningStatus': '0', 'silentSleepStatus': '0', 'specialMode': '0', 'tempSel': '22', 'tempUnit': '0', 'voiceSignStatus': '0', 'voiceStatus': '0', 'windDirectionHorizontal': '0', 'windDirectionVertical': '5', 'windSensingStatus': '0', 'windSpeed': '2'}, 'timestamp': '2023-07-19T16:22:50.594Z', 'transactionId': 'c4-dd-57-51-7a-38_2023-07-19T16:22:50.594Z'}
you can see that I have operationName
empty
from hon.
Thanks, please try v0.9.1-beta.1
from hon.
It seems to be all resolved. I'll try again tomorrow and let you know. Thank you very much for your work
from hon.
Thanks @developerGM 🙂
from hon.
Related Issues (20)
- Some sensors not receive the correct values from certains AC machines
- Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble HOT 2
- Setup not working with 0.9.1 and HA 7.3 HOT 8
- Possible conflict with plugin and mobile app - door lock error starting program HOT 1
- HWD80-B14979U1 HOT 1
- Error when adding account HOT 7
- Hoower hwash 550 energy consumption HOT 1
- AC 4U85S2SR3FA with AS25PBAHRA - missing features HOT 2
- AS20HPL1HRA and hOn app HOT 2
- Unable to install package pyhOn==0.14.11: ERROR: Cannot install pyhon==0.14.11 because these package versions have conflicting dependencies. HOT 1
- Lots of errors "Rule not supported" for my WashingMachine (HW90G-BD14979UDF) HOT 1
- Washing machine and Tumble Dryer switches unavailable as of this morning. HOT 1
- Spin 1600rpm not displayed for my Hoover Wash500 HOT 1
- Add Candy appliance: washing machine RO 1486DWMCT/1-S HOT 1
- Refrigerator HFW7819EWMP compatibility HOT 1
- It doesn't work as well as before HOT 15
- Set fan swing HOT 3
- Cannot run 0.9.0 HOT 18
- Setup failed for custom integration hon: Requirements for hon not found: ['pyhOn==0.14.11']. 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 hon.