I get this annoying “Number of Mobile App connections above limit” too, quite often because both me and my wife use the official app on multiple devices. Weird that the 1st party apps never have this issue, while the proxy does. I wonder what it is? The proxy must be doing something different from the 1st party apps. Not retrying? Different auth? Somehow getting fingerprinted as “not 1st party”?
Really a shame that they don’t just allow you to expose a standard RTSP stream on the camera. Guess they can’t upsell you the Pro version or the subscription if you’re just using it as a basic camera.
I figured some things out and now have the rtmp video feed, but not sure where the address of the mqtt feed and of course I already closed terminal. Any idea how I can find the mqtt feed address?
For others:
Baby UID shows when you setup the docker with the command statement given on GitHub. I did have a bash error which I believe were from my password characters and needed to run “set +H” first.
rtmp IP is given in terminal as docker setup completes
Port again given in terminal as docker completes setup. Two Nanit cameras are no problem. It found both and set them up no problem in two rtmp addresses
So does anyone know how long the WRN Failed to request local streaming, awaiting stream health check error="Forbidden: Number of Mobile App connections above limit, declining connection" limit is in place, or how to get around?
Am I just SOL because I tried to adventure into this while my wife and MIL had the camera stream open in their apps?
Hi all,
spent numerous days over the last few months attempting to get this working but unfortunately having no luck wondering if anyone would be able to assist me. I am running an intel NUC with Debain installed which is what hosts my home assistant installation. i have managed to install and run docker and it all appears to be running correctly. not sure if I have overlooked something but i cannot seem to access the camera stream.
docker run --name=nanit_v7
–restart=unless-stopped
-e NANIT_EMAIL=xxxxxxxxxxxxx
-e NANIT_PASSWORD=xxxxxxxxxxxx
-e NANIT_RTMP_ADDR= (USED THE IP ADDRESS FOR THE CAMERA ON MY NETWORK):1935
-p 1935:1935 registry.gitlab.com/adam.stanek/nanit:v0-7
This returns.
31 May 22 10:18 UTC INF Application started gitversion=f1a16b27
31 May 22 10:18 UTC INF No .env file found. Using only environment variables path=/app/.env
31 May 22 10:18 UTC INF Setting log level to info
31 May 22 10:18 UTC INF Directory created ./video dir=/app/data/video
31 May 22 10:18 UTC INF Directory created ./log dir=/app/data/log
31 May 22 10:18 UTC INF Authorizing using user credentials email=xxxxxxxxxx
password=****************
31 May 22 10:18 UTC INF Authorized token=8d74*********************************************
31 May 22 10:18 UTC INF Fetching babies list
31 May 22 10:18 UTC INF RTMP server started addr=:1935
31 May 22 10:18 UTC INF Connected to websocket url=wss://api.nanit.com/focus/cameras/N301AKG2103KW7/user_connect
31 May 22 10:18 UTC INF Requesting local streaming target=rtmp://Camera IP:1935/local/Baby UID
31 May 22 10:18 UTC INF Local streaming successfully requested
However after attempting to access the stream via browser or media players (VLC) i am presented with errors internet browser cannot load media, VLC gives me…Your input can’t be opened:
VLC is unable to open the MRL ‘rtmp://192.xxx.xx.xxx:1935/local/babyUID’. Check the log for details.
seem to be going around in circles and not getting anywhere so i figured id reach out and see if anyone can assist me further. Thanks
I definitely need your assistance. I am having the same issue. I utilized my router IP address for the RTMP_ADDRESSfor docker.
Everything seems fine on docker. When I putti
it into VLC I am still facing a similar issue.
1)For VLC do is use the router IP address for the RTMP_ADDRESS or do I utilize the Docker Container IP Address for the VLC Link.
2)Also what port would I used along with the RTMP_ADDRESS inputted into VLC.
Hey Dan, are you able to get RTMP streaming for both nanits? I’m considering getting another nanit for my 2nd kid but was wondering I’ll be able to get streaming for both. Thanks in advance!
Is this still working for everyone? I’m a HA newbie running Hassio on a RPi3 B+, and am desperate to get this working, have spent a couple days trying to understand what to do.
To get started, I’ve tried running the following in terminal on my Macbook Pro with M1 Pro:
The response looks good, so I copy and paste the rtmp:// url into VLC, and it either shows an error or no error with a blank stream.
For the NANIT_RTMP_ADDR, I’ve tried using my mac’s IP and the Rpi’s IP to no avail.
I’ve read through the entire thread several times but struggling to understand what to do. I assume that if I can’t first get it streaming in VLC then that’s a dealbreaker. But from there, it’s unclear to me whether I need to have a docker script running in the background, and whether that’s even possible with Hassio (or if I’d need to have a Raspian installation running HA instead). Any super newbie tips would be very helpful. If there’s a way for someone to make this as an add-on or something, I’d even be willing to pay for it to made available, as a contribution to the community. Thanks in advance!
I was experimenting today and realized that on Android (or at least on my Samsung A7 Lite), you can split the screen and show the Nanit and Home Assistant apps side-by-side, so I might use Tasker to automate combining these two apps during certain times of the day
Thanks for this! I used the postman method on my Mac with the postman collection package - credit to sweetw0r - to get the Baby ID. I’m running Docker on my Mac with Homebridge to connect the Nanit to HomeKit.
I had trouble with the container running in Terminal only, when using the code from the git (not in Docker), so this code worked:
docker run -d --restart unless-stopped
-e NANIT_EMAIL=
-e NANIT_PASSWORD=
-e NANIT_RTMP_ADDR=IP Address of My Mac:1935
-p 1935:1935 registry.gitlab.com/adam.stanek/nanit:v0-7
In Homebridge I used FFMPEG to pull in the RTMP Address. I can view the Nanit on my Mac, Apple Watch, and iPhone PIP. I’m not an expert by any means but I sorted through all of the posts on this forum to get to this spot. If you have a similar setup feel free to DM me, happy to try to help.
I’m not sure about Hassio, but I had to get Docker running first I believe before I could get the stream into VLC. For me if Docker goes down, my stream doesn’t work. I think that’s because the Docker Container hosts the RTMP feed that allows you to pick up the camera in VLC.