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
Pairing failed - Host Unreachable #233
Comments
Also shouldn't this be a "error" instead of "info" in terms of logs? |
Please provide a full debug log with additional logging as described in the readme troubleshooting section of this project and post to me. EHOSTUNREACH means that the device is not in WLAN and so the IP is network wise not reachable. The 8C:D7:F4:CF:8A:81 is the "ID" of the device and not a maxc address |
I apologize I thought enabling Debug on the instance would be enough! Here is the output of the logging:
|
BTW: yes the device is inside the WLAN since it successfully gets discovered and is actively connected to the router ^_^ |
Is the IP 192.168.200.244 correct? Can you ping the IP if you open a shell on thie host? As you can clearly see the device seems to act very strange becaus eif nodejs tells "EHOSTUNREACH 192.168.200.244" then it can not reach the host network wise to communicate with ... Yes you are right that it was discovered via MDNS before and this is also what I do not understand. |
Okay so upon searching a little bit more, I ended up finding out that the sensor doesn't respond to ARP. I added a static entry in the Raspberry and got a different error "pairing method unavailable". I didn't get the full logs because I was searching for a way t o connect to the RPi, but ever since, the adapter doesn't see the sensor when it's set to pairing mode at all. I will try to figure sometihng out and I will get back to you whenever I find something |
I am no longer able to see the sensor anymore in pairing mode. I'm clueless at to what's happening there, I tried to reset the sensor to factory defaults, remove the static entry in the ARP table, use a static DHCP lease, diagnosed the connection with Wireshark... the sensor suddenly drops the connection and stops responding entirely whenever it's in pairing mode now. It wasn't doing this before |
Okay WOW i managed to FINALLY pair it...... but the process isn't really straightforward. Here are the steps I did to pair it to the adapter:
This worked in my case but it may give very different results since I don't know what worked between restarting the adapter or waiting before the pairing process with the adapter |
Wow ... thanks to NetAtmo for such a great user experience ;-) it is the first time I hear something like this honestly and all stuff I saw so far worked more simple. I will add this info to the Readme |
It's a shame cause it means you must have an iPhone to do the pairing... but then, even if the pairing was working correctly, you'd have to use an iPhone to allow the WLAN settings to pass to the sensor :/ |
Describe the bug
Upon attempting to pair a Netatmo Air Quality Sensor to the adapter using IP, a "Host Unreachable" error appears and the device fails to pair (despite being, for sure, in pairing mode)
To Reproduce
Cannot pair with device IP-8C:D7:F4:CF:8A:81 because of error undefined (undefined): connect EHOSTUNREACH 192.168.200.244:5001
Expected behavior
Pairing is successful
Screenshots & Logfiles
I don't know if
8C:D7:F4:CF:8A:81
was supposed to be a MAC address but this address is actually wrong for the device I have connected hereVersions:
Additional context
PiHole was disabled this time btw :)
The text was updated successfully, but these errors were encountered: