[{"data":1,"prerenderedAt":950},["ShallowReactive",2],{"docs-navigation":3,"docs-\u002Fdocs\u002Freference\u002Fapi":174,"docs-\u002Fdocs\u002Freference\u002Fapi-surround":947},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","\u002Fdocs","docs",[9,12,114,144],{"title":10,"path":6,"stem":11},"Overview","docs\u002Findex",{"title":13,"path":14,"stem":15,"children":16},"Camera app","\u002Fdocs\u002Fcamera","docs\u002F1.camera\u002Findex",[17,18,22,26,60,82,86,90,94,98,102,106,110],{"title":10,"path":14,"stem":15},{"title":19,"path":20,"stem":21},"Requirements","\u002Fdocs\u002Fcamera\u002Frequirements","docs\u002F1.camera\u002F01.requirements",{"title":23,"path":24,"stem":25},"Install","\u002Fdocs\u002Fcamera\u002Finstall","docs\u002F1.camera\u002F02.install",{"title":27,"path":28,"stem":29,"children":30},"Connections","\u002Fdocs\u002Fcamera\u002Fconnections","docs\u002F1.camera\u002F03.connections\u002Findex",[31,32,36,40,44,48,52,56],{"title":27,"path":28,"stem":29},{"title":33,"path":34,"stem":35},"Allen-Bradley","\u002Fdocs\u002Fcamera\u002Fconnections\u002Fallen-bradley","docs\u002F1.camera\u002F03.connections\u002F1.allen-bradley",{"title":37,"path":38,"stem":39},"ABB Robot Web Services","\u002Fdocs\u002Fcamera\u002Fconnections\u002Fabb-rws","docs\u002F1.camera\u002F03.connections\u002F2.abb-rws",{"title":41,"path":42,"stem":43},"Mazak MTConnect","\u002Fdocs\u002Fcamera\u002Fconnections\u002Fmtconnect","docs\u002F1.camera\u002F03.connections\u002F3.mtconnect",{"title":45,"path":46,"stem":47},"SNMP","\u002Fdocs\u002Fcamera\u002Fconnections\u002Fsnmp","docs\u002F1.camera\u002F03.connections\u002F4.snmp",{"title":49,"path":50,"stem":51},"Modbus TCP","\u002Fdocs\u002Fcamera\u002Fconnections\u002Fmodbus-tcp","docs\u002F1.camera\u002F03.connections\u002F5.modbus-tcp",{"title":53,"path":54,"stem":55},"Camera events","\u002Fdocs\u002Fcamera\u002Fconnections\u002Fcamera-events","docs\u002F1.camera\u002F03.connections\u002F6.camera-events",{"title":57,"path":58,"stem":59},"Demo and diagnostics","\u002Fdocs\u002Fcamera\u002Fconnections\u002Fdemo-and-diagnostics","docs\u002F1.camera\u002F03.connections\u002F7.demo-and-diagnostics",{"title":61,"path":62,"stem":63,"children":64},"Devices","\u002Fdocs\u002Fcamera\u002Fdevices","docs\u002F1.camera\u002F04.devices\u002Findex",[65,66,70,74,78],{"title":61,"path":62,"stem":63},{"title":67,"path":68,"stem":69},"Robots","\u002Fdocs\u002Fcamera\u002Fdevices\u002Frobots","docs\u002F1.camera\u002F04.devices\u002F1.robots",{"title":71,"path":72,"stem":73},"CNC machines","\u002Fdocs\u002Fcamera\u002Fdevices\u002Fcnc","docs\u002F1.camera\u002F04.devices\u002F2.cnc",{"title":75,"path":76,"stem":77},"UPS","\u002Fdocs\u002Fcamera\u002Fdevices\u002Fups","docs\u002F1.camera\u002F04.devices\u002F3.ups",{"title":79,"path":80,"stem":81},"ATS \u002F PDU","\u002Fdocs\u002Fcamera\u002Fdevices\u002Fats-pdu","docs\u002F1.camera\u002F04.devices\u002F4.ats-pdu",{"title":83,"path":84,"stem":85},"Tags","\u002Fdocs\u002Fcamera\u002Ftags","docs\u002F1.camera\u002F05.tags",{"title":87,"path":88,"stem":89},"Overlay","\u002Fdocs\u002Fcamera\u002Foverlay","docs\u002F1.camera\u002F06.overlay",{"title":91,"path":92,"stem":93},"History and charts","\u002Fdocs\u002Fcamera\u002Fhistory-and-charts","docs\u002F1.camera\u002F07.history-and-charts",{"title":95,"path":96,"stem":97},"DataBorder","\u002Fdocs\u002Fcamera\u002Fdataborder","docs\u002F1.camera\u002F08.databorder",{"title":99,"path":100,"stem":101},"Recording","\u002Fdocs\u002Fcamera\u002Frecording","docs\u002F1.camera\u002F09.recording",{"title":103,"path":104,"stem":105},"Performance","\u002Fdocs\u002Fcamera\u002Fperformance","docs\u002F1.camera\u002F10.performance",{"title":107,"path":108,"stem":109},"Status and troubleshooting","\u002Fdocs\u002Fcamera\u002Fstatus-and-troubleshooting","docs\u002F1.camera\u002F11.status-and-troubleshooting",{"title":111,"path":112,"stem":113},"Export and import","\u002Fdocs\u002Fcamera\u002Fexport-import","docs\u002F1.camera\u002F12.export-import",{"title":115,"path":116,"stem":117,"children":118},"Decoder","\u002Fdocs\u002Fdecoder","docs\u002F2.decoder\u002Findex",[119,120,124,128,132,136,140],{"title":10,"path":116,"stem":117},{"title":121,"path":122,"stem":123},"Clips","\u002Fdocs\u002Fdecoder\u002Fopen-clips","docs\u002F2.decoder\u002F01.open-clips",{"title":125,"path":126,"stem":127},"Timeline","\u002Fdocs\u002Fdecoder\u002Ftimeline","docs\u002F2.decoder\u002F02.timeline",{"title":129,"path":130,"stem":131},"Decoded data","\u002Fdocs\u002Fdecoder\u002Fdecoded-data","docs\u002F2.decoder\u002F03.decoded-data",{"title":133,"path":134,"stem":135},"Signal view","\u002Fdocs\u002Fdecoder\u002Fsignal-view","docs\u002F2.decoder\u002F04.signal-view",{"title":137,"path":138,"stem":139},"Verification","\u002Fdocs\u002Fdecoder\u002Fverify","docs\u002F2.decoder\u002F05.verify",{"title":141,"path":142,"stem":143},"Troubleshooting","\u002Fdocs\u002Fdecoder\u002Ftroubleshooting","docs\u002F2.decoder\u002F06.troubleshooting",{"title":145,"path":146,"stem":147,"children":148,"page":173},"Reference","\u002Fdocs\u002Freference","docs\u002F3.reference",[149,153,157,161,165,169],{"title":150,"path":151,"stem":152},"Configuration settings","\u002Fdocs\u002Freference\u002Fconfiguration","docs\u002F3.reference\u002F1.configuration",{"title":154,"path":155,"stem":156},"Device profiles","\u002Fdocs\u002Freference\u002Fprofiles","docs\u002F3.reference\u002F2.profiles",{"title":158,"path":159,"stem":160},"Compatibility","\u002Fdocs\u002Freference\u002Fcompatibility","docs\u002F3.reference\u002F3.compatibility",{"title":162,"path":163,"stem":164},"Release notes","\u002Fdocs\u002Freference\u002Frelease-notes","docs\u002F3.reference\u002F4.release-notes",{"title":166,"path":167,"stem":168},"Glossary","\u002Fdocs\u002Freference\u002Fglossary","docs\u002F3.reference\u002F5.glossary",{"title":170,"path":171,"stem":172},"API","\u002Fdocs\u002Freference\u002Fapi","docs\u002F3.reference\u002F6.api",false,{"id":175,"title":170,"body":176,"description":940,"extension":941,"meta":942,"navigation":943,"path":171,"seo":944,"source":945,"stem":172,"__hash__":946},"docs\u002Fdocs\u002F3.reference\u002F6.api.md",{"type":177,"value":178,"toc":927},"minimark",[179,188,193,254,257,291,295,321,392,395,400,452,455,495,606,611,615,653,706,710,764,775,779,843,850,854,920,923],[180,181,182,183,187],"p",{},"The camera application serves a small JSON API at ",[184,185,186],"code",{},"https:\u002F\u002F\u003Ccamera>\u002Flocal\u002Fraviden\u002Fapi\u002F",". The web interface uses it, and everything the interface shows or saves is available through it. An engineer, a script or an AI assistant can read the live status, change the configuration and pull a support bundle without opening the interface.",[189,190,192],"h2",{"id":191},"access","Access",[194,195,196,209],"table",{},[197,198,199],"thead",{},[200,201,202,206],"tr",{},[203,204,205],"th",{},"Item",[203,207,208],{},"Details",[210,211,212,222,234,242],"tbody",{},[200,213,214,218],{},[215,216,217],"td",{},"Base path",[215,219,220],{},[184,221,186],{},[200,223,224,227],{},[215,225,226],{},"Login",[215,228,229,230,233],{},"The camera's own administrator account, with HTTP digest or basic authentication. Any other account gets ",[184,231,232],{},"401",".",[200,235,236,239],{},[215,237,238],{},"Transport",[215,240,241],{},"HTTPS only. The camera's certificate is self-signed unless the plant installed one.",[200,243,244,247],{},[215,245,246],{},"Format",[215,248,249,250,253],{},"Every response is JSON. Errors carry ",[184,251,252],{},"{\"error\": \"\u003Creason>\"}"," and an HTTP status.",[180,255,256],{},"An assistant that drives the API holds the camera's administrator login. Give it a dedicated account and remove it afterwards.",[258,259,264],"pre",{"className":260,"code":261,"language":262,"meta":263,"style":263},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -sk --anyauth -u admin:password https:\u002F\u002F192.168.0.200\u002Flocal\u002Fraviden\u002Fapi\u002Fstatus\n","bash","",[184,265,266],{"__ignoreMap":263},[267,268,271,275,279,282,285,288],"span",{"class":269,"line":270},"line",1,[267,272,274],{"class":273},"sBMFI","curl",[267,276,278],{"class":277},"sfazB"," -sk",[267,280,281],{"class":277}," --anyauth",[267,283,284],{"class":277}," -u",[267,286,287],{"class":277}," admin:password",[267,289,290],{"class":277}," https:\u002F\u002F192.168.0.200\u002Flocal\u002Fraviden\u002Fapi\u002Fstatus\n",[189,292,294],{"id":293},"configuration","Configuration",[180,296,297,298,301,302,301,305,301,308,311,312,315,316,320],{},"The configuration is one JSON document with five sections: ",[184,299,300],{},"connections",", ",[184,303,304],{},"tags",[184,306,307],{},"overlay",[184,309,310],{},"streamEncode"," and ",[184,313,314],{},"settings",". There are no routes for single connections, tags or elements. A change reads the document, edits it and writes the whole document back. The camera validates it against the ",[317,318,319],"a",{"href":151},"configuration schema",", applies it live and does not restart.",[194,322,323,336],{},[197,324,325],{},[200,326,327,330,333],{},[203,328,329],{},"Route",[203,331,332],{},"Method",[203,334,335],{},"Returns",[210,337,338,351,375],{},[200,339,340,345,348],{},[215,341,342],{},[184,343,344],{},"\u002Fconfig",[215,346,347],{},"GET",[215,349,350],{},"The current configuration. Connection passwords are blank.",[200,352,353,358,361],{},[215,354,355],{},[184,356,357],{},"\u002Fconfig?base=N",[215,359,360],{},"PUT",[215,362,363,366,367,370,371,374],{},[184,364,365],{},"{\"ok\": true}"," after the camera validates and applies the document. ",[184,368,369],{},"422"," with the reason when it is refused, ",[184,372,373],{},"409"," on conflict.",[200,376,377,382,384],{},[215,378,379],{},[184,380,381],{},"\u002Fschema",[215,383,347],{},[215,385,386,387,233],{},"The JSON schema the camera validates against. Also served on this site at ",[317,388,390],{"href":389},"\u002Fschema\u002Fconfig.schema.json",[184,391,389],{},[180,393,394],{},"A blank password in a PUT keeps the password already stored for that connection id, so you can write a document read from GET back unchanged.",[396,397,399],"h3",{"id":398},"procedure","Procedure",[401,402,403,419,427,444],"ol",{},[404,405,406,410,411,414,415,418],"li",{},[407,408,409],"strong",{},"Status",". Read ",[184,412,413],{},"\u002Fstatus"," and note ",[184,416,417],{},"configUserGeneration",", the generation of the last save made by a person.",[404,420,421,410,424,426],{},[407,422,423],{},"Document",[184,425,344],{}," and make the change.",[404,428,429,432,433,436,437,439,440,443],{},[407,430,431],{},"Write",". PUT the document with ",[184,434,435],{},"base"," set to the generation from step 1. The camera answers ",[184,438,373],{}," if someone saved in between. Read again and repeat rather than adding ",[184,441,442],{},"force=1",". That flag overwrites the other save.",[404,445,446,410,449,451],{},[407,447,448],{},"Check",[184,450,413],{}," again. A tag added in the document appears with a value once its connection reads it.",[189,453,409],{"id":454},"status",[194,456,457,467],{},[197,458,459],{},[200,460,461,463,465],{},[203,462,329],{},[203,464,332],{},[203,466,335],{},[210,468,469,480],{},[200,470,471,475,477],{},[215,472,473],{},[184,474,413],{},[215,476,347],{},[215,478,479],{},"Every connection and every tag, keyed by id, plus the three generation counters and the live DataBorder estimates when the DataBorder is on.",[200,481,482,487,489],{},[215,483,484],{},[184,485,486],{},"\u002Fevents",[215,488,347],{},[215,490,491,492,494],{},"The same document as a server-sent event named ",[184,493,454],{},", pushed whenever a value, quality or connection state changes.",[194,496,497,510],{},[197,498,499],{},[200,500,501,504,507],{},[203,502,503],{},"Field",[203,505,506],{},"On",[203,508,509],{},"Values",[210,511,512,537,552,568,589],{},[200,513,514,519,522],{},[215,515,516],{},[184,517,518],{},"state",[215,520,521],{},"connection",[215,523,524,301,527,301,530,533,534],{},[184,525,526],{},"disabled",[184,528,529],{},"connecting",[184,531,532],{},"connected"," or ",[184,535,536],{},"error",[200,538,539,547,549],{},[215,540,541,301,544],{},[184,542,543],{},"lastError",[184,545,546],{},"lastOkMs",[215,548,521],{},[215,550,551],{},"The reason for the last failure and the time of the last successful read, in milliseconds.",[200,553,554,562,565],{},[215,555,556,301,559],{},[184,557,558],{},"value",[184,560,561],{},"tsMs",[215,563,564],{},"tag",[215,566,567],{},"The last value and when it was read.",[200,569,570,575,577],{},[215,571,572],{},[184,573,574],{},"quality",[215,576,564],{},[215,578,579,301,582,533,585,588],{},[184,580,581],{},"good",[184,583,584],{},"bad",[184,586,587],{},"uninit"," for a tag that has never been read.",[200,590,591,601,603],{},[215,592,593,301,596,301,599],{},[184,594,595],{},"reads",[184,597,598],{},"errors",[184,600,543],{},[215,602,564],{},[215,604,605],{},"Counters since the application started and the text of the last failed read.",[180,607,608,609,233],{},"The camera polls only used tags. A tag that is on no overlay element, not in the DataBorder and not feeding a derived state stays ",[184,610,587],{},[189,612,614],{"id":613},"history","History",[194,616,617,627],{},[197,618,619],{},[200,620,621,623,625],{},[203,622,329],{},[203,624,332],{},[203,626,335],{},[210,628,629,641],{},[200,630,631,636,638],{},[215,632,633],{},[184,634,635],{},"\u002Fhistory",[215,637,347],{},[215,639,640],{},"The stored-data summary: the tiers, each tag's fill, the oldest sample, memory and flash use, and the last save to flash.",[200,642,643,648,650],{},[215,644,645],{},[184,646,647],{},"\u002Fhistory\u002F\u003Ctag>?window=\u003Cs>",[215,649,347],{},[215,651,652],{},"One tag's history over the window, in seconds. Default 3600, minimum 60, maximum 604800.",[180,654,655,656,659,660,663,664,301,667,301,670,301,673,301,676,311,679,682,683,301,686,301,689,311,692,695,696,699,700,311,702,705],{},"The reply's ",[184,657,658],{},"kind"," says which shape follows. A measurement tag returns ",[184,661,662],{},"buckets",", each with ",[184,665,666],{},"t",[184,668,669],{},"min",[184,671,672],{},"max",[184,674,675],{},"last",[184,677,678],{},"avg",[184,680,681],{},"n",", at the finest tier that covers the window. A state tag returns ",[184,684,685],{},"runs",[184,687,688],{},"totals",[184,690,691],{},"hourly",[184,693,694],{},"current",". A string tag returns ",[184,697,698],{},"entries"," of ",[184,701,666],{},[184,703,704],{},"v",". Gaps are absent rather than filled.",[189,707,709],{"id":708},"tag-browsing","Tag browsing",[194,711,712,722],{},[197,713,714],{},[200,715,716,718,720],{},[203,717,329],{},[203,719,332],{},[203,721,335],{},[210,723,724,752],{},[200,725,726,731,733],{},[215,727,728],{},[184,729,730],{},"\u002Fbrowse\u002F\u003Cconnection>",[215,732,347],{},[215,734,735,736,301,739,301,742,301,745,748,749,233],{},"The tags the connection's source offers, each with ",[184,737,738],{},"name",[184,740,741],{},"scope",[184,743,744],{},"dataType",[184,746,747],{},"scalar"," and, for a structure, ",[184,750,751],{},"udtId",[200,753,754,759,761],{},[215,755,756],{},[184,757,758],{},"\u002Fbrowse\u002F\u003Cconnection>\u002Fudt\u002F\u003Cid>",[215,760,347],{},[215,762,763],{},"The members of one Allen-Bradley user-defined type.",[180,765,766,767,770,771,774],{},"Browsing opens its own session to the source, so the connection does not need to be enabled. ",[184,768,769],{},"404"," names an unknown connection id and ",[184,772,773],{},"502"," carries the source's refusal.",[189,776,778],{"id":777},"support-and-identity","Support and identity",[194,780,781,791],{},[197,782,783],{},[200,784,785,787,789],{},[203,786,329],{},[203,788,332],{},[203,790,335],{},[210,792,793,805,817,829],{},[200,794,795,800,802],{},[215,796,797],{},[184,798,799],{},"\u002Fabout",[215,801,347],{},[215,803,804],{},"The application name, version, build time and build commit.",[200,806,807,812,814],{},[215,808,809],{},[184,810,811],{},"\u002Fdiagnostics",[215,813,347],{},[215,815,816],{},"The support bundle: build, camera model and firmware, the application's log lines, the live status, the configuration with passwords blank, and the health counters.",[200,818,819,824,826],{},[215,820,821],{},[184,822,823],{},"\u002Fappstats",[215,825,347],{},[215,827,828],{},"One raw sample of the health counters. Rates and CPU shares come from the difference between two samples.",[200,830,831,836,838],{},[215,832,833],{},[184,834,835],{},"\u002Fsigning-key",[215,837,347],{},[215,839,840,841,233],{},"The DataBorder's Ed25519 public key and its fingerprint. See ",[317,842,137],{"href":138},[180,844,845,846,849],{},"The diagnostics bundle is the same file as ",[407,847,848],{},"Settings → Config file → Download diagnostics",". It contains nothing secret and is the first thing to hand to support or to an assistant.",[189,851,853],{"id":852},"backup-and-restore","Backup and restore",[194,855,856,866],{},[197,857,858],{},[200,859,860,862,864],{},[203,861,329],{},[203,863,332],{},[203,865,335],{},[210,867,868,880,899],{},[200,869,870,875,877],{},[215,871,872],{},[184,873,874],{},"\u002Fbackup",[215,876,347],{},[215,878,879],{},"The configuration with passwords blank and the stored history, as one bundle.",[200,881,882,887,889],{},[215,883,884],{},[184,885,886],{},"\u002Fbackup?secrets=1",[215,888,347],{},[215,890,891,892,895,896,233],{},"The same bundle plus the connection passwords and the private signing key. The bundle's ",[184,893,894],{},"secrets"," field is ",[184,897,898],{},"true",[200,900,901,906,909],{},[215,902,903],{},[184,904,905],{},"\u002Frestore",[215,907,908],{},"POST",[215,910,911,912,915,916,919],{},"Writes a bundle to the camera and restarts the application. ",[184,913,914],{},"{\"ok\": true, \"written\": N}"," on success, ",[184,917,918],{},"400"," naming the bad entry otherwise.",[180,921,922],{},"A bundle with secrets is the only way to move a camera's identity. Recordings verify against the signing key, and a new key gives a new fingerprint. Keep such a bundle off shared drives and out of chat transcripts. A restore from a bundle without secrets keeps the camera's existing key and passwords, or generates a key on a fresh install.",[924,925,926],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":263,"searchDepth":928,"depth":928,"links":929},3,[930,932,935,936,937,938,939],{"id":191,"depth":931,"text":192},2,{"id":293,"depth":931,"text":294,"children":933},[934],{"id":398,"depth":928,"text":399},{"id":454,"depth":931,"text":409},{"id":613,"depth":931,"text":614},{"id":708,"depth":931,"text":709},{"id":777,"depth":931,"text":778},{"id":852,"depth":931,"text":853},"Reading and writing the camera application over HTTP.","md",{},true,{"title":170,"description":940},null,"K1sXHt8TUEbmeeqimcy_DSHg56XqbhCVwW_Sw4lwQg0",[948,945],{"title":166,"path":167,"stem":168,"description":949,"children":-1},"Terms used across the camera application and the decoder.",1790610122498]