This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SPZ number/LM
#35
(19.01.2023, 09:29)admin Wrote: This will log the plate number text from the camera event:
Code:
<?

require('apps')

upload()
vars = getvars()

data, err = json.pdecode(vars.event)
if type(data) == 'table' then
  log(data.plateText)
else
  log('decode failed', err)
end

Thank You very much. It works! But onetimes it send 777706666 on LM, but in log from camera it is 77T706660, any idea why?

look pls on red


2023-01-19 16:15:21 (GMT 1),L0GMAX,POL,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 16:02:14 (GMT 1),2BZ8720,CZE,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 15:43:54 (GMT 1),P0ICIE,POL,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 15:42:39 (GMT 1),5M83333,CZE,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 15:22:18 (GMT 1),INS1,CYP,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 15:21:36 (GMT 1),IEI723705690,No Country,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 15:04:14 (GMT 1),77T706660,IRL,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 15:04:07 (GMT 1),77770666,ISR,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 15:03:58 (GMT 1),3AL6689,CZE,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 14:15:25 (GMT 1),SANITKAA0,No Country,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 14:12:41 (GMT 1),5M83333,CZE,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 14:11:54 (GMT 1),5M83333,CZE,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 14:11:26 (GMT 1),3333,LUX,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 14:11:13 (GMT 1),5M83333,CZE,Not in list,Save to SD Sent to NVR,Unknown
2023-01-19 14:10:33 (GMT 1),5M83333,CZE,Not in list,Save to SD Sent to NVR,Unknown

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
SPZ number/LM - by 2MAX - 09.01.2023, 12:48
RE: SPZ number/LM - by admin - 09.01.2023, 12:57
RE: SPZ number/LM - by 2MAX - 09.01.2023, 13:01
RE: SPZ number/LM - by admin - 09.01.2023, 13:06
RE: SPZ number/LM - by 2MAX - 09.01.2023, 13:27
RE: SPZ number/LM - by admin - 09.01.2023, 13:32
RE: SPZ number/LM - by 2MAX - 09.01.2023, 13:43
RE: SPZ number/LM - by admin - 10.01.2023, 10:34
RE: SPZ number/LM - by 2MAX - 11.01.2023, 12:09
RE: SPZ number/LM - by admin - 11.01.2023, 12:15
RE: SPZ number/LM - by 2MAX - 11.01.2023, 12:49
RE: SPZ number/LM - by admin - 11.01.2023, 12:49
RE: SPZ number/LM - by 2MAX - 11.01.2023, 12:52
RE: SPZ number/LM - by 2MAX - 13.01.2023, 08:25
RE: SPZ number/LM - by Daniel - 13.01.2023, 08:51
RE: SPZ number/LM - by admin - 13.01.2023, 09:26
RE: SPZ number/LM - by 2MAX - 16.01.2023, 11:55
RE: SPZ number/LM - by admin - 16.01.2023, 12:00
RE: SPZ number/LM - by 2MAX - 16.01.2023, 15:24
RE: SPZ number/LM - by admin - 17.01.2023, 07:55
RE: SPZ number/LM - by 2MAX - 17.01.2023, 11:16
RE: SPZ number/LM - by admin - 17.01.2023, 11:17
RE: SPZ number/LM - by 2MAX - 17.01.2023, 11:27
RE: SPZ number/LM - by admin - 17.01.2023, 14:00
RE: SPZ number/LM - by 2MAX - 18.01.2023, 04:54
RE: SPZ number/LM - by admin - 18.01.2023, 08:04
RE: SPZ number/LM - by 2MAX - 18.01.2023, 12:05
RE: SPZ number/LM - by admin - 18.01.2023, 12:17
RE: SPZ number/LM - by 2MAX - 18.01.2023, 12:54
RE: SPZ number/LM - by admin - 18.01.2023, 13:06
RE: SPZ number/LM - by 2MAX - 18.01.2023, 13:11
RE: SPZ number/LM - by admin - 18.01.2023, 13:53
RE: SPZ number/LM - by 2MAX - 19.01.2023, 09:23
RE: SPZ number/LM - by admin - 19.01.2023, 09:29
RE: SPZ number/LM - by 2MAX - 19.01.2023, 19:13
RE: SPZ number/LM - by admin - 20.01.2023, 07:10

Forum Jump: