$ luna-atlas --cat input

Input & Keys luna-send commands.

The remote, keyboards, mice, gamepads and the TV's HDMI and other external inputs: sending keys, reading input status and switching sources. 795 methods in 80 services.

795methods
80services
104documented
230public
23flagged dangerous

open Input & Keys in the catalog ↗

Services

servicemethodswhat it does
com.webos.service.mrcu121Magic Remote Control Unit service: pairs the remote, manages the pointer cursor and motion sensor, IR codes and firmware, and shows…
com.webos.service.ics47IR-blaster / universal-control service: manages a database of IR and IP-controlled devices, with brand/model/key lists, device add/delete…
com.webos.service.peripheralmanager43Peripheral manager: monitors sensors and controls actuators on I/O peripherals over industry-standard buses, exposing GPIO and I2C (and…
com.webos.service.eim36External Input Manager: manages HDMI and other external inputs, including device add/remove, input status, EDID backup, ARC volume, and…
com.webos.sensord34Sensor daemon: enumerates sensors (e.g. accelerometer, ambient-light), configures their power, sensitivity and sample rate, and reads…
com.webos.service.utp.extinputs34UTP external-inputs service: binds external inputs, reports HDMI info, signal and diagnostics, and controls subtitle/teletext for external…
com.webos.service.voiceconductor30Voice-assistant orchestration service: recognizes intents by voice or text, reports recognition status and supported languages, and…
com.webos.service.voiceinput28Voice-input service: enrolls voice triggers, streams audio for recognition (with trigger), and manages activation and sensitivity settings…
com.webos.service.extinputs.hdmi22HDMI external-input service: opens/connects HDMI inputs and reports signal state, video/audio codec info, VRR, Dolby conflict status, and…
com.webos.service.extinputs.displayport21DisplayPort/HDMI external-input service: opens/connects an input and reports signal, video and VRR info, audio codec, Dolby conflict…
com.webos.service.extinputs.av20External AV-input service: opens, closes and connects AV inputs, reports signal and video info, and manages subtitles and teletext for the…
com.webos.service.nlpmanager19Natural-language processing manager: handles voice/search requests and user-intent resolution, runs and refines searches, manages dynamic…
com.webos.service.terminalmanager19Terminal manager: controls RS-232 serial ports (baud rate, attributes, RS232 control), attaches a debug console, and registers/routes…
com.palm.keymanager17Cryptographic key management service: generates, imports, exports, stores, and removes keys, encrypts and decrypts files, changes…
amazon.alexa.adapter.plugin16Alexa Voice Service (AVS) adapter plugin: handles far-field voice recognition, AVS music and status, access tokens and CBL login data,…
com.webos.service.utp.externaldevice16UTP external-input/device service: reports current and last input, external-input and signal state, switches inputs, and handles CEC IDs…
com.webos.service.externaldevice15External-device I/O service: reads and writes GPIO and ADC pins and reads attached humidity, light, temperature and RFID peripherals.
com.webos.service.nlp14Natural-language and speech service: runs speech-to-text (STT) and NLP queries for voice search and tips, and reports STT/NLP status.
com.webos.service.networkinput11Network/virtual input service: sends key codes and special/long/repeat key events and exposes pointer, gamepad and touch input sockets,…
com.webos.service.voiceclick11Voice-click/point-and-click voice service: detects clickable screen areas and apps, creates click events, captures the screen, and manages…
com.webos.service.voiceinput.preprocessor11Voice-input preprocessor: starts and stops microphone streaming, sets the trigger point, and runs beamforming/web-BSI utilities over the…
com.webos.ghp.runtime10Appears to be a smart-home runtime exposing homes, rooms, structures, controllers and devices and sending commands to them, with a…
com.webos.service.extinputs.component10External component-input service: opens/closes and connects component (and similar) inputs, reports signal state and video info, controls…
com.webos.service.voiceinput.sound10Voice-input sound/mic subservice: enumerates mic devices, streams mic audio, reports mic-switch status, and runs mic test/localization.
com.webos.service.keymanager29Second-generation key manager: generates keys, encrypts/decrypts and signs/verifies data, manages key attributes, and removes keys…
com.webos.service.cec8HDMI-CEC (Consumer Electronics Control) service: lists CEC adapters, scans for connected HDMI-CEC devices, sends CEC commands, and…
com.webos.service.irdbmanager8IR database manager: manages the infrared code database for controlling external devices, listing brands/manufacturers and key lists,…
com.webos.service.commercial.scapadapter7Commercial/pro-TV SCAP adapter (set-top/conditional-access integration) with a large configuration surface: OSD language and lock, picture…
com.webos.service.keymanager37Security key manager (keystore): generates, imports, exports and derives cryptographic keys, runs begin/update/finish crypto operations,…
com.webos.service.multiviewcontroller7Multiview controller: creates and arranges app views for split/multi-view, changes mode, position and size of sub-apps, and mixes per-view…
com.webos.service.extinputs.spdif6External S/PDIF digital-audio input service: opens, connects and switches the S/PDIF input and reports its current audio codec.
com.webos.service.nomotion6No-motion/no-operation power-saving timers: adds, queries and removes timers that fire when no remote motion or operation is detected.
com.webos.service.sensor6Sensor service: enumerates available sensors, reads sensor values, controls sensors, and handles sensor device attach/detach events.
com.webos.service.voice.performer.plugin6Voice-command performer plugin: loads/unloads, reads context, and performs voice-triggered actions including short-press handling.
com.webos.service.voiceinput.network6Networked voice-input service: lists devices, starts and streams voice input over the network, and manages a session timer.
lg.thinqai.adapter6LG ThinQ AI adapter: runs voice/intent recognition by voice or text, returns TTS and keyword results, and manages Voice ID enrollment and…
com.webos.service.voiceinput.hidraw5Raw-HID voice-input service: lists voice-capable input devices and starts/stops microphone streaming from the remote.
com.webos.service.ai.voice4Voice-input recognition service (webOS OSE): starts and stops voice recognition, reports state, and returns results, using configuration…
com.webos.service.hdmitx4HDMI transmitter (output) service: reports HDMI connection state, parsed EDID and video-output info, and sets low-latency signaling data.
com.webos.service.ime4Input Method Editor and virtual-keyboard service: inserts and deletes text, sends the enter key, and registers a remote keyboard for…
com.webos.service.nop4Appears to manage 'NOP' timers: adds and removes timers, reports timer info, and notifies on expiry. Specific purpose not inferable; marked.
com.webos.service.pushclient4Push/MQTT client: creates and destroys connections, registers services, publishes to and subscribes/unsubscribes from topics, and reports…
com.webos.service.qbd4Opaque input-related service; appears to manage device resume timeout and reset timing based on its get/set methods.
com.webos.service.systemservice4Core system service: reads/sets the clock and time zone, queries device and OS info, manages preferences and ringtones, handles…
com.webos.service.trigger.alexa4Alexa trigger service: gets and sets Alexa activation and reports data version, likely gating the far-field/voice Alexa feature.
com.webos.service.voiceinputadapter4Voice-input adapter: relays voice commands and input events and runs tests.
com.webos.service.widevine4Widevine DRM service: manages the content decryption module (CDM) and sessions, generates license and provisioning requests, reports HDCP…
com.webos.service.alwaysready3Always-ready/standby service: manages the always-on-display (AOD) status, monitors device and GPIO state, and controls standby timers.
com.webos.service.update3Software/firmware update service: checks for, downloads and applies system updates, reports progress and current software/hardware…
com.webos.service.wampluggable.hbbtv3HbbTV (Hybrid Broadcast Broadband TV) service: manages HbbTV app lifecycle, reserves and releases broadcast resources, makes HTTP…
yandex.alice.adapter.plugin3Yandex Alice voice-assistant adapter plugin: recognizes intents by voice and text, registers an interactor/context, and reports voice-UI…
alibaba.genie.adapter.plugin2Appears to be an adapter plugin bridging the Alibaba Genie voice assistant to webOS: starts and cancels voice recognition, recognizes…
com.example.activityexample2SDK sample service demonstrating the ActivityManager: creating timers and alarms and handling their fired/cancel callbacks. Example code,…
com.palm.systemservice2Core system service: reports device and OS info, stores system preferences, and gets/sets system and broadcast time and wallpaper.
com.webos.iotframework2IoT framework managing connected IoT devices: lists and updates devices, sends commands, and gets/sets per-device customization.
com.webos.service.aos2Appears to manage an 'always-on' display or standby feature: enables and disables always-on and gets/sets its reset time.
com.webos.service.camera2Camera service: acquires, opens and closes the camera, lists devices and properties, reports firmware and cover state, applies photo…
com.webos.service.hybridtvmanager2Hybrid-TV manager: handles hybrid broadcast-broadband state, user agreements, ACR first-run settings, and teletext display and messaging.
com.webos.service.updatefw.utilmgr2Firmware-update utility manager: triggers auto-install and master download, manages recurring update times and ticket/build info.
dangbei.adapter.plugin2Dangbei voice-assistant adapter plugin: loads/unloads, recognizes intents by voice or text, and shows a usage guide.
google.assistant.adapter.plugin2Google Assistant adapter plugin: recognizes intents by voice and text, manages sign-in and conversations, and controls voice…
nuance.stt.adapter.plugin2Nuance speech-to-text (STT) adapter plugin: loads/unloads the engine, recognizes voice, and stops voice recording.
ssap:tv2SSAP TV service (TV remote-control protocol): changes channels, lists channels and programs, reports the current channel, and switches…
com.palm.uploadd1Diagnostics upload daemon: uploads crash reports, logs, and analytics to a server, manages log settings, and reports EULA and USB-path…
com.webos.app.teletext1Teletext viewer app control: enables and disables teletext, queries the current page and state, and forwards remote key events to it.
com.webos.chromecast.cell1Appears to manage the Chromecast-built-in (Cast) runtime: checks terms of service, reports cell/control/runtime-manager status, and starts…
com.webos.flutter.embedder1Support service for the webOS Flutter embedder: returns runtime configuration and provides a timer callback method.
com.webos.service.aiinferencemanager1AI inference manager: installs machine-learning models, requests and releases inference resources, and reports device inference capability…
com.webos.service.analytics1Appears to provide vision/analytics processing via a single 'vision' method; opaque beyond that.
com.webos.service.avmutemanager1Audio/video mute manager: coordinates AV mute across clients, tracking mute status, owners, timing, and registered services, and setting…
com.webos.service.browser1Appears to provide browser-side device and file access: mounts and lists storage devices, reads content and size properties, and processes…
com.webos.service.cloudupload1Cloud-upload service that uploads analytics, crash and overview reports to the cloud and manages related log settings.
com.webos.service.emmcd1eMMC storage daemon: reports flash lifetime, memory usage and profile info, and configures the eMMC profile and power-on settings.
com.webos.service.mysketch1MySketch artistic-display/gallery service: loads and saves images and sets the artistic display, home background and image path.
com.webos.service.secondscreen.gateway1Second-screen gateway: pairs and lists companion devices, sets up app-to-app channels and host messaging, and reports power state and…
com.webos.service.sm1Security manager: handles app security permissions, USB-access authentication, device IDs, licensing, and cryptographic operations (file…
com.webos.service.sportsalarm1Sports-alarm service that tracks sporting events and pushes game alerts/timers.
com.webos.service.tsrecord1Transport-stream recording service: initializes, loads, starts and stops TS recording and reports recording status/time and an MPD manifest.
com.webos.service.utp.teletext1UTP teletext service: enables/disables teletext (and teletext PES) and reports teletext data, lists and state.
com.webos.statisticsManager1Statistics manager exposing a single call to save statistics; its broader role is not inferable.

Documented methods to start with

Public and SSAP methods from LG's documentation, none flagged dangerous. Each opens in the catalog with its full parameter table. Run them on a rooted TV or in Developer Mode.

getResponse publiccom.webos.service.ai.voice

Returns speech recognition results. This method is asynchronous.

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.ai.voice/getResponse '{}'
getState publiccom.webos.service.ai.voice

Gets the current state of the service. It can have the following states: idle : Before start. waitActivation : Wait for keyword activation. recording : Uploading audio to the server for speech recognition. thinking :…

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.ai.voice/getState '{}'
start publiccom.webos.service.ai.voice

Starts the service based on the mode selected. Note: This method is only for allowed clients.

params: mode, keywordDetect

$ luna-send -n 1 -f luna://com.webos.service.ai.voice/start '{}'
stop publiccom.webos.service.ai.voice

Stops the service. Make sure to call this method before starting another engine. Note: This method is only for allowed clients.

$ luna-send -n 1 -f luna://com.webos.service.ai.voice/stop '{}'
getConfig publiccom.webos.service.cec

Gets the value of the specified input configuration.

params: adapter, key

$ luna-send -n 1 -f luna://com.webos.service.cec/getConfig '{}'
listAdapters publiccom.webos.service.cec

Searches CEC adapters from system and list all the identified local CEC adapters.

$ luna-send -n 1 -f luna://com.webos.service.cec/listAdapters '{}'
scan publiccom.webos.service.cec

Scans the CEC bus and provides information of the connected HDMI CEC devices.

params: adapter

$ luna-send -n 1 -f luna://com.webos.service.cec/scan '{}'
sendCommand publiccom.webos.service.cec

Sends the input command to destination HDMI CEC devices connected on CEC bus.

params: adapter, destAddress, timeout, command

$ luna-send -n 1 -f luna://com.webos.service.cec/sendCommand '{}'
setConfig publiccom.webos.service.cec

Sets the input configuration.

params: adapter, key, value

$ luna-send -n 1 -f luna://com.webos.service.cec/setConfig '{}'
addDevice publiccom.webos.service.eim

Registers an app as a selectable input (appinfo needs "supportGIP": true)

params: appId, pigImage, mvpdIcon, type, showPopup, label, description

$ luna-send -n 1 -f luna://com.webos.service.eim/addDevice '{}'
blockInputPopup publiccom.webos.service.eim

Registered on eim (name only; presumably suppresses the new-input popup)

$ luna-send -n 1 -f luna://com.webos.service.eim/blockInputPopup '{}'
deleteDevice publiccom.webos.service.eim

External Input Manager method (listed in webosbrew eim.yml; params undocumented there)

$ luna-send -n 1 -f luna://com.webos.service.eim/deleteDevice '{}'
getAllInputStatus publiccom.webos.service.eim

Lists all inputs (HDMI 1-4 with labels, CEC sub-devices, ARC) with connection state

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.eim/getAllInputStatus '{}'
getCurrentInput publiccom.webos.service.eim

External Input Manager method (listed in webosbrew eim.yml; params undocumented there)

$ luna-send -n 1 -f luna://com.webos.service.eim/getCurrentInput '{}'
getDeviceInfo publiccom.webos.service.eim

External Input Manager method (listed in webosbrew eim.yml; params undocumented there)

$ luna-send -n 1 -f luna://com.webos.service.eim/getDeviceInfo '{}'
getInputStatus publiccom.webos.service.eim

External Input Manager method (listed in webosbrew eim.yml; params undocumented there)

$ luna-send -n 1 -f luna://com.webos.service.eim/getInputStatus '{}'
getLastInput publiccom.webos.service.eim

External Input Manager method (listed in webosbrew eim.yml; params undocumented there)

$ luna-send -n 1 -f luna://com.webos.service.eim/getLastInput '{}'
getTotalDeviceList publiccom.webos.service.eim

External Input Manager method (listed in webosbrew eim.yml; params undocumented there)

$ luna-send -n 1 -f luna://com.webos.service.eim/getTotalDeviceList '{}'
registerAppToBlockNoti publiccom.webos.service.eim

External Input Manager method (listed in webosbrew eim.yml; params undocumented there)

$ luna-send -n 1 -f luna://com.webos.service.eim/registerAppToBlockNoti '{}'
setChosenDevice publiccom.webos.service.eim

External Input Manager method (listed in webosbrew eim.yml; params undocumented there)

$ luna-send -n 1 -f luna://com.webos.service.eim/setChosenDevice '{}'
setDeviceInfo ssapcom.webos.service.eim

Set HDMI input device icon/label (also used to switch an input between PC and non-PC mode)

params: id, icon, label

$ luna-send -n 1 -f luna://com.webos.service.eim/setDeviceInfo '{}'
deleteCharacters ssapcom.webos.service.ime

Delete characters in the focused text field

params: count

$ luna-send -n 1 -f luna://com.webos.service.ime/deleteCharacters '{}'
insertText ssapcom.webos.service.ime

Insert (or replace) text in the focused text field

params: text, replace

$ luna-send -n 1 -f luna://com.webos.service.ime/insertText '{}'
registerRemoteKeyboard ssapcom.webos.service.ime

Subscribe to remote-keyboard (text field focus) events

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.ime/registerRemoteKeyboard '{}'
sendEnterKey ssapcom.webos.service.ime

Send Enter to the on-screen keyboard/text field

$ luna-send -n 1 -f luna://com.webos.service.ime/sendEnterKey '{}'
getAPIVersion publiccom.webos.service.mrcu

Gets the MRCU API version.

$ luna-send -n 1 -f luna://com.webos.service.mrcu/getAPIVersion '{}'
sensor/getSensorData publiccom.webos.service.mrcu

Subscribes to sensor data (older API).

params: callbackInterval, subscribe

$ luna-send -n 1 -f luna://com.webos.service.mrcu/sensor/getSensorData '{}'
sensor/resetQuaternion publiccom.webos.service.mrcu

Resets quaternion data.

$ luna-send -n 1 -f luna://com.webos.service.mrcu/sensor/resetQuaternion '{}'
sensor2/cancelSensorDataSubscribe publiccom.webos.service.mrcu

Cancels the current sensor subscription.

$ luna-send -n 1 -f luna://com.webos.service.mrcu/sensor2/cancelSensorDataSubscribe '{}'
sensor2/getSensorEventData publiccom.webos.service.mrcu

Subscribes to magic remote sensor data.

params: sensorType, subscribe

$ luna-send -n 1 -f luna://com.webos.service.mrcu/sensor2/getSensorEventData '{}'
Before you run anything. Methods marked dangerous can change, reset or break things on the TV. Running one from here is exactly as safe as typing the same luna-send yourself. See dangerous.md.

Other categories