eHome Digital Tools V5-V6 Web help
Document Release 1 - ALPHA!
![]()
- eHome Socket Server Overview - (See below for usage with eHome
Video Skype)
The eHome socket server is a small command line executable program that can be shelled to from other programs (Powerhome) and allows you to control certain aspects of any eHome client on your network.
Syntax:
eHomeSS Machine_Name$$Command$$Param
Sample:
eHomeSS kitchen$$EH_SWITCH_SCRN$$WEATHER
This will switch the screen on the computer 'kitchen' to the eHome Weather screen.
Available commands are.
|
EH_SWITCH_SCRN (Changes screen on target machine) |
VID --> switches to the eHome video screen.
AUD --> switches to the eHome video screen.
MAIN --> switches to the eHome main screen.
WEATHER --> switches to the eHome main screen.HA -> switches to the eHome HA screen (to switch to a certain HA screen add $$ScreenName to the end)
Sample: eHomeSS Kitchen$$EH_SWITCH_SCRN$$HA$$scrnLRoom
|
EH_SOUND (changes sound on target machine) |
UP --> Raise the volume up on the eHome client.
DN --> Lowner the volume on the eHome client.
MUTE --> Toggle the mute on the eHome client.
|
EH_OSD (Displays an OSD message on target machine) (V5.12) |
Params are: Text$$Seconds2Display$$nTop$$nLeft$$RGB-Color$$FontSize
Sample: eHomeSS kitchen$$EH_OSD$$Call From John$$6$$10$$10$$127,0,255$$122
The eHome computer Kitchen will display the OSD message "Call From John"
for 6 seconds at screen location 10,10 in the RGB colors
127,0,255 at a font size of 122.
|
EH_HA_CNTRL (Controls a HA browser control) (V5.13) |
Params are: NameOfControl$$Action$$Param ()
Sample: eHomeSS kitchen$$EH_HA_CNTRL$$brwCal$$WBR_REFRESH
Sample: eHomeSS kitchen$$EH_HA_CNTRL$$brwCal$$WBR_URL$$www.yahoo.com
Sample: eHomeSS kitchen$$EH_HA_CNTRL$$lblLabelShow$$LBL_SET$$Text to showThis first sample will refresh the current page and the second will go to Yahoo. (NOTE: 'brwCal' is the name of the browser control you created using the screen designer.) The third one sets the caption of the label control 'lblLabelShow' to the text 'Text to show'
Valid actions are:
LBL_SET --> Set the caption of a label
WBR_URL --> Go to the target URL.
WBR_REFRESH --> Refresh the current page.
WBR_GOTO --> Goes to the defined URL for the specified web browser button. (UP,DOWN,LEFT,RIGHT,HOME)Sample: eHomeSS kitchen$$EH_HA_CNTRL$$brwCal$$WBR_GOTO$$HOME
PIC_SET --> Set a picture box to a new value (V5.14)
Sample: eHomeSS kitchen$$EH_HA_CNTRL$$PicOfLights$$PIC_SET$$c:\pic.bmp
Sample: eHomeSS kitchen$$EH_HA_CNTRL$$PicOfLights$$PIC_SET$$http://ehomecreations/pic.bmp
|
EH_WAKE_UP (Un-blanks the screen) (V5.15) |
Sample: eHomeSS kitchen$$EH_WAKE_UP
Below is a list of commands for eHome Video Skype: (V5.15)
|
SK_DIAL - Dials the phone --> SK_DIAL$$18005551234 | |
|
SK_CLOSE - close the application | |
|
SK_MINIMIZE - hides the application | |
|
SK_AUTOANSWER - Turns auto answering ON and OFF --> SK_AUTOANSWER$$OFF | |
|
SK_ANSWER_CALL - Presses the answer call button | |
|
SK_REJECT_CALL - Presses the reject call button | |
|
SK_HANGUP_CALL - Hangs up. | |
|
SK_EVENTGHOST - Invokes an Event Ghost even ---> SK_EVENTGHOST$$MY_EVENT_NAME |
Sample: eHomeSS kitchen$$SK_DIAL$$18005551234
Sample: eHomeSS kitchen$$SK_EVENTGHOST$$EventName
Sample: eHomeSS kitchen$$SK_HANGUP_CALL
You can also create your own
commands and process them in script. Just make sure all command names you create
are preceded with 'SK_'
Note: More commands will be added in the future.