Announcement

Collapse
No announcement yet.

Novatek NT96660 (-50/-55) Web API.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Novatek NT96660 (-50/-55) Web API.

    Web API command list:

    All available commands are listed. Descriptions will be updated as possible.

    Photo mode:

    1001 - Take photo. Returns filename and number of pictures left or errcode.
    1002 - Set photo size.
    1003 - Get number of pictures left (depends on free memory and image resolution).

    Video mode:

    2001 - Start/stop video rec (1/0).
    2002 - Set video mode.
    2003 -
    2004 -
    2005 -
    2006 -
    2007 -
    2008 -
    2009 -
    2010 -
    2011 - Set up G-sensor level: 0=off, 3=max
    2012 -
    2013 -
    2014 -
    2015 -
    2016 -
    2017 -
    2018 -

    Settings:

    3001 - Select mode: 0/1/2 (photo/video/playback).
    3002 - List all commands.
    3003 -
    3004 -
    3005 - Set date: yy-mm-dd
    3006 - Set time: hh-mm-ss
    3007 -
    3008 -
    3009 -
    3010 -
    3011 - Reset defaults.
    3012 -
    3013 -
    3014 -
    3015 -
    3016 - Ping.
    3017 -
    3018 -
    3019 -
    3020 -
    3021 -
    3022 -
    3023 -
    3024 -
    3025 -
    3026 -
    3029 -
    3030 - Get video modes.
    3031 -
    3032 -
    3033 -

    FIle operations:

    4001 -
    4002 -
    4003 -
    4004 - Delete all files.

    5001 - Returns 32k of random (?) data.
    Donate here if you want to support my efforts and this site.

    Email me if you have any offers, requests or ideas.

  • #2
    Command list at GitHub: https://github.com/nutsey/novatek-web-api-commands
    Donate here if you want to support my efforts and this site.

    Email me if you have any offers, requests or ideas.

    Comment


    • #3
      Hi. Sorry for stupid question. I'm new in Novatek cams, and have no any "reverse enginering" experience. How can I "trigger" these commands?
      Connect to wifi and how to continue...?

      Comment


      • kotysoft
        kotysoft commented
        Editing a comment
        Ok, I just found it, sorry
        http://192.168.1.254/?custom=1&cmd={Command}&par={Option}

    • #4
      Hello. I own a JOOY A1 (Novatek 96658 based dashcam). According to Github I can set custom bitrate to this cam or am I wrong? When I open http://192.168.1.254/?custom=1&cmd=2013 without param I get this result: "2013 0". No matter if it is recording or not. When I open http://192.168.1.254/?custom=1&cmd=2013&par=15000 (with parameter) my dashcam simply reboots. So can I set custom video bitrate or not?

      Comment


      • nutsey
        nutsey commented
        Editing a comment
        Alf You can't change it if this option is not enabled by manufacturer.

    • #5
      Web API error codes:
      Code:
      BATTERY_LOW = -10
      CARD_INSERT = 9
      CARD_REMOVE = 10
      CMD_CONNECT_TIMEOUT = -1002
      CMD_NOTFOUND = -256
      CMD_SOCKET_TIMEOUT = -1001
      DELETE_FAILED = -6
      DISCONNECT = 3
      EXIF_ERR = -2
      FAIL = -13
      FILE_ERROR = -5
      FILE_LOCKED = -4
      FOLDER_FUL = -12
      FW_INVALID_STG = -19
      FW_OFFSET = -20
      FW_READ2_ERR = -15
      FW_READ_CHK_ERR = -17
      FW_READ_ERR = -18
      FW_WRITE_CHK_ERR = -14
      FW_WRITE_ERR = -16
      MIC_OFF = 5
      MIC_ON = 4
      MOVIE_FULL = -7
      MOVIE_SLOW = -9
      MOVIE_WR_ERROR = -8
      NOBUF = -3
      NOFILE = -1
      OK = 0
      PAR_ERR = -21
      POWER_OFF = 6
      RECORD_STARTED = 1
      RECORD_STOPPED = 2
      REMOVE_BY_USER = 7
      SENSOR_NUM_CHANGED = 8
      STORAGE_FULL = -11
      Donate here if you want to support my efforts and this site.

      Email me if you have any offers, requests or ideas.

      Comment


      • #6
        WebAPI commands demo - test.htm: test-htm.zip
        Donate here if you want to support my efforts and this site.

        Email me if you have any offers, requests or ideas.

        Comment

        Working...
        X