Skip to content
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

Motion sensor is being created although it's not enabled #10

Closed
ovizii opened this issue Jun 6, 2021 · 13 comments
Closed

Motion sensor is being created although it's not enabled #10

ovizii opened this issue Jun 6, 2021 · 13 comments

Comments

@ovizii
Copy link

ovizii commented Jun 6, 2021

The description of this addon says:

Description
Integration with Shinobi Video NVR. Creates the following components:

Camera - per-camera defined.
Binary Sensors (MOTION, SOUND) - per-camera defined.

The result of adding 1 shinobi camera with your addon:
image

@elad-bar
Copy link
Owner

elad-bar commented Jun 7, 2021

Not sure I understand, what is the issue?

@ovizii
Copy link
Author

ovizii commented Jun 7, 2021

Not sure if I am misunderstanding something but should your addon not create a binary sensor for Sound for this camera? As you can see it only created 1 binary sensor for Motion.

@ovizii
Copy link
Author

ovizii commented Jun 7, 2021

Does this mean somehow the sound from the shinobi camera isn't picked up?

image

@elad-bar
Copy link
Owner

elad-bar commented Jun 7, 2021

Binary sensor of audio is dependent on sound detector, please enable it to have that binary sensor

@ovizii
Copy link
Author

ovizii commented Jun 8, 2021

yes, motion detection is indeed turned off in shinobi but so is motion detection and that binary sensor gets created, hence my confusion.

I'll share some relevant shinobi settings:

image

image

image

image

image

@ovizii
Copy link
Author

ovizii commented Jun 8, 2021

Does this mean somehow the sound from the shinobi camera isn't picked up?

image

Does this really mean, HA is not picking up any sound via this camera?
I tried changing the stream settings in shinobi from "Audio Codec: copy" to a few other codecs and HA is still not seeing any audio.

Any hints?

image

@elad-bar
Copy link
Owner

elad-bar commented Jun 8, 2021

Will recheck it during the weekend, thanks for the details

@ovizii
Copy link
Author

ovizii commented Jun 8, 2021

Will recheck it during the weekend, thanks for the details

Sure, may thanks for your help, especially since I don't think its related to your addon but more like a wrong setting on shinobi side.

@elad-bar
Copy link
Owner

elad-bar commented Jun 8, 2021

Can you please export the camera setting (json) and share it (after cleanup of ip and credentials)?

Thanks

@ovizii
Copy link
Author

ovizii commented Jun 10, 2021

Should be clean of any passwords. Just remove the .txt at the end.
Shinobi_doggyCam_config.json.txt

@elad-bar
Copy link
Owner

thanks for the config file,
regarding motion sensor, code was referring to the wrong parameter of detector for motion detector - it should be detector_pam,
As for the audio detector, according to the config and the screenshot the audio detector is turned off, in order to enabled it, please enable it, reload the component / restart HA and let me know if it works for you

thanks

@ovizii
Copy link
Author

ovizii commented Jun 11, 2021

I don't need the motion detector, I was just wondering why motion detector sensor was there but not audio detector sensor since both were turned off in shinobi.

so basically, once you update your integration, when I add the camera again, none of the 2 sensors should be created since both detection methods are off in shinobi, right?

@elad-bar
Copy link
Owner

That's the plan 😀, just wanted to make sure that I don't need to check the audio sensor,
Thanks

@elad-bar elad-bar changed the title I'm wondering why I am not getting a sound binary sensor? Motion sensor is being created although it's not enabled Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants