Full ALPR Database System for Blue Iris!

I use hass_ingress which is a custom component for home assistant that takes care of the auth within HA. Works for blue iris along with other services. On the ALPR Dashboard side, it would need to support basic auth or api key in the header for example. No improvements in intrinsic security but I don't think it's necessary to have the ALPR Dashboard exposed externally regardless..?

This is the component for HA: GitHub - lovelylain/hass_ingress: Home Assistant ingress feature, add additional ingress panels to your Home Assistant frontend.

Worth taking a look!
 
@algertc, I just noticed the pushover notifications appear to be using UTC time.

IMG_3469.jpg
 
Anyone have setup guidelines for Unraid?

There’s a docker compose plugin for unraid. You could also deploy the two containers on their own without compose, but there are quite a few manual steps to do that.

Pls post a reply if u have success w the plugin.

See previous replies in this thread if it complains that port 5432 is already in use. That has been the case for Synology users.
 
Last edited:
There’s a docker compose plugin for unraid. You could also deploy the two containers on their own without compose, but there are quite a few manual steps to do that.

Pls post a reply if u have success w the plugin.

Docker Compose Plugin for Unraid worked. Thanks
 
  • Like
Reactions: algertc
No, I couldn't get it to work.
Alright I’ll do some research and get some better built in support for home assistant going.

I definitely understand the appeal of having it the dashboard - it’s a cool use case.

I would like it to work without needing a bunch of tinkering. I’m just not super familiar with HA so it’s a bit harder for me to figure out. Will get there tho.
 
This is good to know, and yes, probably more proper. I will keep it in mind, but using it would require refactoring a whole bunch of code, especially the timestamp stuff, which was a pain in the ass the first time around. The label list solution should work just fine. If you find any bugs, I'll look at converting it.
See below, the plate shows up as ...

1732279969591.png


1732280006102.png
 
@algertc

Thanks for this awesome program.

If you are considering feature requests, I would like to add one.

My usage case is I have three LPR cameras, two for the main road in front of my house covering each direction, and a third LPR camera for the driveway coming up to the house. It would be very useful to add camera name to each alert. I have been doing this previously sending info by MQTT to Home Assistant using "Camera":"&NAME". This would likely require a redo of the database.
 
  • Like
Reactions: Skinny1
Hmm very strange. I definitely didn't add anything that would turn it into ... so guessing that's BI chopping the memo length. Of course it happens to be the irrelevant OCRs first... Looks like I'll have to switch over to the other option. I'm going to prioritize some other improvements first since this is a bit of an edge case for vehicles with a lot of writing on them, but I'll change it eventually.
 
@algertc

Thanks for this awesome program.

If you are considering feature requests, I would like to add one.

My usage case is I have three LPR cameras, two for the main road in front of my house covering each direction, and a third LPR camera for the driveway coming up to the house. It would be very useful to add camera name to each alert. I have been doing this previously sending info by MQTT to Home Assistant using "Camera":"&NAME". This would likely require a redo of the database.
Absolutely. This is in progress. I actually had a column in the plate reads table for this originally but removed it for simplicity to reduce bugs since a bunch of people started using it. It won't require a full redo of the database, I should be able to just add a line to the schema file that will add it and keep all your other data when updating. I'm also adding the ability to edit plate reads to correct anything that was recognized incorrectly so people don't have 5 different plates in their db that are actually the same.

All ears for feature requests of any kind.
 
Had a bit of a snag on getting data to the ALPR database. "api/plate-reads" was not connecting.... when I looked in my Unraid logs, it said "plate_reads" was not found.
When I changed to "api/plate_reads" it seemed to connect.

Is this something particular to Unraid maybe?

EDIT:

That doesn't seem to be working either.

Looks like BI is connecting to the docker but no info is sending.

EDIT2:

Reinstalled without compose. Now getting error connecting to database:

Database connection test failed: Error: getaddrinfo ENOTFOUND db
at (/app/node_modules/pg-pool/index.js:45:11)
at async l (/app/.next/server/chunks/79.js:1:979)
at async A (/app/.next/server/chunks/79.js:288:45)
at async d (/app/.next/server/app/api/plate-reads/route.js:1:1926)
at async te.do (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:17826)
at async te.handle (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:22492)
at async doRender (/app/node_modules/next/dist/server/base-server.js:1455:42)
at async responseGenerator (/app/node_modules/next/dist/server/base-server.js:1814:28)
at async NextNodeServer.renderToResponseWithComponentsImpl (/app/node_modules/next/dist/server/base-server.js:1824:28) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'db'

Also seeing this line in the postgress log:

/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/

UPDATE:

After struggling with this for most of the day yesterday I finally gave up trying to add directly to UnRaid. I instead spun up a Linux VM on UnRaid and added ALPR without a hitch.
 
Last edited:
@algertc

Thanks for this awesome program.

If you are considering feature requests, I would like to add one.

My usage case is I have three LPR cameras, two for the main road in front of my house covering each direction, and a third LPR camera for the driveway coming up to the house. It would be very useful to add camera name to each alert. I have been doing this previously sending info by MQTT to Home Assistant using "Camera":"&NAME". This would likely require a redo of the database.
I agree with prsmith777, I have three LPR cameras as well and it'd be nice to have the camera name noted.

Thank you,

Rick
 
  • Like
Reactions: MikeLud1