#Micropython check certain LAN IP's if they are active or can respond etc.

10 messages · Page 1 of 1 (latest)

astral minnow
#

I don't know what section to put this in. I'm working on pico w with micropython.
How to ping or detect if certain LAN IP's are connected. I basically want to know if they froze up or died etc. Sort of a Pico W LAN detector etc.

I assume a ping might tell me this if it doesn't response or something.
Please advise Thanks

covert jetty
astral minnow
#

yes, I read that one too, but micropython for pico w does not have uping I thought perhaps a socket, but thanks. I'll see about installing it.
Thanks

covert jetty
#

the socket library should work as well

#

micropython is giga weird

astral minnow
#

yes

#

to install uping I have to install mip now to install modules or something. might get more weird

#

I don't have to setup server side micropython on those LAN IP's do I ? Only a client side on pico w right ?

covert jetty
#

Yes

ashen spear
#

It's sort of shocking how few people want to host a mon service on a pico vs. use them as a client/sensor interface to collect data for a host.
Collecting data and displaying a dashboard are not tasks that a pico should struggle with nor would it be tragic if it were a little sluggish? 🤔