miguelgrinberg / python-socketio

Python Socket.IO server and client
MIT License
3.96k stars 587 forks source link

sio.emit I not control #1124

Closed isdito closed 1 year ago

isdito commented 1 year ago

Hello,

The sdk say me this Default IP The default IP for the CamFi is 192.168.9.67 or 192.168.1.67. Take the photo GET takepic/true Trigger the camera to take a photo

I Connect

sio = socketio.Client()
sio.connect('http://192.168.9.67:8080')

But the emit not works

def my_event(sid, data):
    # handle the message
    print ("ddddddddddddffffff")
    return "OK", 123

sio.emit('my_event','GET takepic/true')

if you dont mind heko me

miguelgrinberg commented 1 year ago

Please do not write issues on this project when you have questions. There is a discussion board for questions.