http://www.ethersex.de/api.php?action=feedcontributions&user=Unclestefan&feedformat=atom
Ethersex_Wiki - User contributions [en]
2024-03-29T12:44:14Z
User contributions
MediaWiki 1.30.0
http://www.ethersex.de/index.php?title=ECMD_Reference&diff=406
ECMD Reference
2012-03-23T11:33:52Z
<p>Unclestefan: /* ADS */</p>
<hr />
<div><div class="errorbox"><br />
This page is automatically generated from the files in the Ethersex source code<br />
repository. Do not edit this page but send [[patches]] for those files!<br />
</div><br />
<br />
__NOTOC__<br />
== Analog/Digital Conversion ([[ADC]]) ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| adc get [CHANNEL]<br />
| Get the ADC value in hex of CHANNEL or if no channel set of all channels.<br />
|-<br />
| hr20 temp <br />
| Read HR20 temperature sensor.<br />
|-<br />
|}<br />
== DNS Resolver ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| dns server [IPADDR]<br />
| Display/Set the IP address of the DNS server to use to IPADDR.<br />
|-<br />
| nslookup HOSTNAME<br />
| Do DNS lookup for HOSTNAME (call twice).<br />
|-<br />
|}<br />
== Digital/Analog Conversion ([[DAC]]) ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| ltc1257_delay `[VALUE]<br />
| Set (if VALUE given) or get (no VALUE) delay for LTC1257 output bit changes in µs'<br />
|-<br />
| ltc1257_set `[VALUE0] [VALUE1] ...<br />
| Set output to value (value: 0-4095)'<br />
|-<br />
| tlc5620 `[CHANNEL] [VALUE]<br />
| Set Output to value (Value: 0-0xff)'<br />
|-<br />
|}<br />
== Fnordlicht ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| fnordlicht "ADDRESS RED<br />
| GREEN,BLUE",fnordlicht command to set RGB color<br />
|-<br />
| fnordlicht_init <br />
| fnordlicht init<br />
|-<br />
|}<br />
== HD44780 [[LCD]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| hr20 hourbar START STOP<br />
| Update hourbar to show ticks between START and STOP (range 0..23)<br />
|-<br />
| hr20 toggle SEG<br />
| Toggle segment SEG (a number, not a symbolic name!)<br />
|-<br />
| lcd backlight STATE<br />
| switch back light STATE to ON or OFF <br />
|-<br />
| lcd char N D1 D2 D3 D4 D5 D6 D7 D8<br />
| Define use-definable char N with data D1..D8 (provide DATA in hex)<br />
|-<br />
| lcd clear [LINE]<br />
| Clear line LINE (0..3) or the whole display (if parameter is omitted)<br />
|-<br />
| lcd goto LINE COL<br />
| Move cursor to LINE and column COL (origin is 0/0)<br />
|-<br />
| lcd reinit CURSOR BLINK<br />
| Reinitialize the display, set whether to show the cursor (CURSOR, 0 or 1) and whether the cursor shall BLINK<br />
|-<br />
| lcd shift DIR<br />
| Shift the display to DIR (either ''left'' or ''right'')<br />
|-<br />
| lcd write TEXT<br />
| Write TEXT to the current cursor location<br />
|-<br />
|}<br />
== Infrared Send/Receive ([[IR-TRX]]) ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| ir receive <br />
| receive an IR command<br />
|-<br />
| ir send DEVICE COMMAND<br />
| send COMMAND to DEVICE<br />
|-<br />
|}<br />
== Infrared Send/Receive ([[IRMP]]) ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| irmp receive <br />
| receive an IR command<br />
|-<br />
| irmp send PROTOCOL DEVICE COMMAND REPEAT<br />
| send COMMAND with REPEAT flag to DEVICE using PROTOCOL<br />
|-<br />
|}<br />
== NTP Client ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| ntp query <br />
| Query the NTP server to get an NTP update.<br />
|-<br />
| ntp server [IPADDR]<br />
| Display/Set the IP address of the NTP server to use to IPADDR.<br />
|-<br />
| ntp status <br />
| Display NTP server status<br />
|-<br />
|}<br />
== Network configuration ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| enc dump <br />
| Dump the internal state of the enc to serial<br />
|-<br />
| gw [IP]<br />
| Display/Set the address of the default router.<br />
|-<br />
| ip [IP]<br />
| Display/Set the IP address.<br />
|-<br />
| mac [xx:xx:xx:xx:xx:xx]<br />
| Display/Set the MAC address.<br />
|-<br />
| netmask [IP]<br />
| Display/Set the network mask.<br />
|-<br />
|}<br />
== Port I/O ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| io get ddr PORTNUM<br />
| Display the current value of the DDR PORTNUM.<br />
|-<br />
| io get mask PORTNUM<br />
| Display the mask of the port PORTNUM.<br />
|-<br />
| io get pin PORTNUM<br />
| Display the current value of the PIN-register of the port PORTNUM.<br />
|-<br />
| io get port NUM<br />
| Display the current value of the PORT NUM.<br />
|-<br />
| io set ddr PORTNUM HEXVALUE [MASK]<br />
| Set the DDR of port PORTNUM to VALUE (possibly using the provided MASK).<br />
|-<br />
| io set port NUM HEXVALUE [MASK]<br />
| Set the PORT NUM to VALUE (possibly using the provided MASK).<br />
|-<br />
|}<br />
== Reading and Writing EEPROM Space on Device ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| eer eer <ADDR> <LENGTH><br />
| Read n bytes from address after the config in eeprom.<br />
|-<br />
| eew eew <ADDR> <HEXBYTES><br />
| Write Hexbytes at address after the config in epprom.<br />
|-<br />
| fuse <br />
| Display current fuse settings<br />
|-<br />
| hostname <br />
| Display hostname.<br />
|-<br />
|}<br />
== Resetting the controller ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| bootloader <br />
| Call the bootloader.<br />
|-<br />
| reset <br />
| Reset the Ethersex.<br />
|-<br />
| wdreset <br />
| Go into endless loop to trigger a watchdog timeout.<br />
|-<br />
|}<br />
== [[ADS]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| adc get <br />
| Get the ADC value in hex.<br />
|-<br />
| adc mean [COUNT]<br />
| Get the mean of power of 2 COUNT ADC values in hex.<br />
|-<br />
|}<br />
<br />
== [[Am_Puls_der_Zeit|Clock]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| date <br />
| Print the current date.<br />
|-<br />
| lastdcf <br />
| Print when last valid DCF signal was received.<br />
|-<br />
| time [UNIXTIME]<br />
| Display/Set the current time in seconds since January 1st 1970.<br />
|-<br />
| uptime <br />
| Display ethersex uptime in unix format.<br />
|-<br />
| whm <br />
| Display ethersex uptime.<br />
|-<br />
|}<br />
== [[Application_Sample]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| sample <br />
| Manually call application sample commands<br />
|-<br />
| sample_init <br />
| Manually call application sample init method<br />
|-<br />
| sample_periodic <br />
| Manually call application sample periodic method<br />
|-<br />
|}<br />
== [[Blinkenlights_MCUF|MCUF]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| mcuf modul N<br />
| Select module N<br />
|-<br />
| mcuf modul list <br />
| List all modules<br />
|-<br />
| mcuf showclock <br />
| Show digital clock<br />
|-<br />
| mcuf showstring MESSAGE<br />
| Show scrolling MESSAGE on the display<br />
|-<br />
|}<br />
== [[CRC]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| crc calc <br />
| "read the ethersex program code and calc a crc16 of it"<br />
|-<br />
| crc read <br />
| "read out the crc16 value at the end of the program space"<br />
|-<br />
|}<br />
== [[CRON-Dienst]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| cron_add MIN HOUR DAY MONTH DOW ECMD<br />
| Add ECMD to cron to be executed at given time<br />
|-<br />
| cron_list <br />
| Show all cron entries<br />
|-<br />
| cron_make_persistent <br />
| Mark a Job as persistent<br />
|-<br />
| cron_rm POSITION<br />
| Remove one cron entry<br />
|-<br />
| cron_save <br />
| Saves all persistent jobs<br />
|-<br />
|}<br />
== [[DALI]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| dali cmd [TARGET] [COMMAND] [!][?]<br />
| "send the given command (decimal) to targets (all, g00 to g15, s00 to s63), auto repeat with !, read reply with ?"<br />
|-<br />
| dali dim [TARGET] [LEVEL]<br />
| "dim targets (all, g00 to g15, s00 to s63) to given level (0-254)"<br />
|-<br />
| dali raw [BYTE1] [BYTE2]<br />
| "send a raw frame (two bytes, given in hex) over the DALI bus"<br />
|-<br />
| dali scmd [SPECIAL COMMAND] [DATA] [!][?]<br />
| "send special command (256-287) with data, auto repeat with !, read reply with ?"<br />
|-<br />
|}<br />
== [[DMX_FXSlot]] commands ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| dmx fxslot devices <br />
| set the device settings<br />
|-<br />
| dmx fxslot effect <br />
| set the effect settings<br />
|-<br />
| dmx fxslot reset <br />
| reset all fxslots and clear saved ones in EEPROM<br />
|-<br />
| dmx fxslot restore <br />
| restore the settings from EEPROM<br />
|-<br />
| dmx fxslot save <br />
| save the current fxslots to EEPROM<br />
|-<br />
|}<br />
== [[DMX_Storage]] commands ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| dmx channels <br />
| Get channels per universe<br />
|-<br />
| dmx get <br />
| Return channel value<br />
|-<br />
| dmx set <br />
| Set channel values<br />
|-<br />
| dmx universe <br />
| Get a whole universe<br />
|-<br />
| dmx universes <br />
| Get universes<br />
|-<br />
|}<br />
== [[Dallas_1-wire_Bus]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| 1w convert [DEVICE]<br />
| Trigger temperature conversion of either DEVICE or all connected devices<br />
|-<br />
| 1w ds2450 convert [DEVICE]<br />
| `start conversion (with optional input mask and read out control)'<br />
|-<br />
| 1w ds2450 get [DEVICE]<br />
| `get conversion result (one or all channels)'<br />
|-<br />
| 1w ds2450 oc [DEVICE]<br />
| `get/set output control (per channel)'<br />
|-<br />
| 1w ds2450 oe [DEVICE]<br />
| `get/set output enable (per channel)'<br />
|-<br />
| 1w ds2450 por [DEVICE]<br />
| `get/set power on reset (per channel)'<br />
|-<br />
| 1w ds2450 power [DEVICE]<br />
| `get/set power supply of device (global)'<br />
|-<br />
| 1w ds2450 range [DEVICE]<br />
| `get/set input voltage range (per channel)'<br />
|-<br />
| 1w ds2450 res [DEVICE]<br />
| `get/set bit resolution of AD convert (per channel)'<br />
|-<br />
| 1w get DEVICE<br />
| Return temperature value of onewire DEVICE (provide 64-bit ID as 16-hex-digits)<br />
|-<br />
| 1w list <br />
| Return a list of the connected onewire devices<br />
|-<br />
|}<br />
== [[DataFlash]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| df status <br />
| Display internal status.<br />
|-<br />
| fs format <br />
| Format the filesystem.<br />
|-<br />
| fs inspect inode INODE<br />
| Inspect INODE (and associated page).<br />
|-<br />
| fs inspect node NODE<br />
| Inspect NODE and dump to serial.<br />
|-<br />
| fs list <br />
| List the directory.<br />
|-<br />
| fs mkfile NAME<br />
| Create a new file NAME.<br />
|-<br />
| fs remove NAME<br />
| Delete the file NAME.<br />
|-<br />
| fs truncate NAME LEN<br />
| Truncate the file NAME to LEN bytes.<br />
|-<br />
|}<br />
== [[Dc3840_camera|DC3840 mobil camera support]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| dc3840 capture <br />
| Take a picture. Access 'dc3840' via VFS afterwards. See [[DC3840 Camera]] for details.<br />
|-<br />
| dc3840 light <br />
| Light level of camera<br />
|-<br />
| dc3840 send A B C D E<br />
| Send provided command bytes to the camera.<br />
|-<br />
| dc3840 sync <br />
| Re-sync to the camera<br />
|-<br />
| dc3840 zoom <br />
| Enable zoom of camera<br />
|-<br />
|}<br />
== [[ECMDScript]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| call FILENAME<br />
| Start script named FILENAME<br />
|-<br />
| cat FILENAME<br />
| cat file content (with debug only)<br />
|-<br />
| dec VAR<br />
| Decrement variable VAR (a number) <br />
|-<br />
| echo <any><br />
| Print out all arguments of echo<br />
|-<br />
| exit <br />
| Exit currently running script<br />
|-<br />
| get VAR<br />
| Get value of variable VAR<br />
|-<br />
| goto N<br />
| Goto line N in currently running script<br />
|-<br />
| if ( CMD/VAR == CONST ) then CMD2<br />
| If condition matches execute CMD2<br />
|-<br />
| inc VAR<br />
| Increment variable VAR (a number) <br />
|-<br />
| rem <any><br />
| Remark for anything<br />
|-<br />
| set VAR VALUE<br />
| Set variable VAR to VALUE<br />
|-<br />
| wait I<br />
| Wait I milliseconds<br />
|-<br />
|}<br />
== [[FS20]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| fht send HOUSECODE ADDR CMD [CMD2]<br />
| Send FHT command. See [[FS20]] for details.<br />
|-<br />
| fs20 receive <br />
| Receive FS20/FHT sequence and display it.<br />
|-<br />
| fs20 send HOUSECODE ADDR CMD [CMD2]<br />
| Send FS20 command. See [[FS20]] for details.<br />
|-<br />
| fs20 ws300 <br />
| Receive FS20 sequence from WS300 weather station and decode it.<br />
|-<br />
|}<br />
== [[Frequency Counter]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| fc %duty [CHANNEL]<br />
| "returns last on duty cycle in percent for given channel"<br />
|-<br />
| fc duty [CHANNEL]<br />
| "returns last on duty cycle (0-255) for given channel"<br />
|-<br />
| fc freq [CHANNEL]<br />
| "returns last frequency in Hz for given channel"<br />
|-<br />
| fc off [CHANNEL]<br />
| "switch off frequency counting on given channel"<br />
|-<br />
| fc on [CHANNEL]<br />
| "switch on frequency counting on given channel"<br />
|-<br />
| fc ticks [CHANNEL]<br />
| "returns last frequency in CPU ticks for given channel"<br />
|-<br />
|}<br />
== [[GLCD_Menu]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| glcdmenu key VALUE<br />
| Send a keypress to the menu<br />
|-<br />
| glcdmenu update <br />
| Update the menu<br />
|-<br />
|}<br />
== [[GPS]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| nmea get <br />
| Get latitude and longitude data<br />
|-<br />
| nmea satellites <br />
| Get satellites<br />
|-<br />
|}<br />
== [[H-Bridge]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| hbridge [action] [enable_l] [enable_r]<br />
| Set H-Bridge command<br />
|-<br />
| hbridge pwm int<br />
| Set H-Bridge enable line valueeg. speed<br />
|-<br />
|}<br />
== [[I2C]] (TWI) ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| bmp085 apress <br />
| Get absolute pressure in Pa<br />
|-<br />
| bmp085 height PRESSNN<br />
| Get height in cm, pressure at N0 needed<br />
|-<br />
| bmp085 pressnn HEIGHT<br />
| Get pressure at N0, height in cm needed<br />
|-<br />
| bmp085 temp <br />
| Get temperature in 0.1°C<br />
|-<br />
| ds1631 convert ADDR VALUE<br />
| Initiate temperature conversions (0: stop, 1: convert)<br />
|-<br />
| ds1631 temp ADDR<br />
| Read last converted temperature<br />
|-<br />
| i2c detect <br />
| list detected I2C Chips<br />
|-<br />
| i2c rbb ADDR<br />
| read byte from I2C chip<br />
|-<br />
| i2c rbd CHIPADDR REGADDR<br />
| read byte from register address at I2C chip<br />
|-<br />
| i2c rwd CHIPADDR REGADDR<br />
| read word from register address at I2C chip<br />
|-<br />
| i2c wbb ADDR HEXVALUE<br />
| write byte to I2C chip<br />
|-<br />
| i2c wbd CHIPADDR REGADDR HEXVALUE<br />
| write byte to register address on I2C chip<br />
|-<br />
| i2c wwd CHIPADDR REGADDR HEXVALUE<br />
| write word to register address on I2C chip<br />
|-<br />
| lm75 ADDR<br />
| Get temperature<br />
|-<br />
| max7311 getDDRw ADDR<br />
| Get Direction-Register DDR<br />
|-<br />
| max7311 getINw ADDR<br />
| Get Input-Register IN<br />
|-<br />
| max7311 getOUTw ADDR<br />
| Get Output-Register OUT<br />
|-<br />
| max7311 pulse ADDR BIT TIME<br />
| Toggle Output-BIT for TIME (in ms)<br />
|-<br />
| max7311 set ADDR BIT VALUE<br />
| Set Output-BIT to VALUE (bool)<br />
|-<br />
| max7311 setDDRw ADDR VALUE<br />
| Set Direction-Register DDR (VALUE as hex)<br />
|-<br />
| max7311 setOUTw ADDR VALUE<br />
| Set Output-Register OUT (VALUE as hex)<br />
|-<br />
| pca9531 ADDR PERIODPWM1 DUTYPWM1 PERIODPWM2 DUTYPWM2 LED0..3 LED4..7<br />
| set PWM1 and PWM2 and LED states<br />
|-<br />
| pca9685m ADDR<br />
| OUTDRV, IVRT, PRESCALE <br />
|-<br />
| pca9685s ADDR<br />
| LED, ON, OFF <br />
|-<br />
| pcf8574x read ADDR CHIP<br />
| Get bits<br />
|-<br />
| pcf8574x set ADDR CHIP HEXVALUE<br />
| Set bits<br />
|-<br />
| tsl2550 lux <br />
| Show light level by reading adc registers and computing level<br />
|-<br />
| tsl2550 mode VALUE<br />
| Set the TSL2550s operating mode (0: standard range, 1: extended range)<br />
|-<br />
| tsl2550 power VALUE<br />
| Set the TSL2550s power state (0: down, 1:up)<br />
|-<br />
|}<br />
== [[Jabber]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| jabber_host [HOSTNAME]<br />
| JABBER hostname<br />
|-<br />
| jabber_pass [PASSWORD]<br />
| JABBER password<br />
|-<br />
| jabber_resrc [RESOURCE]<br />
| JABBER resource<br />
|-<br />
| jabber_user [USERNAME]<br />
| JABBER username<br />
|-<br />
|}<br />
== [[KTY]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| kty autocalibrate CHANNEL<br />
| Calibrate to 1000 Ohm precision Resistor.<br />
|-<br />
| kty cal get <br />
| Return the calibration difference to 2k2 Resistor.<br />
|-<br />
| kty get [CHANNEL]<br />
| Get the temperature in xxx.x °C of CHANNEL or if no channel set of all channels.<br />
|-<br />
|}<br />
== [[MotorCurtain]] commands ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| curtain VALUE<br />
| Set value of curtain. 0=closed..7=open. If you use fewer sensors, use the corrent value instead of 7. <br />
|-<br />
| curtainlast <br />
| Return last known position<br />
|-<br />
| curtainmax <br />
| Return maximum position<br />
|-<br />
| curtainoff <br />
| Switch motor off<br />
|-<br />
|}<br />
== [[Named_PIN]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| pin get NAME<br />
| Read and display the status of pin NAME.<br />
|-<br />
| pin list <br />
| List all known named-pins.<br />
|-<br />
| pin set NAME STATUS<br />
| Set the status of pin NAME to STATUS.<br />
|-<br />
| pin toggle NAME<br />
| Toggle the status of pin NAME.<br />
|-<br />
|}<br />
== [[PWM]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| dtmf CHARS<br />
| send CHARS as DTMF<br />
|-<br />
| freq set FREQUENCY DELAY<br />
| Set frequency for DELAY ms<br />
|-<br />
| pwm fade [channel +-diff startvalue]<br />
| Set fading at channel with startvalue and change each stepp to diff (must be signed 3 digit)<br />
|-<br />
| pwm set [channel value]<br />
| Set channel to value<br />
|-<br />
|}<br />
== [[RFM12]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| rfm12 reinit <br />
| Re-initialize RFM12 module.<br />
|-<br />
| rfm12 setbandwidth BW<br />
| Set RX bandwidth to BW.<br />
|-<br />
| rfm12 setbaud BAUD<br />
| Set baudrate to BAUD.<br />
|-<br />
| rfm12 setdrssi DRSSI<br />
| Set the drssi to DRSSI.<br />
|-<br />
| rfm12 setgain GAIN<br />
| Set preamplifier gain to GAIN.<br />
|-<br />
| rfm12 setmod MOD<br />
| Set modulation to MOD.<br />
|-<br />
| rfm12 status <br />
| Display internal status.<br />
|-<br />
|}<br />
== [[RFM12_ASK]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| rfm12 1527 <br />
| housecodeCommand delay cnt<br />
|-<br />
| rfm12 2272 <br />
| housecodeCommand delay cnt<br />
|-<br />
| rfm12 ask sense <br />
| Trigger (Tevion) ASK sensing. Enable ext. filter pin before!<br />
|-<br />
| rfm12 external filter [1]<br />
| Enable ext. filter pin if argument is present (disable otherwise)<br />
|-<br />
| rfm12 intertechno <br />
| family group device command<br />
|-<br />
| rfm12 tevion <br />
| housecode command delay cnt<br />
|-<br />
|}<br />
== [[RFM12_FS20]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| fht send <br />
| housecode addr command data<br />
|-<br />
| fs20 send <br />
| housecode addr command data<br />
|-<br />
|}<br />
== [[SD-Karte]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| sd dir <br />
| List contents of current SD directory.<br />
|-<br />
| sd mkdir PATH<br />
| Create directory hierarchy PATH.<br />
|-<br />
|}<br />
== [[SHT]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| sht humid <br />
| Return humidity of SHT sensor<br />
|-<br />
| sht raw <br />
| Return raw hex temp (first line) and humidity value (second line) of SHT sensor<br />
|-<br />
| sht temp <br />
| Return temperature of SHT sensor<br />
|-<br />
|}<br />
== [[SMS77]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| sms77 MESSAGE<br />
| Send MESSAGE to compiled in sms77 service<br />
|-<br />
| sms77_pass [PASSWORD]<br />
| SMS77 password<br />
|-<br />
| sms77_recv [RECEIVER]<br />
| SMS receiver<br />
|-<br />
| sms77_type [TYPE]<br />
| SMS type<br />
|-<br />
| sms77_user [USERNAME]<br />
| SMS77 username<br />
|-<br />
|}<br />
== [[Servo_Ansteuerung|PWM Servo Control]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| pwm servo_dec SERVONR<br />
| Decrement position of servo SERVONR<br />
|-<br />
| pwm servo_inc SERVONR<br />
| Increment position of servo SERVONR<br />
|-<br />
| pwm servo_set SERVONR POSITION<br />
| Set servo with SERVONR to POSITION<br />
|-<br />
|}<br />
== [[Sound]]/WAV support ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| pwm stop <br />
| Stop wav<br />
|-<br />
| pwm wav <FILENAME><br />
| Play wave file. Use VFS if compiled in. More details at [[Sound]]<br />
|-<br />
|}<br />
== [[Stella_Light]] commands ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| channel CHANNEL VALUE FUNCTION<br />
| 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. <br />
|-<br />
| channels <br />
| Return stella channel size<br />
|-<br />
| fadestep FADESTEP<br />
| Get/Set stella fade step<br />
|-<br />
| stella load <br />
| Load values from eeprom<br />
|-<br />
| stella store <br />
| Store values in eeprom<br />
|-<br />
|}<br />
== [[USB]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| keyboard MESSAGE<br />
| Send MESSAGE as HID keyboard<br />
|-<br />
| mouse BUTTON DELTAX DELTAY<br />
| Send data as HID mouse<br />
|-<br />
|}<br />
== [[ZACwire]] ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| zac 306 PORT BIT<br />
| Return temperature of TSic 306 at BIT of PORT<br />
|-<br />
| zac 506 PORT BIT<br />
| Return temperature of TSic 506 at BIT of PORT<br />
|-<br />
| zac raw PORT BIT<br />
| Return raw hex temperature value of zacwire at BIT of PORT<br />
|-<br />
|}<br />
== lome6 ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| lome6 get_t TYPE<br />
| get temperature command<br />
|-<br />
| lome6 power TYPE<br />
| press power command<br />
|-<br />
| lome6 reset <br />
| press reset command<br />
|-<br />
| lome6 set_t TYPE TEMPERATURE<br />
| set temperature command<br />
|-<br />
| lome6 state <br />
| get state command<br />
|-<br />
| lome6 uptime UPTIME<br />
| set/get uptime command<br />
|-<br />
|}<br />
== Miscelleanous ==<br />
{| border='1'<br />
| ''Command syntax''<br />
| ''Short description''<br />
|-<br />
| alias list <br />
| List all available aliases<br />
|-<br />
| artnet test <br />
| artnet test<br />
|-<br />
| cw send MESSAGE<br />
| Send MESSAGE in Morce Code<br />
|-<br />
| d ADDR<br />
| Dump the memory at ADDR (16 bytes).<br />
|-<br />
| eeprom reinit <br />
| Force reinitialization of the EEPROM config area<br />
|-<br />
| free <br />
| Display free space.<br />
|-<br />
| help <br />
| List which commands are available.<br />
|-<br />
| ht MESSAGE<br />
| Send MESSAGE to compiled in httplog service<br />
|-<br />
| ipstats <br />
| Display IP statistics.<br />
|-<br />
| mb recv <br />
| Receive data from modbus<br />
|-<br />
| moodlight CHANNEL ONOFF<br />
| Set CHANNEL moodlight on=1 or off=0. If no channel is given return on if channel CHANNEL is moodlighted<br />
|-<br />
| motd [MESSAGE]<br />
| Save MESSAGE as new message of the day, otherwise just show current message<br />
|-<br />
| msr1 get <br />
| Get data<br />
|-<br />
| mysql query QUERY<br />
| Send specified MySQL query to the configured server<br />
|-<br />
| ns <br />
| update net statistic for public anouncment of currently running ethersex<br />
|-<br />
| pam USER PASSWORD<br />
| Use pam for user and password<br />
|-<br />
| push NUMBER<br />
| Push button identified by NUMBER<br />
|-<br />
| pwm melody [NUMBER]<br />
| Play melody<br />
|-<br />
| sanyoz700 CMD<br />
| Send command to projector<br />
|-<br />
| sll get <br />
| Request the logged data<br />
|-<br />
| sram memtest <br />
| Perform a memory test<br />
|-<br />
| srf05 <br />
| Read SRF05 measurement<br />
|-<br />
| to1 get <br />
| Request data from sensor<br />
|-<br />
| tw MESSAGE<br />
| Send MESSAGE to compiled in twitter service<br />
|-<br />
| upnp send <br />
| Manually send UPnP broadcast packet<br />
|-<br />
| usart baud BAUD<br />
| Set the USART baudrate to BAUD.<br />
|-<br />
| version <br />
| Display the version number.<br />
|-<br />
| wol MAC<br />
| Send WAKE-ON-LAN command to MAC<br />
|-<br />
| yport stats <br />
| Report statistic counters<br />
|-<br />
| zbus stats <br />
| Report statistic counters<br />
|-<br />
|}<br />
<br />
[[Category:Ethersex]]<br />
[[Category:ECMD]]</div>
Unclestefan