Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error connection problem #104

Open
housedomoticz opened this issue Oct 27, 2024 · 2 comments
Open

error connection problem #104

housedomoticz opened this issue Oct 27, 2024 · 2 comments

Comments

@housedomoticz
Copy link

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
Copy link
Collaborator

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants