Closed marcus-j-davies closed 2 weeks ago
That is a lot of lines
1 problem (on the Unifi end) I have discovered If multiple Lines are added to a camera, it does not show the state of them - they are still In the payload, but not their state.
When the camera has 1 Line :
payload.metadata.linesStatus
exists
When the camera has > 1 Line(s) :
payload.metadata.linesStatus
does not exists
Not sure we can fix that, as its a problem, in the original payload from Unifi
The object is not an array, its a key:value pair where the key is the line ID for each line added. the event its self, does not tell you what line got hit, but the status allows you to see understand what line (status) was changed - but the status object is empty, when the cam has more then 1 line - so is annoying
@crxporter - any idea?
🤷
Edit: I didn't read all the issues...
what line got hit
I haven't checked in a long, long time... But this might be expected. "a line got crossed" might be all we get. If you have multiple motion detect zones, I think only the first zone is expected to work?
I don't even see anywhere on the official webpage or app where it will show which line was crossed... I've just made two lines in a single room and there's no apparent difference between the Unifi alerts to say which was crossed.
Email from Unifi says "a detection line" - no specifics:
Something is better than nothing - push it. Hope in some new updates, we will get info which one was crossed.
Beta available.
within the .node-red
dir.
npm install node-red-contrib-unifi-os@dev
@Supergiovane
Has your system been stable since your contriubtion (that I have merged into this PR)? I want to do a release maybe today - providing you have not needed to address any issues since?
@Supergiovane
Has your system been stable since your contriubtion (that I have merged into this PR)? I want to do a release maybe today - providing you have not needed to address any issues since?
Hi Yes, rock solid.
Fixes : https://github.com/NRCHKB/node-red-contrib-unifi-os/issues/73 Fixes : https://github.com/NRCHKB/node-red-contrib-unifi-os/issues/72 Fixes : https://github.com/NRCHKB/node-red-contrib-unifi-os/issues/51