hcpy icon indicating copy to clipboard operation
hcpy copied to clipboard

ERROR SIEMENS-appliance [Errno -2] Name or service not known

Open MijnSpam opened this issue 1 year ago • 5 comments

After done a hc-login which was succesfull (a bunch of new files in the hcpy folder) When i start python hc2mqtt config.json //I edited the default values for correct mqtt server. I get: python hc2mqtt config.json Hello config_file='config.json' mqtt_host='my default' mqtt_prefix='homeconnect/' ERROR SIEMENS-Dishwasher-xxx6 [Errno -2] Name or service not known ERROR SIEMENS-HB876G5B6-xxx7 [Errno -2] Name or service not known ERROR SIEMENS-WM14T6H9NL-xxx3 [Errno -2] Name or service not known ERROR SIEMENS-EX877LYV5E-xxx6 [Errno -2] Name or service not known ERROR SIEMENS-KI86NHDF0-xxx6 [Errno -2] Name or service not known

I expected a problem in my VLAN routing, however after changing the profile to the same as my smartphone where I do have the direct connection triangle it is still not connecting. There is still a possibility that is the issue however I don't see which ports are used.

MijnSpam avatar Aug 05 '23 12:08 MijnSpam

Hi,

I have the same error message with my Bosch washing machine.

ERROR BOSCH-WAU28PAHSN-macxxxxx [Errno -2] Name or service not known

I have both my computer and my washing machine on the same network.

off112a avatar Sep 23 '23 14:09 off112a

Hi, I found the solution. In the config.json file. Change the host to the ip of your machine.

off112a avatar Sep 23 '23 14:09 off112a

how do you manage to connect at all? please provide infos

dedarus212 avatar Nov 05 '23 15:11 dedarus212

As off122a said, just replace the name of each device with its IP in config.json file

liouma avatar Feb 08 '24 11:02 liouma

The hostname which must be resolveable is the one defined in the host variable. I just added a CNAME for the SIEMENS-something names to my local DNS-server.

giggls avatar Aug 16 '24 12:08 giggls