-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New firmware support #16
Comments
Hello I saw they change an MQTT server host in version 20230301*, before was |
I've followed all steps on documentation, and as soon I connected it to IoT SSID it's only try to resolve My goal here is trying to use the cam on Home Assistant without wan/cloud access. Is there any useful info that I can take from the cam? Edited: Noticed now the disclaimer "only in AP mode" 😅 |
i would be appreciated if you attach somewhere PCAP file and verbose logs from server, if content is not secret of course. Did you seen HTTP request to the server from camera? (you may add '-v' argument to the server to retrieve more logs) |
Hi Same firmware here the camera connects to wifi, then I got two DNS requests and the mode light becomes still
In MQTT broker I got two topics :
Logs from the fake server are empty ... ( python3 src/a9_naxclow.py -s -vvvv )
devices list is empty ...
the only request from camera trying to get out of network is the DNS request (iptables logs) the fake server is running on a dedicated pi-zero some tcpdump info :
tried to connect to official server : camera-v720.pcap what can I provide you to help ? |
I also have the same fw version. I saw the camera tries to resolve these dns names:
(update) Afterthought: I have another cheap chinese camera (internet blocked ofc), so it may have been that one |
It just started working by accident! My setup:
|
Ok, that may have been only a coincidence. Now it is very unstable regardless of what I do |
Ok I found something more, Internet access may be irrelevant but this seems to hold: |
Ok, I found how to send them via TCP. |
Sorry guys, I have a vacation and was off. :) Nice to hear that you have solved yours issues, if you have any changes into code, please make pull-request About MQTT topics, check file |
After researching your code for a while, I found out how to send commands via UDP and the IR mode can be sent via STA mode. I'll eventually add entities for this to the Home Assistant Add-on I just made :) I managed to get the audio stream working in sta mode and merge it with the video stream using ffmpeg. Here's the relevant code: I had to butcher your code to remove the dependencies that don't work well with the alpine docker base, so I just put it in that repo. If you want I can make a PR with the new stream api (it works fine in vlc too, with audio and all :) ) Thanks for this repo! Considering the effort it took me to "just" make it work as an addon with audio, I have gained a lot of respect for the work you did here reverse engineering everything bout this cam 🙇 |
BTW, the new FW version does work, but it is unstable and takes ages to connect. I didn't find out why, but something is obviously different. |
gave it a second chance today and .. it works ! don't know what was wrong last time, maybe I started the fake-server as standard user instead of root |
I've been also testing it for a while now and it works stable. It just takes a while to connect if the server os restarted after the camera was already connected |
Hi.
My cam came with FW version: 202303131805.
Is there any way to support this version?
My setup:
No MQTT message is received nor receive feedback trying sending one.
Device list always empty.
Thanks any help here :)
The text was updated successfully, but these errors were encountered: