virtual-devices

command
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL