docker pull mlapaglia/openalprwebhookprocessor
.{"log":"[21:42:31 INF] Now listening on: http://[::]:80\n","stream":"stdout","time":"2021-01-02T21:42:31.917982698Z"}
{"log":"[21:42:31 INF] Application started. Press Ctrl+C to shut down.\n","stream":"stdout","time":"2021-01-02T21:42:31.918835576Z"}
{"log":"[21:42:31 INF] Hosting environment: Production\n","stream":"stdout","time":"2021-01-02T21:42:31.918989019Z"}
{"log":"[21:42:31 INF] Content root path: /app\n","stream":"stdout","time":"2021-01-02T21:42:31.919053445Z"}
{"log":"[21:43:02 INF] Request starting HTTP/1.1 POST http://ip:3859/webhook application/json 27515\n","stream":"stdout","time":"2021-01-02T21:43:02.974748846Z"}
{"log":"[21:43:02 WRN] Failed to determine the https port for redirect.\n","stream":"stdout","time":"2021-01-02T21:43:02.987217476Z"}
{"log":"[21:43:03 INF] Executing endpoint 'OpenAlprWebhookProcessor.WebhookProcessor.WebhookProcessor.Post (OpenAlprWebhookProcessor)'\n","stream":"stdout","time":"2021-01-02T21:43:03.071270282Z"}
{"log":"[21:43:03 INF] Route matched with {action = \"Post\", controller = \"WebhookProcessor\"}. Executing controller action with signature Void Post(OpenAlprWebhookProcessor.WebhookProcessor.OpenAlprWebhook) on controller OpenAlprWebhookProcessor.WebhookProcessor.WebhookProcessor (OpenAlprWebhookProcessor).\n","stream":"stdout","time":"2021-01-02T21:43:03.206164558Z"}
{"log":"[21:43:03 INF] request received from: ::ffff:52.201.255.102\n","stream":"stdout","time":"2021-01-02T21:43:03.576465874Z"}
{"log":"[21:43:03 INF] adding job for plate: PICB74\n","stream":"stdout","time":"2021-01-02T21:43:03.579331119Z"}
{"log":"[21:43:03 INF] processing job for plate: PICB74\n","stream":"stdout","time":"2021-01-02T21:43:03.579762441Z"}
{"log":"[21:43:03 ERR] Value cannot be null. (Parameter 'source')\n","stream":"stdout","time":"2021-01-02T21:43:03.581058812Z"}
{"log":"[21:43:03 INF] Executed action OpenAlprWebhookProcessor.WebhookProcessor.WebhookProcessor.Post (OpenAlprWebhookProcessor) in 375.7604ms\n","stream":"stdout","time":"2021-01-02T21:43:03.605597649Z"}
{"log":"[21:43:03 INF] Executed endpoint 'OpenAlprWebhookProcessor.WebhookProcessor.WebhookProcessor.Post (OpenAlprWebhookProcessor)'\n","stream":"stdout","time":"2021-01-02T21:43:03.609934828Z"}
{"log":"[21:43:03 INF] HTTP POST /webhook responded 200 in 622.8089 ms\n","stream":"stdout","time":"2021-01-02T21:43:03.618444444Z"}
{"log":"[21:43:03 INF] Request finished in 663.7067ms 200 \n","stream":"stdout","time":"2021-01-02T21:43:03.624013241Z"}
Bash:#!/bin/bash docker run -d \ --name=openalprwebhookprocessor \ --net=bridge \ -v /home/joe/webhook_alpr/app/appsettings.json:/appsettings.json \ -p 3859:80 \ mlapaglia/openalprwebhookprocessor
Myappsettings.json
full path is indeed/home/joe/webhook_alpr/app/appsettings.json
just as its listed in that file.
-v /home/joe/webhook_alpr/app/appsettings.json:/app/appsettings.json \
Nice biggen, Are you running this on the HFW5231E-Z12E ? I have not yet figured this out how to make it work.. Hopefully if you are on the same model its easy to get this setup now that you have done this..
Thank you mlapaglia for this wonderful addition for the cams. This is absolutely nice !!
Nice biggen, Are you running this on the HFW5231E-Z12E ? I have not yet figured this out how to make it work.. Hopefully if you are on the same model its easy to get this setup now that you have done this..
docker run -d \
--name=openalprwebhookprocessor \
--net=bridge \
-v /app/appsettings.json:/app/appsettings.json\
-p 3859:80 \
mlapaglia/openalprwebhookprocessor
-v /app/appsettings.json:/app/appsettings.json\
between the last .json
and the backslash \
. So like this: -v /app/appsettings.json:/app/appsettings.json \
/app/
directory which I see you have. Glad I was able to test this for you. Very cool.Nice, is the windows version like exe I run ? Or how do I go about either one ?you can download the regular windows version from the releases page if you don't want to use docker from the github releases page
Or possibly you can have it say .. Last car passed .. Unless you really want the car to be in the same frame..Success! Of course!! Thank you for catching that.
Now the only problem really that sending the image round trip like this is it takes a bit more time. The car has moved out of the scene by the time its added, but at least it works!
I could overlay this onto my Overview cam instead of this one (or in addition). At least the overview cam may still have the car in the frame before it moves out.
Nice, is the windows version like exe I run ? Or how do I go about either one ?
dotnet ./OpenAlprWebhookProcessor.dll
oh maybe there are fields in the webhook that are missing because you're on the homeowner plan..
Now that we know the data is there and is just hidden do we still need to do port forwarding.. or anything or can we actually some how make it work.. Without port forwarding .. with the watchman plan ?ah nice!