Fails to setup new device #31
Closed
opened 2023-04-22 17:13:18 +02:00 by folieamatt
·
14 comments
No Branch/Tag Specified
main
v0.9
v0.8
v0.7
v0.11.0
v0.11.0-beta.1
v0.10.1
v0.10.1-beta.1
v0.10.0
v0.10.0-beta.1
v0.9.2-beta.1
v0.9.1
v0.9.1-beta.1
v0.9.0
v0.9.0-beta.10
v0.9.0-beta.9
v0.9.0-beta.8
v0.9.0-beta.7
v0.9.0-beta.6
v0.9.0-beta.5
v0.9.0-beta.4
v0.9.0-beta.3
v0.9.0-beta.2
v0.9.0-beta.1
v0.8.1
v0.8.1-beta.1
v0.8.0
v0.8.0-beta.10
v0.8.0-beta.9
v0.8.0-beta.8
v0.8.0-beta.7
v0.8.0-beta.6
v0.8.0-beta.5
v0.8.0-beta.4
v0.8.0-beta.3
v0.8.0-beta.2
v0.8.0-beta.1
v0.7.3
v0.7.3-beta.2
v0.7.3-beta.1
v0.7.2
v0.7.1
v0.7.0
v0.7.0-beta.8
v0.7.0-beta.7
v0.7.0-beta.6
v0.7.0-beta.5
v0.7.0-beta.4
v0.7.0-beta.3
v0.7.0-beta.2
v0.7.0-beta.1
v0.6.1
v0.6.0
v0.6.0-beta.8
v0.6.0-beta.7
v0.6.0-beta.6
v0.6.0-beta.5
v0.6.0-beta.4
v0.6.0-beta.3
v0.6.0-beta.2
v0.6.0-beta.1
v0.5.1
test
v0.5.1-beta.1
v0.5.0
v0.5.0-beta.5
v0.5.0-beta.4
v0.5.0-beta.3
v0.5.0-beta.2
v0.5.0-beta.1
v0.4.0
v0.3.0
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Labels
Clear labels
air conditioner
air purifier
air scanner
authentication error
bug
candy
dish washer
documentation
duplicate
enhancement
fridge
good first issue
haier
help wanted
hob
hood
hoover
invalid
microwave
new appliance
oven
pyhOn
question
robot vacuum cleaner
tumble dryer
washer dryer
washing machine
water heater
wine cellar
wontfix
Air conditioner (AC)
Air purifier (AP)
Air scanner (AS)
Authentication Error
Something isn't working
Candy
Dish washer (DW)
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Fridge (REF)
Good for newcomers
Haier
Extra attention is needed
Hob (IH)
Hood (HO)
Hoover
This doesn't seem right
Microwave (MW)
New Appliance Request
Oven (OV)
Issue in pyhOn
Further information is requested
Robot vacuum cleaner (RVC)
Tumble dryer (TD)
Washer dryer (WD)
Washing machine (WM)
Water Heater (WH)
Wine Cellar (WC)
This will not be worked on
No labels
bug
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xiconfjs/hon#31
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Error below:
Device is a Hoover HLE C10DCE-80 Tumble Dryer and I'm using version 0.6.1.
I have the same issue, using a candy ROE H10A2TCE-80
Hi, thanks for reporting. I made the firmware id optional in version
v0.7.0-beta.2, maybe this solves it already, otherwise we have to test a bit more. Can you try the new beta?No change for me. Same issue. 😔
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/hon/__init__.py", line 31, in async_setup_entry
hon = await Hon(
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 41, in create
await self.setup()
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 67, in setup
await self._create_appliance(appliance)
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 52, in _create_appliance
await asyncio.gather(
File "/usr/local/lib/python3.10/site-packages/pyhon/appliance.py", line 139, in load_commands
raw = await self._api.load_commands(self)
File "/usr/local/lib/python3.10/site-packages/pyhon/connection/api.py", line 78, in load_commands
"fwVersion": appliance.info["fwVersion"],
KeyError: 'fwVersion'
Okay interesting, can you provide me a log of your appliance data? see Read out device data
I get the same:
Looks to me like you'll also need to make
fwVersionoptional.I am not need my PC at the moment to get the appliance data.
Oh right, this couldn't work 🤦
Okay I made
fwVersionoptional in the latest beta, let's if that's all 🙂OK, so this has now progressed a little further. New traceback below:
New beta 😃
I added a warning log to see the returned attributes and made the
shadowdata optional, I think it couldn't really work without these data, but let's see.So the dict it spits out in the log is below (note that I redacted the Mac address):
The traceback then spits out:
Yea I have the same error:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/hon/__init__.py", line 31, in async_setup_entry
hon = await Hon(
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 41, in create
await self.setup()
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 67, in setup
await self._create_appliance(appliance)
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 52, in _create_appliance
await asyncio.gather(
File "/usr/local/lib/python3.10/site-packages/pyhon/appliance.py", line 144, in load_commands
self._appliance_model = raw.pop("applianceModel")
KeyError: 'applianceModel'
It would be easiest if one of you could give me your account data (change password before and after, appliances can be turned off) so I can debug this error better. Send me a mail if that's ok with you.
Same issue, have mailed details over to allow debug. nde h10a2tce was working prior.
Thanks @AaronIsFab, that was helpful! I could find the issue, it was the virtual wine cellar...
And I could find some more issues with your hoover appliance. Try the new beta, you can find some more configs now 🙂
Don't forget to change your password 😉
I can confirm that it's now working. Thanks @Andre0512 😊