hcpy2-0 / hcpy

Python tool to talk to Home Connect appliances over the local network (no cloud required)
111 stars 18 forks source link

error connection problem #104

Open housedomoticz opened 3 weeks ago

housedomoticz commented 3 weeks ago

Hi, I connected to the home connect account and generated devices.json. I created config.ini. giving the command python3 hc2mqtt.py --config config/config.ini the log says: washer connecting to bosch but immediately afterwards washer ERROR [Errno -3] Temporary failure in name resolution

equal for dryer and dishwasher

Meatballs1 commented 1 week ago

Have a look in devices.json and see what the host value is - this is what it is attempting to connect to. It sounds like the container is struggling to resolve the local DNS name. Adding your local DNS suffix may fix this, tweaking your local DNS settings, or just shoving an IP address in the host value should work - but you probably want to assign a static DHCP lease for your items in this case.

housedomoticz commented 1 week ago

HI. I replaced the host names with the IP of the appliances. Now in MQTT I see them online and I see the statuses. Thank you. I'll try to see how to process the commands and integrate everything into Node-Red