Documentation ¶
Overview ¶
This is an example of providing virtual devices to the CCU via an interface process.
To register the interface at the logic layer of the CCU, the CCU file /etc/config/InterfacesList.xml must be modified. Add a new ipc XML element below the root element. Replace the IP address 192.168.0.20 with the host address running this example:
<ipc> <name>My-Virtual-Devices</name> <url>xmlrpc://192.168.0.20:2124/RPC2</url> <info>My Virtual Devices</info> </ipc>
Authentication of the CCU API under Control Panel → Security must be switched off.
If not running on the CCU, specify the address of the CCU on the command line. Replace the IP address 192.168.0.10 with the address of the CCU:
-ccu 192.168.0.10
Then restart the ReGaHss and HMServer with these commands:
/etc/init.d/S70ReGaHss restart /etc/init.d/S62HMServer restart
On RaspberryMatic, monit may possibly interfere. It should therefore be deactivated:
monit unmonitor all
Do not forget to restore the InterfacesList.xml afterwards and to restart the ReGaHss and HMServer. The file is automatically restored when rebooting the CCU.