Caution webOS IoT is ONLY supported from webOS OSE 2.4.0 to webOS OSE 2.18.0. We plan to replace webOS IoT with Matter in the future release.
luna-send is a command-line tool accessible through a shell on a device. luna-send is mainly used to test calls to services accessible on the system bus through the LS2 (Luna Bus).
Note To access the device shell, you must connect to the device using the Secure Shell (SSH) protocol. For more details, see Network Setup.
Syntax
luna-send [OPTIONS...] URL '{JSON object}'
Options
Option
Parameter
Description
-h
None
Displays the help.
-P
None
Deprecated
-s
None
Sends a signal.
-a
None
Sends a specified appId in a message. (default is none)
-m
None
Displays service name. (default is none)
-d
None
Turns debug logging on.
-i
None
Turns interactive mode on.
-t
NUMBER_OF_TIMES
Displays average response time after calling this command the number of times.
-n
NUMBER_OF_REPLIES
Exits interactive mode after the number of replies.
-l
None
Displays the order of responses.
-f
None
Displays the response in the formatted JSON.
-q
QUERY_NAME
Displays a specific query item from responses. (multiple queries can be supplied) e.g.: -q 'returnValue' -q 'queues[0]'
-w
TIMEOUT
Sets exit timeout value.
Parameters
Parameter
Description
NUMBER_OF_TIMES
Specifies the number of times for calling a command.