Mochad TCP CM15Pro gateway software. The mochad software will enable you to use the CM15Pro unit in combination with a linux system. It will run as a daemon on your system and translate between the CM15PRo unit using it's native language and a simple TCP based network connection. Installing Mochad. Google 'marmitek cm15pro', which will lead you to a download link for the European version of. Google this: Python X10 CM19A USB Driver Software for Linux.
PPA makes it easy to install Hauppauge TV tuners with Ubuntu. PPA's are the only way to get Hauppauge drivers updated in Ubuntu between distro releases. Hauppauge's engineering team has developed the PPA for our TV tuners.
Hauppauge's PPA has support for the following models of Hauppauge TV tuners
- WinTV-HVR-955Q, WinTV-HVR-935C and WinTV-HVR-975 (including analog TV)
- WinTV-dualHD (all models, both tuners)
- WinTV-quadHD (all models)
- WinTV-soloHD (DVB T/T2/C)
- WinTV-HVR-1255 and WinTV-HVR-1265 (including analog TV)
- ImpactVCBe video capture (PCIe)
- USB-Live2 video capture (USB)
- Starburst 2 satellite TV receiver
- PCTV 292e triple mode TV receiver
- PCTV 461e Satellite TV receiver (both old and new models)
- WinTV-NOVA-S2 Satellite TV receiver
PPA supported Linux versions
The Hauppauge PPA supports Ubuntu versions (on Ubuntu desktop and server with 64-bit Intel and AMD processors):
- 14.04 Trusty
- 16.04 Xenial with kernel 4.4
- 16.04.x Xenial HWE
- 18.04 Bionic with kernel 4.15
- 18.04.x Bionic HWE
- 19.04 Disco
- 19.10 Eoan
PPA installation video with Ubuntu
click to enlarge
For other versions of Linux, you can install the Hauppauge drivers directly.
See this page for instructions.
See this page for instructions.
PPA installation instructions for TV tuner driver on Ubuntu
Open Terminal in Ubuntu The easiest way to open terminal is to right click on desktop and select Open Terminal. You can also click Ctrl+Alt+T on your keyboard.
In Terminal, type the following or copy and paste the following lines, one by one, then click enter.
sudo add-apt-repository ppa:b-rad/kernel+mediatree+hauppauge
After this first line, click enter when prompted to add this PPA.
sudo apt-get update
sudo apt-get install linux-mediatree
Note: if you are using a Hauppauge DVB TV tuner in Europe or Australia/New Zealand, you also need to install the TV firmware:
sudo apt-get install linux-firmware-hauppauge
Close Terminal and restart your computer.
You can now connect your Hauppauge WinTV TV tuner to your computer and it should be available for use by your Linux TV watching application.
Notes:
GIT
If you'd like to see the latest directions from the GIT repository, click here
Still having problems?
If you install the package, but still lack driver support, you may be running an Ubuntu HWE kernel. To determine enter this command in terminal:
dpkg -l | grep linux-image-generic-hwe
If a line is displayed beginning with 'ii', then the installation command is different:
sudo apt-get install linux-hwe-mediatree
dpkg -l | grep linux-image-generic-hwe
If a line is displayed beginning with 'ii', then the installation command is different:
sudo apt-get install linux-hwe-mediatree
This support is for Plex running under Ubuntu
Plex and Hauppauge TV tuners: get live HD TV on your Plex Media PC!
Our PPA supports the following Ubuntu versions:
- 16.04 Xenial with kernel 4.4
- 17.10 Artful with kernel 4.13
- 18.04 Bionic with kernel 4.15
Xenial available here http://old-releases.ubuntu.com/releases/16.04.1/.
We do not currently support LTS Enablement Stacks under Ubuntu Linux 16.04.2 Xenial. For more information about LTS Enablement Stack please visit this page https://wiki.ubuntu.com/Kernel/LTSEnablementStack
nVidia Shield and Plex with the Hauppauge WinTV-dualHD
You can use the Hauppauge WinTV-dualHD (North America, Europe, Australia and New Zealand) on the nVidia Shield for live TV in Plex. You will need the latest version of nVidia Shield firmware (5.2 or later).
Setting up Plex TV with a Hauppauge TV tuner on the NVidia Shield
Here are some ideas on cord cutting from the nVidia blog.
The Hauppauge PPA
Hauppauge has created a PPA to simplify adding TV tuner drivers into Linux. Using the Hauppauge PPA will allow easier installation of Plex with Hauppauge TV tuners. The current Hauppauge PPA has support for the following tuners:
- WinTV-HVR-955Q for North America: single tuner
- WinTV-soloHD for Europe/Australia/New Zealand: single tuner
- WinTV-dualHD for North America, Europe and Australia/New Zealand: dual tuner
- WinTV-quadHD for North America, Europe and Australia/New Zealand: quad tuner
PPA installation
Open Terminal in Ubuntu The easiest way to open terminal is to right click on desktop and select Open Terminal. You can also click Ctrl+Alt+T on your keyboard.
In Terminal, type the following or copy and paste the following lines, one by one, then click enter.
sudo add-apt-repository ppa:b-rad/kernel+mediatree+hauppauge
After this first line, click enter when prompted to add this PPA.
sudo apt-get update
sudo apt-get install linux-image-mediatree
sudo apt-get install linux-headers-mediatree
Close terminal and restart your computer.
You can now connect your Hauppauge WinTV-dualHD TV tuner to your computer and it should be available for Plex.
Note: After you install Plex please run the following command in terminal to provide the appropriate tuner permission to Plex
sudo usermod -a -G video plex
sudo usermod -a -G video plex
Note: If you'd like to see the latest directions from the GIT repository, click here
nVidia Shield and Plex with the Hauppauge WinTV-dualHD
You can use the Hauppauge WinTV-dualHD on the nVidia Shield for live TV in Plex. You will need the latest version of nVidia Shield firmware (5.2 or later).
Here are some ideas on cord cutting from the nVidia blog.
Questions?
If you have any questions, you can contact Hauppauge support at: [email protected]
Hauppauge technical support tested various Hauppauge TV tuners with Ubuntu Desktop, and has created both a video and a list of steps to install the TV tuners on Ubuntu Desktop 14.04.2. If you have any questions, you can contact Hauppauge support at: [email protected]
Ubuntu installation video
Ubuntu installation instructions
Linux drivers for Hauppauge TV tuners
Kernel 3.16 This Linux driver package is for the WinTV-HVR-955Q, the WinTV-HVR-1955 and HVR-1975, plus all versions of the WinTV-HVR-2255 and HVR-2205 on Ubuntu Desktop 14.04.2 with kernel 3.16
Kernel 3.19 Updated kernel patch for 3.19 on Ubuntu Desktop 14.04.3
Kernel 4.2 Ubuntu Desktop 14.04.4 includes kernel 4.2 with built in support for the WinTV-HVR-955Q and the WinTV-HVR-2255. So there is no need to compile your own kernel.
Kernel 4.4 or later Our PPA includes support for many Hauppauge TV tuners for kernel 4.4 or later. Please see our PPA page.
Firmware install instructions for the WinTV-HVR-2200
Note: The WinTV-HVR-2255 will require a firmware file. Please go to LinuxTV.org for information or contact Hauppauge support: [email protected]
cd /tmp
wget http://hauppauge.com/linux/firmware_2200.fw
md5sum firmware_2200.fw # verify first couple and last couple chars
sudo cp firmware_2200.fw /lib/firmware
wget http://hauppauge.com/linux/firmware_2200.fw
md5sum firmware_2200.fw # verify first couple and last couple chars
sudo cp firmware_2200.fw /lib/firmware
Hauppauge technical support has been testing with the Raspberry Pi 3 and 4, which work 'out of the box' with Raspbian OS 4.19 or later with these Hauppauge TV tuners: WinTV-dualHD (North America and Europe), WinTV-HVR-955Q, 461e/WinTV-Nova-S2.
Raspian OS
Here is a video showing the installation of the
WinTV-dualHD on a Raspberry Pi 4
Click to play video
The WinTV-dualHD drivers come with the latest Raspbian OS, so all you need to do is plug your WinTV-dualHD into your RPi 3 or 4, install a TV application like Kaffeine, connect an antenna and scan for channels.
Firmware needed for some Hauppauge TV tuners
Some Hauppauge TV tuners need additional firmware to be install on your Raspberry Pi. Here are the command lines to add Hauppauge firmware for those tuners which need it. You can load the firmware at any time, but it needs to be installed before you use the TV tuner.
Firmware install instructions for the WinTV-dualHD and WinTV-soloHD for Europe:
cd /tmp
wget http://www.hauppauge.com/linux/dvb-demod-si2168-b40-01.fw
md5sum dvb-demod-si2168-b40-01.fw # verify first couple and last couple chars
sudo cp dvb-demod-si2168-b40-01.fw /lib/firmware
wget http://www.hauppauge.com/linux/dvb-demod-si2168-b40-01.fw
md5sum dvb-demod-si2168-b40-01.fw # verify first couple and last couple chars
sudo cp dvb-demod-si2168-b40-01.fw /lib/firmware
Firmware install instructions for the 461e or WinTV-Nova-S2:
cd /tmp
wget http://www.hauppauge.com/linux/dvb-fe-ds3103.fw
md5sum dvb-fe-ds3103.fw # verify first couple and last couple chars
sudo cp dvb-fe-ds3103.fw /lib/firmware
wget http://www.hauppauge.com/linux/dvb-fe-ds3103.fw
md5sum dvb-fe-ds3103.fw # verify first couple and last couple chars
sudo cp dvb-fe-ds3103.fw /lib/firmware
Firmware install instructions for the WinTV-HVR-1950
cd /tmp
wget http://www.hauppauge.com/linux/firmware_1900.fw
md5sum firmware_1900.fw # verify first couple and last couple chars
sudo cp firmware_1900.fw /lib/firmware
wget http://www.hauppauge.com/linux/firmware_1900.fw
md5sum firmware_1900.fw # verify first couple and last couple chars
sudo cp firmware_1900.fw /lib/firmware
Use the PCTV 461e Satellite TV receiver with your Raspberry Pi
Click to play video
Satellite TV for your Raspberry Pi
Use the PCTV 461e Satellite TV receiver with your Raspberry Pi. Here is a video on how to install the drivers and how to use the 461e with Kaffeine to watch satellite TV.
www.youtube.com/watch?v=dsRn9CLXCJoThe current version of OpenELEC 6.0.1 Kernel also has support out of the box for the WinTV-dualHD (both North America and European versions) plus the WinTV-HVR-955Q. All Hauppauge drivers and firmware are included as part of the OpenElec distribution, so you don't need to add the firmwer. Just plug your Hauppauge TV tuner into a USB port and fire up OpenElec.
OpenElec also includes Kodi, which you can use as your TV viewer.
OpenELEC can be downloaded from http://openelec.tv/get-openelec
Please check the OpenELEC community on how to install and run an operating system on the Raspberry Pi.
All you need to do is connect the HVR-955Q to a USB port on the Raspberry Pi.
The firmware is already included nothing else needs to be done to get the HVR-955Q detected.
Ubuntu installation video
Click here for our Ubuntu installation video
Ubuntu installation instructions for the HD PVR 2
Note: Please check on the bottom of your HD PVR 2 for the 6 digit 157xxx model number. Download the correct package for your model below.
We have tested with Live Channels version 1.14.012
Supported Hauppauge TV tuners include the WinTV-HVR-955Q and the WinTV-dualHD for North America. At this time, there are no DVB TV tuners supported in Live Channels.
Here is an installation video for Live Channels
Note: if you are getting TV video but no audio with Live Channels, most likely your video monitor is missing an AC3 decoder. With Live Channels, you need to have a video monitor connected to your Android system which has an AC3 decoder built in. Unlike Plex (which decodes AC3 and turns it into two channel audio if needed), Live Channels does not decode the AC3. If you are using a video monitor which does not support AC3 surround sound audio, you can use a sound bar (which normally have AC3 decoders built in).
Linux support for Colossus 2 is through a user mode application. You can get the application from the link below.
Ubuntu installation video (for Colossus 2 and HD PVR 2)
Ubuntu installation instructions for the Colossus 2 and HD PVR 2
Download the Linux Colossus 2 application:
MythTV and the Colossus 2
John Poet has created Colossus 2 support for MythTV, including AC3 audio support:
https://github.com/jpoet/HauppaugeUSB/network
Pal from Snap.TV has forked the MythTV Colossus 2 support and has added support for analog PAL composite video.
Use Kaffeine to watch live TV on your Linux system with a Hauppauge WinTV TV tuner
- 1Using a CM15Pro X10 Power Line adapter with Domoticz
- 1.1Mochad TCP <-> CM15Pro gateway software
- 1.2Domoticz & Mochad - Old style
- 1.3Domoticz & Mochad - New style : Native mochad
First of all, make sure your CM15Pro is empty and happy (battery ok etc.) I had some old macros remaining in its memory, which gave very unexpected results. The easiest way to do this is by simply using the original Marmitek/Haibrain Active Home software supplied with the CM15Pro unit.
You can download it here : [1]
Note :If you are using the CM15Pro and a RFXCom at the same time, make sure that you either disable transceiving (RF -> wired) on the CM15Pro or the X10 protocol on the RFXCom otherwise all X10 RF commands will be received twice : Once from the CM15Pro->Mochad->Domoticz, and another by the RFXCom.
The same goes if you are using an old TM13 device (which transfers X10 RF signals to you powerlines as well). You need it to program X10 switches into domoticz or to setup newer X10 devices, but keep it in mind when everything shows up twice in your Domoticz device list.
I chose to disable X10 RF on the RFXCom device. Mochad will transfer any X10 RF signals received by the CM15Pro to domoticz for you, so you can still use your X10 RF remotes and devices. You are probably better off using the RFXCom if you need to send out X10 RF commands as well.
Mochad TCP <-> CM15Pro gateway software
The mochad software will enable you to use the CM15Pro unit in combination with a linux system. It will run as a daemon on your system and translate between the CM15PRo unit using it's native language and a simple TCP based network connection.
Installing Mochad
Before installing mochad, make sure you system is up-to-date :
Mochad needs a usb lib to connect to the CM15Pro, so lets install that first :
Get the latest version of mochad from sourceforge and install it :
After installing the mochad software, you can connect the USB CM15Pro adapter in one of the USB ports on the Pi
Wait a few seconds, so the Pi can see the CM15Pro, then test mochad using the CLI.
First startup mochad manualy for now :
Login to the Pi with SSH-2 and make the next test commands to switch 'off' or 'on' a light;
NOTE Hansbit on May 10 2018: There is an issue with Mocad 0.1.17 and Debian Stretch that causes nc to become unresponsive after a first command. The solution is to add a time out parameter (-w1) to you nc command. Example:
This command will switch a X10 device with addres A1 on and off via the power lines of your home.
Nice huh ? Now lets make sure mochad starts up by itself at boot.
Autostart Mochad at boot
You can make mochad launch automatically at boot by putting it into yout /etc/rc.local file :
Insert the following text before 'exit 0' at the end of the file
Save it and exit. Reboot your system and test it again to see if mochad started up correctly.
Note: I found that mochad would not start from my rc.local on my raspberry pi 3 running Raspbian 'Jessie', but whenever i entered the same command from the cli by hand it would start up just fine. After a while i simply added a 'sleep 20' statement before calling mochad in my rc.local and everything has been working fine ever since. The Raspberry 3 starts up very very fast, so my guess is the CM15Pro device is not ready yet when Mochad is started from rc.local.
Domoticz & Mochad - Old style
What follows is 'the old way' of using mochad with domoticz. It works, but it is probably better, and a lot easier to use the native support for Mochad that is now available in domoticz.
Edit the domoticz script
In the main script folder of the domoticz software you will find the file '_domoticz_main'.
In this file you can write the next lines to test the GUI buttons in Domoticz;
In this file you can write the next lines to test the GUI buttons in Domoticz;
NOTE Hansbit on May 10 2018: There is an issue with Mocad 0.1.17 and Debian Stretch that causes nc to become unresponsive after a first command. The solution is to add a time out parameter (-w1) to you nc command. Example:
Note (assuming your installation is on a Raspberry):
The file 'readme.txt' in '/home/pi/domoticz/scripts' say : 'to use this script, remove the underscore in front of the filename' , so go in the directory and rename the file
The file 'readme.txt' in '/home/pi/domoticz/scripts' say : 'to use this script, remove the underscore in front of the filename' , so go in the directory and rename the file
Make sure the script has executable rights with:
To use this script you need the latest version (minimum Vs. 1.0.940) to make light buttons in the GUI !
The option 'dim' and 'bright' is still in test !!
You can add the 'Dummy' hardware device, and add manual light/switches
Setup X10 devices in web interface
Go to your web page ex : http://your_ip:8080
Go to setup, hardware and add the dummy hardware like this :
Then click the ADD button
Go to swicthes
Manual Light/Switch
and add a manual light with the information in the script 'domoticz_main'
Go to edit on the new device
and finally specify the path of 'domoticz_main' starting with 'script:///'
Go to setup, hardware and add the dummy hardware like this :
Then click the ADD button
Go to swicthes
Manual Light/Switch
and add a manual light with the information in the script 'domoticz_main'
Go to edit on the new device
and finally specify the path of 'domoticz_main' starting with 'script:///'
Save it and now when you clic on the light icon Domoticz will start the script and do the mochad command ! And ... your light is ON !
Domoticz & Mochad - New style : Native mochad
Domoticz now has native support for mochad. You still need to install mochad as mentioned above, but the communication between mochad and domoticz no longer requires any script work, dummy devices etc.
Create a mochad gateway device
The first step is to add the mochad gateway daemon to domoticz via Setup -> Hardware
Use 127.0.0.1 or localhost if mochad runs on the same system as domoticz. (you can run mochad on another system if you wish)You can give it any name you like. It will show up as 'hardware' name in the device list.
Adding X10 devices
Adding X10 devices is pretty standard from here on end. Just go to the 'switches' tab -> Press the 'Learn Switch/light button' and then fire off an on or off command for your device on a X10 remote. Domoticz will pick this up and bobs your uncle.
Another way would be to just transmit 'on' codes for all devices you need from your X10 remote and pick those up from the device list in domoticz (Setup -> Devices). Just press the green button and off you go.
At this moment you cannot just program a switch manually. I expected that i could just go to Switches -> Manual Light/Switch and just select the mochad gateway as hardware, set the correct house code and unit id and voila. Sadly this does not work, the mochad gateway does not show up in the hardware list there. Learned X10 devices/switches cannot by changed to another X10 address, they simply do not show up if you edit the device.
The only way is to delete them, and recreate them using the correct code.
Retrieved from 'https://www.domoticz.com/wiki/index.php?title=X10_devices,_CM15_Pro&oldid=11408'