OpenALPR Webhook Processor for IP Cameras

biggen

Known around here
Joined
May 6, 2018
Messages
2,578
Reaction score
2,873
Yeah I didn't have Plate Preview checked ever for the test.
 

djmadfx

Getting the hang of it
Joined
Sep 29, 2014
Messages
106
Reaction score
19
Does the Start Scrape button scrape data from openalpr.com or the watchman agent only?

Still can't figure out why the scraping isn't working.
 

mlapaglia

Getting comfortable
Joined
Apr 6, 2016
Messages
849
Reaction score
506
It only scrapes the agent. where were we in troubleshooting?
what agent version are you on, and do you see this screen when you go to your agent?
1625602552786.png
 

mlapaglia

Getting comfortable
Joined
Apr 6, 2016
Messages
849
Reaction score
506
Oh you only have your agent configured to hold 24 hours?

Previously the cloud api was only available to business class subscription and above, is it working for homeowner now?
 

djmadfx

Getting the hang of it
Joined
Sep 29, 2014
Messages
106
Reaction score
19
"You are currently on a Free Trial until Jul. 07, 2021.Your account will be converted to Home and begin billing at the end of your free trial. "

I guess I'll see what shows after then!

The 24 hours I was referencing was just from what showed on the diagnostics page, "Plate images in the last 24 hours". Is there a way to display for longer than that?
 

mlapaglia

Getting comfortable
Joined
Apr 6, 2016
Messages
849
Reaction score
506
After your trial is over the API access goes away. what number is your "earliest epoch date" value?
 

mlapaglia

Getting comfortable
Joined
Apr 6, 2016
Messages
849
Reaction score
506
you might need to override store_plates_maxsize_mb` in your alprd.config to store more plates. what shows up in the logs when you try to scrape?
 

djmadfx

Getting the hang of it
Joined
Sep 29, 2014
Messages
106
Reaction score
19
The plate images show find back to June 29th in your app, so the images are still available within the local client.

In regards to scraping nothing new shows up. It's the same stuff that used to when it still didn't work originally.

Code:
07/07/2021 00:06:30 +00:00 HTTP "POST" "/settings/agent/scrape" responded 202 in 38.9069 ms
07/07/2021 00:06:30 +00:00 Executed endpoint '"OpenAlprWebhookProcessor.Settings.SettingsController.StartScrape (OpenAlprWebhookProcessor)"'
07/07/2021 00:06:30 +00:00 Executed action "OpenAlprWebhookProcessor.Settings.SettingsController.StartScrape (OpenAlprWebhookProcessor)" in 0.7265ms
07/07/2021 00:06:30 +00:00 Executing HttpStatusCodeResult, setting HTTP status code 202
07/07/2021 00:06:30 +00:00 Route matched with "{action = \"StartScrape\", controller = \"Settings\"}". Executing controller action with signature "Microsoft.AspNetCore.Mvc.IActionResult StartScrape()" on controller "OpenAlprWebhookProcessor.Settings.SettingsController" ("OpenAlprWebhookProcessor").
07/07/2021 00:06:30 +00:00 Executing endpoint '"OpenAlprWebhookProcessor.Settings.SettingsController.StartScrape (OpenAlprWebhookProcessor)"'
07/07/2021 00:06:30 +00:00 Authorization was successful.
07/07/2021 00:06:30 +00:00 Successfully validated the token.
07/07/2021 00:06:30 +00:00 Entity Framework Core "6.0.0-preview.4.21253.1" initialized '"UsersContext"' using provider '"Microsoft.EntityFrameworkCore.Sqlite"' with options: "None"
07/07/2021 00:06:30 +00:00 CORS policy execution successful.
 

mlapaglia

Getting comfortable
Joined
Apr 6, 2016
Messages
849
Reaction score
506
that's strange, there should be a "Starting OpenALPR Agent scrape." message in there at least, are you on the latest version v3.14.2?
 

djmadfx

Getting the hang of it
Joined
Sep 29, 2014
Messages
106
Reaction score
19
Nope, nothing else. Don't know where I am going wrong with it. Everything else works for me, including Pushover. Go figure lol
 

mlapaglia

Getting comfortable
Joined
Apr 6, 2016
Messages
849
Reaction score
506
are you running the processor in windows or through docker?
 

mlapaglia

Getting comfortable
Joined
Apr 6, 2016
Messages
849
Reaction score
506
I just pulled down the windows version and it ran fine for me. Can you try backing up your processor.db file, deleting it from the config folder, restart the app, type in your agent settings, then run the scrap again?
 
Last edited:

djmadfx

Getting the hang of it
Joined
Sep 29, 2014
Messages
106
Reaction score
19
I spun up a separate Docker container with the openalprwebhookprocessor... separate container, separate volume...

I filled in the contents on the OpenALPR Watchman Agent settings page. Same system log feedback. I don't have the camera added and configured on this instance, only the Watchman Agent page.
 
Top