Anyone have any tips to get this working? I setup the container from indiefan but when I add to Home Assistant it just shows as unavailable. Not sure where I went wrong.
Made the common mistake of using the camera IP rather than the docker host IP. All set now.
It should, but itās weird that you werenāt seeing temperature to begin with because the issue I found was that if it returns a temperature from the Nanit camera, it just stops there and essentially ignores the humidity reading.
Hey guys, new dad expecting here. First kid, Home Assistant nerd, so naturally I found this page. Lol. Does the API allow you to get the biometric data if you have smart sheets and such? IE breathing, size, etc.? So far Iāve just seen stuff for the camera, temp, and humidity in this thread.
@indiefan, thank you so much, I could finally make the nanit work after months.
A question, at the moment we have a nanit app in the background and hearing itās annoying white noise all the time. Isnāt a possibility to get sound detected or other notifications to mqtt?
@indiefan Kind of expanding on the above message, but can we use this to pull more sensor data? I was looking at the websocket_handlers.go code and was wondering if that is where we can add more. Particularly iām looking for Motion data to tie that into other automations.
Hello, cant see to pass the first part of getting the token for the 2fa authetication, Im running the script on a raspberry pi OS terminal , where Im using the docker. When I run the script asks me for the e-mail and password, but after gives me the error on line 27 and 33, Im pretty newbie by the way
$ ./init.nanit.sh
Running script in debug modeā¦
Nanit Email: [email protected]
Nanit Password: ./init.nanit.sh: line 27: jq: command not found
LOGIN Result: {āmessageā:ānot authorizedā}
./init.nanit.sh: line 33: jq: command not found
MFA_TOKEN Result:
Blockquote
I can get in the app and I can get the mfa_token via postman, I think IĀ“m running the wrong way the script, anyone have a step by step of how to run, IĀ“m using raspberry pi OS, running this script on the terminal of the raspberry, should I run in docker?
I think itās not possible to get more data out of nanit to mqtt in this way.
So I went to another path to find a solution, first of all itās not really straight but works very good.
Just a quick overview if you like to do it as well to have some automation base on your nanit (honestly better using a normal cam but nanit is what we have here)
my setup looks like
nanit
ā this docker container
ā Scrypted
ā Frigate
ā [Frigate audio detection (cry + scream + speech), Frigate object detection]
ā Home assistant
ā Frigate HACS integration
ā Using frigate card for the dashboard + entities for automations
Hi all, I had the Nanit <> Docker <> HB integration working at my last place but since moving I have not been able to get it going again. Iām hoping someone can see what I donāt have right.
Thank you for making Scrypted plugin, took literally 30 seconds to set it up,
Compare that to Docker integration which I gave up on after 30 minutes of trying to pull the session json, (having to extract the script, installing jq and then it still not working cause of some bad handshake issue)
ā¦ So anyone who wants an easy solution, use his Scrypted plugin (it shows up in Scrypted repo) and then pump the feed to your HA and HomeKit if needed. You just install the plugin feel in your details in the input boxes, get the pin and you are done.
Yes it would be nice if it was local or if sensors were there but hey, I am just happy to have my feed.
Hello everyone, first time dad (in a few days hopefully) and home assistant fan here
first of all thanks a lot for the load of useful information here, and the job done to create the container in order connect the Nanit to HA, youāre awasome
Iām trying to setup the Nanit in home assistant following the indiefan docker GitHub guide and so far I managed to setup the container authenticate and connect to MQTT for the 2 sensors (actually humidity is not reporting data but Iāll figure it out later, temperature is working).
problem is the stream isnāt working and the error I get in the log of the container is the following:
11 Oct 24 11:45 UTC DBG New stream subscriber connected baby_uid=(reducted) client_addr=192.168.42.81:58890
11 Oct 24 11:45 UTC WRN No stream publisher registered yet, closing subscriber stream baby_uid=(reducted) client_addr=192.168.42.81:58890
the configuration in home assistant is the following