tfatool icon indicating copy to clipboard operation
tfatool copied to clipboard

How to update the default host name in info.py, URL = "http://flashair/" in local IP

Open Riocubetribe opened this issue 5 years ago • 1 comments

Hello Tad:

I just start to learn code in Python with WIFI SD, this is a gread work. When I try to import this function in a project to read image from camera with wifi sd card, the local ip address (192.168.0.1) should be request, but now is flashair, how can I set the value to a veriable URL in this code? I have been reading this code for two days, but could n't find out. following is error message:

raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='flashair', port=80): Max retries exceeded with url: /command.cgi?op=100&DIR=DCIM%2F100__TSB%2F (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fad892a

Any suggestion will be appreciated. Have a nice day.

Riocubetribe avatar May 28 '19 18:05 Riocubetribe

+1

AlexanderDash avatar May 11 '24 06:05 AlexanderDash