Difference between revisions of "Application:HomeControl"

From WebOS Internals
Jump to navigation Jump to search
m
Line 2: Line 2:
 
{{application
 
{{application
 
|name=Home control
 
|name=Home control
|version=beta 0.7.9
+
|version=beta 0.8.0
 
|type=webOS
 
|type=webOS
 
|tag=Utilities
 
|tag=Utilities
Line 28: Line 28:
 
<br /><br />
 
<br /><br />
  
<u>'''Cisco IP surveillance'''</u>
+
<u>'''Cisco IP surveillance (will be enabled soon)'''</u>
 
<br />
 
<br />
Allows viewing of the cameras video feed from Home Control.
+
Allows viewing of the cameras video feed in Home Control.
 
<br /><br />
 
<br /><br />
  
Line 38: Line 38:
 
<br /><br />
 
<br /><br />
  
<u>'''TouchPad Surveillance Camera (Not fully ready yet)'''</u>
+
<u>'''TouchPad Surveillance Camera (will be enabled soon)'''</u>
 
<br />
 
<br />
 
Enables using of the web cam in TouchPad as an security cam when placed on touchstone. You can also view the latest captured image on Home Control running on your phone (this needs the server application though).
 
Enables using of the web cam in TouchPad as an security cam when placed on touchstone. You can also view the latest captured image on Home Control running on your phone (this needs the server application though).
Line 66: Line 66:
 
<u>'''PulseAudio Mixer / Sound control'''</u>
 
<u>'''PulseAudio Mixer / Sound control'''</u>
 
<br/>
 
<br/>
Allows controlling of system volume and other stuff.
+
Allows controlling of system volume and other sound stuff.
 
<br/><br/>
 
<br/><br/>
  
Line 81: Line 81:
 
<span style="color:#8a0002"><center>'''Windows Specific'''</center></span>
 
<span style="color:#8a0002"><center>'''Windows Specific'''</center></span>
 
<br/>
 
<br/>
'''There are not Windows specific features available at this time.'''
+
'''There are not Windows specific features available at this time, but they are coming in future 0.8.x releases.'''
 
<br/><br/>
 
<br/><br/>
  
Line 92: Line 92:
 
<u>'''Mouse and keyboard control'''</u>
 
<u>'''Mouse and keyboard control'''</u>
 
<br />
 
<br />
Allows full mouse and keyboard control.  
+
Allows full mouse and keyboard control. Currently only keyboard control enable, the mouse support will come in later releases.
 
<br /><br />
 
<br /><br />
  
Line 122: Line 122:
 
<u>'''Progress Bar'''</u>
 
<u>'''Progress Bar'''</u>
 
<br />
 
<br />
You can view the progress bar by tapping the currently playing song/video info (song/video needs to be playing). The bar shows up for 5 seconds unless you start adjusting the position. Not all controllers support progress bar and it can even be media specific (streams can not be seeked usually).
+
You can view the progress bar by tapping the currently playing song/video info (song/video needs to be playing or paused). The bar shows up for 5 seconds unless you start adjusting the position. Not all controllers support progress bar and it can even be media specific (streams can not be seeked usually).
 
<br /><br />
 
<br /><br />
  
Line 203: Line 203:
  
 
<blockquote>
 
<blockquote>
Mouse control requires XTool to be installed (http://lestang.org/osax/XTool/XTool-2.0.dmg.tgz).
+
This will most likely require some too, but this is not implemented yet...
 
</blockquote>
 
</blockquote>
  
Line 209: Line 209:
  
 
<blockquote>
 
<blockquote>
You might get mouse / keyboard control working already by installing XMing or Cygwin/X for Windows. I haven't tested this method though.
+
You might get mouse / keyboard control working already by installing XMing or Cygwin/X for Windows. I haven't tested this method though. Proper support coming in future releases.
 
</blockquote>
 
</blockquote>
  
Line 274: Line 274:
 
=== Changelog ===
 
=== Changelog ===
 
<blockquote>
 
<blockquote>
:'''0.8.0 - First Public Release''' - (''Dec. ??rd, 2011'')
+
:'''0.8.1 - Current Public Release''' - (''Dec. 20rd, 2011'')
 +
:* Fixed small bug in manual adding of servers
 +
<br />
 +
:0.8.0 - First Public Release - (''Dec. 20rd, 2011'')
 
:* First public release
 
:* First public release
 
<br />
 
<br />
Line 286: Line 289:
 
<br>
 
<br>
 
- Window Media Player control if possible
 
- Window Media Player control if possible
 +
<br>
 +
- Windows mouse and keyboard support
 +
<br>
 +
- Windows sound/volume controller
 +
<br>
 +
- OS X mouse control
 
<br>
 
<br>
 
- IP / Web Camera support for surveillance / monitoring with motion detection
 
- IP / Web Camera support for surveillance / monitoring with motion detection

Revision as of 01:08, 20 December 2011

Home control.png

Overview

Icon Home-Control.png

Home Control is an app that aims to provide means to control everything remotely controlled at your home.



Features

General

The following general features do not require the server application. Use the IP/port info of the device (or computer where the app is running).



Boxee and XBMC control
Enables control of Boxee and XBMC (both devices and application running on a desktop machine).

Cisco IP surveillance (will be enabled soon)
Allows viewing of the cameras video feed in Home Control.

VLC video player control
Allows basic controlling of VLC video player, more advanced controls are coming. Requires the LUA interface to be enabled in the VLC.

TouchPad Surveillance Camera (will be enabled soon)
Enables using of the web cam in TouchPad as an security cam when placed on touchstone. You can also view the latest captured image on Home Control running on your phone (this needs the server application though).

OS Specific
Linux Specific


The following features require the Home Control server software to be running on the machine.

Status information
Shows temperature information from 1-wire temperature sensors connected to the computer.

Mouse and keyboard control
Allows full mouse and keyboard control.

PulseAudio Mixer / Sound control
Allows controlling of system volume and other sound stuff.

Banshee, Rhythmbox and MPD music player control
Allows basic controlling of these music player applications including ability to select playlists / search songs / add songs into the queue etc. At the moment Banshee and Rhythmbox only have basic control, no playlist control support.

Totem video player control
Allows basic controlling of Totem video player, more advanced controls are coming.

Windows Specific


There are not Windows specific features available at this time, but they are coming in future 0.8.x releases.

Mac OSX Specific


The following features require the Home Control server software to be running on the machine.

Mouse and keyboard control
Allows full mouse and keyboard control. Currently only keyboard control enable, the mouse support will come in later releases.

Front Row controlling
Enables control of Front Row application.

iTunes music player
Enables control of iTunes application with ability to view playlists and select the playlist to play with possibility to search a song for playing.

QuickTime video player
Enables control of QuikTime Player application. Requires relative new QuickTime Player version!

System Sound Mixer / Volume
Enables system input / output volume and mute control.


Advanced

There are some advanced features that are not so obvious, specifically when using the app on devices with small screens (e.g. Veer). Devices with larger screens may display these features all the time.

Progress Bar
You can view the progress bar by tapping the currently playing song/video info (song/video needs to be playing or paused). The bar shows up for 5 seconds unless you start adjusting the position. Not all controllers support progress bar and it can even be media specific (streams can not be seeked usually).

Closing a Controller
You can close a controller by clicking its icon when the controller is selected. This will turn off any polling for that controller and close the application if the server side supports that. Starting the controller is simply done by selecting the controller which will also start the application if not already running.


Installation

Client

The client app can be installed from Preware, you need to have beta apps feed enabled.

Server

To install the server application you need to have working installation of node.js and npm. Then you can use npm to install hc-server: npm install hc-server

Then you can run the server by entering the node_modules/hc-server directory and executing: node hc-server.js

This server software can be run on Linux / OS X / Window, see the supported features below.

You should make sure that the port that the hc-server uses (default: 3000) is not accessible from outside your local area network. If you want to make the server accessible outside of your local area network then you should configure the server to require user authentication.

Configuration

You can edit the following default values by editing the config.js file.

- Authentication username and password (default: none)
- Port for HTTP connections (default: 3000)
- Port for SSD queries (default: 1900)


Configuration

All currently supported controllers need the server address of the device/HC server. The form of the address is <address>:<port>, if username/password is needed then: <user>:<password>@<address>:<port>

For the controllers that need the Home Control server, the address is the IP address of the computer running the server application and the port is 3000. For the other controllers that control the devices/applications directly you need to see the device/application configuration for the username/password and address/port configuration. Below you can find some additional information and default settings for some of the devices/applications.

Boxee / XBMC

See the Boxee/XBMC configuration for the address/port setup. The default port is 8080.

VLC

To enable the controlling in VLC select 'Add Interface' from the menus and select 'Web Interface'. Then you can configure the controller in Home Control by using the IP address of the computer running the VLC and default port 8080.

Or you can just start VLC from command line with following parameters: vlc --extraintf=luaintf --lua-intf=http

Rhythmbox

To get all features you need to have dbus-send command line application installed. It comes pre-installed with many distributions.

Totem

To get all features you need to have dbus-send command line application installed. It comes pre-installed with many distributions. You also need to enable dbus-service plugin in Totem.

Mouse control in OS X

This will most likely require some too, but this is not implemented yet...

Mouse / Keyboard control in Windows

You might get mouse / keyboard control working already by installing XMing or Cygwin/X for Windows. I haven't tested this method though. Proper support coming in future releases.


Troubleshooting

I get Error: bind EADDRINUSE

Then the default ports that HC server uses are reserved by some other service and you need to try different ports. You can set the ports with command line parameters: -p <http_port> <ssd_port>

Inaccurate Rhythmbox status

If the status in Home Control is not showing correct status after you change the playback state from the Rhythmbox then you most likely don't have dbus-send command installed in your system. It is needed for Home Control server to get the playback status from Rhythmbox.

Limited controls for Totem

If the status and controls in Home Control for Totem are limited (i.e. no current video info for example) then you most likely don't have dbus-send installed or you don't have dbus service plugin enabled/installed in Totem. Those are required for better control of Totem.

Resources

Supporting Development

Btn donateCC LG.gif

You should also donate to Donald Kirker for his awesome work on the UPNP support which is coming soon! To donate to him click the button below:

Btn donateCC LG.gif

Official Developer Project Page
Official Forum

Home Control

Official Twitter Account

Status

Changelog

0.8.1 - Current Public Release - (Dec. 20rd, 2011)
  • Fixed small bug in manual adding of servers


0.8.0 - First Public Release - (Dec. 20rd, 2011)
  • First public release


Future features

- Extend the already supported modules with full playlist control / search etc.
- Winamp module for Music Player extension (will be the first test module for Windows)
- Window Media Player control if possible
- Windows mouse and keyboard support
- Windows sound/volume controller
- OS X mouse control
- IP / Web Camera support for surveillance / monitoring with motion detection
- Support for IR controlled devices
- UPNP module for controlling UPNP devices
- You have something else on your mind, then please let me know :)