Closed lyricnz closed 1 year ago
Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (reolink
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
reolink documentation reolink source (message by IssueLinks)
Related question - what is the criteria for this motion detection? The integration only reports a couple of motions on "back" camera:
but the NVR reported quite a few
@lyricnz on which firmware version of the NVR are you and which model and hardware version do you have? Do you still experiance problems with the homeassistant integration on HomeAssistant 2023.2.3 or is everything now working as expected?
The NVR only gets motion events from the first channel of the NVR, this is a firmware bug see my documentation: https://www.home-assistant.io/integrations/reolink/#reolink-firmware-limitations
The Reolink NVR only sends event-notifications if motion happens on the camera connected to the first (index “0”) channel, therefore the binary sensors of all channels will only be updated when the first channel sees motion. Beta NVR firmware v3.0.0.211_23011204 fixes this issue, you can request beta firmware from reolink support, release firmware is expected in a few weeks.
Is the back camera connected to the second channel of the NVR perhaps?
If you appreciate the reolink integration and want to support its development, please consider sponsering the upstream library.
Thanks for your reply @starkillerOG
NVR details as follows
This seems to be the latest (public) firmware, I have just requested access to the beta.
The back camera is connected to the 5th channel in the NVR (via IP, instead of direct connect like the first 3).
On the original question - it seems that HA goes online/offline at "random" and the motion detections don't all align with channel 1? (driveway)
PS: the overly active "gate" movement at night is probably because it has spider-webs, which set off the motion detection when the camera is in night-mode.
Support replied:
Sorry for the inconvenience caused, but could you please kindly wait for a while? Our R&D team is optimizing that, and the new firmware is expected to be released in next month.
@lyricnz
The back camera is connected to the 5th channel in the NVR (via IP, instead of direct connect like the first 3).
Then it indeed sounds like the firmware bug of the NVR is causing this.
the motion detections don't all align with channel 1? (driveway)
That is because the other channels are also polled once every minute, so they can still pick up motion, but that will miss a lot of motion events (motion event is normaly about 10 seconds, so you capture about 1/6th of the motion events). Polling is actually intended more to ensure the motion goes back to OFF in case the OFF notification would be missed (lost in transmission).
On the original question - it seems that HA goes online/offline at "random" Do you see any errors in the logs about reolink at the times it goes offline? If not, could you turn on debug logging for reolink and wait untill it goes offline again and then send me the debug logs from around the time it went offline? Do other devices still work at those "offline" times (Is the network okay)? Do you still have recorded footage at those "offline" times (was the NVR working properly at those times)?
@lyricnz if you send me your e-mail adress I can mail the beta firmware (use at your own risk). Or you will have to wait for next month.
hello i am also having the same issue with sensors going off line and not gettting motion events, i am runing latest of every firmware home assistant and nvr, v3.2.0.218_23020151. would you mind sending me the firmware aswell
If you provide a e-mail adress I will mail it
@starkillerOG I'm having the same issue. Please send me the beta firmware. smarthomefit@protonmail.com
The new firmware appears to have been released on Reolink main site now. https://reolink.com/download-center/
It's sortof working for me now, at least I saw a motion event on 1/2 of the places where it happened (person walked past two cameras, only one of them caught an event in HA, though the NVR saw both).
@starkillerOG is there any way to get better fidelity about motion events, other than "is there one now?" Can we get a history of events, and at least make HA blip if there has been events since the last poll?
@lyricnz already tested NVR firmware v3.2.0.218_23020151, unfortunately it does not include the ONVIF fixes we require. I already had contact with reolink and they confirmed this and told me it will be in the next release (next month)....
OK, I'll try your firmware now
It looks like with the latest firmware my "back" camera (which is IP/LAN rather than directly connected to NVR) moved from slot-5 to slot-4, which broke my device. I can still see the remains of the old one
This also made duplicate in the devices for the NVR
@lyricnz do you mean with "latest firmware" v3.0.0.211_23011204? Since it is beta firmware, some strange things like this can be expected.
You can fix this by connecting a screen and mouse to the NVR, then you can delete channels and can move camera's to diffrent channels (not possible in phone/windows/web client as far as I know, only with mouse and screen).
Yes, I meant with the beta v3.0.0.211_23011204
With the beta firmware you are using, the person-events seem to pretty-much match the NVR
Person events seem to line up.
Hi guys :) Sorry if my question is a little bit dumb and almost off topics but you seems to know of what you're talking here :)
Do you know why we need to have an account on reolink ? Is it offline (local only) ? I mean, I thought it could be possible to use only ONVIF or RTSP flow without any connexion on internet directly.
I'm looking for a new config NVR + 2 cameras. I'm currently hesitate between Hikvision and Reolink.
For reolink on HA, do you know if it will work for RCL-1212A and RCL-1224A which are the two model that I want if I choose Reolink system ? I didn't see the camera on the compatible list of devices on HA doc.
Reolink has official 'ONVIF' feature ? Because old threads < 2023 doesn't seems clear on the subject
Thank you in advance for your help.
@kevincaradant Since the RLC-1212A and RLC-1224A are rather new camera's I expect them to work fine with HomeAssistant, but since no users have yet reported them working (or not) I can not say for sure.
The reolink camera's can work 100% local with HomeAssistant, no cloud account needed. Just password set locally on the camera/NVR.
When using the NVR and connecting the RLC-1212A and RLC-1224A to the NVR and HomeAssistant to the NVR, it is almost certantly going to work, I have tested the NVRs extensively and they work with HomeAssistant. When using the cam through NVR, the NVR is the brain and the cam becomes a rather dumb lens.
I do not know if you can get the full 12MP in HomeAssistant, might be limited to HD in HomeAssistant stream, have not tried yet. But you can always vieuw 12MP through the reolink app/client locally.
Hi @starkillerOG
Thank you for your quick answer. Are they new cameras ? I saw some threads about these references since 2021, maybe it was rumors at this moment, I thought they was 'old' like 1 year ago.
Thank you about explainations of login/password was just in local for the NVR / camera connexion. I will use NVR to record 24/24.
I just want a flow in HA, I guess it will the 'second stream' ? I mean often I saw 'main stream' and an other with less quality.
But it's not a problem for me, I just want to see something on HA to see what happens if I need to check my self
I understand that you can't confirm they works well withtout any feedback yet :)
Last question off-topics sorry, my main idea was to combine RLC-1212A and RLC-1224A and Hikvision DS-2CD2387G2P-LSU/SL. I mentioned 2 cameras but it was 2 cameras Reolink and one Hikvision that I didn't mentioned here yet.
I don't know if it's a bad idea but should I buy a NVR Reolink and connect these 3 cameras ( Hikvision cam and Reolink cams ) or should I buy a Hikvision NVR and connect the reolink cams and Hikvision cam ?
I'm scarred about the integration or ONVIF protocol between brands, I read so many things on internet that I'm lost :/
Thank you
@kevincaradant well 1 year is still reletively new.
yes main stream is in HD and there is a sub stream with lower quality.
I would recommend sticking to one brand: or reolink NVR with all reolink cams or Hikvision NVR with all Hikvision cams. I do not know if you can add diffrent brand cams to the reolink NVR, but I would not trust it to work, especially AI detection and stuff like that is probably not going to work (as well) when you start mixing brands.
well 1 year is still reletively new.
Ok :)
yes main stream is in HD and there is a sub stream with lower quality.
Alright
I would recommend sticking to one brand: or reolink NVR with all reolink cams or Hikvision NVR with all Hikvision cams. I do not know if you can add diffrent brand cams to the reolink NVR, but I would not trust it to work, especially AI detection and stuff like that is probably not going to work (as well) when you start mixing brands.
Ah ok, I think I still need some time to think what decision (brand) I will choose Then also check about integration of Hikvision in Home Assistant but it's not the thread here .
Thanks for your help ;)
Hi @starkillerOG
One last question, can we also turn off, turn on, the camera spotlight or IR for example from HA using this integration module? Or its only binary sensor in readonly into HA ?
Its in the aim to run automations to turn on / off the spotlight when I want on detection motion for example to avoid spotlight everytime.
Noobie question maybe but I prefer to be sure :)
Thank you
@kevincaradant Currently there is only binary sensors, but in the next HomeAssistant releases there will be a LOT more:
I am spending a lot of time on implementing these features currently, but all of them are now supported in the backend library and for most of them I already have the HomeAssistant PRs put in or have already been merged.
At this time I cannot tell which will make it into 2023.3, but probably not too many since the beta cut is tommorow (I think only zoom and focus control), I think I can get everything into 2023.4
If you want to support the development of the reolink integration, please consider sponsering the upstream library.
Oh nice job.
Maybe I will try Reolink cameras finally ^^
I was looking for Hikvision but if the Reolink integration is working with my cameras chosen, maybe I will try and change my mind!
@starkillerOG Do you think you can also support floodlight ? And not only spotlight (integrated into the camera with leds) ? :)
Ex: https://reolink.com/product/reolink-duo-floodlight-poe/#specifications
Thanks :)
@kevincaradant yes I think floodlight will also work just fine with HomeAssistant (although I have not tested this personally).
I have finished adding (in my opinion) a complete set of all relevant reolink features. The PRs for all features are under review and can be found here:
Features added are:
Number entities:
Switch camera:
Switch host/NVR:
Select:
Siren
Light:
Button:
Hi. @starkillerOG
Cool!
I just bought everything to test them soon. Nvr + duo 2 floodlight. I will try to set up everything when I will receive the stuff, just to try because I will install definitely them only in one month.
But I will tell you if everything works as expected.
Thank you :)
Still waiting for official NVR firmware with the required fixes....
Still no new firmware published by Reolink
The problem
With the recent updates, my Reolink cameras (connected to NVR) started getting motion events (yay! thanks starkillerOG). However, this stopped working (sensors all went offline) though the NVR and HA itself were all working fine. Any ideas? I only noticed when applying today's 2023.2.2 and they may have come back. See screenshot (of four camera-devices)
Is this #87116
What version of Home Assistant Core has the issue?
2023.2.1
What was the last working version of Home Assistant Core?
2023.2.1
What type of installation are you running?
Home Assistant OS
Integration causing the issue
reolink
Link to integration documentation on our website
https://www.home-assistant.io/integrations/reolink/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response