Home Automation eHouse integration with VideoLAN media player
Smart House eHouse – The integration of smart home software to playback Multimedia VideoLAN .
VideoLAN (VLC) is media player software for playing music, videos, streaming media , In most known audio/video formats. It can play media locally , remotely or work as a server providing media for remote players ( Media Players) .
Because of rapidly decreasing cost of hardware/microcomputer for getting better performance, which can operate under LINUX system, it is possible to run any number of Media Center/Media Room systems eg. in each room. The quality and Audio/Video parameters hardware can be customized to suit your needs and budget.
Hardware performance depends on whether if we play multimedia (remotely or locally), and whether it would be audio or video.
The quality of video playback locally depends on the parameters of the internal graphics card microcomputer hardware.
When playing remote graphics are important parameters for the remote equipment is playing video or streaming media.
When playing audios locally audio hardware parameters are important for quality, a remote playing relays on target device audio parameters to which the music is “redirected”.
VideoLAN software can be run from command line, so there is no hardware limitations on the performance of the desktop environment and can work much more efficiently than any graphical environments.
It has many possible control interfaces (graphical , Server Website – HTML request handling, text, command line, etc.).
For the purposes of eHouse system HTML interface is the most convenient way to control and manage VideoLAN by HTML request directly from the eHouse4cServer, eHouse.PRO, OpenRemote even other applications integrated with eHouse system.
Basic HTML request have the form ( for the local computer):
localhost:8080/requests/status.xml?command=pl_play – Home
localhost:8080/requests/status.xml?command=pl_stop – Stop
localhost:8080/requests/status.xml?command=pl_pause – Pause
localhost:8080/requests/status.xml?command=pl_next – next
localhost:8080/requests/status.xml?command=pl_previous – previous
localhost:8080/requests/status.xml?command=pl_loop – Repeat
localhost:8080/requests/status.xml?command=volume&val=+10 – Volume++
localhost:8080/requests/status.xml?command=volume&val=-10 – Volume–
Because control of HiFi/audio/video from your PC, pad or smartphone is not very convenient, fast and economical, it is more comfortable to associate these commands to IR remote control signals in the room, which in the case eHouse1 are received by eHouse4cServer, eHouse.Pro of RS-485 and further processed by the program.
For EthernetRoomManager controllers, received infrared codes are sent as UDP broadcasts across the LAN so that they can be received by any instances of the eHouse software (eHouse4cServer, eHouse.PRO) running on the network, not utilizing resources or traffic to much. It is also known that the recipient received IR code so that each code for each RoomManager is treated individually and may be freely use to remote control .
The IR codes received by eHouse4cServer are processed and checked in files associated with each individual code independently for each controller , eg. :
“/usr/local/ehouse/IR/%DEVICE_ADDRESS%/events/%IR_CODE%” in this file for each RC button code, which we intend to handle events from the system eHouse or local/remote hardware .
This file on each line are commands for eHouse4cServer eg. (url , eHouse events, etc..):
Url command opens a web page (HTML request) performing an operation.
With respect to VideoLAN (VLC) are, for example :
url localhost:8080/requests/status.xml?command=pl_play – Home
url localhost:8080/requests/status.xml?command=pl_stop – Stop
url localhost:8080/requests/status.xml?command=pl_pause – Pause
url localhost:8080/requests/status.xml?command=pl_next – next
url localhost:8080/requests/status.xml?command=pl_previous – previous
url localhost:8080/requests/status.xml?command=pl_loop – Repeat
url localhost:8080/requests/status.xml?command=volume&val=+10 – Volume++
url localhost:8080/requests/status.xml?command=volume&val=-10 – Volume–
So you can process IR codes in any way ( buttons on the remote controller) combined with the multimedia functions of the application VideoLAN.
Controlled by remote control as standard SONY SIRC (standard SONY ,universal ,smart ,infrared panels ,smartphones with infrared support) .
Control/management from IR remote controller is much faster and more economical than graphic panels or computers. In addition, the batteries will last years not a few hours as is the case of control from Pads or smartphones.
Price of standard Sony remote control is about in the 25Euro so that you can have any number of them on the premises controlled and not 2, 3 tablets of a common control system at home.
inteligentny dom sterowanie podczerwienią
inteligentny dom sterowanie HTML &
Supported commands for VideoLAN from eHouse system: Intelligent home control eHouse VideoLan