indykoning / PyPI_p2pcam

MIT License
5 stars 0 forks source link

A9 Mini Camera #2

Open junalmeida opened 2 years ago

junalmeida commented 2 years ago

Does it work A9 mini camera that connects to "Little Stars" or "HDWIfiCam Pro" mobile apps?

image

I can't get your library to work with it.

phiresky commented 2 years ago

I have the same A9 camera, and I can't get it to work with this either.

Doing a bit of wireshark analysis, when the app starts it connects to a bunch of random internet IPs with UDP on port 32100, then it does a broadcast to the local ip space at UDP port 32108

after that it seems to know which IP address and UDP port to use and connects to the camera. The port there seems to be randomized.

Searching for the 32100 port yields a bunch of results such as https://github.com/fbertone/lib32100/wiki

phiresky commented 2 years ago

more here: https://community.home-assistant.io/t/popular-a9-mini-wi-fi-camera-the-ha-challenge/230108

junalmeida commented 2 years ago

@phiresky I've also tried the nodejs lib32100 with no success.