Ecmd Reference: Unterschied zwischen den Versionen

Aus Ethersex_Wiki
Wechseln zu: Navigation, Suche
(ECMD via TCP)
(Importing text file)
 
(88 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
''This page is automatically generated from ecmd_defs.m4 and wiki.m4 which are part of the Ethersex source code repository.  Do not edit this page but send pages for those files!''
+
<div class="errorbox">
== Network configuration ==
+
This page is automatically generated from the files in the Ethersex source code
{| border="1"
+
repository.  Do not edit this page but send [[patches]] for those files!
 +
</div>
 +
 
 +
__NOTOC__
 +
== Analog/Digital Conversion ([[ADC]]) ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| adc get  [CHANNEL]
 +
|  Get the ADC value in hex of CHANNEL or if no channel set of all channels.
 +
|-
 +
| hr20 temp
 +
|  Read HR20 temperature sensor.
 +
|-
 +
|}
 +
== DNS Resolver ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| dns server  [IPADDR]
 +
|  Display/Set the IP address of the DNS server to use to IPADDR.
 +
|-
 +
| nslookup  HOSTNAME
 +
|  Do DNS lookup for HOSTNAME (call twice).
 +
|-
 +
|}
 +
== Digital/Analog Conversion ([[DAC]]) ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| ltc1257_delay  `[VALUE]
 +
|  Set (if VALUE given) or get (no VALUE) delay for LTC1257 output bit changes in µs'
 +
|-
 +
| ltc1257_set  `[VALUE0] [VALUE1] ...
 +
|  Set output to value (value: 0-4095)'
 +
|-
 +
| tlc5620  `[CHANNEL] [VALUE]
 +
|  Set Output to value (Value: 0-0xff)'
 +
|-
 +
|}
 +
== Fnordlicht ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| fnordlicht  "ADDRESS RED
 +
| GREEN,BLUE",fnordlicht command to set RGB color
 +
|-
 +
| fnordlicht_init
 +
| fnordlicht init
 +
|-
 +
|}
 +
== HD44780 [[LCD]] ==
 +
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| mac xx:xx:xx:xx:xx:xx
+
| hr20 hourbar  START STOP
| Set the MAC address.
+
|  Update hourbar to show ticks between START and STOP (range 0..23)
 +
|-
 +
| hr20 toggle  SEG
 +
|  Toggle segment SEG (a number, not a symbolic name!)
 +
|-
 +
| lcd backlight STATE
 +
| switch back light STATE to ON or OFF
 +
|-
 +
| lcd char  N D1 D2 D3 D4 D5 D6 D7 D8
 +
|  Define use-definable char N with data D1..D8 (provide DATA in hex)
 
|-
 
|-
| show mac
+
| lcd clear  [LINE]
| Display the MAC address.
+
| Clear line LINE (0..3) or the whole display (if parameter is omitted)
 
|-
 
|-
| show ip
+
| lcd goto  LINE COL
| Display the IP address.
+
| Move cursor to LINE and column COL (origin is 0/0)
 
|-
 
|-
| show netmask
+
| lcd reinit  CURSOR BLINK
| Display the network mask.
+
| Reinitialize the display, set whether to show the cursor (CURSOR, 0 or 1) and whether the cursor shall BLINK
 
|-
 
|-
| show gw
+
| lcd shift  DIR
| Display the IP address of the default router.
+
| Shift the display to DIR (either ''left'' or ''right'')
 
|-
 
|-
| show version
+
| lcd write  TEXT
| Display the version number.
+
| Write TEXT to the current cursor location
 
|-
 
|-
| ip  IP
+
|}
| Set the IP address.
+
== Infrared Send/Receive ([[IR-TRX]]) ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 
|-
 
|-
| netmask  IP
+
| ir receive
| Set the network mask.
+
| receive an IR command
 
|-
 
|-
| gw IP
+
| ir send DEVICE COMMAND
| Set the address of the default router.
+
| send COMMAND to DEVICE
 
|-
 
|-
 
|}
 
|}
== Resetting the controller ==
+
== Infrared Send/Receive ([[IRMP]]) ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| reset
+
| irmp receive
| Reset the Ethersex.
+
| receive an IR command
 
|-
 
|-
| wdreset
+
| irmp send  PROTOCOL DEVICE COMMAND REPEAT
| Go into endless loop to trigger a watchdog timeout.
+
| send COMMAND with REPEAT flag to DEVICE using PROTOCOL
 
|-
 
|-
 
|}
 
|}
== Stella commands ==
+
== NTP Client ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| stella store
+
| ntp query
| Store values in eeprom
+
| Query the NTP server to get an NTP update.
 
|-
 
|-
| stella load
+
| ntp server  [IPADDR]
| Load values from eeprom
+
| Display/Set the IP address of the NTP server to use to IPADDR.
 
|-
 
|-
| channels CHANNELS
+
| ntp status
| Return stella channel size
+
| Display NTP server status
 
|-
 
|-
| stella version STELLAVERSION
+
|}
| Get stella protocol version
+
== Network configuration ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 
|-
 
|-
| stella fadestep set FADESTEP
+
| enc dump 
| Set stella fade step
+
| Dump the internal state of the enc to serial
 
|-
 
|-
| stella fadestep get
+
| gw [IP]
| Get stella fade step
+
| Display/Set the address of the default router.
 
|-
 
|-
| channel set CHANNEL VALUE
+
| ip [IP]
| Set stella channel value
+
| Display/Set the IP address.
 
|-
 
|-
| channel get CHANNEL
+
| mac [xx:xx:xx:xx:xx:xx]
| Get stella channel value
+
| Display/Set the MAC address.
 
|-
 
|-
| bootloader
+
| netmask [IP]
| Call the bootloader.
+
| Display/Set the network mask.
 
|-
 
|-
 
|}
 
|}
 
== Port I/O ==
 
== Port I/O ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| io set ddr PORTNUM HEXVALUE [MASK]
+
| io get ddr PORTNUM
| Set the DDR of port PORTNUM to VALUE (possibly using the provided MASK).
+
| Display the current value of the DDR PORTNUM.
 
|-
 
|-
| io get ddr PORTNUM
+
| io get mask  PORTNUM
| Display the current value of the DDR PORTNUM.
+
| Display the mask of the port PORTNUM.
 
|-
 
|-
| io set port NUM HEXVALUE [MASK]
+
| io get pin  PORTNUM
| Set the PORT NUM to VALUE (possibly using the provided MASK).
+
| Display the current value of the PIN-register of the port PORTNUM.
 
|-
 
|-
| io get port NUM
+
| io get port NUM
| Display the current value of the PORT NUM.
+
| Display the current value of the PORT NUM.
 
|-
 
|-
| io get pin PORTNUM
+
| io set ddr  PORTNUM HEXVALUE [MASK]
| Display the current value of the PIN-register of the port PORTNUM.
+
| Set the DDR of port PORTNUM to VALUE (possibly using the provided MASK).
 
|-
 
|-
| io get mask PORTNUM
+
| io set port  NUM HEXVALUE [MASK]
| Display the mask of the port PORTNUM.
+
| Set the PORT NUM to VALUE (possibly using the provided MASK).
 
|-
 
|-
| c6 get VARNAME
+
|}
| Display the current value of the ECMD_GLOBAL Variable
+
== Reading and Writing EEPROM Space on Device ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| eer eer <ADDR> <LENGTH>
 +
|  Read n bytes from address after the config in eeprom.
 +
|-
 +
| eew eew <ADDR> <HEXBYTES>
 +
| Write Hexbytes at address after the config in epprom.
 +
|-
 +
| fuse
 +
| Display current fuse settings
 
|-
 
|-
| c6 set  VARNAME VALUE
+
| hostname
| Set an new value on the ECMD_GLOBAL Variable
+
| Display hostname.
 
|-
 
|-
 
|}
 
|}
== Named Pin ==
+
== Resetting the controller ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| pin get NAME
+
| bootloader
| Read and display the status of pin NAME.
+
| Call the bootloader.
 
|-
 
|-
| pin set NAME STATUS
+
| reset
| Set the status of pin NAME to STATUS.
+
| Reset the Ethersex.
 
|-
 
|-
| pin toggle NAME
+
| wdreset
| Toggle the status of pin NAME.
+
| Go into endless loop to trigger a watchdog timeout.
 
|-
 
|-
 
|}
 
|}
== HD44780 LCD Display ==
+
== [[ADS]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| lcd clear [LINE]
+
| ads get
| Clear line LINE (0..3) or the whole display (if parameter is omitted)
+
| Get the ADC value in hex.
 
|-
 
|-
| lcd write TEXT
+
| ads mean  [COUNT]
| Write TEXT to the current cursor location
+
| Get the mean of power of 2 COUNT ADC values in hex.
 
|-
 
|-
| lcd goto LINE COL
+
|}
| Move cursor to LINE and column COL (origin is 0/0)
+
== [[Am_Puls_der_Zeit|Clock]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 
|-
 
|-
| lcd char N D1 D2 D3 D4 D5 D6 D7 D8
+
| date
| Define use-definable char N with data D1..D8 (provide DATA in hex)
+
| Display the current date.
 
|-
 
|-
| lcd init CURSOR BLINK
+
| lastdcf
| Reinitialize the display
+
| Display when last valid DCF Signal was received.
 
|-
 
|-
| lcd shift DIR
+
| time [UNIXTIME]
| Shift the display to DIR (either ''left'' or ''right'')
+
| Display/Set the current time in seconds since January 1st 1970.
 +
|-
 +
| uptime
 +
|  Display ethersex uptime in unix format.
 +
|-
 +
| whm
 +
|  Display ethersex uptime.
 
|-
 
|-
 
|}
 
|}
== Dallas 1-wire ==
+
== [[Application_Sample]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| 1w list
+
| sample
| Return a list of the connected onewire devices
+
| Manually call application sample commands
 
|-
 
|-
| 1w get DEVICE
+
| sample_init
| Return temperature value of onewire DEVICE (provide 64-bit ID as 16-hex-digits)
+
| Manually call application sample init method
 
|-
 
|-
| 1w convert [DEVICE]
+
| sample_periodic
| Trigger temperatur conversion of either DEVICE or all connected devices
+
| Manually call application sample periodic method
 
|-
 
|-
 
|}
 
|}
== DNS ==
+
== [[Blinkenlights_MCUF|MCUF]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| nslookup HOSTNAME
+
| mcuf modul N
| Do DNS lookup for HOSTNAME (call twice).
+
| Select module N
 +
|-
 +
| mcuf modul list
 +
|  List all modules
 
|-
 
|-
| show dns
+
| mcuf showclock
| Display the IP address of the configured DNS server.
+
| Show digital clock
 
|-
 
|-
| dns  IPADDR
+
| mcuf showstring MESSAGE
| Set the IP address of the DNS server to use to IPADDR.
+
| Show scrolling MESSAGE on the display
 
|-
 
|-
 
|}
 
|}
== SYSLOG ==
+
== [[CRON-Dienst]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| syslog STRING
+
| cron_add MIN HOUR DAY MONTH DOW ECMD
| Send string to syslog server.
+
| Add ECMD to cron to be executed at given time
 
|-
 
|-
| show syslog
+
| cron_list
| Display the IP address of the configured SYSLOG server.
+
| Show all cron entries
 +
|-
 +
| cron_make_persistent
 +
|  Mark a Job as persistent
 +
|-
 +
| cron_rm  POSITION
 +
|  Remove one cron entry
 +
|-
 +
| cron_save
 +
|  Saves all persistent jobs
 
|-
 
|-
 
|}
 
|}
== Clock ==
+
== [[DALI]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| time
+
| dali cmd  [TARGET] [COMMAND] [!][?]
| Display the current time.
+
| "send the given command (decimal) to targets (all, g00 to g15, s00 to s63), auto repeat with !, read reply with ?"
 +
|-
 +
| dali dim  [TARGET] [LEVEL]
 +
|  "dim targets (all, g00 to g15, s00 to s63) to given level (0-254)"
 +
|-
 +
| dali raw  [BYTE1] [BYTE2]
 +
|  "send a raw frame (two bytes, given in hex) over the DALI bus"
 +
|-
 +
| dali scmd  [SPECIAL COMMAND] [DATA] [!][?]
 +
|  "send special command (256-287) with data, auto repeat with !, read reply with ?"
 +
|-
 +
|}
 +
== [[DMX_Effect]] commands ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 
|-
 
|-
| date
+
| dmx rainbow
| Display the current date.
+
| switch rainbow on (1) or off (0)
 
|-
 
|-
| whm
+
| dmx random
| Display the uptime.
+
| switch random on (1) or off (0)
 
|-
 
|-
 
|}
 
|}
== ADC ==
+
== [[DMX_Storage]] commands ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| adc get [CHANNEL]
+
| dmx channels
| Get the ADC Value in HEX of CHANNEL or if noch channel set of all channels.
+
|  Get channels per universe
 +
|-
 +
| dmx get  
 +
| Return channel value
 +
|-
 +
| dmx set  
 +
|  Set channel values
 +
|-
 +
| dmx universe
 +
|  Get a whole universe
 +
|-
 +
| dmx universes
 +
|  Get universes
 
|-
 
|-
 
|}
 
|}
== KTY ==
+
== [[Dallas_1-wire_Bus]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| kty get [CHANNEL]
+
| 1w convert  [DEVICE]
| Get the temperature in xxx.x °C of CHANNEL or if noch channel set of all channels.
+
| Trigger temperature conversion of either DEVICE or all connected devices
 
|-
 
|-
| kty cal get
+
| 1w ds2450 convert  [DEVICE]
| Return the calibration difference to 2k2 Resistor.
+
| `start conversion (with optional input mask and read out control)'
 
|-
 
|-
| kty autocalibrate CHANNEL
+
| 1w ds2450 get  [DEVICE]
| Calibrate to 1000 Ohm precision Resistor.
+
| `get conversion result (one or all channels)'
 +
|-
 +
| 1w ds2450 oc  [DEVICE]
 +
|  `get/set output control (per channel)'
 +
|-
 +
| 1w ds2450 oe  [DEVICE]
 +
|  `get/set output enable (per channel)'
 +
|-
 +
| 1w ds2450 por  [DEVICE]
 +
|  `get/set power on reset (per channel)'
 +
|-
 +
| 1w ds2450 power  [DEVICE]
 +
|  `get/set power supply of device (global)'
 +
|-
 +
| 1w ds2450 range  [DEVICE]
 +
|  `get/set input voltage range (per channel)'
 +
|-
 +
| 1w ds2450 res  [DEVICE]
 +
|  `get/set bit resolution of AD convert (per channel)'
 +
|-
 +
| 1w get  DEVICE
 +
|  Return temperature value of onewire DEVICE (provide 64-bit ID as 16-hex-digits)
 +
|-
 +
| 1w list
 +
| Return a list of the connected onewire devices
 
|-
 
|-
 
|}
 
|}
== Dataflash ==
+
== [[DataFlash]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| df status
+
| df status  
| Display internal status.
+
| Display internal status.
 +
|-
 +
| fs format
 +
|  Format the filesystem.
 +
|-
 +
| fs inspect inode  INODE
 +
|  Inspect INODE (and associated page).
 +
|-
 +
| fs inspect node  NODE
 +
|  Inspect NODE and dump to serial.
 
|-
 
|-
| fs format
+
| fs list
| Format the filesystem.
+
| List the directory.
 
|-
 
|-
| fs list
+
| fs mkfile  NAME
| List the directory.
+
| Create a new file NAME.
 
|-
 
|-
| fs mkfile  NAME
+
| fs remove  NAME
| Create a new file NAME.
+
| Delete the file NAME.
 
|-
 
|-
| fs remove  NAME
+
| fs truncate  NAME LEN
| Delete the file NAME.
+
| Truncate the file NAME to LEN bytes.
 
|-
 
|-
| fs truncate  NAME LEN
+
|}
| Truncate the file NAME to LEN bytes.
+
== [[Dc3840_camera|DC3840 mobil camera support]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 
|-
 
|-
| fs inspect node  NODE
+
| dc3840 capture
| Inspect NODE and dump to serial.
+
| Take a picture.  Access 'dc3840' via VFS afterwards.  See [[DC3840 Camera]] for details.
 
|-
 
|-
| fs inspect inode INODE
+
| dc3840 light
| Inspect INODE (and associated page).
+
| Light level of camera
 +
|-
 +
| dc3840 send  A B C D E
 +
|  Send provided command bytes to the camera.
 +
|-
 +
| dc3840 sync
 +
|  Re-sync to the camera
 +
|-
 +
| dc3840 zoom
 +
|  Enable zoom of camera
 
|-
 
|-
 
|}
 
|}
== SD/MMC Card Reader ==
+
== [[ECMDScript]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| sd dir
+
| call  FILENAME
| List contents of current SD directory.
+
| Start script named FILENAME
 +
|-
 +
| cat  FILENAME
 +
|  cat file content (with debug only)
 +
|-
 +
| dec  VAR
 +
|  Decrement variable VAR (a number)
 +
|-
 +
| echo  <any>
 +
|  Print out all arguments of echo
 +
|-
 +
| exit
 +
|  Exit currently running script
 +
|-
 +
| get  VAR
 +
|  Get value of variable VAR
 +
|-
 +
| goto  N
 +
|  Goto line N in currently running script
 +
|-
 +
| if  ( CMD/VAR == CONST ) then CMD2
 +
|  If condition matches execute CMD2
 +
|-
 +
| inc  VAR
 +
|  Increment variable VAR (a number)
 +
|-
 +
| rem <any>
 +
|  Remark for anything
 +
|-
 +
| set  VAR VALUE
 +
|  Set variable VAR to VALUE
 +
|-
 +
| wait  I
 +
|  Wait I milliseconds
 
|-
 
|-
 
|}
 
|}
== RFM12 ==
+
== [[FS20]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| rfm12 status
+
| fht send HOUSECODE ADDR CMD [CMD2]
| Display internal status.
+
| Send FHT command. See [[FS20]] for details.
 
|-
 
|-
| rfm12 setbaud BAUD
+
| fs20 receive
| Set baudrate to BAUD.
+
| Receive FS20/FHT sequence and display it.
 
|-
 
|-
| rfm12 setbandwidth BW
+
| fs20 send HOUSECODE ADDR CMD [CMD2]
| Set RX bandwidth to BW.
+
| Send FS20 command. See [[FS20]] for details.
 
|-
 
|-
| rfm12 setmod MOD
+
| fs20 ws300
| Set modulation to MOD.
+
| Receive FS20 sequence from WS300 weather station and decode it.
 
|-
 
|-
| rfm12 setgain GAIN
+
|}
| Set preamplifier gain to GAIN.
+
== [[Frequency Counter]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 
|-
 
|-
| rfm12 setdrssi DRSSI
+
| fc %duty  [CHANNEL]
| Set the drssi to DRSSI.
+
| "returns last on duty cycle in percent  for given channel"
 
|-
 
|-
| rfm12 tevion
+
| fc duty  [CHANNEL]
| housecode command delay cnt
+
| "returns last on duty cycle (0-255)  for given channel"
 
|-
 
|-
| rfm12 2272
+
| fc freq  [CHANNEL]
| housecodeCommand delay cnt
+
| "returns last frequency in Hz for given channel"
 
|-
 
|-
| rfm12 external filter
+
| fc off  [CHANNEL]
| Toggel receiver
+
| "switch off frequency counting on given channel"
 +
|-
 +
| fc on  [CHANNEL]
 +
|  "switch on frequency counting on given channel"
 +
|-
 +
| fc ticks  [CHANNEL]
 +
|  "returns last frequency in CPU ticks for given channel"
 
|-
 
|-
 
|}
 
|}
== Miscelleanous ==
+
== [[GLCD_Menu]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| d ADDR
+
| glcdmenu key VALUE
| Dump the memory at ADDR (16 bytes).
+
| Send a keypress to the menu
 
|-
 
|-
| help
+
| glcdmenu update
| List which commands are available.
+
| Update the menu
 
|-
 
|-
 
|}
 
|}
== DC3840 Handycam support ==
+
== [[GPS]] ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| dc3840 capture
+
| nmea get
| Make a picture
+
| Get latitude and longitude data
 
|-
 
|-
| dc3840 send  A B C D E
+
| nmea satellites
| Send provided command bytes to the camera.
+
| Get satellites
 
|-
 
|-
| dc3840 sync
+
|}
| Re-sync to the camera
+
== [[H-Bridge]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 
|-
 
|-
| pwm
+
| hbridge  [action] [enable_l] [enable_r]
| start pwm
+
|  Set H-Bridge command
 +
|-
 +
| hbridge pwm int
 +
| Set H-Bridge enable line valueeg. speed
 
|-
 
|-
 
|}
 
|}
== I2C (TWI) ==
+
== [[I2C]] (TWI) ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| i2c detect
+
| ds1631 convert ADDR VALUE
 +
|  Initiate temperature conversions (0: stop, 1: convert)
 +
|-
 +
| ds1631 temp ADDR
 +
|  Read last converted temperature
 +
|-
 +
| i2c detect  
 
| list detected I2C Chips
 
| list detected I2C Chips
 +
|-
 +
| i2c rbb ADDR
 +
| read byte from I2C chip
 +
|-
 +
| i2c rbd CHIPADDR REGADDR
 +
| read byte from register address at I2C chip
 +
|-
 +
| i2c rwd CHIPADDR REGADDR
 +
| read word from register address at I2C chip
 +
|-
 +
| i2c wbb ADDR HEXVALUE
 +
| write byte to I2C chip
 +
|-
 +
| i2c wbd CHIPADDR REGADDR HEXVALUE
 +
| write byte to register address on I2C chip
 +
|-
 +
| i2c wwd CHIPADDR REGADDR HEXVALUE
 +
| write word to register address on I2C chip
 
|-
 
|-
 
| lm75 ADDR
 
| lm75 ADDR
| Get temperature
+
| Get temperature
 +
|-
 +
| max7311 getDDRw  ADDR
 +
|  Get Direction-Register DDR
 +
|-
 +
| max7311 getINw  ADDR
 +
|  Get Input-Register IN
 +
|-
 +
| max7311 getOUTw  ADDR
 +
|  Get Output-Register OUT
 +
|-
 +
| max7311 pulse  ADDR BIT TIME
 +
|  Toggle Output-BIT for TIME (in ms)
 +
|-
 +
| max7311 set  ADDR BIT VALUE
 +
|  Set Output-BIT to VALUE (bool)
 +
|-
 +
| max7311 setDDRw  ADDR VALUE
 +
|  Set Direction-Register DDR (VALUE as hex)
 +
|-
 +
| max7311 setOUTw  ADDR VALUE
 +
|  Set Output-Register OUT (VALUE as hex)
 
|-
 
|-
 
| pca9531 ADDR PERIODPWM1 DUTYPWM1 PERIODPWM2 DUTYPWM2 LED0..3 LED4..7
 
| pca9531 ADDR PERIODPWM1 DUTYPWM1 PERIODPWM2 DUTYPWM2 LED0..3 LED4..7
| set PWM1 and PWM2 and LED states
+
| set PWM1 and PWM2 and LED states
 +
|-
 +
| pca9685m ADDR
 +
|  OUTDRV, IVRT, PRESCALE
 +
|-
 +
| pca9685s ADDR
 +
|  LED, ON, OFF
 
|-
 
|-
 
| pcf8574x read ADDR CHIP
 
| pcf8574x read ADDR CHIP
| Get bits
+
| Get bits
 
|-
 
|-
 
| pcf8574x set ADDR CHIP HEXVALUE
 
| pcf8574x set ADDR CHIP HEXVALUE
| Set bits
+
| Set bits
 +
|-
 +
| tsl2550 lux
 +
|  Show light level by reading adc registers and computing level
 +
|-
 +
| tsl2550 mode  VALUE
 +
|  Set the TSL2550s operating mode (0: standard range, 1: extended range)
 +
|-
 +
| tsl2550 power  VALUE
 +
|  Set the TSL2550s power state (0: down, 1:up)
 +
|-
 +
|}
 +
== [[Jabber]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| jabber_host  [HOSTNAME]
 +
|  JABBER hostname
 +
|-
 +
| jabber_pass  [PASSWORD]
 +
|  JABBER password
 +
|-
 +
| jabber_resrc  [RESOURCE]
 +
|  JABBER resource
 +
|-
 +
| jabber_user  [USERNAME]
 +
|  JABBER username
 +
|-
 +
|}
 +
== [[KTY]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| kty autocalibrate  CHANNEL
 +
|  Calibrate to 1000 Ohm precision Resistor.
 +
|-
 +
| kty cal get
 +
|  Return the calibration difference to 2k2 Resistor.
 +
|-
 +
| kty get  [CHANNEL]
 +
|  Get the temperature in xxx.x °C of CHANNEL or if no channel set of all channels.
 +
|-
 +
|}
 +
== [[MotorCurtain]] commands ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| curtain  VALUE
 +
|  Set value of curtain. 0=closed..7=open. If you use fewer sensors, use the corrent value instead of 7.
 +
|-
 +
| curtainlast
 +
|  Return last known position
 +
|-
 +
| curtainmax
 +
|  Return maximum position
 +
|-
 +
| curtainoff
 +
|  Switch motor off
 +
|-
 +
|}
 +
== [[Named_PIN]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| pin get  NAME
 +
|  Read and display the status of pin NAME.
 +
|-
 +
| pin list
 +
|  List all known named-pins.
 +
|-
 +
| pin set  NAME STATUS
 +
|  Set the status of pin NAME to STATUS.
 +
|-
 +
| pin toggle  NAME
 +
|  Toggle the status of pin NAME.
 +
|-
 +
|}
 +
== [[PWM]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| dtmf  CHARS
 +
|  send CHARS as DTMF
 +
|-
 +
| freq set  FREQUENCY DELAY
 +
|  Set frequency for DELAY ms
 +
|-
 +
| pwm fade  [channel +-diff startvalue]
 +
|  Set fading at channel with startvalue and change each stepp to diff (must be signed 3 digit)
 +
|-
 +
| pwm set  [channel value]
 +
|  Set channel to value
 +
|-
 +
|}
 +
== [[RFM12]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| rfm12 reinit
 +
|  Re-initialize RFM12 module.
 +
|-
 +
| rfm12 setbandwidth  BW
 +
|  Set RX bandwidth to BW.
 +
|-
 +
| rfm12 setbaud  BAUD
 +
|  Set baudrate to BAUD.
 +
|-
 +
| rfm12 setdrssi  DRSSI
 +
|  Set the drssi to DRSSI.
 +
|-
 +
| rfm12 setgain  GAIN
 +
|  Set preamplifier gain to GAIN.
 +
|-
 +
| rfm12 setmod  MOD
 +
|  Set modulation to MOD.
 +
|-
 +
| rfm12 status
 +
|  Display internal status.
 +
|-
 +
|}
 +
== [[RFM12_ASK]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| rfm12 1527 
 +
|  housecodeCommand delay cnt
 +
|-
 +
| rfm12 2272 
 +
|  housecodeCommand delay cnt
 +
|-
 +
| rfm12 ask sense
 +
|  Trigger (Tevion) ASK sensing.  Enable ext. filter pin before!
 +
|-
 +
| rfm12 external filter [1]
 +
|  Enable ext. filter pin if argument is present (disable otherwise)
 +
|-
 +
| rfm12 intertechno 
 +
|  family group device command
 +
|-
 +
| rfm12 tevion 
 +
|  housecode command delay cnt
 +
|-
 +
|}
 +
== [[SD-Karte]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| sd dir
 +
|  List contents of current SD directory.
 +
|-
 +
| sd mkdir PATH
 +
|  Create directory hierarchy PATH.
 +
|-
 +
|}
 +
== [[SHT]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| sht humid
 +
|  Return humidity of SHT sensor
 +
|-
 +
| sht raw
 +
|  Return raw hex temp (first line) and humidity value (second line) of SHT sensor
 +
|-
 +
| sht temp
 +
|  Return temperature of SHT sensor
 +
|-
 +
|}
 +
== [[SMS77]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| sms77  MESSAGE
 +
| Send MESSAGE to compiled in sms77 service
 +
|-
 +
| sms77_pass  [PASSWORD]
 +
|  SMS77 password
 +
|-
 +
| sms77_recv  [RECEIVER]
 +
|  SMS receiver
 +
|-
 +
| sms77_type  [TYPE]
 +
|  SMS type
 +
|-
 +
| sms77_user  [USERNAME]
 +
|  SMS77 username
 +
|-
 +
|}
 +
== [[Servo_Ansteuerung|PWM Servo Control]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| pwm servo_dec SERVONR
 +
|  Decrement position of servo SERVONR
 +
|-
 +
| pwm servo_inc SERVONR
 +
|  Increment position of servo SERVONR
 +
|-
 +
| pwm servo_set SERVONR POSITION
 +
|  Set servo with SERVONR to POSITION
 
|-
 
|-
| eeprom reinit
+
|}
| Force reinitialization of the EEPROM config area
+
== [[Sound]]/WAV support ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| pwm stop 
 +
|  Stop wav
 +
|-
 +
| pwm wav  <FILENAME>
 +
| Play wave file. Use VFS if compiled in. More details at [[Sound]]
 
|-
 
|-
 
|}
 
|}
== FS20 Befehl ==
+
== [[Stella_Light]] commands ==
{| border="1"
+
{| border='1'
 
| ''Command syntax''
 
| ''Command syntax''
 
| ''Short description''
 
| ''Short description''
 
|-
 
|-
| fs20 send Hauscode Adresse 0x00  
+
| channel CHANNEL VALUE FUNCTION
| turn off
+
| Get/Set stella channel to value. Second and third parameters are optional. Function: You may use 's' for instant set, 'f' for fade and 'y' for flashy fade.
 
|-
 
|-
| fs20 send Hauscode Adresse 0x01 
+
| channels
| an, 6,25% Einschalten auf Helligkeitsstufe 1 (min.)
+
| Return stella channel size
 
|-
 
|-
| fs20 send Hauscode Adresse 0x02  
+
| fadestep FADESTEP
| an, 12,5% Einschalten auf Helligkeitsstufe 2
+
| Get/Set stella fade step
 
|-
 
|-
| fs20 send Hauscode Adresse 0x0f 
+
| stella load
| an, 93,75% Einschalten auf Helligkeitsstufe 15
+
| Load values from eeprom
 
|-
 
|-
| fs20 send Hauscode Adresse 0x10 
+
| stella store
| an, 100% Einschalten auf Helligkeitsstufe 16 (max)
+
| Store values in eeprom
 
|-
 
|-
| fs20 send Hauscode Adresse 0x11 
+
|}
| an, alter Wert Auf letztem Helligkeitswert einschalten
+
== [[USB]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 
|-
 
|-
| fs20 send Hauscode Adresse 0x12  
+
| keyboard MESSAGE
| toggle Wechsel zwischen “aus” und “an, alter Wert“
+
| Send MESSAGE as HID keyboard
 
|-
 
|-
| fs20 send Hauscode Adresse 0x13 
+
| mouse BUTTON DELTAX DELTAY
| dim up Eine Helligkeitsstufe heller
+
| Send data as HID mouse
 
|-
 
|-
| fs20 send Hauscode Adresse 0x14  
+
|}
| tdim down Eine Helligkeitsstufe dunkler
+
== [[ZACwire]] ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 +
|-
 +
| zac 306  PORT BIT
 +
|  Return temperature of TSic 306 at BIT of PORT
 +
|-
 +
| zac 506  PORT BIT
 +
| Return temperature of TSic 506 at BIT of PORT
 +
|-
 +
| zac raw  PORT BIT
 +
|  Return raw hex temperature value of zacwire at BIT of PORT
 
|-
 
|-
| fs20 send Hauscode Adresse 0x15 
+
|}
| dim up and down ..., + bis max, kurz warten, - bis min, kurz warten,
+
== lome6 ==
 +
{| border='1'
 +
| ''Command syntax''
 +
| ''Short description''
 
|-
 
|-
| fs20 send Hauscode Adresse 0x16  
+
| lome6 get_t TYPE
| timeset Timerprogrammierung (Start, Ende)
+
| get temperature command
 
|-
 
|-
| fs20 send Hauscode Adresse 0x17  
+
| lome6 power TYPE
| send status Nur bei bidirektionalen Komponenten!
+
| press power command
 
|-
 
|-
| fs20 send Hauscode Adresse 0x18 
+
| lome6 reset
| aus, für Timerzeit
+
| press reset command
 
|-
 
|-
| fs20 send Hauscode Adresse 0x19  
+
| lome6 set_t TYPE TEMPERATURE
| an, 100%, für Timerzeit
+
| set temperature command
 
|-
 
|-
| fs20 send Hauscode Adresse 0x1A
+
| lome6 state
| an, alter Wert, für Timerzeit
+
| get state command
 
|-
 
|-
| fs20 send Hauscode Adresse 0x1B
+
| lome6 uptime  UPTIME
| reset (auf Auslieferzustand)
+
| set/get uptime command
 
|-
 
|-
 
|}
 
|}
== FS20 CODE ==
+
== Miscelleanous ==
{| border="1"
+
{| border='1'
| ''CODE'
+
| ''Command syntax''
| ''BERECHNUNG'
+
| ''Short description''
 +
|-
 +
| alias list
 +
|  List all available aliases
 +
|-
 +
| artnet test
 +
| artnet test
 +
|-
 +
| cw send  MESSAGE
 +
|  Send MESSAGE in Morce Code
 +
|-
 +
| d  ADDR
 +
|  Dump the memory at ADDR (16 bytes).
 +
|-
 +
| eeprom reinit
 +
|  Force reinitialization of the EEPROM config area
 +
|-
 +
| free
 +
|  Display free space.
 +
|-
 +
| help
 +
|  List which commands are available.
 +
|-
 +
| ht  MESSAGE
 +
| Send MESSAGE to compiled in httplog service
 +
|-
 +
| ipstats
 +
|  Display IP statistics.
 +
|-
 +
| mb recv 
 +
| Receive data from modbus
 +
|-
 +
| moodlight CHANNEL ONOFF
 +
|  Set CHANNEL moodlight on=1 or off=0. If no channel is given return on if channel CHANNEL is moodlighted
 +
|-
 +
| motd [MESSAGE]
 +
| Save MESSAGE as new message of the day, otherwise just show current message
 +
|-
 +
| msr1 get
 +
| Get data
 +
|-
 +
| mysql query  QUERY
 +
|  Send specified MySQL query to the configured server
 +
|-
 +
| ns
 +
| update net statistic for public anouncment of currently running ethersex
 
|-
 
|-
| HAUSCODE
+
| pam  USER PASSWORD
| Hauscode (12341234) Von allen Ziffern "1" abziehen (01230123) -> BC (obase=16,ibas=4) 0x1B1B
+
Use pam for user and password
 
|-
 
|-
| ADRESSE
+
| push  NUMBER
| ADRESSEGRUPPE/Unteradresse (2222 ) Von allen Ziffern "1" abziehen  (1111) -> BC (obase=16,ibas=4) 0x55
+
| Push button identified by NUMBER
 
|-
 
|-
| Lokaler Master (Adresse)
+
| pwm melody  [NUMBER]
| ADRESSEGRUPPE/Unteradresse (2244 ) Von allen Ziffern "1" abziehen (1133) -> BC (obase=16,ibas=4) 0x5F
+
Play melody
 
|-
 
|-
| Globaler Master (Adresse)
+
| sanyoz700  CMD
| ADRESSEGRUPPE/Unteradresse (4444 ) Von allen Ziffern "1" abziehen (3333) -> BC (obase=16,ibas=4) 0xFF
+
|  Send command to projector
 +
|-
 +
| sll get
 +
| Request the logged data
 +
|-
 +
| sram memtest
 +
|  Perform a memory test
 +
|-
 +
| srf05
 +
|  Read SRF05 measurement
 +
|-
 +
| to1 get
 +
| Request data from sensor
 +
|-
 +
| tw MESSAGE
 +
| Send MESSAGE to compiled in twitter service
 +
|-
 +
| upnp send
 +
| Manually send UPnP broadcast packet
 +
|-
 +
| usart baud  BAUD
 +
|  Set the USART baudrate to BAUD.
 +
|-
 +
| version
 +
| Display the version number.
 +
|-
 +
| wol  MAC
 +
| Send WAKE-ON-LAN command to MAC
 +
|-
 +
| yport stats
 +
|  Report statistic counters
 +
|-
 +
| zbus stats
 +
|  Report statistic counters
 
|-
 
|-
 
|}
 
|}
== ECMD via HTTP ==
 
If enabled in the configuration, you can call ECMD commands using URLs of the form:
 
<pre>http://ETHERSEX-IP/ecmd?ECMD-COMMAND</pre>
 
Depending on your browser, ECMD-COMMAND may need to have the spaces replaced by '''+''' signs.
 
E.g.
 
<pre>http://ETHERSEX-IP/ecmd?show+version</pre>
 
 
== ECMD via TCP ==
 
If enabled in the configuation Ethersex accepts ECMD commands via TCP.
 
The default port that Ethersex listens on is '''2701''', but it can be changed in the configuration.
 
 
As a special Feature ECMD via TCP allows prefixing commands with '''!''' (exclamation mark).
 
This prefix forces the TCP connection to close directly after the command was processed.
 
 
Using this command you can easily integrate ECMD into Unix shell scripts. E.g. to get the current
 
timestamp on your Ethersex as a variable in your shell, simply write
 
<pre>ECMD_DATE=`echo '!date' | nc ETHERSEX-IP ECMD-PORT`</pre>
 
Of couse you need to change ETHERSEX-IP and ECMD-PORT by the values for your Ethersex.
 
 
  
 
[[Category:Ethersex]]
 
[[Category:Ethersex]]
 +
[[Category:ECMD]]

Aktuelle Version vom 6. November 2011, 21:42 Uhr

This page is automatically generated from the files in the Ethersex source code repository. Do not edit this page but send patches for those files!


Analog/Digital Conversion (ADC)

Command syntax Short description
adc get [CHANNEL] Get the ADC value in hex of CHANNEL or if no channel set of all channels.
hr20 temp Read HR20 temperature sensor.

DNS Resolver

Command syntax Short description
dns server [IPADDR] Display/Set the IP address of the DNS server to use to IPADDR.
nslookup HOSTNAME Do DNS lookup for HOSTNAME (call twice).

Digital/Analog Conversion (DAC)

Command syntax Short description
ltc1257_delay `[VALUE] Set (if VALUE given) or get (no VALUE) delay for LTC1257 output bit changes in µs'
ltc1257_set `[VALUE0] [VALUE1] ... Set output to value (value: 0-4095)'
tlc5620 `[CHANNEL] [VALUE] Set Output to value (Value: 0-0xff)'

Fnordlicht

Command syntax Short description
fnordlicht "ADDRESS RED GREEN,BLUE",fnordlicht command to set RGB color
fnordlicht_init fnordlicht init

HD44780 LCD

Command syntax Short description
hr20 hourbar START STOP Update hourbar to show ticks between START and STOP (range 0..23)
hr20 toggle SEG Toggle segment SEG (a number, not a symbolic name!)
lcd backlight STATE switch back light STATE to ON or OFF
lcd char N D1 D2 D3 D4 D5 D6 D7 D8 Define use-definable char N with data D1..D8 (provide DATA in hex)
lcd clear [LINE] Clear line LINE (0..3) or the whole display (if parameter is omitted)
lcd goto LINE COL Move cursor to LINE and column COL (origin is 0/0)
lcd reinit CURSOR BLINK Reinitialize the display, set whether to show the cursor (CURSOR, 0 or 1) and whether the cursor shall BLINK
lcd shift DIR Shift the display to DIR (either left or right)
lcd write TEXT Write TEXT to the current cursor location

Infrared Send/Receive (IR-TRX)

Command syntax Short description
ir receive receive an IR command
ir send DEVICE COMMAND send COMMAND to DEVICE

Infrared Send/Receive (IRMP)

Command syntax Short description
irmp receive receive an IR command
irmp send PROTOCOL DEVICE COMMAND REPEAT send COMMAND with REPEAT flag to DEVICE using PROTOCOL

NTP Client

Command syntax Short description
ntp query Query the NTP server to get an NTP update.
ntp server [IPADDR] Display/Set the IP address of the NTP server to use to IPADDR.
ntp status Display NTP server status

Network configuration

Command syntax Short description
enc dump Dump the internal state of the enc to serial
gw [IP] Display/Set the address of the default router.
ip [IP] Display/Set the IP address.
mac [xx:xx:xx:xx:xx:xx] Display/Set the MAC address.
netmask [IP] Display/Set the network mask.

Port I/O

Command syntax Short description
io get ddr PORTNUM Display the current value of the DDR PORTNUM.
io get mask PORTNUM Display the mask of the port PORTNUM.
io get pin PORTNUM Display the current value of the PIN-register of the port PORTNUM.
io get port NUM Display the current value of the PORT NUM.
io set ddr PORTNUM HEXVALUE [MASK] Set the DDR of port PORTNUM to VALUE (possibly using the provided MASK).
io set port NUM HEXVALUE [MASK] Set the PORT NUM to VALUE (possibly using the provided MASK).

Reading and Writing EEPROM Space on Device

Command syntax Short description
eer eer <ADDR> <LENGTH> Read n bytes from address after the config in eeprom.
eew eew <ADDR> <HEXBYTES> Write Hexbytes at address after the config in epprom.
fuse Display current fuse settings
hostname Display hostname.

Resetting the controller

Command syntax Short description
bootloader Call the bootloader.
reset Reset the Ethersex.
wdreset Go into endless loop to trigger a watchdog timeout.

ADS

Command syntax Short description
ads get Get the ADC value in hex.
ads mean [COUNT] Get the mean of power of 2 COUNT ADC values in hex.

Clock

Command syntax Short description
date Display the current date.
lastdcf Display when last valid DCF Signal was received.
time [UNIXTIME] Display/Set the current time in seconds since January 1st 1970.
uptime Display ethersex uptime in unix format.
whm Display ethersex uptime.

Application_Sample

Command syntax Short description
sample Manually call application sample commands
sample_init Manually call application sample init method
sample_periodic Manually call application sample periodic method

MCUF

Command syntax Short description
mcuf modul N Select module N
mcuf modul list List all modules
mcuf showclock Show digital clock
mcuf showstring MESSAGE Show scrolling MESSAGE on the display

CRON-Dienst

Command syntax Short description
cron_add MIN HOUR DAY MONTH DOW ECMD Add ECMD to cron to be executed at given time
cron_list Show all cron entries
cron_make_persistent Mark a Job as persistent
cron_rm POSITION Remove one cron entry
cron_save Saves all persistent jobs

DALI

Command syntax Short description
dali cmd [TARGET] [COMMAND] [!][?] "send the given command (decimal) to targets (all, g00 to g15, s00 to s63), auto repeat with !, read reply with ?"
dali dim [TARGET] [LEVEL] "dim targets (all, g00 to g15, s00 to s63) to given level (0-254)"
dali raw [BYTE1] [BYTE2] "send a raw frame (two bytes, given in hex) over the DALI bus"
dali scmd [SPECIAL COMMAND] [DATA] [!][?] "send special command (256-287) with data, auto repeat with !, read reply with ?"

DMX_Effect commands

Command syntax Short description
dmx rainbow switch rainbow on (1) or off (0)
dmx random switch random on (1) or off (0)

DMX_Storage commands

Command syntax Short description
dmx channels Get channels per universe
dmx get Return channel value
dmx set Set channel values
dmx universe Get a whole universe
dmx universes Get universes

Dallas_1-wire_Bus

Command syntax Short description
1w convert [DEVICE] Trigger temperature conversion of either DEVICE or all connected devices
1w ds2450 convert [DEVICE] `start conversion (with optional input mask and read out control)'
1w ds2450 get [DEVICE] `get conversion result (one or all channels)'
1w ds2450 oc [DEVICE] `get/set output control (per channel)'
1w ds2450 oe [DEVICE] `get/set output enable (per channel)'
1w ds2450 por [DEVICE] `get/set power on reset (per channel)'
1w ds2450 power [DEVICE] `get/set power supply of device (global)'
1w ds2450 range [DEVICE] `get/set input voltage range (per channel)'
1w ds2450 res [DEVICE] `get/set bit resolution of AD convert (per channel)'
1w get DEVICE Return temperature value of onewire DEVICE (provide 64-bit ID as 16-hex-digits)
1w list Return a list of the connected onewire devices

DataFlash

Command syntax Short description
df status Display internal status.
fs format Format the filesystem.
fs inspect inode INODE Inspect INODE (and associated page).
fs inspect node NODE Inspect NODE and dump to serial.
fs list List the directory.
fs mkfile NAME Create a new file NAME.
fs remove NAME Delete the file NAME.
fs truncate NAME LEN Truncate the file NAME to LEN bytes.

DC3840 mobil camera support

Command syntax Short description
dc3840 capture Take a picture. Access 'dc3840' via VFS afterwards. See DC3840 Camera for details.
dc3840 light Light level of camera
dc3840 send A B C D E Send provided command bytes to the camera.
dc3840 sync Re-sync to the camera
dc3840 zoom Enable zoom of camera

ECMDScript

Command syntax Short description
call FILENAME Start script named FILENAME
cat FILENAME cat file content (with debug only)
dec VAR Decrement variable VAR (a number)
echo <any> Print out all arguments of echo
exit Exit currently running script
get VAR Get value of variable VAR
goto N Goto line N in currently running script
if ( CMD/VAR == CONST ) then CMD2 If condition matches execute CMD2
inc VAR Increment variable VAR (a number)
rem <any> Remark for anything
set VAR VALUE Set variable VAR to VALUE
wait I Wait I milliseconds

FS20

Command syntax Short description
fht send HOUSECODE ADDR CMD [CMD2] Send FHT command. See FS20 for details.
fs20 receive Receive FS20/FHT sequence and display it.
fs20 send HOUSECODE ADDR CMD [CMD2] Send FS20 command. See FS20 for details.
fs20 ws300 Receive FS20 sequence from WS300 weather station and decode it.

Frequency Counter

Command syntax Short description
fc %duty [CHANNEL] "returns last on duty cycle in percent for given channel"
fc duty [CHANNEL] "returns last on duty cycle (0-255) for given channel"
fc freq [CHANNEL] "returns last frequency in Hz for given channel"
fc off [CHANNEL] "switch off frequency counting on given channel"
fc on [CHANNEL] "switch on frequency counting on given channel"
fc ticks [CHANNEL] "returns last frequency in CPU ticks for given channel"

GLCD_Menu

Command syntax Short description
glcdmenu key VALUE Send a keypress to the menu
glcdmenu update Update the menu

GPS

Command syntax Short description
nmea get Get latitude and longitude data
nmea satellites Get satellites

H-Bridge

Command syntax Short description
hbridge [action] [enable_l] [enable_r] Set H-Bridge command
hbridge pwm int Set H-Bridge enable line valueeg. speed

I2C (TWI)

Command syntax Short description
ds1631 convert ADDR VALUE Initiate temperature conversions (0: stop, 1: convert)
ds1631 temp ADDR Read last converted temperature
i2c detect list detected I2C Chips
i2c rbb ADDR read byte from I2C chip
i2c rbd CHIPADDR REGADDR read byte from register address at I2C chip
i2c rwd CHIPADDR REGADDR read word from register address at I2C chip
i2c wbb ADDR HEXVALUE write byte to I2C chip
i2c wbd CHIPADDR REGADDR HEXVALUE write byte to register address on I2C chip
i2c wwd CHIPADDR REGADDR HEXVALUE write word to register address on I2C chip
lm75 ADDR Get temperature
max7311 getDDRw ADDR Get Direction-Register DDR
max7311 getINw ADDR Get Input-Register IN
max7311 getOUTw ADDR Get Output-Register OUT
max7311 pulse ADDR BIT TIME Toggle Output-BIT for TIME (in ms)
max7311 set ADDR BIT VALUE Set Output-BIT to VALUE (bool)
max7311 setDDRw ADDR VALUE Set Direction-Register DDR (VALUE as hex)
max7311 setOUTw ADDR VALUE Set Output-Register OUT (VALUE as hex)
pca9531 ADDR PERIODPWM1 DUTYPWM1 PERIODPWM2 DUTYPWM2 LED0..3 LED4..7 set PWM1 and PWM2 and LED states
pca9685m ADDR OUTDRV, IVRT, PRESCALE
pca9685s ADDR LED, ON, OFF
pcf8574x read ADDR CHIP Get bits
pcf8574x set ADDR CHIP HEXVALUE Set bits
tsl2550 lux Show light level by reading adc registers and computing level
tsl2550 mode VALUE Set the TSL2550s operating mode (0: standard range, 1: extended range)
tsl2550 power VALUE Set the TSL2550s power state (0: down, 1:up)

Jabber

Command syntax Short description
jabber_host [HOSTNAME] JABBER hostname
jabber_pass [PASSWORD] JABBER password
jabber_resrc [RESOURCE] JABBER resource
jabber_user [USERNAME] JABBER username

KTY

Command syntax Short description
kty autocalibrate CHANNEL Calibrate to 1000 Ohm precision Resistor.
kty cal get Return the calibration difference to 2k2 Resistor.
kty get [CHANNEL] Get the temperature in xxx.x °C of CHANNEL or if no channel set of all channels.

MotorCurtain commands

Command syntax Short description
curtain VALUE Set value of curtain. 0=closed..7=open. If you use fewer sensors, use the corrent value instead of 7.
curtainlast Return last known position
curtainmax Return maximum position
curtainoff Switch motor off

Named_PIN

Command syntax Short description
pin get NAME Read and display the status of pin NAME.
pin list List all known named-pins.
pin set NAME STATUS Set the status of pin NAME to STATUS.
pin toggle NAME Toggle the status of pin NAME.

PWM

Command syntax Short description
dtmf CHARS send CHARS as DTMF
freq set FREQUENCY DELAY Set frequency for DELAY ms
pwm fade [channel +-diff startvalue] Set fading at channel with startvalue and change each stepp to diff (must be signed 3 digit)
pwm set [channel value] Set channel to value

RFM12

Command syntax Short description
rfm12 reinit Re-initialize RFM12 module.
rfm12 setbandwidth BW Set RX bandwidth to BW.
rfm12 setbaud BAUD Set baudrate to BAUD.
rfm12 setdrssi DRSSI Set the drssi to DRSSI.
rfm12 setgain GAIN Set preamplifier gain to GAIN.
rfm12 setmod MOD Set modulation to MOD.
rfm12 status Display internal status.

RFM12_ASK

Command syntax Short description
rfm12 1527 housecodeCommand delay cnt
rfm12 2272 housecodeCommand delay cnt
rfm12 ask sense Trigger (Tevion) ASK sensing. Enable ext. filter pin before!
rfm12 external filter [1] Enable ext. filter pin if argument is present (disable otherwise)
rfm12 intertechno family group device command
rfm12 tevion housecode command delay cnt

SD-Karte

Command syntax Short description
sd dir List contents of current SD directory.
sd mkdir PATH Create directory hierarchy PATH.

SHT

Command syntax Short description
sht humid Return humidity of SHT sensor
sht raw Return raw hex temp (first line) and humidity value (second line) of SHT sensor
sht temp Return temperature of SHT sensor

SMS77

Command syntax Short description
sms77 MESSAGE Send MESSAGE to compiled in sms77 service
sms77_pass [PASSWORD] SMS77 password
sms77_recv [RECEIVER] SMS receiver
sms77_type [TYPE] SMS type
sms77_user [USERNAME] SMS77 username

PWM Servo Control

Command syntax Short description
pwm servo_dec SERVONR Decrement position of servo SERVONR
pwm servo_inc SERVONR Increment position of servo SERVONR
pwm servo_set SERVONR POSITION Set servo with SERVONR to POSITION

Sound/WAV support

Command syntax Short description
pwm stop Stop wav
pwm wav <FILENAME> Play wave file. Use VFS if compiled in. More details at Sound

Stella_Light commands

Command syntax Short description
channel CHANNEL VALUE FUNCTION Get/Set stella channel to value. Second and third parameters are optional. Function: You may use 's' for instant set, 'f' for fade and 'y' for flashy fade.
channels Return stella channel size
fadestep FADESTEP Get/Set stella fade step
stella load Load values from eeprom
stella store Store values in eeprom

USB

Command syntax Short description
keyboard MESSAGE Send MESSAGE as HID keyboard
mouse BUTTON DELTAX DELTAY Send data as HID mouse

ZACwire

Command syntax Short description
zac 306 PORT BIT Return temperature of TSic 306 at BIT of PORT
zac 506 PORT BIT Return temperature of TSic 506 at BIT of PORT
zac raw PORT BIT Return raw hex temperature value of zacwire at BIT of PORT

lome6

Command syntax Short description
lome6 get_t TYPE get temperature command
lome6 power TYPE press power command
lome6 reset press reset command
lome6 set_t TYPE TEMPERATURE set temperature command
lome6 state get state command
lome6 uptime UPTIME set/get uptime command

Miscelleanous

Command syntax Short description
alias list List all available aliases
artnet test artnet test
cw send MESSAGE Send MESSAGE in Morce Code
d ADDR Dump the memory at ADDR (16 bytes).
eeprom reinit Force reinitialization of the EEPROM config area
free Display free space.
help List which commands are available.
ht MESSAGE Send MESSAGE to compiled in httplog service
ipstats Display IP statistics.
mb recv Receive data from modbus
moodlight CHANNEL ONOFF Set CHANNEL moodlight on=1 or off=0. If no channel is given return on if channel CHANNEL is moodlighted
motd [MESSAGE] Save MESSAGE as new message of the day, otherwise just show current message
msr1 get Get data
mysql query QUERY Send specified MySQL query to the configured server
ns update net statistic for public anouncment of currently running ethersex
pam USER PASSWORD Use pam for user and password
push NUMBER Push button identified by NUMBER
pwm melody [NUMBER] Play melody
sanyoz700 CMD Send command to projector
sll get Request the logged data
sram memtest Perform a memory test
srf05 Read SRF05 measurement
to1 get Request data from sensor
tw MESSAGE Send MESSAGE to compiled in twitter service
upnp send Manually send UPnP broadcast packet
usart baud BAUD Set the USART baudrate to BAUD.
version Display the version number.
wol MAC Send WAKE-ON-LAN command to MAC
yport stats Report statistic counters
zbus stats Report statistic counters