Control of RFXCOMtrx433E via Domoticz over LAN

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.
Post Reply
emersok
Posts: 1
Joined: Friday 30 June 2017 12:53
Target OS: Raspberry Pi
Domoticz version:
Contact:

Control of RFXCOMtrx433E via Domoticz over LAN

Post by emersok » Sunday 02 July 2017 11:51

Hi,
I have a trx433E connected to a Raspberry Pi loaded with Domoticz. I can successfully use this setup to control my Louvolite blinds.
My main home automation system is a Loxone miniserver but I wish to integrate the Louvolte blinds into this system. I believe that Loxone can control devices using virtual outputs over LAN. Loxone provide an example to control Sonos. In the example the Sonos device has an address "http://192.168.1.232:1400".
The commands for "Sonos Bass" defined in Loxone look like this :

Command for ON /MediaRenderer/RenderingControl/Control

HTTP extensions for ON SOAPACTION: "urn:schemas-upnp-org:service:RenderingControl:1#SetBass"

HTTP Post command for ON <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encodin ... <u:SetBass xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><InstanceID>0</InstanceID><DesiredBass><v></DesiredBass></u:SetBass></s:Body></s:Envelope><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"

HTTP method for ON POST

There are various other values which can be set in Loxone but I hink that the above relates to the LAN commands

The following is an extract from the Loxone documenation relating to virtual outputs
https://www.loxone.com/enen/kb/virtual-inputs-outputs/

---------------------------------------------------------------------------------------------------------------
VIRTUAL OUTPUTS

A virtual output connector is used to control network devices. The device should be controlled using a Miniserver master server compatible protocol (tcp, udp, http, wol).

STEP 1: ADD VIRTUAL OUTPUT CONNECTOR

In the periphery window click on virtual outputs and then from the drop down list ‘Virtual I/O’ select virtual output connector.

In the Properties window of the virtual output connector the protocol, address and port of the device to be controlled can be entered. For http, tcp and udp you need to include the protocol before the address is entered (e.g. tcp://192.168.1.199:23).

Virtual Output Connector Loxone Config

Icon Exclamation Mark LoxonePlease note that Telnet connections that require authentication are not supported.

STEP 2: VIRTUAL OUTPUT CONNECTOR FOR UDP

If UDP capable devices are being controlled, the protocol must be entered into the address box in the Properties window. See our documentation on communication with UDP for more information.

Loxone Config Virtual Output UDP

STEP 3: ADD VIRTUAL OUTPUT COMMAND

Now you can add virtual output commands to the virtual output connector you just created. If you click on the virtual output connector in the periphery window and then click on the ‘Virtual I/O’ drop down list button you can add in a virtual output command. This is then listed underneath the connector.

In the properties of the command you will see several fields for the command. Where you enter information depends on the device you are trying to control.

-------------------------------------------------------------------------------------------------------------------------

So finally my question is :

Can I use the Loxone virtual outputs to command Domoticz in the Rasberry Pi over the LAN to control my blinds and if so I would be grateful for any help in how to configure things

Alternatively do I use the Raspberry Pi to provide an internet address and then use software (Python, ser2net etc??) to send the commands to the trx433E via the USB port on the raspberryPi (ttyUSB0).

As you can probably tell I am new to this and am on a steep learning curve! Any help to get me to a solution would be gratefully received.

Thank You Keith Emerson

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest