# MxMC Fernsteuerungsbefehle (API)

**URL:** https://community.mobotix.com/t/mxmc-fernsteuerungsbefehle-api/2194
**Category:** MxMC - Best Practice
**Created:** [February 10, 2020, 9:22am UTC](https://community.mobotix.com/t/mxmc-fernsteuerungsbefehle-api/2194 "2020-02-10T09:22:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Mx-MaikC](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.mobotix.com/mx-maikc/32/1179_2.png) [@Mx-MaikC](https://community.mobotix.com/u/Mx-MaikC)
#### Post date: [February 10, 2020, 9:22am UTC](https://community.mobotix.com/t/mxmc-fernsteuerungsbefehle-api/2194/1 "2020-02-10T09:22:17Z")

</div>

Es ist möglich, Funktionen des MxManagementCenters über eine HTTP-API zu steuern, die z.B. bei einem Ereignis von der Kamera zum MxManagementCenter gesendet wird.  
z.B. die Kamera meldet eine Bewegung(Alarm) und sendet dem MxMC einen Befehl, die Kamera welche einen Alarm hat direkt Live zu zeigen.  
API: [http://172.22.0.40:8001/show?ip=172.22.0.48](http://172.22.0.40:8001/show?ip=172.22.0.48)  
Somit wird die Kamera mit der IP 172.22.0.48 im MxMC direkt Live angezeigt.

Hierzu müssen Sie zunächste die Fernteuerung des MxMC aktivieren:  
Den Port für die Fernsteuerung können Sie beliebig ändern.  
Wenn Sie einen Benutzer und Passwort eingeben, so muss dieser in der HTTP-API in der Kamera selbst hinterlegt werden.

 ![Fernsteuerung](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/b/b5bc8bad1e7ba7da378dd898372325d869da733e.png)

API Beispiel Kamera:

 ![API MxMC](https://canada1.discourse-cdn.com/flex030/uploads/mobotix/original/2X/4/4d5569db5e077ae8e82968d6bba93d6d20b76b35.png)

Mögliche API’s für das MxMC: Ebenfalls einsehbar im MxMC unter Einstellungen-\> Fernsteuerung

## MxManagementCenter Remote Control 2.2

**show?[\<what=value\>][&][&monitor=][&speaker[=on/off]**

**show?\<what=value\>**

**show?ip=…** camera IP, host name, or factory IP  
**show?name=…** camera name or group name  
**show?camera=…** camera name  
**show?group=…** group name  
**show?sensor=…** sensor index (1,2)

**show?**

**show?live** show live view  
**show?player** show player view  
**show?gridplayer** show grid player view  
**show?events** show research view  
**show?grid** show grid view  
**show?map** show graphic view  
**show?info** show info view

**show?..&monitor=** show view on monitor with number only for live, grid, graphic, info  
**show?..&speaker[=on/off]** enable live audio playback only for live, grid

Example:  
**show?group=&camera=&grid**

**show?devicestrip [=on/off]** show device bar  
**show?histogramstrip[=on/off]** show histogram bar  
**show?camerastrip [=on/off]** show camera bar  
**show?groupstrip [=on/off]** show group bar  
**show?alarmstrip [=on/off]** show alarm bar  
**show?exportstrip [=on/off]** show export bar

**speaker[?on/off]** enable live audio playback only for live, grid

**sound** play default sound  
**sound[?name=][&volume=][&duration=]**

**message?text=…** message text  
**alarm?text=…** alarm text  
**alarm?ip=…** camera IP, host name, or factory IP  
**alarm?camera=…** camera name  
**alarm?\<what=…\>&sound=…**

**fullscreen[?on/off]** enter/exit full screen mode  
**fullsize[?on/off]** enter/exit full size mode  
**fullview[?on/off]** enter/exit full screen and full size mode

**reload** reconnect all camera connections  
**reload?ip=…** reconnect only given cameras (see show)

**playback?query=…** time, range, clip

**playback?&speed=…&mode=…**  
**playback?stop** stops playback  
**playback?jump** single step  
**playback?play** start playback  
**playback?play&speed=…** speedrate -16x…16x or -48x…48x (fileserver)  
**playback?play&mode=…** full, clip, event, preevent, marker, 1day, 1hour, 10min or 1min

**playback?seek=\<date&time\>[&timeout=]**

Examples:  
**playback?seek=2018-10-01+12:00:00&timeout=10000**  
**playback?speed=16&play**

**exports?export[&camera=][&ip=] profile=&time=2018-10-01+12:00:00**starts exporting a range from a camera with predefined profile   
**[&before=10000&after=30000]** range and time given in msec  
**[&path=file://pathtoexportfolder]**  
**[&noProgress]** exports in quite mode  
**[&viaCamera]** forces to export recordings via the camera rather than via configured fileserver  
**[&reImport]** automatically imports clip after export  
**[&delay=]** delays export seconds as recordings may not be immediately available for the latest events

**exports?clear** clears the export bar  
**exports?status** returns number of active exports  
**exports?add&camera=**  
**&begin=2018-10-01+12:00:00&end=2018-10-01+12:10** add given time range for camera to export bar  
**&audio[=on/off]&ptz[=on/off]**  
**exports?export&profile=**  
**[&path=file://pathtoexportfolder]** starts exporting the export bar with profile   
**exports?create&profile=Test&format=AVI&framerate=25&resolution=1024x768 &audio[=on/off]&ptz[=on/off]&separate[=on/off]&max=1024** create a profile with given parameters  
**exports?delete&profile=Test** delete the profile   
**exports?set&profile=Test&framerate=12&resolution=420p**  
**exports?set&profile=Test&max=…** max file size in MB change parameters of profile

**snapshot** save snapshot

**list?**  
**list?cameras** camera names  
**list?cameraids** camera ids  
**list?views** view names  
**list?viewids** view ids  
**list?clips** clip names  
**list?clipsids** clip ids  
**list?groups** group names  
**list?groupids** group ids

**version**  
**version?minimum=..**.  
**about**  
**help** show this help  
**raise** bring main window to front  
**home** load home view  
**quit** quit the application
