Muralis

Reference

Remote control

How to control a Muralis panel from a distance: over HTTP, over MQTT, or from a smart-home system. Each command has a short description, its arguments, an example and the real reply. The examples use 192.0.2.42 for the panel and 192.0.2.10 for the MQTT broker; put your own addresses in their place.

Before you start

Reload the dashboard, over HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command -d cmnd=dashboard.reload

The same over MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m dashboard.reload

Reply

{"status":"accepted","detail":""}
  • Free. The web admin, the HTTP API and MQTT work on every panel.
  • The web admin starts once an admin password of at least 8 characters is stored and its switch is on. Port 8080 until changed; any port from 1024 to 65535.
  • MQTT starts as soon as a broker host is stored. A username and a password are optional.
  • One command set. HTTP and MQTT run the same code, so a command behaves and is refused in the same words on both. After an accepted command the panel republishes its MQTT state within half a second.
  • Device owner. Three things need the device-owner install (by QR at setup, or dpm set-device-owner over adb): system.reboot, the real screen-off, and CPU and temperature readings on stock Android.
More about MQTT over TLS

The connection is plain TCP unless Encrypted (TLS) is on. With TLS the broker is trusted when Android trusts its certificate for its name, or when its certificate is the one trusted on the panel: after the first refused connection both surfaces show its SHA-256 and a Trust button. A client certificate uploaded in the web admin (a PEM certificate and an unencrypted key, with clientAuth) is presented when the broker asks for one. Without TLS, use MQTT on a network you trust.

HTTP

HTTPS and the certificate

The panel serves HTTPS with a certificate it made itself, so a browser warns once; one click accepts it. A plain http:// request on the same port gets a redirect to the https address and is never asked for a password. While the panel cannot use its certificate, after a restart until the device is first unlocked or where none can be made, the web admin stays closed: every request gets 503 with the reason, and no password is asked.

curl -i http://192.0.2.42:8080/api/stats

Reply

HTTP/1.1 301 Moved Permanently
Location: https://192.0.2.42:8080/

This panel speaks HTTPS: https://192.0.2.42:8080/

In the examples -k tells curl to accept the panel’s own certificate. To check it, compare the fingerprint the browser shows with the one on the panel’s web-admin card, on the web admin page, and in config.http_certificate_sha256. To pin it, save it once with openssl s_client -connect 192.0.2.42:8080 -showcerts and pass it to curl with --cacert.

A certificate of your own. Upload a certificate and its key, for example from Let’s Encrypt, and the panel serves it instead. Send the same request again after each renewal.

curl -k --proto =https -u :your-admin-password https://192.0.2.42:8080/api/certificate \
     -F certificate=@fullchain.pem -F key=@privkey.pem

Reply

{"status":"accepted","detail":"saved"}
More about your own certificate

The certificate file holds one or more PEM blocks, the server’s certificate first, then any intermediates (fullchain.pem as certbot writes it, or cert.pem and chain.pem pasted together); a root in it is left out. The key is an unencrypted PEM key, RSA or EC (BEGIN PRIVATE KEY, BEGIN EC PRIVATE KEY or BEGIN RSA PRIVATE KEY). One file holding both also works. Nothing is kept until the key is shown to belong to the first certificate.

An upload must come over HTTPS: pass --proto =https so curl never sends the key over plain HTTP. A browser shows no warning when it trusts the authority and the address you open is a name or address in the certificate.

Choose between your certificate and the panel’s own on the panel’s web-admin card or with the instant setting http_certificate; an upload chooses itself. An upload that cannot be read when the panel starts is not served: the panel’s own certificate is, and both surfaces say why, as does config.http_certificate_problem.

Refused with:

  • no certificate was chosen
  • the request was not a file upload
  • the upload did not arrive complete; please try again
  • no certificate was found; a certificate file begins with -----BEGIN CERTIFICATE-----
  • that is a certificate request; upload the certificate the authority sent back for it
  • no private key was found; a key file begins with -----BEGIN PRIVATE KEY-----
  • more than one private key was given
  • the private key is protected by a passphrase, and a panel has nowhere to type one when it starts; save it without one with openssl pkey -in key.pem -out key-open.pem
  • the private key does not belong to the certificate
  • the private key belongs to another certificate in the file; the server's own certificate has to come first
  • the certificate's key is …; the web admin serves RSA and EC keys
  • the certificate is not one for a server (its extended key usage has no serverAuth), and no browser accepts it for one
  • the certificate's key usage has no digitalSignature, and no browser accepts it for a server
  • a name in the certificate is longer than 253 characters, which no browser matches to an address
  • more than 8 certificates were given
  • a certificate in the file cannot be read
  • the private key cannot be read
  • this panel could not keep it; try again
  • this panel could not keep it, and the one it had stays; try again
  • this panel could not keep it; upload it again

Authentication

HTTP Basic on every request, the web admin page included. The username is ignored; only the password counts. There are no cookies, tokens or sessions.

curl -k -i https://192.0.2.42:8080/api/stats

Reply

HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="Muralis"
Content-Type: text/plain

Unauthorized

Five wrong passwords from one address lock that address out: 429 Too Many Requests with a Retry-After header. The lockout lasts 30 seconds the first time, doubles each time up to 15 minutes, and is forgotten after an hour of quiet. The status document counts lockouts in runtime.auth_lockouts, with the address.

From a browser

Every POST is checked against cross-site requests. A request with Sec-Fetch-Site must say same-origin or none; a request with Origin must match the Host it went to. A request with neither header, as curl and automations send, passes.

curl -k -u :your-admin-password -H 'Origin: http://evil.example' -X POST https://192.0.2.42:8080/api/command -d cmnd=dashboard.reload

Reply, HTTP 403

Forbidden: Origin does not match Host

Endpoints

Every address the web admin answers on, grouped. Each group’s details are behind More, under the table.

RequestWhat it doesReply
Commands, settings and status
GET /The web admin page.200 HTML
POST /Saves one settings box; see Settings boxes.200 the page; 400 with the reason
POST /api/commandRuns a command; see Commands.200 JSON; 400 for a malformed request
GET /api/commandRefused: a GET must not change state.405, Allow: POST
POST /api/settingApplies one instant setting.200 or 400 JSON
GET /api/statsThe status document.200 JSON
POST /api/checkTests a value from the panel’s side; see Checks.200 JSON
GET /api/logThe app’s own log, the newest 200 lines.200 text
GET /api/diagnosticsA diagnostics file, built on request and never kept.200 text, as an attachment
GET /api/screenshotThe screen as the wall shows it, full size, captured now.200 PNG; 409 JSON
GET /camera/stream, /camera/snapshot.jpgThe tablet’s camera as an IP camera: an MJPEG stream and the last frame.200; 503
GET /api/camera/picture?name=One picture of a network camera that streams over RTSP, by its name, for its form in the web admin; played on this panel, never stored.200 JPEG; 404
Documents and forms
GET /api/automations, /api/sensors/settings, /api/beacons/namesThe automations, sensor settings and beacon names, each as one JSON document; see Automations and sensor settings.200 JSON
POST /api/automations, /api/sensors/settings, /api/beacons/namesWrites a document back, application/json.200 the document; 400 JSON, nothing written
POST /api/automations/save, /api/automations/deleteThe rule editor’s Save and Delete, form-encoded.303; the editor with the reason
POST /camerasSaves, shows or removes one camera.the page; 400 with Not saved: …
POST /integrationsAdds, saves, tries, switches or removes one integration.the page; 400 with the reason
POST /camera-groupsSaves, shows or removes one group.as above
POST /camera-viewChooses the dashboard’s cameras and their layout, and shows them.the page with Saved.; 400
GET POST /clock-optionsThe Bitcoin clock’s look: its style, label and background.303; 400 HTML
POST /app-lockChooses the dashboard’s app and shows it.303; 400 HTML
POST /page-optionsThe page’s browser options, sign-in and certificates.the page; 400
POST /settings-fileExports, reads and applies the settings file.the file, or the page
GET /api/setup-qr.svgThe setup QR for a new tablet, with this panel’s settings.SVG; 413
Certificates
POST /api/certificateKeeps and serves your own web admin certificate; see HTTPS.200 or 400 JSON
POST /api/certificate/deleteDeletes it; the panel serves its own again.200; 400 JSON
POST /mqtt-certificateKeeps the client certificate for the MQTT broker.303; the reason
Pictures and albums
GET POST /api/albums, /api/pictures and their familyThe Gallery’s pictures and albums; see Pictures and albums.200 or 400
Fleet (Muralis Pro)
POST /api/fleet/codeOpens a join code, or answers the one already open.200 JSON
POST /api/fleet/code/closeEnds the open join code.200 JSON
GET /api/fleet/code.svgThe open join code as a QR code.200 SVG; 404
POST /api/fleet/inviteOpens an invitation for a new tablet.200 JSON; 409
GET /api/fleet/inviteThe open invitation.200 JSON
POST /api/fleet/invite/cancelEnds the open invitation.200 JSON
GET /api/fleet/invite.svgThe open invitation as a QR code.200 SVG; 404
POST /api/fleet/leaveThis panel leaves its fleet.200 JSON
GET /api/fleet/screenshot?panel=One panel’s screen, by its id.200 JPEG; 404; 409
GET POST /api/fleet/speakerThe Speakers card: GET asks every panel how it plays (panels: id, name, reached, on, playing, volume); POST with target (all, group:<id>, panels:<id>,<id>), action (say, play, stop, volume, switch) and value sends it now. Only a panel with its network speaker on takes sound; one not reached never gets it later.200 JSON with detail and results; 400
POST /api/fleet/identifypanel.identify on one panel or on all.200 JSON; 404
GET POST /fleetThe All panels page and its forms.200 HTML
POST /alertsThe fleet’s alerts; see Fleet alerts.200; 400
POST /alerts/testSends a test alert to every channel set, and says where it went; Muralis Pro.the page
POST /fleet/sharedOne shared section’s values, for everyone or a group.303; 400
POST /api/fleet/panelOne panel does what its menu offers: panel (the id) and action, one of dashboard, settings, home_screen, display_on, display_off, reload, restart, reboot, stats_on, stats_off.200; 409 JSON with the reason
GET /api/fleet/settings?panel=One panel’s settings for its page on All panels: each section’s summary and where it comes from.200; 409 JSON
POST /fleet/manage, /fleet/manage/stopManage another panel: this web admin shows that panel’s settings, by panel, until Stop.303
Pages
GET /sensors, /sensor?id=, /automations, /automation?id=, /stats, /ambient, /cameras, /camera?id=, /integrations, /integration?id=, /camera-view, /album?id=, /gallery, /picture?uri=, /clock-options?id=, /app-lock, /settings-file, /page-options, /alertsThe web admin’s pages below the settings.200 HTML
GET /privacy, /termsThe legal texts the app carries.200 HTML
any anything else404
More about commands, settings and status
/api/log
The app’s own log lines, plain text, the newest 200 at most. ?level= one of V D I W E F, ?own=1 for Muralis’s tags alone, ?q= to keep the lines holding that text. Replies: 200 text
/api/diagnostics
A diagnostics file, plain text, built on request and never kept or uploaded by the app: the app version and build, the device (make, model, Android and WebView versions, device owner, lock task, the kind of window), every permission the app declares with whether it is granted, the status document as this surface has it, the counters (renderer deaths, rebuilds, web admin lockouts, the last page and its last error, with how long ago) and the last 200 lines of the app’s own log. No password or key is in it. Replies: 200 text, as an attachment named muralis-diagnostics-<id>-<yyyyMMdd-HHmm>.txt
/api/screenshot
The screen as the wall shows it, whichever layer is up (the page, Ambient, the parking screen, the black film), captured now at full resolution. One capture at a time; requests that arrive while one runs get the same picture. Replies: 200 image/png; 409 JSON with the reason Muralis is not on the panel's screen (another app or the launcher is in front)
/camera/stream, /camera/snapshot.jpg
The camera as an IP camera while its sensor is on: an MJPEG stream (multipart/x-mixed-replace, one part per frame) and the last frame as one JPEG. Two streams at a time; a stream ends when the camera stops, sends no frame for 15 seconds, or one frame takes longer than 10 seconds to be read. Replies: 200; 503 while the camera is off or has no frame yet, or with Retry-After when two streams are already open
More about documents and forms
/api/automations/save, /api/automations/delete
The editor’s Save and Delete, form-encoded: id (empty for a new rule), name, sensor, event_<sensor>, level, at (the time, 22:00, for the time event), minutes, tag, camera_tag, match_text (the text an integration’s value must become), cooldown, action, argument, target, show, seconds, chime, only, only_from, only_to, and baseline, the stored rule as JSON (see the stale rule under settings boxes). Replies: Save: 303 to /automations?id=; Delete: 303 to /automations; the editor again with the reason when refused
/cameras
One camera’s form, form-encoded: was (the stored name, empty for a new one), name, url, full, user, password (blank keeps the stored one); or what=show (a pop-up now) or what=remove with was. Replies: The Cameras page again, 200, or 400 with Not saved: …
/integrations
One integration’s form, form-encoded: id (empty to add one), definition (webvalue), name, and each setting as f_<setting>; a secret setting left blank keeps the stored one and is never sent back. what: save, test (asks the service once with the form, stores nothing), on, off or remove. Replies: The Integrations page with Added., Saved., Answered: … or the reason; 400 for a refusal
/camera-groups
One group’s form: was, name, cam0 … cam9 (the cameras ticked); what=show or what=remove as for a camera. Replies: As above
/camera-view
The Dashboard cameras page: dashboard_cameras (a camera or a group, required), camera_layout, camera_big, camera_names; saving also makes the dashboard show the cameras, as dashboard.show with cameras. Replies: The page again with Saved., or 400 with Not saved: …
/app-lock
The Dashboard app page (App lock): app_lock the package of an installed app with something to open, kept as the dashboard’s app and shown at once instead of the web page, opened again whenever it closes. Needs Muralis to be allowed to display over other apps, which only the panel can allow (Dashboard, App, Allow). Android’s Settings, home screens and the Play Store are never offered or taken; the apps that came with the device are listed when the page is opened with ?system=1 (Show the apps that came with the device). An app that is uninstalled shows the parking screen with <app> is not installed. The status snapshot carries app_lock (package, app, showing, problem) and MQTT discovery the sensor Dashboard app. Replies: 303 to /#box-dashboard, where Dashboard says what the dashboard shows; 400 HTML with the reason when no app was chosen or no such app is installed
/page-options
The Page options page’s two forms, as the settings boxes post them (settings boxes): section=browser with the browser options and the page sign-in, and section=certificates with action trust or forget, host and sha256 for a page certificate. Replies: 200 HTML, the page again; 400 with the reason in a notice
/settings-file
The settings file (block 8). what=export with include_passwords, passphrase and passphrase_again: kind muralis-settings, version 1, every setting a person sets under the names this page uses (never the panel’s name, keys, fleet, certificates, purchase or pictures), and, when asked for, the passwords in a secrets block encrypted with the passphrase (AES-256-GCM, the key from PBKDF2-HMAC-SHA256). what=read, a multipart upload with file and the passphrase, lists what would change; what=apply with the token it gave applies it, each value through the check a person’s change takes. Replies: The file as an attachment for export; the page with the list, or with what was applied and each value refused with its reason.
/api/setup-qr.svg
The setup QR for a new tablet: the website’s provisioning values and, in the admin extras (muralis_settings_z, deflated and Base64), this panel’s settings file without passwords, applied once at the first start. Replies: An SVG; 413 when the settings do not fit in a QR.
More about certificates
/api/certificate
Keeps and serves a certificate of your own, multipart/form-data with the files certificate and key. HTTPS and the certificate. Replies: 200 or 400 JSON with the reason
/api/certificate/delete
Deletes the uploaded certificate and its key; the panel serves its own again. With sha256, the fingerprint of the upload meant (as config.http_certificate_upload has it; colons and case do not count), a newer one is left alone. Replies: 200 JSON; 400 Not deleted: no certificate is uploaded. or Not deleted: the uploaded certificate was replaced since this was asked; nothing was deleted.
/mqtt-certificate
The broker’s client certificate, multipart/form-data with certificate and key, over HTTPS only. Replies: 303 to the MQTT box when kept; the reason otherwise
More about fleet (Muralis Pro)
/api/fleet/code
Opens a join code, eight digits that work once for ten minutes, or answers the one already open, as the panel’s Join a fleet and New code do. None while the panel is in a fleet, its member endpoint is down, or after five wrong codes for ten minutes. Both surfaces show the same code. Replies: 200 JSON, as fleet_join in the status document
/api/fleet/invite
Opens an invitation for a new tablet, replacing an open one: a QR that sets a factory-reset tablet up as device owner and joins it to this fleet by itself, valid for ten minutes and for one tablet. Muralis Pro, and only in a fleet that exists; refused with the reason otherwise, also when the fleet is full. Replies: 200 JSON: open, left (Valid for 10 min) and result (what the last invitation came to, kitchen-panel joined the fleet.); 409 with the reason
/api/fleet/leave
The panel leaves its fleet: it stops trusting the fleet’s keys and keeps its own settings, id and name. It first tells one member that answers, which takes it off the fleet’s list for every panel; when none answers it leaves anyway, and the others show it offline until someone removes it. Replies: 200 JSON, as above
/api/fleet/screenshot?panel=
One panel’s screen as the All panels page’s thumbnail shows it, by the panel’s id: this panel’s through its own capture, another’s fetched from that panel’s member endpoint (Between panels), a JPEG with the long side at most 1280 px, captured now and never kept. Replies: 200 image/jpeg; 404 JSON for an id not in the fleet; 409 JSON with the reason, No picture: the panel did not answer or the panel’s own refusal
/api/fleet/identify
panel= a panel’s id, or all: panel.identify on that panel, or on every panel of the fleet at once. Replies: 200 JSON as a command’s reply; for all the detail holds one line per panel, Kitchen: accepted, and the status is accepted only when every panel accepted; 409 with the same body when a panel refused; 404 JSON for an id not in the fleet
/fleet
The All panels page, Muralis Pro (without it the page says so and its forms are refused): the panels with their groups and last contact, a picture of each panel’s screen on request (Screenshots, through /api/fleet/screenshot) and Identify per panel or for all (/api/fleet/identify), the groups, and which sections one scope shares, the whole fleet (?scope=everyone, also shown for an unknown or missing scope) or a group (?scope=<id>), one switch per section; the values themselves are edited where they live, on any panel of the scope. Its forms post to the same address with what set to panel (a panel’s spki and group_<id> boxes; with remove=1, Remove: that panel is taken off the list on every panel and its key revoked, a reachable one is handed the list and leaves by itself, and it can join again with a new code; this panel itself is refused, it uses Leave), add_group (name), remove_group (id), share (scope, section, shared: switched on, the section is shared as this panel has it now; already on, nothing changes) or restore (version). A fourth card, History, lists the last twenty versions (the five newest, the rest behind Older versions) of the fleet’s list this panel held, newest first, each with its author, its time and what it changed against the one before (panels added or removed, groups made or removed, sections shared, changed or unshared), and offers Restore as new for every version but the one held: its fleet name, groups and shared settings are written as a new, higher version, never a rollback of the version number, and the panels of the fleet stay as they are now. Replies: 200 HTML, the page again; a refused post says why in a notice on it
/alerts
The fleet’s alerts (fleet alerts): the alert fields under the names the status document uses, shared with the scope that shares the alerts now, or with the whole fleet when none does yet. Alerts are raised only while they are shared. Replies: 200 HTML, the page again with Saved.; 400 with the reason
curl -k -i -u :your-admin-password 'https://192.0.2.42:8080/api/command?cmnd=dashboard.reload'

Reply

HTTP/1.1 405 Method Not Allowed
Allow: POST
Content-Type: application/json

{"status":"rejected","detail":"use POST; GET cannot change state"}

Fleet alerts

Alerts are a section a fleet can share (the alert_* settings), Muralis Pro. While the section is shared with a panel, the panel judges itself once a minute: the page failed to load, the battery is below the threshold, the processor temperature is above it, the free storage is below its megabytes, a newer Muralis runs in the fleet, a shared setting was refused, a combination was used, five wrong PINs locked the escape. One panel of the fleet, the online one whose id sorts first, also judges which panels are offline, not heard from for alert_offline_minutes, and with alert_back_online when they come back. Each alert is said once: on when the condition starts, off when it ends, never repeated while unchanged; a combination used is on only, once per use. With alert_quiet_display_off, a page error, a panel going offline and coming back are held back while that panel’s display is off; the way out, the PIN and refused settings never are. Nothing shows on a panel’s own screen.

An alert goes to every channel that is set: a phone through an ntfy topic (alert_ntfy_url, with alert_ntfy_token for a protected one), a chat (alert_chat_url, a Slack, Discord, Google Chat or Teams webhook, told apart by its address), a publish on alert_mqtt_topic on the panel’s own broker (not retained, not MQTT discovery), and a POST to alert_webhook_url, each with an eight-second deadline and no retry. The phone and the chat get a sentence; MQTT and the web address get this JSON. An automation’s alert action takes the same way. Outside a fleet, or with the section unshared, the ready-made alerts are not raised.

{"fleet":"Home","panel":"Kitchen","panel_id":"panel-1a2b3c4d","kind":"battery","state":"on","detail":"12%","at":"2026-10-13T10:00:00Z"}

kind is one of offline, page_error, battery, temperature, storage, update, shared_refused, combination_used, pin_lockout, automation (an automation’s alert) and test (Send a test alert); detail is a short word of the condition (the page’s error, the percentage, the degrees, how long a panel was not heard from, the text of an automation’s alert) and may be empty.

Between panels

The panels of a fleet talk to each other on the member port (fleet_port, 8081 until changed), not on the web admin’s: mutual TLS, where a caller is admitted by its fleet key alone and the password plays no part. Two of those routes carry what the All panels page shows; the rest (joining, the fleet’s list, the heartbeat, and POST /fleet/values, which passes on the values of a shared integration) are the fleet’s own business and not an interface.

When the fleet shares the integrations, one panel asks each service for the whole group: the first panel in the fleet’s list that was heard from in the last two check-ins and can run the integration (it holds the keys, the service did not refuse them). After each read it sends the values to the other panels over the member port, once and without retry, and each panel uses them as if it had read them itself. When that panel goes quiet, the next one in the list takes over; a panel that gets no reading for two of the integration’s intervals plus three minutes shows the values as unavailable. An integration with a setting kept per panel is still asked by each panel itself.

MethodPathWhat it doesReplies
GET/fleet/screenshotThis panel’s screen as the wall shows it, a JPEG with the long side at most 1280 px, for a member’s All panels page. No switch: the member key is the gate.200 image/jpeg; 409 JSON {"error": "Muralis is not on the panel's screen"}; 403 for a key that is not a member
POST/fleet/identifypanel.identify on this panel, asked by a member.200 JSON {"status": "accepted"}; 409 JSON with the refusal in error; 403 for a key that is not a member

Limits

Request body16 384 bytes; 655 360 for the three documents under Automations and sensor settings; 65 536 for a certificate upload; 262 144 for an album’s order; 25 165 824 for a picture upload. A larger body is refused with 413, naming the size and the limit.
Request line4096 bytes, then 400.
Time8 seconds for the whole request.
ConnectionsA GET or POST of HTTP/1.1 keeps its connection open for the next request (Connection: keep-alive), for 3 seconds of quiet and up to 100 requests; a request refused before its body is read, a HEAD, HTTP/1.0, a chunked body, a malformed Content-Length, Connection: close, the camera stream and a change of the web admin’s certificate end it. 12 at a time per address, 16 served at once and 8 waiting.

Commands

Sending one

Over HTTP, always a POST to /api/command, with the command in cmnd and its arguments as form fields, in the query string, or as JSON. Over MQTT, publish on kiosk/<id>/command: a bare command name, or a JSON envelope with the arguments.

HTTP, form fields

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=display.brightness -d percent=40

HTTP, JSON

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -H 'Content-Type: application/json' \
     -d '{"command":"display.brightness","args":{"percent":40}}'

MQTT, JSON envelope

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"id":"evening-1","command":"display.brightness","args":{"percent":40}}'

MQTT result, on kiosk/hallway-panel/command/result

{"id":"evening-1","status":"accepted","detail":"","timestamp_ms":1788948057237}

The arguments are url, percent, value, enabled and beacon; a few commands take more, named in their tables. enabled takes true/false, 1/0 or on/off. Over MQTT the result carries the same status and detail as the HTTP reply, plus your id (up to 96 characters) and timestamp_ms.

Replies

statusMeaningHTTP code
acceptedDone, or handed to the screen. detail is usually empty.200
rejectedA bad argument, or something the panel cannot do now. detail says why, in one sentence.200 when the command was understood; 400 when the request itself was broken (missing command, malformed json, enabled must be true or false)
unsupportedAn unknown command, or system.reboot without device owner.200

Read status, not the HTTP code. A command that was understood and refused is still HTTP 200.

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command -d cmnd=kiosk.dance

Reply

{"status":"unsupported","detail":"unknown command"}

Command index

CommandWhat it does
The page
dashboard.urlStore a page and show it
dashboard.open_onceShow a page once, without storing it
dashboard.showShow the web page, the app or the cameras
dashboard.camerasChoose the cameras the dashboard shows
dashboard.integrationChoose the integration the dashboard shows
dashboard.open, dashboard.reload, app.restart, dashboard.stop, dashboard.startOpen the dashboard, reload it, restart the app, stop, start
panel.screenshotTake a picture of the screen
panel.identifyShow the panel’s name on its screen
panel.dashboard, panel.settings, panel.home_screenThe dashboard, the settings or the home screen, without the corner taps
browser.*The page’s browser options
Ambient
ambient.start, ambient.stopShow or end Ambient now
ambient.*Ambient’s settings
Display and light
display.wake, display.visual_offWake or darken the screen
display.brightnessSet the brightness
display.auto_brightnessAutomatic brightness on or off
display.orientationAuto-rotate, Landscape or Portrait
display.off_methodHow the screen goes dark
light.on, light.offThe status light
Sensors
sensor.enabledSwitch a sensor on or off
automation.enabledPause or resume an automation
camera.motion, camera.snapshotThe tablet camera’s motion detection and snapshot
proximity.calibrateCalibrate the proximity sensor
bluetooth_beacons.calibrateCalibrate a Bluetooth beacon
sound_level.calibrateCalibrate the sound level
sensor.sleep_testTest a sensor while the panel sleeps
Sound
audio.volumeSet the media volume
audio.play, audio.stopPlay or stop a sound
audio.saySpeak a sentence
Pop-ups and cameras
panel.notifyShow a pop-up
camera.showShow a camera or a group now
camera.triggerRun the automations for a camera
The panel
webadmin.enabledWeb admin on or off
telemetry.publishPublish the MQTT state now
system.rebootReboot the tablet (device owner)

The page

dashboard.url

Stores an address as the panel’s page and shows it.

ArgumentValuesDefault
urlhttp:// or https://, up to 2048 charactersrequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=dashboard.url -d url=https://grafana.example.net/d/wall

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"dashboard.url","args":{"url":"https://grafana.example.net/d/wall"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • url must not be empty
  • url is too long
  • url must start with http:// or https://
More about dashboard.url

The address may hold {panel.name}, {panel.group} (the first group the panel is in) and {fleet.name}. Each panel fills them in when it loads the page, so one address shared with a fleet shows each panel its own page. What is stored keeps the placeholders.

dashboard.open_once

Shows an address now, without storing it.

ArgumentValuesDefault
urlhttp:// or https://, up to 2048 charactersrequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=dashboard.open_once -d url=https://example.com/

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"dashboard.open_once","args":{"url":"https://example.com/"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • url must not be empty
  • url is too long
  • url must start with http:// or https://
More about dashboard.open_once

A restart, a reboot or the nightly clean returns to the stored page. Afterwards runtime.last_page_url in the status document is the new address, and config.dashboard_url is unchanged.

dashboard.show

Chooses what the dashboard shows: the web page, the app chosen for it, the cameras chosen for it, or an integration’s own page (the Bitcoin clock).

ArgumentValuesDefault
valuepage (Web page), app (App), cameras (Cameras), integration (Integration)required

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=dashboard.show -d value=cameras

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"dashboard.show","args":{"value":"page"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must be page, app, cameras or integration
  • choose an app on the panel or in the web admin first
  • add a camera first
  • choose the dashboard cameras first
  • add the Bitcoin clock in Integrations first
  • choose the dashboard integration first
More about dashboard.show

This is the panel’s Dashboard choice, stored as config.dashboard_shows. The app, the cameras and the integration are chosen apart from it and kept when the dashboard shows something else, so switching back shows the last one chosen. The app is chosen on the panel or in the web admin (Dashboard, App), never over the API: app shows the app chosen there. The cameras are chosen with dashboard.cameras, the integration with dashboard.integration; with none chosen, the first integration with a page is taken.

The stored page address stays for the web page, dashboard.open_once still shows a page once, and dashboard.open comes back to what the dashboard shows.

dashboard.cameras

Chooses the camera or group the dashboard shows when it shows cameras.

ArgumentValuesDefault
valuea camera’s or a group’s namerequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=dashboard.cameras -d value=Front

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"dashboard.cameras","args":{"value":"Front"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must name the camera or group
  • no camera or group has that name
More about dashboard.cameras

While the dashboard shows cameras the choice shows at once; otherwise it is kept for the next dashboard.show with cameras. The choice is config.dashboard_cameras.

A group shows as a grid laid out by the number of cameras, or in a fixed layout chosen on the Dashboard cameras page: one big and three small, one big and five small, 2 by 2 or 3 by 3, with the camera of the big tile. Cameras past the layout’s places are not shown. The names can be shown on the tiles.

A tap opens one camera over the whole screen and stops the others; pinch zooms it. A tap, or a minute without a touch, brings the grid back. Nothing is fetched while the display is off, Ambient is up, or the settings or another app are in front.

A camera or group that is renamed carries the choice with it; one that is removed shows the parking screen, which says so. MQTT discovery has a select, Dashboard cameras, once there is a camera.

dashboard.integration

Chooses the integration whose page the dashboard shows when it shows an integration.

ArgumentValuesDefault
valuethe integration’s name or idrequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=dashboard.integration -d value=Bitcoin

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"dashboard.integration","args":{"value":"Bitcoin"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must name the integration
  • no integration with a page has that name
More about dashboard.integration

Only an integration with a page of its own can be the dashboard; today that is the Bitcoin clock, with its five styles, its label and a background picture or album set on its options page (/clock-options). While the dashboard shows an integration the choice shows at once; otherwise it is kept for the next dashboard.show with integration. The choice is config.dashboard_integration, and MQTT discovery has a select, Dashboard integration, once there is one.

dashboard.open

dashboard.reload

app.restart

dashboard.stop

dashboard.start

Five commands with no arguments. They are always accepted.

CommandWhat it does
dashboard.openBack to the dashboard: the stored page, or the app or the cameras it shows. MQTT discovery: Open dashboard.
dashboard.reloadReloads the page on the screen. MQTT discovery: Reload dashboard.
app.restartShows the dashboard again in a fresh web view, not just a reload. MQTT discovery: Restart app.
dashboard.stopBlanks the panel and loads nothing until dashboard.start or a new page. Survives the nightly restart.
dashboard.startEnds dashboard.stop. Survives the nightly restart too.

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command -d cmnd=dashboard.reload

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m dashboard.reload

Reply

{"status":"accepted","detail":""}

panel.screenshot

Takes a picture of the screen and publishes it for the broker.

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command -d cmnd=panel.screenshot

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m panel.screenshot

Reply

{"status":"accepted","detail":""}

The full-size picture, over HTTP

curl -k -u :your-admin-password -o screen.png https://192.0.2.42:8080/api/screenshot

Refused with

  • Muralis is not on the panel's screen
More about panel.screenshot

When MQTT is connected the picture goes to kiosk/<id>/screenshot, retained, as a JPEG with the long side at most 1280 px; the Screenshot image entity shows it. Without a broker the capture alone is the command. GET /api/screenshot answers with the full-size PNG.

It is refused while another app or the launcher is in front.

panel.identify

Shows the panel’s name, large, on its screen for ten seconds.

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command -d cmnd=panel.identify

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m panel.identify

Reply

{"status":"accepted","detail":""}

Refused with

  • Muralis is not on the panel's screen
More about panel.identify

The name shows over whatever is on the screen (the page, Ambient, the parking screen), without a sound, so a person in front of several walls can tell which is which. A second Identify restarts the ten seconds. The name is the one in the fleet’s list, or the device id outside a fleet.

The All panels page’s Identify buttons and POST /api/fleet/identify send it to any panel of the fleet. It is refused while another app or the launcher is in front.

panel.dashboard

panel.settings

panel.home_screen

The way in and out, without the corner taps: the dashboard, the settings on the glass, or the device’s home screen.

CommandWhat it does
panel.dashboardBack to the dashboard, as dashboard.open; after Muralis left for the home screen, it comes back to the front.
panel.settingsOpens the settings on the panel, as the first combination does; after Muralis left for the home screen, it comes back to the front with them.
panel.home_screenLeaves for the device’s home screen, as the second combination does: whoever stands at the panel then has the device’s apps.

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command -d cmnd=panel.settings

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m panel.settings

Reply

{"status":"accepted","detail":""}

Refused with

  • Muralis could not come to the front
  • Muralis is not on the panel's screen (panel.home_screen, while another app is in front)
More about the way in and out

Each one wakes the display. The web admin’s Way out section has the three as buttons, and the All panels page has them for any panel of the fleet; Go to home screen asks first there. dashboard.open, which automations and the smart home send, never pulls Muralis over someone working in the launcher; panel.dashboard, asked by a person, does.

browser.*

The page’s browser options, one command each.

CommandArgumentValues
browser.text_sizevalue50 to 300 (percent)
browser.page_zoomvalueauto or 0 for the page’s own scale, or 25 to 400 (percent)
browser.user_agentvalueone line, up to 512 characters; empty for the browser’s own with Muralis/ and the version after it
browser.back_aftervalueseconds without a touch before a page that left the dashboard goes back to it, 0 to 86400; 0 for never
browser.dark_lookenabledtells the page the panel prefers its dark look (prefers-color-scheme); Android 10 and newer
browser.page_camera, browser.page_microphoneenabledlets the page use the camera or the microphone when it asks (getUserMedia); both start off

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=browser.text_size -d value=125

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"browser.page_zoom","args":{"value":150}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • the text size must be a whole number from 50 to 300
  • the page zoom must be 0 for automatic or a whole number from 25 to 400
  • the time before going back must be a whole number of seconds, 0 to 86400
  • the page's dark look needs Android 10 or newer
  • allow it on the panel first: Android has not given Muralis that permission
  • enabled must be true or false
More about browser.*

A page that has no dark look is left as it is. A device owner holds the camera and microphone permissions; on an ordinary install, allow them on the panel first. While the page has the camera, the camera sensor lets go of it and takes it back afterwards.

The page’s sign-in (HTTP basic auth) is set on the panel or in the web admin only, because it carries a password.

Ambient

Ambient is the screen shown while nobody uses the panel. Every Ambient setting is a command and also an MQTT discovery entity, named on every surface as the table under discovery names it. A changed setting is saved at once and takes effect the next time Ambient starts.

ambient.start

ambient.stop

Shows Ambient now, or ends it and brings the page back.

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command -d cmnd=ambient.start

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m ambient.stop

Reply

{"status":"accepted","detail":""}

Refused with

  • the Ambient mode is off
  • the kiosk is stopped
  • Muralis is not on screen
  • the first-start wizard is on screen
  • the escape combination recorder is on screen
More about ambient.start

ambient.start shows Ambient in the mode that is set, without waiting for the idle time; a touch on the glass ends it. With the panel’s settings open it shows as a preview, and a tap brings the settings back. ambient.stop is accepted even when no Ambient is showing; the refusals above are for ambient.start.

ambient.*

Ambient’s settings, one command each.

CommandArgumentValuesStatus field
ambient.modevalueoff (Off), dim (Dimmed page), film (Black screen), url (Web page), pictures (Pictures)mode
ambient.start_after_secondsvalue0 to 86400 seconds without a touch before Ambient starts; 0 for never, only with ambient.startstart_after_seconds
ambient.off_secondsvalue0 to 86400 seconds of Ambient before the display goes off, as display.visual_off; 0 for neveroff_seconds
ambient.dim_percentvalue1 to 100, the brightness of the dim modedim_percent
ambient.urlurl or valuethe page of the url mode, checked like dashboard.url; empty forgets iturl
ambient.on_wakevaluewhat a wake from display off shows first: ambient (Ambient first; a touch then opens the dashboard) or dashboard (Dashboard at once)on_wake
ambient.albumvaluean album’s name; empty or No album for nonealbum
ambient.picture_secondsvalue1 to 86400 seconds per picturepicture_seconds
ambient.transitionvaluecut (Cut), fade (Fade), slide (Slide)transition
ambient.picture_fitvaluefit (Fit), fill (Fill), stretch (Stretch), actual (Actual size)picture_fit
ambient.credit_cornervaluebottom_left (Bottom left), bottom_right (Bottom right), top_left (Top left), top_right (Top right)credit_corner
ambient.shuffleenabledthe album in a random ordershuffle
ambient.one_per_startenabledone picture each time Ambient starts instead of a slideshowone_per_start
ambient.creditenabledthe title and credit linecredit

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=ambient.mode -d value=pictures

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"ambient.start_after_seconds","args":{"value":120}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must be off, dim, film, url or pictures
  • value must be a whole number of seconds, 0 to 86400
  • value must be a whole number from 1 to 100
  • value must be a whole number of seconds, 1 to 86400
  • value must be ambient or dashboard
  • value must be cut, fade or slide
  • value must be fit, fill, stretch or actual
  • value must be bottom_left, bottom_right, top_left or top_right
  • value must be an album name, or empty for none
  • no album called …; this panel has …
  • there are no albums on this panel yet
  • enabled must be true or false
  • ambient.url: the refusals of dashboard.url
More about ambient.*

fit shows the whole picture with bars where its shape differs from the screen’s; fill covers the screen and crops the edges; stretch covers the screen and pulls the picture out of shape; actual shows it at its own size, centred.

Albums are made and filled in the Gallery, on the panel or in the web admin; see Pictures and albums.

Display and light

display.wake

display.visual_off

Wakes the screen, or darkens it the way the display-off method decides.

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=display.visual_off

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m display.wake

Reply

{"status":"accepted","detail":""}
More about display.wake

display.wake ends a sleep, lifts the black film and restores the brightness. display.visual_off turns the screen off where a device-owner install can be trusted to sleep, and shows a black film at minimum brightness otherwise. It survives the nightly restart, not a reboot. Both are always accepted.

Afterwards the status document shows display.source display_off, display.brightness_percent 0, and in display.off_method_effective which of the two happened. display.screen_on is false after a sleep and stays true under the film.

display.brightness

Sets the brightness.

ArgumentValuesDefault
percent0 to 100required

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=display.brightness -d percent=40

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"display.brightness","args":{"percent":40}}'

Reply

{"status":"accepted","detail":""}

With percent=150

{"status":"rejected","detail":"percent must be between 0 and 100"}

Refused with

  • percent must be between 0 and 100
  • brightness needs the WRITE_SETTINGS permission, which has not been granted
  • automatic brightness is on; turn it off to set a level
  • the system refused the brightness write
More about display.brightness

It needs the one grant Android keeps for a person; the setup page explains it. Turn automatic brightness off first.

display.auto_brightness

Gives the brightness to the light sensor, or takes it back.

ArgumentValuesDefault
enabledtrue or falserequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=display.auto_brightness -d enabled=true

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"display.auto_brightness","args":{"enabled":true}}'

Reply

{"status":"accepted","detail":""}

Reply on a tablet without a light sensor

{"status":"rejected","detail":"this device has no ambient light sensor"}

Refused with

  • enabled must be true or false
  • this device has no ambient light sensor

display.orientation

Sets the orientation. Stored.

ArgumentValuesDefault
valueauto (Auto-rotate, follows the accelerometer), landscape (Landscape), portrait (Portrait)required

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=display.orientation -d value=landscape

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"display.orientation","args":{"value":"landscape"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must be auto, landscape or portrait
  • this device has no accelerometer to follow
More about display.orientation

A fixed value draws the right way up even when the panel hangs upside down. auto is refused on a tablet without an accelerometer.

display.off_method

Chooses how display.visual_off darkens the panel.

ArgumentValuesDefault
valueauto (Automatic), sleep (Turn the screen off; device owner only), film (Black film)required

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=display.off_method -d value=auto

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"display.off_method","args":{"value":"auto"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must be auto, sleep or film
  • a real screen-off needs the device-owner install
More about display.off_method

auto sleeps where that can be trusted (device owner, on mains or exempt from battery optimisation, no earlier sleep that ended badly) and shows the film otherwise. Setting the method, to any value, also forgets a recorded bad sleep.

light.on

light.off

Switches the status light, a coloured frame around the screen, on or off.

ArgumentValuesDefault
valuethe colour as r,g,b, each 0 to 255the colour it has
percentbrightness, 1 to 100the brightness it has

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=light.on -d value=255,160,0 -d percent=60

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m light.off

Reply

{"status":"accepted","detail":""}

Refused with

  • colour must be three numbers from 0 to 255, like 255,0,0
  • brightness must be a whole number from 1 to 100
More about light.on

For a panel with no light of its own. The frame is drawn over the page, Ambient and the parking screen, never in the way of a touch. Its state is kept across a restart.

Sensors

The panel’s sensors (see sensors in the status document) and its own automations. A sensor this device lacks, or one still waiting for a permission on the panel, is refused with the reason.

sensor.enabled

Switches one sensor on or off.

ArgumentValuesDefault
valueproximity, illuminance, device_movement, bluetooth_beacons, nfc_tag, media_playing, camera_motion, sound_level, pressure, temperature, humidity; also the panel’s own display, ambient, battery, power, network, memory, processor, which start onrequired
enabledtrue or falserequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=sensor.enabled -d value=proximity -d enabled=1

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"sensor.enabled","args":{"value":"illuminance","enabled":true}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • enabled must be true or false
  • value must name a sensor
  • no sensor is called …
  • not on this device: …
  • allow … on the panel first

automation.enabled

Pauses or resumes one automation.

ArgumentValuesDefault
valuethe rule’s id, from the automations arrayrequired
enabledtrue or falserequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=automation.enabled -d value=wake -d enabled=0

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"automation.enabled","args":{"value":"wake","enabled":0}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • enabled must be true or false
  • value must name an automation
  • no automation is called …
More about automation.enabled

Rules are made on the panel or in the web admin, or posted whole to /api/automations; see Automations and sensor settings.

camera.motion

camera.snapshot

Switches the tablet camera’s motion detection, or publishes its last frame now.

ArgumentValuesDefault
enabledtrue or false, for camera.motionrequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=camera.motion -d enabled=true

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m camera.snapshot

Reply

{"status":"accepted","detail":""}

Refused with

  • enabled must be true or false
  • this device has no camera
  • the camera is off
  • pictures to MQTT are off
  • the camera has not delivered a picture yet
  • MQTT is not configured
  • camera.snapshot: the broker’s state when nothing could be published
More about camera.motion

camera.snapshot publishes the frame on kiosk/<id>/camera, and only while the camera’s camera_mqtt setting (Picture to MQTT) is on. This is the tablet’s own camera; network cameras are under Pop-ups and cameras.

proximity.calibrate

Calibrates the proximity sensor in two steps, for a device whose driver never moves Android’s distance.

ArgumentValuesDefault
valuecovered (a hand over the sensor), then clear (nothing in front); reset returns to Android’s rulerequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=proximity.calibrate -d value=covered

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"proximity.calibrate","args":{"value":"clear"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • cover the sensor first
  • the sensor has not reported in the last seconds
  • the sensor read the same covered and clear
More about proximity.calibrate

The panel keeps the value that changed the most and reads near from it.

bluetooth_beacons.calibrate

Calibrates one Bluetooth beacon on this panel, so its distance reads true here.

ArgumentValuesDefault
valuenear (the beacon 1 m away for twenty seconds), far (3 m away), resetrequired
beaconuuid:major:minor; empty or null counts as not giventhe strongest beacon in reach; for reset, every beacon

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=bluetooth_beacons.calibrate -d value=far -d beacon=207256fa-4108-408c-a86b-f791530b2268:100:40004

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"bluetooth_beacons.calibrate","args":{"value":"far","beacon":"207256fa-4108-408c-a86b-f791530b2268:100:40004"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • the step must be near, far or reset
  • Bluetooth beacons is off
  • no beacon is in reach
  • that beacon is not in reach
  • the beacon was heard too few times to calibrate; keep it in place and try again
  • that beacon is not calibrated on this panel
  • the beacon announces no power; calibrate it at 1 m first
  • the signal at 3 m is hardly weaker than at 1 m: …
  • the signal at 3 m is far weaker than at 1 m: …
More about bluetooth_beacons.calibrate

Both steps are optional; an uncalibrated beacon still has a rough distance. At 1 m, with nothing between them, the panel keeps how strongly it hears the beacon. At 3 m it learns how fast the signal fades in that room. A 3 m step taken without the 1 m step holds while the beacon announces the power it announced then. The last two refusals are for a 3 m step that no room gives.

sound_level.calibrate

Calibrates the sound level, so its 0 to 100 runs from this room’s quiet to its loud.

ArgumentValuesDefault
valuequiet (the room as quiet as it gets), then loud (the loudest sound that should read 100); resetrequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=sound_level.calibrate -d value=quiet

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"sound_level.calibrate","args":{"value":"loud"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • the microphone is off
  • let it hear the quiet room first
  • the microphone has not heard anything in the last seconds
  • the quiet room and the loud sound were too alike (less than 10 dB apart)
More about sound_level.calibrate

Each step averages the last three seconds. Until it is calibrated, and after reset, the level spans the whole range of 16-bit audio.

sensor.sleep_test

Puts the panel to sleep for twenty seconds and notes whether a sensor still reported.

ArgumentValuesDefault
valuea sensor’s id; the panel’s own hardware sensors onlyrequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=sensor.sleep_test -d value=proximity

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"sensor.sleep_test","args":{"value":"proximity"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • no sensor is called …
  • not on this device: …
  • only the panel's own sensors can be tested
  • … is off
  • a test is already running
  • the display did not go off
  • this panel darkens with the black film, which keeps its sensors awake
More about sensor.sleep_test

Some devices stop every sensor an app holds once the display sleeps. The sensor is asked again three seconds in and only a change after that counts, so someone has to change what it measures: a hand over the proximity or light sensor, a tap on the panel for movement. The verdict goes into asleep in the sensor’s block, reports or silent, which both surfaces show as Running and Not running.

The camera, the microphone and the beacons answer only the panel's own sensors can be tested. The film refusal comes where Display off is the film. A wake before the twenty seconds ends the test without a verdict.

Sound

audio.volume

Sets the media volume.

ArgumentValuesDefault
percent0 to 100required

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=audio.volume -d percent=40

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"audio.volume","args":{"percent":40}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • percent must be between 0 and 100

audio.play

audio.stop

Plays a sound through the panel’s speaker, or stops it.

ArgumentValuesDefault
urlhttp:// or https://, for audio.playrequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=audio.play -d url=http://192.0.2.10/chime.mp3

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m audio.stop

Reply

{"status":"accepted","detail":""}

Refused with

  • url is required
  • url must start with http:// or https://

audio.say

Speaks a sentence through the device’s text-to-speech engine.

ArgumentValuesDefault
valuethe sentence, up to the engine’s limit (4000 characters on Android)required

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=audio.say -d 'value=The door is open'

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"audio.say","args":{"value":"The door is open"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must hold the sentence to say
  • the sentence is longer than the speech engine takes (4000 characters)
  • the text-to-speech engine is not ready

Pop-ups and cameras

Network cameras are set on the Cameras page of the panel or the web admin (or with POST /cameras): each has a name, an address and an optional sign-in. Groups put cameras together under a name of their own.

More about cameras

A camera has a name (1 to 40 characters, unique), an address (a snapshot, an MJPEG stream or a camera page, http:// or https://), an optional full-screen address (the same camera’s bigger stream, used when it is shown alone), and an optional user and password. At most 10 cameras.

A group has a name of its own and shows its cameras as one grid, laid out by their number and the screen’s shape. At most 10 groups; a camera may be in several; no group and no camera share a name.

The sign-in is stored as a secret and sent, Basic or Digest as the camera asks, to that camera’s host only. A sign-in typed into the address, before the host (http://user:pass@host/) or in the query (&user=…&password=…, also usr and pwd), is taken out and stored the same way; in the query it becomes {user} and {password}, filled in only when the panel fetches the camera. A password with no user is refused: a camera that ignores the user takes any name. A refused sign-in is tried once a fetch, never again at once, so a wrong password does not lock the panel out.

Fetching. A camera is only streamed: what it sends is drawn from memory and never written to the panel. An https:// camera needs a certificate Android trusts, or one trusted on the panel like a page’s; until then it waits in the status document. A camera that cannot be shown says why in its place: No picture, Sign-in refused or Certificate not trusted.

panel.notify

Shows a pop-up over whatever is on the screen.

ArgumentValuesDefault
valuethe message, up to 500 characters, line breaks kepta message or a url is needed
titleup to 80 charactersnone
urlhttp:// or https://: a picture, a camera’s stream or a page, shown in the cardnone
seconds0 to 300; 0 until touched30
waketrue or false: the display comes on firsttrue
chimetrue or false: the device’s notification sound, oncefalse

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=panel.notify -d 'value=Someone is at the door' -d title=Doorbell -d seconds=20

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"panel.notify","args":{"value":"Someone is at the door","title":"Doorbell","url":"http://192.0.2.20/snapshot.jpg","seconds":20}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must hold the message, or url an address to show
  • the message is longer than 500 characters
  • the title is longer than 80 characters
  • url must start with http:// or https://
  • seconds must be a whole number from 0 to 300, 0 for until touched
  • wake and chime must be true or false
More about panel.notify

A touch on the card closes it, and a new pop-up replaces the one showing. While the settings are open, or another app is in front, it waits, for a minute at most.

The address is fetched by the panel and drawn from memory; nothing is kept. It is fetched without the dashboard’s cookies, so a page that needs a login shows its login.

The same pop-up comes from the smart home’s notify entity Pop-up and from an automation’s popup action.

camera.show

Shows a camera or a group now, for 30 seconds, and wakes the display.

ArgumentValuesDefault
valuea camera’s or a group’s namerequired
aspopup or fullscreenpopup

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=camera.show -d value=Door

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"camera.show","args":{"value":"Front","as":"fullscreen"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must name the camera or group
  • as must be popup or fullscreen
  • no camera or group has that name
More about camera.show

A pop-up closes with a touch; full screen has a close button, and a single camera there is zoomed by pinching. Either closes when the display goes off, Ambient starts or the panel leaves the front.

MQTT discovery adds a button, Show and the name, for each camera and each group.

camera.trigger

Runs the automations that wait for this camera: what a doorbell or a motion sensor sends.

ArgumentValuesDefault
valuea camera’s or a group’s namerequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=camera.trigger -d value=Door

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"camera.trigger","args":{"value":"Door"}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • value must name the camera or group
  • no camera or group has that name
  • no automation waits for this camera
  • cooling down: an automation for it ran a moment ago
More about camera.trigger

A camera’s name runs the rules for that camera and for every group it is in; a group’s name runs the group’s rules. cooling down comes when every such rule ran within its cooldown. Rules use the cameras event; see A rule.

The panel

webadmin.enabled

Switches the web admin off or on, without touching the stored password. Stored.

ArgumentValuesDefault
enabledtrue or falserequired

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command \
     -d cmnd=webadmin.enabled -d enabled=true

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
     -m '{"command":"webadmin.enabled","args":{"enabled":false}}'

Reply

{"status":"accepted","detail":""}

Refused with

  • enabled must be true or false
More about webadmin.enabled

A caller on the web admin itself hears accepted and then loses the connection, which is the point.

telemetry.publish

Publishes the MQTT state document now, without waiting for the next minute.

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command -d cmnd=telemetry.publish

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m telemetry.publish

Reply with no broker reachable

{"status":"rejected","detail":"MQTT is not connected"}

Refused with

  • MQTT is not connected
  • MQTT is not configured
More about telemetry.publish

With a broker connected the reply is accepted. MQTT is not configured comes when no broker host is stored.

system.reboot

Device owner

Reboots the tablet.

HTTP

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/command -d cmnd=system.reboot

MQTT

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m system.reboot

Reply

{"status":"accepted","detail":"rebooting"}

Reply on an ordinary install

{"status":"unsupported","detail":"reboot needs device-owner status; provision Muralis as device owner"}
More about system.reboot

There is no system.shutdown: Android has no way an app could power a tablet off. It answers unsupported like any unknown command.

Settings

The stats overlay, the display-off method, the look, the web admin’s certificate and every Ambient setting apply instantly through /api/setting; the web admin posts them the same way. The rest are saved the way the web admin saves them, one box at a time, through a POST to /. Orientation, automatic brightness and the page itself are set with the commands above.

Instant settings

Form-encoded, section=behaviour, one key per request. The panel republishes its MQTT state afterwards.

KeyValuesEffect
device_idthe panel’s name, letters, digits, dot, underscore and hyphen, 64 at mostSame as the panel box, without its baseline: the web admin stores the name this way the moment its box loses the focus.
stats_overlay1/0, true/false, on/offDraws or hides the live stats block on the panel; off until switched on.
network_speaker1/0, true/false, on/offThe network speaker: the panel as a DLNA speaker that smart-home systems and other apps play to. Off by default; refused with the reason while its port is in use.
volume_buttons_disabled1/0, true/false, on/offDisable volume buttons: whether the panel’s volume buttons do nothing while Muralis is on screen.
fleet_group_<id>1/0, true/false, on/offWhether this panel is in the group with that id.
alert_offline_minutes, alert_battery_below, alert_temperature_above, alert_storage_below_mbwhole numbers, 0 for offThe fleet’s alerts (Fleet alerts): a panel not heard from for that many minutes (at least 7, since the panels tell each other every 3 minutes and one may be late; 10 until changed), a battery below that percentage (15), a processor temperature above that many °C (45), free storage below that many MB (500).
alert_back_online, alert_page_error, alert_update_available, alert_shared_refused, alert_combination_used, alert_pin_lockout, alert_quiet_display_off1 / 0, true / false, on / offWhether a panel back online (on until changed), a page that failed to load (on), a newer Muralis in the fleet (off), a shared setting refused (on), an escape combination used (off) and a PIN lockout (on) raise an alert, and whether a panel with its display off holds back its page error, offline and back online (on).
alert_ntfy_urlthe topic’s whole address, such as https://ntfy.sh/hall-alerts, or empty for offWhere alerts go to a phone, through the ntfy app.
alert_ntfy_token, alert_chat_urlsecrets: an ntfy access token for a protected topic; a Slack, Discord, Google Chat or Teams (Power Automate) webhook addressKept encrypted and never shown again; empty takes it away.
alert_mqtt_topica plain topic, or empty for offWhere alerts are published on the panel’s own broker, such as kiosk/fleet/alerts; no wildcards.
alert_webhook_urlan address starting with http:// or https://, or empty for offWhere alerts are POSTed as JSON.
fleet_follows1/0, true/false, on/offWhether this panel follows what the whole fleet shares (everyone in the sharing settings).
display_off_methodauto, sleep, filmSame as the command display.off_method. An ordinary install has the film alone.
status_light, status_light_color1/0, true/false, on/off; a colour as r,g,bThe status light on or off, and its colour, kept while the light is off. The same checks as light.on.
http_certificateown, uploadedWhich certificate the web admin serves: the panel’s own or the one uploaded (HTTPS and the certificate), from the next connection on.
ambient_modeoff, dim, film, url, picturesSame as ambient.mode.
ambient_start_after_seconds, ambient_off_seconds, ambient_picture_secondswhole secondsSame as ambient.start_after_seconds, ambient.off_seconds and ambient.picture_seconds.
ambient_dim_percent1 to 100Same as ambient.dim_percent.
ambient_urlan address, or emptySame as ambient.url.
ambient_albuman album’s name, or empty for noneSame as ambient.album.
ambient_on_wake, ambient_transition, ambient_picture_fit, ambient_credit_cornerthe same words as the commandsSame as the command of the same name.
ambient_shuffle, ambient_one_per_start, ambient_credit1/0, true/false, on/offSame as the commands with enabled.
sensor_<id>on/off words as aboveSame as sensor.enabled. An unknown id is refused.
sensor_option_<key>as the sensor’s page offersOne setting of a sensor’s page: device_movement_sensitivity (light, normal, heavy; the pages show them as High, Normal and Low, a light push being the most sensitive), device_movement_still_seconds, beacons_reach_seconds, camera_still_seconds (seconds from 1), beacons_listening (low, in short bursts to save battery, or high, all the time; the pages show them as Low and High), camera_name (up to 40), camera_lens (front, back), camera_size, camera_fps (the offered ones), camera_orientation (device upright as the panel is turned, portrait, landscape: always tall or wide, the middle of the picture when the panel is the other way), camera_mirror, camera_flip, camera_watermark, camera_motion, camera_sensitivity (low, normal, high), camera_mqtt, beacon_<uuid:major:minor> (a beacon’s name, up to 40).
automation_<id>on/off wordsSame as automation.enabled.
integration_<id>on/off wordsSwitches an added integration on or off, as its switch on the Integrations page.
More about these settings
device_id
Refused with Not saved: the name ….
volume_buttons_disabled
Off by default, so the buttons change the volume; on, a press does nothing, except while a dropdown or a page’s own popup is open over Muralis, or the display is asleep. Commands still set the volume.
alert_offline_minutes, alert_battery_below, alert_temperature_above
Refused with the rule, such as Not saved: at least 7: the panels tell each other every 3 minutes, and one may be late.
alert_mqtt_topic
Refused with Not saved: a plain topic such as kiosk/fleet/alerts, without wildcards.
fleet_follows
Off, it keeps its own values for those sections and still follows its groups.
http_certificate
Refused with Not saved: the certificate must be own or uploaded., and with Not saved: no certificate is uploaded. while none is kept.
sensor_option_<key>
Anything else is refused with the rule.
curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/setting \
     -d section=behaviour -d stats_overlay=1

Reply

{"status":"accepted","detail":"saved"}

With display_off_method=dark, HTTP 400

{"status":"rejected","detail":"Display off method must be auto, sleep or film."}

Any other section is refused with not an instantly applied setting.

Settings boxes

Each box on the web admin posts its own fields to / together with a baseline: the values that were current when the page loaded, joined with |. A baseline that no longer matches refuses the save, so two people editing the same panel cannot overwrite each other without noticing. A script has to supply the baseline too; read the current values from /api/stats first. The reply is the page itself, 200 when saved, 400 with the reason when refused.

sectionFieldsBaselineRefused when
dashboarddashboard_shows (page, app, cameras or integration), dashboard_url, and for an integration dashboard_integration, its idbaseline = url; shows_baseline and integration_baseline = the choice and the integrationThe URL does not start with http:// or https://; the choice is not one of the four.
browserbrowser_user_agent, browser_text_size, browser_page_zoom, browser_back_after, browser_dark, browser_page_camera, browser_page_microphone, browser_user, browser_password (blank keeps the stored one; an empty name clears both)baseline = user agent|text size|zoom|dark|seconds|nameThe same rules as the browser.* commands; a name with a colon.
certificatesaction (trust or forget), host, and for trust the sha256 of the certificate waiting for an answernoneTrust takes only the certificate waiting, for its host, so nothing is trusted unseen; the list holds at most 32 hosts.
paneldevice_id, the panel’s namebaseline = idThe name is empty or uses anything but letters, digits, dot, underscore and hyphen, or is longer than 64.
mqttmqtt_host, mqtt_port, mqtt_username, mqtt_password (blank keeps the stored one), mqtt_tls (1 or 0, left out means off); or mqtt_action alone: trust with the sha256 of the broker certificate waiting, forget with the sha256 trusted now, or client_deletebaseline = host|port|username|tls (true or false)The port is not between 1 and 65535; for trust, the broker now shows another certificate; for forget, the trusted certificate changed meanwhile.
speakernetwork_speaker_portnoneThe port is not a number, not between 1024 and 65535, the web admin or member port, or already in use while the speaker is on.
webadminhttp_port, http_admin_password (blank keeps)baseline = portThe port is not a number, not between 1024 and 65535, the member port, or already in use; the password is shorter than 8 characters, because a shorter one would switch the page off with only the tablet able to switch it back on.
fleetfleet_portbaseline = member portThe port is not a number, not between 1024 and 65535, the web admin’s port, or already in use.
adoptjoin_code, the eight digits under the other panel’s Join QR; fleet_name when this panel founds the fleetnonePosted to /adopt, not /, so the connection waits for the search: HTTP 200 when a panel joined, 400 with the reason otherwise, at once without Muralis Pro or when the fleet already holds six panels.
sequencessettings_sequence, launcher_sequencesequence_baseline = settings|launcherBoth fields are empty, or both hold the same combination. Format TL,TR,BL,BR, 3 to 12 taps.
behaviourstats_overlay, volume_buttons_disabled, network_speaker, display_off_method, status_light, status_light_color, http_certificate, every ambient_* keynoneAs under instant settings.
More about these boxes
certificates
Forget removes a host’s pin: the browser’s next connection to that host asks again (a connection it keeps open still carries the old answer, at the latest until the nightly restart).
panel
With scripting, the web admin stores the name the moment its box loses the focus, through device_id under instant settings.
fleet
The member port is where the panel’s fleet endpoint listens, 8081 until changed; the web admin and the member endpoint never share a port.
adopt
Adds the panel that shows the code, for a browser with no camera: the panels announced on the network (_muralis._tcp, announced only while a panel is in a fleet, TXT state=member, or shows its Join code, state=joining with the code’s first two digits in tag) are asked for up to 30 seconds, only those whose tag matches. The code is never sent: each side proves it with SPAKE2 (RFC 9382), as Matter’s setup code and Android’s pairing code are proven. Answers with the panel that joined, or Not added: no panel answered with that code in time: ….
curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/ \
     -d section=dashboard \
     -d dashboard_url=https://grafana.example.net/d/wall \
     -d baseline=https://old.example.net/

Reply when the baseline is stale, HTTP 400, on the page

Not saved: these settings were changed elsewhere after this page loaded. The page now shows the current values; please re-apply your edit.

Automations and sensor settings

Three documents hold what you set on the Sensors and Automations pages. GET one, change it, POST it back as application/json. Every entry says when it last changed, in changed_at (milliseconds, 0 when it has not changed since the panel started keeping the time), and a removed rule or beacon name leaves a marker in deleted with its deleted_at, the newest 100 kept. The panel writes those times itself: the copies in a POST are ignored. A POST is checked in full before anything is written, so a refusal leaves everything as it was.

PathDocumentA POST
/api/automations{"rules": [...], "deleted": [...]}, each rule as A rule shows it.Replaces the whole list: a rule left out is deleted. Each rule is checked as the editor checks it (the rule’s words); a rule without an id gets a new one, and an id is lowercase letters and digits, 24 at most. At most 64 rules.
/api/sensors/settings{"switches": {"<id>": {"on", "changed_at"}}, "shared": {"<key>": {"value", "changed_at"}}, "this_panel": {...}}. shared holds the settings that mean the same on any panel, this_panel the ones that depend on the panel’s own hardware: the camera’s name, lens, size, orientation, mirror and flip, how it listens for beacons, the calibrations (the beacons’ among them), the sleep tests and the tags it has read.Sets the switches and shared settings it names, each checked as the sensor’s page checks it; the rest stay. this_panel is ignored, set those on the panel; a this_panel key under shared is refused, and so is a beacon_ key, which belongs to /api/beacons/names. switches lists every sensor as it stands, the panel’s own readings on with nothing stored.
/api/beacons/names{"names": [{"id", "name", "changed_at"}], "deleted": [...]}, the names given to beacons heard, id as uuid:major:minor.Sets the names it lists, up to 40 characters; a blank name takes it away. A beacon left out keeps its name.

A rule

A rule has one or more when, each a sensor’s event with its own actions in then, run in order; any of them starts the rule. The conditions in if must hold when a when starts it: all of them, or any one with if_any set to true. These fields are the same in the editor’s form, in /api/automations and in the status document.

{"id": "p2a3k3u65xhy", "name": "Hallway at night", "enabled": true,
 "when": [{"sensor": "proximity", "event": "near", "minutes": 0, "match": "", "cooldown": 0,
           "then": [{"action": "display_on"}, {"action": "wait", "seconds": 30}, {"action": "display_off"}]}],
 "if": [{"sensor": "time", "from": 1320, "to": 420, "days": [1, 2, 3, 4, 5, 6, 7]}],
 "if_any": false}
FieldValuesWith
nameup to 60 characters; left blank, the rule in wordsevery rule
when1 to 6; each with up to 10 actions in then, 20 actions in the whole ruleevery rule
levelthe number the event compares withan event that compares
minutes0 to 1440; 0 for at oncean event that must hold
matchup to 64 characters: the NFC tag, the camera or group, a beacon as uuid:major:minor, or the text an integration’s value becomes; empty for any tag or any beaconnfc_tag, bluetooth_beacons, cameras and a text value
cooldown0 to 3600 seconds; the rule does not run again within it; 0 runs every time (the editors start at 60)nfc_tag, cameras and a value’s int_changes
ifup to 6 conditions: a sensor and its state (the events below that a sensor stays in, with level or match as for a when), or time with from and to (minutes of the day; a window may pass midnight) and days (1 Monday to 7 Sunday)a rule with conditions
argumentup to 500 charactersan action that needs one
secondsfor popup and camera 0 to 300, default 30, 0 until touched or closed; for wait 1 to 3600popup, camera and wait
chimetrue or falsepopup and camera
showpopup or fullscreencamera

A rule’s events are read again from the start when it is edited, so a rule whose event already holds when saved does not run on the spot. A wait the panel slept through is dropped with the actions after it, never run late.

sensorevent
proximitynear, far
illuminancedarker (level in lx, holds for minutes), brighter (level)
device_movementpicked_up, still
bluetooth_beaconsin_reach, out_of_reach; with match one beacon, empty for any: then the first beacon in and the last one out
nfc_tagtag (match names which, empty for any)
media_playingplaying, stopped
camera_motionmotion, no_motion (holds for minutes)
sound_levellouder (level, 0 to 100)
displayon, off
ambientstarted, ended
batterybelow, above (level in percent), plugged, unplugged
networkconnected, lost
processorhotter (level in °C)
camerastriggered, not a sensor: a camera’s camera.trigger, with match the camera or group; a camera in a group runs the group’s rules too. Offered once there is a camera or a group.
int_<integration>_<value>An integration’s value, by the type it reports: a number int_above, int_below (level, holds for minutes); on or off int_on, int_off; a text int_becomes, with match the text, upper and lower case alike; any type int_changes, on every new value. The first value only sets where it starts, and an unavailable value never runs a rule.
timeat, with level the minute of the day (1320 for 22:00): once a day when the panel’s clock reaches it, a tick up to two minutes late included; a run the panel slept or was stopped through is dropped, never fired late at wake; a rule made after today’s time first runs tomorrow
actionargument
display_on, display_off, dashboard, ambient, reload, light_offnone
play_soundan http:// or https:// address
saythe sentence
light_onthe colour as r,g,b, or empty for the colour it has
open_pagean address, shown once
brightness0 to 100
ambient_modeoff, dim, film (Black screen), url or pictures
mqtt_publishthe topic, a space, then the message; published on the panel’s own broker; no wildcards
call_urlan http:// or https:// address, called with a GET; the answer is dropped
alertthe alert’s text, 200 characters at most, sent where the fleet’s alerts go
popupthe message, shown as panel.notify shows it, for the action’s seconds, with its chime
cameraa camera or group, shown as show says, for seconds, with its chime; the screen is woken
waitnone; pauses for seconds before the next action

The editor’s baseline is the stored rule without enabled and changed_at, so a switch flipped beside an open editor never makes its Save stale.

curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/sensors/settings \
     -H 'Content-Type: application/json' \
     -d '{"switches": {"sound_level": {"on": true}}}'

With {"shared": {"camera_size": {"value": "640x480"}}}, HTTP 400

{"status":"rejected","detail":"camera_size belongs to this panel alone"}

Pictures and albums

The routes the web admin’s Gallery and album pages use: the pictures in one place, and the albums Ambient plays in its Pictures mode. Add ?fragment=1 to a POST to get {"ok": true, "message": "..."}, or 400 with "ok": false and the reason; without it the answer is the page again.

More about pictures and albums

A picture is named by its address, as the panel stores it: content://media/external/images/media/186 for one of the panel’s own pictures, a file:// address inside Muralis for an upload. An album is named by its id, which GET /api/albums gives. Every POST is form-encoded, the upload aside. The panel’s own pictures need Android’s permission to read them, which the panel asks for in its Gallery; uploads need none.

MethodPathFieldsWhat it does
GET/api/albumsEvery album: {"active": id, "albums": [{"id", "name", "count", "updatedAt", "active"}]}.
POST/api/albumsnameMakes an empty album. Names are unique without regard to case, 60 characters at most, 32 albums at most.
POST/api/albums/activateidMakes it the one that plays. ambient.album does the same by name, and its No album leaves none in use.
POST/api/albums/renameid, nameRenames it, with the rules of a new name.
POST/api/albums/deleteidDeletes the album, never its pictures. Without ?fragment=1 it answers 303 to /gallery when done or when the album was already gone.
POST/api/albums/orderid, orderThe order Ambient shows: every address the album holds, one per line. Refused whole unless it is exactly the album’s pictures, so an order made from a page opened before another change cannot scramble it.
POST/api/pictures/selectalbum, uri, selectedPuts a picture in an album or takes it out (true or false). Taking it out never deletes the file. 1000 pictures an album at most.
POST/api/gallery/add, /api/gallery/deleteuris, one address per line; album for addThe Gallery’s selection: adds the pictures to an album, or deletes the uploads among them; the panel’s own pictures are kept, and the answer says how many.
POST/api/picturespicture, one file or many, multipart/form-data; ?album= to add them to oneUploads pictures into Muralis’s own store: JPEG, PNG or WebP, checked by their bytes, 12 MB each and 24 MB a request, one upload at a time (503 with Retry-After otherwise).
POST/api/pictures/deleteuriDeletes an uploaded picture, and it leaves every album. The panel’s own pictures are never deleted, only taken out of an album.
POST/api/pictures/captionname (the address), captionThe name Ambient’s credit line shows for the picture, 200 characters at most; empty shows the file’s name.
POST/api/pictures/creditname (the address), shownSwitches the picture’s credit line off or back on, keeping its name.
POST/api/pictures/viewviewHow a folder is shown on both surfaces: list, details, small or big.
GET/api/pictures/thumb?uri=A picture’s thumbnail, a 256 px JPEG, for the panel’s own pictures and uploads only.
GET/api/pictures/large?uri=The picture for its own page, a JPEG with the long side at most 1280 px.
GET/api/albums/table, /api/albums/items?album=, /api/pictures/folders, /api/pictures/content?album=, ?at= (a folder), ?n= (10, 25, 50 or 100)The pages’ parts as HTML fragments, which the pages swap in place; not a data format to build on.
curl -k --proto =https -u :your-admin-password \
     -F picture=@sunset.jpg -F picture=@harbour.png \
     'https://192.0.2.42:8080/api/pictures?album=mtvmf24q-1&fragment=1'

Reply

{"ok":true,"message":"2 pictures stored."}

Checks

POST /api/check tests a value from the panel’s own point of view before you save it: does that URL answer, is that port free, does that broker accept a connection. It is advice, not a gate; the save paths keep their own refusals. Always 200, the verdict is inside.

kindFieldsok whendetail
dashboard_urlvalueThe URL answers HTTP, whatever the code.answered HTTP 200; no HTTP answer plus a reason May carry {panel.name}, {panel.group} (the first group the panel is in) and {fleet.name}, filled by each panel when it loads the page, so one address shared with a fleet shows each panel its own page; what is stored keeps the placeholders.
http_portvalueThe port is free, or is the one the admin serves on.port 8081 is free; the web admin is serving on it right now; port 80 is already in use on this device; web admin port must be between 1024 and 65535; port 8081 is the member port; choose another web admin port
fleet_portvalueThe port is free, or is the one the member endpoint listens on.port 9090 is free; the member endpoint is listening on it right now; port 8080 is the web admin port; choose another member port
mqtt_hostvalue, optional port (1883)A TCP connection succeeds within 3 seconds.accepts TCP on port 1883; no TCP answer on port 1883 plus a reason
curl -k -u :your-admin-password -X POST https://192.0.2.42:8080/api/check \
     -d kind=mqtt_host -d value=192.0.2.10 -d port=1883

Reply, broker not running

{"ok":false,"detail":"no TCP answer on port 1883","reason":"failed to connect to /192.0.2.10 (port 1883) from /192.0.2.42 (port 37568) after 3000ms: isConnected failed: ECONNREFUSED"}

Status document

GET /api/stats returns it; the MQTT state topic carries the same document without the lines marked Admin. Times are milliseconds. A value the tablet cannot provide is null, never missing and never zero; inside sensors, a sensor’s reading fields are there only while it is on.

{
  "schema": 1,
  "app_version": "0.7.0",
  "uptime_ms": 79535237,
  "app_uptime_ms": 28207013,
  "battery": {"present": true, "percent": 84, "status": 2, "health": 2, "plugged": 2, "charge_state": "charging",
              "temperature_c": 29.3, "voltage_mv": 4022, "charge_counter_uah": 3126890,
              "current_now_ua": 119018, "current_average_ua": null, "energy_counter_nwh": null},
  "power": {"source": "mains", "volts": null, "watts": null},
  "memory": {"available_bytes": 862355456, "total_bytes": 1954566144, "low": false,
             "threshold_bytes": 226492416, "process_pss_kib": 125244},
  "storage": {"available_bytes": 6103379968, "total_bytes": 7761584128},
  "network": {"connected": true, "ip_address": "192.0.2.42", "metered": false, "validated": true,
              "wifi": true, "ethernet": false, "wifi_rssi_dbm": -78, "wifi_signal_level": 1,
              "wifi_link_speed_mbps": 21, "wifi_frequency_mhz": 2437},
  "thermal_status": 0,
  "load_average": [3.16, 3.29, 3.12],
  "system": {"cpu_busy_percent": 3.9, "cpu_max_frequency_khz": 960000, "mem_total_kb": 1908756,
             "mem_available_kb": 854296, "mem_used_kb": 1054460, "swap_total_kb": 1048572,
             "swap_used_kb": 403992, "cpu_temperature_c": 40, "gpu_temperature_c": 39,
             "load_average": [3.16, 3.29, 3.12]},
  "runtime": {"renderer_deaths": 0, "last_renderer_death_ago_ms": null,
              "last_page_finished_ago_ms": 366490, "last_page_error_ago_ms": 1013827,
              "last_page_error": "HTTP 404", "last_page_url": "https://grafana.example.net/d/wall",
              "auth_lockouts": 0, "last_auth_lockout_ago_ms": null, "last_auth_lockout_host": "",
              "recycles": 0, "last_recycle_ago_ms": null, "last_recycle_reason": ""},
  "display": {"screen_on": true, "off_method_effective": "sleep",
              "off_method_reason": "Display off turns the screen off. A remote wake or the power button turns it back on.",
              "off_method_warning": false, "auto": false, "has_light_sensor": false,
              "source": "manual", "brightness_percent": 40, "system_raw": 102, "system_scale_assumed": 255},
  "light": {"on": false, "color": "255,0,0", "brightness": 100},
  "ambient": {"active": false, "mode": "pictures", "start_after_seconds": 120, "off_seconds": 900, "dim_percent": 20,
              "on_wake": "ambient", "url": "", "picture_seconds": 20, "transition": "fade",
              "picture_fit": "fit", "shuffle": false, "one_per_start": false, "credit": true,
              "credit_corner": "bottom_left", "pictures_state": "6 pictures from Holidays.", "pictures_problem": null,
              "pictures_readable": true, "album": "Holidays", "albums": 2,
              "picture": {"title": "The Starry Night", "credit": "Vincent van Gogh, 1889"}, "problem": null,
              "summary": "Pictures after 2 min, display off 15 min after Ambient starts."},
  "config": {"dashboard_url": "https://grafana.example.net/d/wall", "dashboard_shows": "page", "dashboard_integration": "", "dashboard_cameras": "", "camera_layout": "auto", "camera_big": "", "camera_names": false, "device_id": "hallway-panel",
             "settings_sequence": "TL,TL,TL,TL", "launcher_sequence": "BR,BR,BR,BR",
             "stats_overlay": false, "volume_buttons_disabled": false, "orientation": "auto", "display_off_method": "auto",
             "has_light_sensor": false, "auto_brightness": false, "web_admin_enabled": true,
             "http_port": 8080, "http_tls": true,
             "fleet_port": 8081, "fleet_listening": true, "fleet_state": "Listening on port 8081",
             "http_certificate_sha256": "F0:4D:30:A1:3D:67:35:08:11:C8:93:F4:28:EA:C3:69:D3:D9:BA:77:3B:DB:97:31:3B:B7:AB:C2:A7:50:7D:63",
             "http_certificate": "own", "http_certificate_problem": "", "http_certificate_upload": "",
             "mqtt_host": "192.0.2.10", "mqtt_port": 1883,
             "browser": {"user_agent": "", "text_size": 100, "page_zoom": 0, "dark_look": false,
                         "back_after_s": 0, "sign_in": false, "page_camera": false, "page_microphone": false},
             "certificate_pins": [{"host": "ha.home.example", "sha256": "3A:9F:...:C2"}], "certificate_waiting": null,
             "cameras": [{"name": "Door", "url": "http://192.0.2.20/snapshot.jpg", "full": "", "sign_in": true}],
             "camera_groups": [{"name": "Front", "cameras": ["Door"]}],
             "network_speaker": false, "network_speaker_port": 2325, "network_speaker_state": "off"},
  "integrations": [{"id": "webvalue1", "definition": "webvalue", "definition_name": "Value from a web address",
                    "name": "Solar", "enabled": true, "state": "ok", "status": "Answering", "updated_at": 1792680146192,
                    "settings": {"url": "http://192.0.2.30/status.json", "path": "power", "type": "Number", "unit": "W",
                                 "header_name": "", "interval_s": "60"}, "secrets_set": [],
                    "values": {"value": {"sensor": "int_webvalue1_value", "name": "Value", "type": "number", "unit": "W",
                                         "available": true, "value": 512}}}],
  "integration_values": {"int_webvalue1_value": 512}
}

A real document, with the addresses, the page and the combinations replaced. On a panel with no battery, a PoE wall panel or a screen on a DC adapter, battery.present is false, every other battery field is null, and power.source says mains.

Every field, explained
FieldMeaningValues
Top level
schemaDocument version.1
app_versionThe running build.string
uptime_msSince the tablet booted.ms
app_uptime_msSince Muralis started; drops at the nightly restart.ms
thermal_statusAndroid’s thermal status.0 none, 1 light, 2 moderate, 3 severe, 4 critical, 5 emergency, 6 shutdown; null below Android 10
load_average1, 5 and 15 minute load.three numbers, or null
battery
presentWhether the panel has a battery at all. When false, every other field here is null except plugged.bool
percentLevel.0 to 100
statusAndroid’s battery status.1 unknown, 2 charging, 3 discharging, 4 not charging, 5 full
healthAndroid’s battery health.2 good, 3 overheat, 4 dead, 5 over voltage, 6 failure, 7 cold
pluggedWhat it is plugged into.0 nothing, 1 AC, 2 USB, 4 wireless
charge_stateThe word the overlay and the smart home show.charging, discharging, charged, on hold, null
temperature_c, voltage_mvBattery temperature and voltage.°C, mV
charge_counter_uah, current_now_ua, current_average_ua, energy_counter_nwhBattery counters where the hardware reports them.µAh, µA, µA, nWh, or null
power
sourceHow the panel is fed, on every panel: a cell with no cable, a cell on an induction pad, or mains, which is a charger, PoE and a DC adapter alike. Android cannot tell those three apart; network.ethernet says whether a cable carries the data too, and the battery object says whether a cell is filling.battery, wireless, mains
volts, wattsLive readings of the supply feeding the device, where the kernel measures them (/sys/class/power_supply, an online non-battery node, never a rating). Most tablets report none. What is reported is whatever the kernel measures at the device’s own DC input, 5 V from USB up to 12 or 24 V from a DC or PoE feed; the 230 V on the wall is never visible to any device. The overlay shows them on the MAINS row of a panel without a battery.number, or null
memory, storage
memory.available_bytes, total_bytes, threshold_bytesSystem memory, and the level below which Android calls it low.bytes
memory.lowAndroid’s low-memory flag. Published at once when it changes.bool
memory.process_pss_kibMemory used by Muralis itself.KiB
storage.available_bytes, total_bytesThe data partition.bytes, or null
network
connected, validated, metered, wifi, ethernetThe active network.bool
ip_addressThe panel’s own address.string
wifi_rssi_dbm, wifi_signal_level, wifi_link_speed_mbps, wifi_frequency_mhzWi-Fi details, on Wi-Fi only.dBm; 0 to 4; Mbps; MHz
system
cpu_busy_percentCPU busy since the last sample.%; null on an ordinary install on stock Android
cpu_max_frequency_khzThe current top CPU clock.kHz
mem_total_kb, mem_available_kb, mem_used_kb, swap_total_kb, swap_used_kbFrom /proc/meminfo.KiB
cpu_temperature_c, gpu_temperature_cChip temperatures, same availability as cpu_busy_percent.°C, or null
runtime
renderer_deaths, last_renderer_death_ago_msWeb view renderer crashes since start.count, ms
last_page_finished_ago_ms, last_page_error_ago_ms, last_page_errorPage health: last successful load, last error, and what it was.ms, ms, string such as HTTP 404
last_page_urlThe page actually on the glass, which dashboard.open_once changes.string
auth_lockouts, last_auth_lockout_ago_ms, last_auth_lockout_hostWeb admin lockouts after repeated wrong passwords.count, ms, address
recycles, last_recycle_ago_ms, last_recycle_reasonSelf-healing rebuilds of the web view.count, ms, string
display
screen_onWhether the screen is awake.bool
off_method_effectiveWhat display.visual_off would do now.sleep, film
off_method_reasonOne sentence saying why.string
off_method_warningA sleep ended badly and the method was switched to the film. Painted red on both admin surfaces.bool
auto, has_light_sensorAutomatic brightness on, and whether a light sensor exists.bool
sourceWhere the brightness comes from.auto, manual, display_off, ambient
brightness_percentThe level.0 to 100, and 0 while dark; null only when the system setting cannot be read
system_raw, system_scale_assumedAndroid’s raw brightness value and the scale assumed for it, so a wrong percentage can be diagnosed.int, 255
light
on, color, brightnessThe status light: on or off, its colour as r,g,b, its brightness.bool, string, 1 to 100
app_lock
package, app, showing, problemThe app chosen for the dashboard, its name, whether it is up, and why it cannot run; kept while the dashboard shows something else (config.dashboard_shows says what it shows), empty when no app was ever chosen.string, string, bool, string
ambient
activeWhether Ambient is showing right now.boolean
mode … credit_cornerThe settings, one field per command above, under the command’s name without the prefix: start_after_seconds, off_seconds and picture_seconds are the three times.as the commands
pictures_stateOne sentence about the pictures: how many, from which album, and what is showing.string
pictures_problemWhy there is nothing to show, when there is not.string or null
pictures_readableWhether the panel may read its own pictures yet.boolean
album, albumsThe album Ambient plays, and how many there are.string or null, number
pictureThe picture on screen: its title and its credit line.{"title","credit"} or null
problem, summaryWhy Ambient cannot run as set, and the settings in one sentence, the same sentence both surfaces show.string or null, string
sensors
one object per sensor, by idEvery sensor the app knows, on this device or not: name, kind (switch, permission, panel), page, glyph, available, permitted, enabled, active (on and permitted), value, attributes where the sensor has them (the beacons in reach, each with id, name, rssi, its signal in dBm averaged over 20 seconds with the highest and lowest tenth left out, distance_m, the estimated distance, and calibrated_m, the steps of its calibration on this panel, [1, 3] for both, left out for none; the camera’s name, viewers and detection, the last tag’s content, whether media plays), and reading, the sentence both surfaces show.object
near, calibratedThe proximity sensor’s verdict and whether a person calibrated it; calibrated on the microphone too, and on the Bluetooth beacons, where it says whether any beacon is calibrated on this panel.bool
asleepWhat the test while asleep found for a hardware sensor.reports, silent, or empty
lists
sensors_home, sensors_page, automations_home, automations_page, integrations_home, integrations_page, certificate, beaconsShort hashes of what each list of the web page is drawn from, so the page draws a list again when another surface changed it: certificate the web admin’s certificate block, beacons which beacons the Bluetooth beacons page lists, empty for none. Compare them, never read them. Admin: HTTP only, never on MQTT.strings
beacon_lines
one string per beacon, by uuid:major:minorThe line the Bluetooth beacons page shows under each beacon’s name, in the page’s order: the id and its state, …:100:40004, in reach, 1.2 m, -63 dBm or …, out of reach. Every beacon heard since the scan began and every calibrated one; one out of reach for ten minutes is forgotten unless it is calibrated. Admin: HTTP only, never on MQTT.object
integrations
one object per integration addedid, definition, definition_name, name, enabled, state (ok, waiting, failing, unavailable, needs_credentials, off, blocked, unknown), status (the line both surfaces show; for an integration the fleet shares also who asks, Asking for the fleet, Asked by Kitchen or No reading from the fleet for 12 minutes), updated_at, secrets_set (which secret settings hold a value, never the value), and values, one per value with sensor (the id rules use), name, type, unit, available and value (null while unavailable). settings, the settings that are not secret, Admin: HTTP only, since an address may carry a key.array
integration_values
one value per sensor idThe same values flat, what discovery’s value templates read; null while unavailable.object
automations
one object per ruleid, name, sensor, event, level (absent where the event has none), minutes, match (the tag, the camera or group, or the text it waits for), cooldown, seconds, chime, show, action, argument, enabled, only_from, only_to (minutes of the day, -1 for the whole day), changed_at and sentence, the rule in words.array
config
dashboard_url, device_idThe stored page and the panel’s id, which is also its MQTT client id.string
dashboard_shows, dashboard_integrationWhat the dashboard shows: page, app, cameras or integration, and for an integration its id; see dashboard.show.string, string
dashboard_cameras, camera_layout, camera_big, camera_namesThe dashboard’s cameras: the camera or group chosen for it (empty when none), kept while the dashboard shows something else, the layout (auto, 1+3, 1+5, 2x2, 3x3), the camera of the big tile, and whether names are shown.string, string, string, bool
cameras, camera_groupsEach camera’s name, and over HTTP its url, full and whether a sign-in is stored (sign_in, never the sign-in itself); each group’s name and cameras.array
settings_sequence, launcher_sequenceThe corner-tap combinations. Admin: HTTP only, never on MQTT.TL,TR,BL,BR strings
escape_pin_setWhether a PIN is asked after a combination; the PIN itself is never reported. Admin: HTTP only.bool
stats_overlay, volume_buttons_disabled, orientation, display_off_method, web_admin_enabledStored settings; display_off_method reads film on an ordinary install whatever is stored, since the film is the only method it has.bool; bool; auto/landscape/portrait; auto/sleep/film; bool
has_light_sensor, auto_brightnessLive, repeated here for the Automatic brightness switch.bool
certificate_pins, certificate_waitingThe page certificates a person trusted, by host and SHA-256, and the one Android refused that is waiting for an answer (host, sha256, issued_to, valid_until), or null.array, object or null
browserThe page’s browser options as the browser.* commands set them; of the sign-in only whether one is stored.object
network_speaker, network_speaker_port, network_speaker_stateThe network speaker’s switch, its port and whether it runs: on, off, or why it is not on although switched on.bool, number, string
http_port, mqtt_host, mqtt_portWhere the panel listens and which broker it talks to. Admin: HTTP only.
fleet_port, fleet_listening, fleet_stateThe member port, whether the fleet’s member endpoint listens on it, the sentence the All panels section shows under it, such as Not listening: port 8081 is in use on this device. Admin: HTTP only.number, bool, string
fleet_joinMembership and the join code as both surfaces show them: member, member_line (Member of the fleet Home), fleet (its name), can_join (the member endpoint listens), code (1234 5678, empty when none is open), qr (whether /api/fleet/code.svg has one), detail (the key in short form, the address and the member port), locked (five wrong codes), line, the Join screen’s sentence, and left (Valid for 8 min while a code is open). Admin: HTTP only, never on MQTT.object
fleet_peersThe other panels of the fleet as this panel last heard from them, one object each: id, name, spki, seen_ago_ms (-1 when not heard from since the app started), online (heard from within ten minutes), address, version (of the fleet’s list it holds), clock_skew_ms and its health summary. Empty outside a fleet. Admin: HTTP only.array
fleet_profileThe fleet’s groups and what they share: groups (one object each: id, name, in, whether this panel is in it), follows_fleet (whether this panel takes what the whole fleet shares; its groups it always follows), sections (per group of settings the fleet can share, dashboard, mqtt, web_admin, display, ambient, alerts: shared_by, the ids of the groups that share it, group, the one whose values apply on this panel (everyone is the whole fleet; a group wins over it), empty when none applies, and refused, the lines this panel could not apply, in the words of the checks that refused them), and suggestions, names offered for a new group. Empty outside a fleet. Admin: HTTP only.object
alert_offline_minutes, alert_back_online, alert_page_error, alert_battery_below, alert_temperature_above, alert_storage_below_mb, alert_update_available, alert_shared_refused, alert_combination_used, alert_pin_lockout, alert_quiet_display_off, alert_ntfy_url, alert_ntfy_token_set, alert_chat_url_set, alert_mqtt_topic, alert_webhook_urlThe fleet’s alert settings as stored on this panel, under the keys instant settings take; the two secrets only as whether they are set. Admin: HTTP only.numbers, bools and strings, as stored
http_tls, http_certificate_sha256Whether the web admin speaks HTTPS (always true here, since it answers only over HTTPS), and the fingerprint of its certificate, to compare with the browser’s. Admin: HTTP only.bool, string
http_certificate, http_certificate_problem, http_certificate_uploadWhich certificate is served, own or uploaded (empty while the web admin is closed); why the uploaded one, chosen, is not, empty when it is; and the fingerprint of the upload kept, served or not, empty when none is. Admin: HTTP only.string, string, string

MQTT

<id> below is the panel’s device id, hallway-panel in the examples. Two panels on one broker need two different ids.

Connection

TransportMQTT 3.1.1 over plain TCP (default port 1883), or over TLS when Encrypted (TLS) is on (brokers usually listen on 8883). Clean session, keepalive 30 s.
Client idThe device id.
Last willkiosk/<id>/availability = offline, retained.
On connectPublishes online, subscribes to its command topic, to homeassistant/status and to its own homeassistant/device/<id>/config, whose retained copy says what it announced before, then publishes discovery. It waits up to five seconds for that copy, so a broker with access lists must let the panel read its own discovery topic as well as write it. When the smart home announces itself as back online on homeassistant/status, discovery is published again.
ReconnectAutomatic after a lost connection. A broker that was unreachable when the panel started is retried when the MQTT settings are saved or at the nightly restart.

Topics

TopicWhoPayloadWhen
kiosk/<id>/availabilitypanelonline or offline, retainedOn connect, then online again every 30 s as a heartbeat.
kiosk/<id>/statepanelThe status document without the admin lines, retainedEvery 60 s; at once when battery level, charging state, low memory or thermal status change; 400 ms after every accepted command; on reconnect.
kiosk/<id>/commandyouA bare command name, or a JSON envelopeWhenever you like. Not retained.
kiosk/<id>/command/resultpanel{"id","status","detail","timestamp_ms"}One per command received.
kiosk/<id>/tagpanel{"tag_id"}, QoS 1, not retainedA tag held to the panel while the NFC sensor is on; Home Assistant’s tag scanned event, through homeassistant/tag/<id>/config.
kiosk/<id>/camerapanelThe last frame as raw JPEG, retained; an empty payload clears itOn motion while the camera’s picture-to-MQTT option is on, and on camera.snapshot. Cleared when the camera or the option goes off.
kiosk/<id>/screenshotpanelThe screen as a JPEG, the long side at most 1280 px, retained; an empty payload clears itOn panel.screenshot, from any surface or the Take a screenshot button.
homeassistant/device/<id>/configpanelThe discovery bundle, retainedOn connect, and when the smart home comes back.
homeassistant/binary_sensor/<id>_mqtt_state/configpanelThe liveness entity, retainedSame.

Commands over MQTT

The same commands and arguments as over HTTP. A bare name is enough for a command without arguments; the envelope carries arguments and an optional id of up to 96 characters, echoed in the result so you can match replies to requests.

mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command -m dashboard.reload

On kiosk/hallway-panel/command/result

{"id":"","status":"accepted","detail":"","timestamp_ms":1788948053209}
mosquitto_pub -h 192.0.2.10 -t kiosk/hallway-panel/command \
    -m '{"id":"evening-1","command":"display.brightness","args":{"percent":40}}'

Result

{"id":"evening-1","status":"accepted","detail":"","timestamp_ms":1788948057237}

With "percent":150

{"id":"evening-1","status":"rejected","detail":"percent must be between 0 and 100","timestamp_ms":1788948061318}

With a payload that is not JSON and not a command name

{"id":"","status":"rejected","detail":"malformed JSON payload","timestamp_ms":1788948066121}

Two more rules. A payload over 16 384 bytes is refused with payload exceeds 16384 bytes. A command the broker had stored as retained and delivers when the panel connects is refused with retained commands are refused; publish without the retain flag, and the panel clears it from the broker: a retained command would otherwise run again on every reconnect.

MQTT discovery

One retained bundle on homeassistant/device/<id>/config creates the whole device, named Muralis <id>. Every entity reads the state topic and sends to the command topic, so nothing has to be written in YAML.

Each entity has the name below on every surface: the panel, the web admin and MQTT. Its key in the bundle is that name in lower case with underscores (Ambient start after is ambient_start_after), and its unique id is <id>_<key>. Three kinds are keyed by what does not change when they are renamed: an automation’s switch by the rule’s id (automation_<rule id>), an integration’s value by its sensor id, and a camera’s button by its name. A select shows the same words as the panel and sends the command’s value, as the words in brackets in the command tables.

More about which entities are announced

The manufacturer and model come from the hardware, the software version from the app. An entity the panel cannot serve is not announced at all: no battery sensors without a battery, no automatic brightness without a light sensor, no auto orientation without an accelerometer, no reboot button and no sleep option without the device-owner install.

An entity the panel announced and then stops announcing (a sensor switched off, a deleted rule) is removed from the smart home. The panel removes only what it announced itself, so a new panel sends no removal at all. A removal the smart home misses because it is offline at that moment leaves the entity unavailable until you delete it, as with other MQTT devices.

EntityTypeReadsSends
Power sourcesensor, enumpower.source
Battery levelsensor, %, only on a panel with a batterybattery.percent
Battery temperaturesensor, °C, only with a batterybattery.temperature_c
Battery statesensor, only with a batterybattery.charge_state
Available memorysensor, MiBmemory.available_bytes
Available storagesensor, MiBstorage.available_bytes
Thermal statussensor, Android 10 and upthermal_status
App versionsensor, diagnosticapp_version
Brightnessnumber, 0 to 100display.brightness_percentdisplay.brightness
Automatic brightnessswitch, only with a light sensorconfig.auto_brightnessdisplay.auto_brightness
Orientationselect: Auto-rotate (with an accelerometer), Landscape, Portraitconfig.orientationdisplay.orientation
Display off methodselect: Automatic, Turn the screen off, Black film; the first two offered to a device owner only, an ordinary install offers Black film aloneconfig.display_off_methoddisplay.off_method
Dashboard appsensor: the name of the app chosen for the dashboard, empty when noneapp_lock.app
Status lightlight: on or off, colour, brightnesslightlight.on, light.off
Pop-upnotify: the message sent with notify.send_messagepanel.notify
Web adminswitchconfig.web_admin_enabledwebadmin.enabled
Dashboard URLtextconfig.dashboard_urldashboard.url
Dashboardselect: Web page, App (once an app was chosen), Cameras (once there is a camera)config.dashboard_showsdashboard.show
Dashboard camerasselect: the cameras and groups by name, once there is a cameraconfig.dashboard_camerasdashboard.cameras
Dashboard integrationselect: the integrations that can be the dashboard, by name, once one is addedconfig.dashboard_integrationdashboard.integration
Show namebutton, one per camera and per groupcamera.show with that name
Open oncetextruntime.last_page_urldashboard.open_once
Open dashboard, Reload dashboard, Restart appbuttonsdashboard.open, dashboard.reload, app.restart
Display on, Display offbuttonsdisplay.wake, display.visual_off
Rebootbutton, only on a device-owner installsystem.reboot
Ambientswitchambient.activeambient.start, ambient.stop
Ambient modeselect: Off, Dimmed page, Black screen, Web page, Picturesambient.modeambient.mode
Ambient albumselect, No album and the panel’s albums by nameambient.albumambient.album
Ambient start after, Ambient display off after, Ambient picture durationnumber, sambient.start_after_seconds, off_seconds, picture_secondsambient.start_after_seconds, off_seconds, picture_seconds
Ambient dim brightnessnumber, %ambient.dim_percentambient.dim_percent
Ambient transition, Ambient picture fit, Ambient credit corner, Ambient on wakeselect: Cut, Fade, Slide; Fit, Fill, Stretch, Actual size; Bottom left, Bottom right, Top left, Top right; Ambient first, Dashboard at onceambient.transition, picture_fit, credit_corner, on_wakethe command of the same name
Ambient shuffle, Ambient one picture per start, Ambient credit lineswitchambient.shuffle, one_per_start, creditthe command of the same name with enabled
Ambient web pagetextambient.urlambient.url
Ambient picturesensorambient.picture.title
Proximity, Illuminance, Device movement, Bluetooth beacons, NFC tag, Media playing, Camera motion, Sound level, Pressure, Temperature, Humiditysensor or binary sensor, one each, announced while the sensor is on and this device has it, removed when it is switched offsensors.<id>.value (the ids proximity, illuminance, device_movement, bluetooth_beacons, nfc_tag, media_playing, camera_motion, sound_level, pressure, temperature, humidity), with attributes for the beacons, NFC, media playing and the camera
Camera motion detection, Camera snapshot, Camera pictureswitch, button, camera: motion detection while the camera is on, the snapshot and the picture only while Picture to MQTT is on toosensors.motion.attributes.detecting; the picture from kiosk/<id>/cameracamera.motion, camera.snapshot
Take a screenshot, Screenshotbutton and image: the button asks for a picture, the image shows the last onethe picture from kiosk/<id>/screenshotpanel.screenshot
One switch per automation, named after the ruleswitchautomations[].enabledautomation.enabled

Liveness

A separate entity, MQTT state, is a connectivity sensor on the availability topic with a 90 second expiry. The panel says online every 30 seconds; 90 seconds of silence turn the sensor off, even if a broker restart brought back a stale retained online. A panel that goes quiet reads unavailable in the smart home, never a stale online.

Beyond the API

Device owner over adbadb shell dpm set-device-owner org.spazio17.muralis/.KioskDeviceAdminReceiver, on a tablet that has finished setup, has no accounts and one user. The QR at setup does the same without adb.
The brightness grantadb shell appops set org.spazio17.muralis WRITE_SETTINGS allow, or the button in Muralis settings. The one permission a device owner cannot give itself; the setup page explains why.
The provisioning QRCarries the admin component, the APK address and the signing certificate, and no Muralis settings. What it encodes is published in full.