AdyRock / homey-netscan

4 stars 2 forks source link

Which method is used for ping? #12

Open meteenxs4allnl opened 3 weeks ago

meteenxs4allnl commented 3 weeks ago

When I use Net Scan to ping a NIBE SMO-S40, the result is unavailable. Pinging it from a Linux prompt from an iMac or from an iPad with the app Net Analyser the result is ok. All devices are on the same subnetwork. So the different results might be due to different ping technologies: ICMP, ARPPING, etc?. So my question is, which technology uses the Homey app “net Scan”

AdyRock commented 3 weeks ago

The app tries to connect to the device via the specified port. If the device connects or refuses the connection, the app reports the device is online. If there is no response, it reports it is offline.

Unfortunately, ping is a low-level system function that a Homey app doesn't have access to.

meteenxs4allnl commented 3 weeks ago

Thanks for the quick response. That makes clear the different responses of the “ping” commands. I think the SMO S40 needs a restart. Maybe I overloaded it with to many Modbus requests. As it is not my own system, I have to consult the owner.