Controlling Rako scenes and lights from uOS (v2)
This guide will show you how to trigger Scenes or even individual Lights and Blinds using the Rako API
Rako Hub API
Before you begin, you will need:
- The Rako Hub IP address
- A fully-commissioned Rako system with a Rako Hub on the same network as the HDA system
- A fully-commissioned HDA or uControl system with the latest version of uOS (MHUB-OS does not support IP integrations) on the same network as the Rako system.
- A tablet or laptop using any of the most popular browsers (or an iPhone with the uControl app, at the very least) on the same network as the HDA system.
Step 1:Get data about the Rako system
You need to know:
- Room ID
- Channel ID
- Scene ID
Use your browser: type http://[Rako Hub IP]/rako.xml (e.g.http://192.168.1.13/rako.xml)
The Example below shows Room ID 17, Channel ID 1 and Scene ID 1
<Room id="17"> -Room ID
<Type>Lights</Type>
<Title>Office</Title>
<Channel id="1"> -Channel ID
<type>Default</type>
<Name>Office Spotlights</Name>
<Levels>FFBF7F3F000000000000000000000000</Levels>
</Channel>
<Scene id="1"> -Scene ID
<Name>White</Name>
</Scene>
</Channel>
If no scenes are listed, default scenes are set as -
Scene 1 – All on 100%
Scene 2 – All on 75%
Scene 3 – All on 50%
Scene 4 – All on 25%
Scene 0 – All Off
Based off this we can build the command
SUB,BASIC,V4,uControl
SEND,17,1,SCENE,1
Step 2:Build an IP Connection in uOS
Examples of the most popular Rako commands – Rako Command Examples
Rako Bridge API
Before you begin, you will need:
- A fully-commissioned Rako system with a Rako Hub on the same network as the HDA system
- A fully-commissioned HDA or uControl system with the latest version of uOS (MHUB-OS does not support IP integrations) on the same network as the Rako system.
- A tablet or laptop using any of the most popular browsers (or an iPhone with the uControl app, at the very least) on the same network as the HDA system.
Step 1:Get data about the Rako system
You need to know:
- Room ID
- Channel ID
- Scene ID
– Use Rasoft Pro if you set up the Rako yourself or have been given the Project File.
– Use your browser: type http://[Rako Hub IP]/rako.xml (e.g.http://192.168.1.13/rako.xml)
Example of Rako XML data
Step 2:Build an IP Connection and Function in uOS
Step 3:Build Functions to control individual Channels or trigger Scenes
Examples of the most popular Rako commands – Rako Command Examples