can't get any command to work
Well almost all commands. I have 3 IMOU NOMI-IPC-F42FE cameras. I can connect to them with onvif-utils and I either get ERROR: get command token - ter:NotAuthorized getProfileToken or Error: stoi.
Is there any way to get it to work? or this is a problem with these silly cameras?
It seems like the camera should be able to communicate with ONVIF. If I understand correctly, these are branded versions of Dahua, which, if they use a similar software, have a good track record with ONVIF compliance. Sometimes, things aren't so clear, so there could be some issues in the software that would need to be addressed to get it working.
The error you are seeing looks like an authentication issue. It may not necessarily be a bad password or username. Some cameras use the current time to create a one time security hash and mismatched clock between host and camera could have the same effect. Sometimes there are characters in the communication stream that throw off the parsers which can cause authentication to fail, for example, a "/" character in the password can cause authentication failure.
If you are able to communicate with the camera using another program, for example Onvif Device Manager, that would indicate that libonvif is the issue. If that is the case, I can pick up one of these cameras or similar and see if there is a fix in libonvif that can bring the cameras online.
Thank you so much for reaching out, feedback is greatly appreciated.
thank you for your quick reply! I am on linux and don't have access to a windows machine so I cannot run onvif device manager. the password for the cameras doesn't contain special characters. it is the default that came with the camera and it only has upper case letters and numbers.
I will check with the time sync but in the imou app it appers that the time is correct.
for some reason even with vlc I can't get to the camera stream. the only thing that kinda works is frigate but only the send low resolution stream. the main one is very unstable. i can see it fine in the camera app but that's about it
VLC at one point disabled the RTSP function on Debian, I don't know if that's still the case. Sometimes the camera onvif interface is not enabled by default. It might be worth going through the web interface for the camera and see if there is an option to enable onvif. If you're on wireless it might be worth a try to plug in with an Ethernet cable to get better performance. Some cameras that claim onvif compatibility only have discovery. If onvif-util -a shows the camera but no other functions work that might be the case.
onvif-util -a for some reason only scans the ip of my laptop not the entire network. it may be the firewall, i have to check. the cameras are on wifi but i cannot get a cable to them, i wish I could. also they have no web interface to change anything. they are made to interact only with their android application where there is no onvif option. I have that I got these cameras!