Replies: 2 comments 10 replies
-
I don't believe that is possible. You don't want the board having the ability to execute arbitrary code on your host computer. You would need to run a script on your host computer (whatever OS you are running) to get the correct IP address and copy it onto the board (eg. with mpremote). |
Beta Was this translation helpful? Give feedback.
-
I'd run the webapp on your host computer (where it is much easier to develop and you have much better packages, tools, etc) and store all configuration there also to keep the MP device end as simple as possible. Don't need anything on the device other than stock MP. E.g. your host software can watch the serial/usb ports and see when a MP device is connected then |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to get the computer host ip address from the micropython board (ESP8266), the board is plugged in to the computer via USB, they are both connected to the same wifi network, ideally the solution would be from the board side only, not having to prepare a script to send the ip from the computer to the board.
Beta Was this translation helpful? Give feedback.
All reactions