This is the documentation of the nomos system AG Controller API. There are two communication protocols available:
A lot of API functions are supporting sort order definitions. For Example:
socket.emit('getEvents', {sortBy: ['name', 'created']}, function(result) {
// Result sorted by name and created Timestamp
console.debug(result);
});
socket.emit('getEvents', {sortBy: ['-created', 'name']}, function(result) {
// Result sorted by created Timestamp ('-' means reverse sort order) and name
console.debug(result);
});
function socketInitialization() {
socket.emit('init', {uagent: navigator.userAgent, language: 'en'}, function() {
// ready
});
}
var socket = io('http://{host}:{port}/api/v1');
socket.on('connect', function() {
// TODO: Show authentication dialog or fetch credentials
var username = 'USERNAME';
var password = 'PASSWORD';
socket.emit('auth', {username: username, password: password, persistent: false}, function(auth) {
if(auth.sessionID) {
// successful
socketInitialization();
}
else {
// not successful
}
});
});
var socket = io('http://{host}:{port}/api/v1', {
query: {
'x-nomos-sid': 'SESSION-ID'
}
});
socket.on('connect', function() {
socket.emit('init', {uagent: navigator.userAgent, language: 'en'}, function() {
// ready
});
});
Hostname or IP address
Secure connection (TLS) is available through port 443.
Use auth
function to authenticate on the API with user credentials.
Provide your session id and skip the username and password.
curl --header "auth-username: USERNAME" --header "auth-password: PASSWORD" --header "auth-persistent: false" --header "accept-language: en" http://{host}:{port}/api/v1/getVersion
curl --header "x-nomos-sid: 1234567890123456789012345678901234567890" --header "accept-language: en" http://{host}:{port}/api/v1/getVersion
Hostname or IP address
Secure connection (TLS) is available through port 443.
Function/Operation Name
Provide user credentials auth-username
and auth-password
in HTTP header to authenticate on the API.
Provide your session id and skip the username and password.
SocketIOFileUpload Upload Addon (.csv, .json) Profile File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
(Version 0.2.19 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Upload Addon (.csv, .json) Profile File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
var uploader = new SocketIOFileUpload(socket);
uploader.listenOnInput(document.getElementById("addonUploadInput"));
uploader.maxFileSize = 2000000;
uploader.addEventListener('error', function(data) {
if(data.code === 1) {
console.log("File size error");
}
});
uploader.addEventListener('progress', function(event) {
console.log(parseInt(event.bytesLoaded / event.file.size * 100) + '%');
});
uploader.addEventListener('complete', function(event) {
if(event.detail.error === false) {
// Success
window.location.reload();
} else {
// Error
}
});
uploader.addEventListener('start', function(event) {
event.file.meta.type = 'addonprofile';
});
Add an Addon Device/Component
(Version 0.2.58 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add an Addon Device/Component
{
"name": "My Addon",
"profile": "test-addon",
"configOverrides": {
"SERVERIP": "192.168.76.1"
}
}
Add/import an Addon Profile
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add/import an Addon Profile
{
"profile": "test-addon",
"content": {}
}
Get Addon Limit
(Version 0.2.39 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get imported/added Addon Profile
(Version 0.2.40 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get imported/added Addon Profile
{
"id": 5
}
Get imported/added Addon Profiles
(Version 0.2.40 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get imported/added Addon Profiles
{
"sortBy": [
"name",
"created"
]
}
Get available Online Library Profiles
(Version 0.2.40 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Add/import a Online Library Profile
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add/import a Online Library Profile
{
"type": "Miscellaneous",
"profile": "test-addon"
}
Event Update when a new Addon Profile has been added
(Version 0.2.19 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a new Addon Profile has been added
{
"id": 1,
"name": "Test Addon"
}
Event Update when an Addon Profile has been removed
(Version 0.2.19 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when an Addon Profile has been removed
{
"id": 5
}
Remove an Addon Profile by Id
(Version 0.2.19 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove an Addon Profile by Id
{
"id": 5
}
Remove an Addon Profile by Name
(Version 0.2.19 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove an Addon Profile by Name
{
"name": "test-addon"
}
Set/update an Addon Device/Component
(Version 0.2.39 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/update an Addon Device/Component
{
"cid": "C3",
"name": "My Addon",
"configOverrides": {
"SERVERIP": "192.168.76.2"
}
}
Add a "remote" Apple iTunes/Music/AppleTV Device/Component
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a "remote" Apple iTunes/Music/AppleTV Device/Component
{
"model": "iTunes",
"name": "MacBookPro iTunes",
"host": "192.168.1.99",
"lid": "remote.itunes",
"profile": "itunes",
"capabilities": []
}
Get (autodetected) "remote" Apple iTunes/Music/AppleTV Devices/Components
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get (autodetected) "remote" Apple iTunes/Music/AppleTV Devices/Components
{
"model": "Music"
}
Event Update when "remote" Apple Status Event is triggered
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when "remote" Apple Status Event is triggered
{
"name": "Livingroom",
"model": "AppleTV",
"host": "192.168.1.99",
"uuid": "12345678-90C2-4D0D-BA26-4B9EABC2F8B3",
"status": "detected",
"paired": false
}
Send "remote" Apple Pairing PIN Code
(Version 0.2.70 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Send "remote" Apple Pairing PIN Code
{
"code": 1234
}
Start "remote" Apple Pairing Mode
(Version 0.2.70 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Start "remote" Apple Pairing Mode
{
"uuid": "12345678-90C2-4D0D-BA26-4B9EABC2F8B3"
}
Stop "remote" Apple Pairing Mode
(Version 0.2.25 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
HTTP POST Upload a Backup
(Version 0.3.10 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Upload a Backup
{
"file": "string"
}
SocketIOFileUpload Upload Backup File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
(Version 0.2.4 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Upload Backup File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
var uploader = new SocketIOFileUpload(socket);
uploader.listenOnInput(document.getElementById("backupUploadInput"));
uploader.addEventListener('error', function(data) {
if(data.code === 1) {
console.log("File size error");
}
});
uploader.addEventListener('progress', function(event) {
console.log(parseInt(event.bytesLoaded / event.file.size * 100) + '%');
});
uploader.addEventListener('complete', function(event) {
if(event.detail.error === false) {
// Success
window.location.reload();
} else {
// Error
}
});
uploader.addEventListener('start', function(event) {
event.file.meta.type = 'backup';
});
Create a Backup
(Version 0.2.4 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Create a Backup
{
"name": "Test-Backup"
}
Download a Backup
(Version 0.2.4 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Download a Backup
{
"name": "string"
}
Get Backups
(Version 0.2.4 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Backups
{
"sortBy": [
"name",
"created"
]
}
Remove a Backup
(Version 0.2.4 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove a Backup
{
"source": "local",
"name": "string"
}
Restore a Backup (on Success, System will reboot automatically)
(Version 0.2.49 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Restore a Backup (on Success, System will reboot automatically)
{
"name": "Test-Backup"
}
Add a Camera
(Version 0.3.3 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a Camera
{
"name": "Kitchen Cam",
"rooms": [
1
],
"url": "http://192.168.1.2/cam.jpeg",
"type": "snapshot",
"refreshRate": 150
}
Get Camera by ID
(Version 0.3.3 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Camera by ID
{
"id": 1
}
Get last Camera Error
(Version 0.2.50 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get last Camera Error
{
"id": 3
}
Get Camera Name
(Version 0.2.46 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Camera Name
{
"id": 1
}
Get Cameras
(Version 0.3.3)
Available only on servers:
Accepts the following message:
Payload: Get Cameras
{
"sortBy": [
"name",
"created"
]
}
Get Janus Configuration Settings
(Version 0.3.2)
Available only on servers:
Accepts the following message:
Empty message
{}
Get One-time Token for Janus WebSocket Service
(Version 0.3.2)
Available only on servers:
Accepts the following message:
Empty message
{}
Event Update when a new Camera was added
(Version 0.2.47 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a new Camera was added
{
"id": 1,
"cid": "C1",
"name": "Kitchen Cam"
}
Event Update when a Camera Name has been changed
(Version 0.2.3 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Camera Name has been changed
{
"id": 1,
"name": "Livingroom WebCam"
}
Event Update when a Camera was removed
(Version 0.2.3 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Camera was removed
{
"id": 1
}
Event Update when a Camera has been updated
(Version 0.2.47 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Camera has been updated
{
"id": 1
}
Remove a Camera
(Version 0.2.47 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove a Camera
{
"id": 3
}
Set/Update a Camera
(Version 0.3.3 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Update a Camera
{
"id": 1,
"name": "Kitchen Cam",
"rooms": [
1
],
"url": "http://192.168.1.2/cam.jpeg",
"type": "snapshot",
"refreshRate": 150
}
Set Camera Name
(Version 0.2.3 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set Camera Name
{
"id": 1,
"name": "Kitchen Cam"
}
Start a Camera Stream
(Version 0.3.2)
Available only on servers:
Accepts the following message:
Payload: Start a Camera Stream
{
"id": 1
}
Get (App) Client List
(Version 0.2.26 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get (App) Client List
{
"sortBy": [
"name",
"appVersion"
]
}
HTTP POST Allows devices to register for push notifications, without being authenticated.
(Version 0.2.33)
Available only on servers:
Accepts the following message:
Payload: Allows devices to register for push notifications, without being authenticated.
{
"did": "1E4F8745-BBBB-40DA-1F7A-2CDAC92BBBBB",
"token": "098765432109876543210987654321098765432109876543210987654321",
"appId": "com.nomos-system.testapp",
"appVersion": "1.0.1",
"appName": "nomos TestApp",
"osVersion": "17.6.1",
"platform": "iOS",
"model": "iPhone6,1",
"name": "My iPhone",
"language": "en"
}
Remove all (App) Clients
(Version 0.2.75 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Remove an (App) Client
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove an (App) Client
{
"did": "1E4F8745-BBBB-40DA-1F7A-2CDAC92BBBBB",
"appId": "com.nomos-system.testapp"
}
Rename an (App) Client
(Version 0.2.38 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Rename an (App) Client
{
"did": "1E4F8745-BBBB-40DA-1F7A-2CDAC92BBBBB",
"appId": "com.nomos-system.testapp",
"name": "New Name"
}
{
"did": "1E4F8745-BBBB-40DA-1F7A-2CDAC92BBBBB",
"appId": "com.nomos-system.testapp",
"name": null
}
Disable Cloud
(Version 0.2.66 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Disable Cloud Controller Synchronization
(Version 0.2.66 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Enable Cloud
(Version 0.2.66 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Enable Cloud Controller Synchronization
(Version 0.2.66 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get Cloud Status Information/Configuration
(Version 0.3.7)
Available only on servers:
Accepts the following message:
Empty message
{}
Register to Cloud
(Version 0.2.65 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Register to Cloud
{
"username": "string",
"password": "string"
}
Reset Cloud Connection and Credentials
(Version 0.2.66 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Unregister from Cloud
(Version 0.2.66 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Add a Component Tag or multiple Tags
(Version 0.2.40 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a Component Tag or multiple Tags
{
"cid": "C10",
"tags": [
"Tag1",
"Tag2"
]
}
Attach a Component to a Room
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Attach a Component to a Room
{
"cid": "C10",
"room": 1
}
Event Update when new Components are getting detected by the system
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when new Components are getting detected by the system
{
"type": "sonos"
}
Do a Property Update on one or multiple Component(s)
(Version 0.2.60)
Available only on servers:
Accepts the following message:
Payload: Do a Property Update on one or multiple Component(s)
{
"cid": "C10",
"property": "switchon"
}
{
"cid": "C10",
"property": "level",
"value": "100"
}
{
"cid": "C10",
"property": "level",
"value": "+=10"
}
{
"floor": 1,
"property": "switchoff",
"filterType": "Lightbulb"
}
{
"room": [
1,
2
],
"property": "switchoff",
"filterCategory": "Lighting"
}
Detach a Component from a Room
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Detach a Component from a Room
{
"cid": "C10",
"room": 1
}
Get All Components
(Version 0.2.73)
Available only on servers:
Accepts the following message:
Payload: Get All Components
{
"sortBy": [
"name",
"created"
]
}
Get Components Associations
(Version 0.2.47 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Components Associations
{
"cid": "C10"
}
Get Component Data/Value for specific Component ID
(Version 0.2.11)
Available only on servers:
Accepts the following message:
Payload: Get Component Data/Value for specific Component ID
{
"cid": "C1",
"property": "album"
}
{
"cid": "C2",
"property": "power"
}
Get Component Init Data/Values for specific Component ID's
(Version 0.2.20)
Available only on servers:
Accepts the following message:
Payload: Get Component Init Data/Values for specific Component ID's
Array with Component ID's to get initialization data for
C1
[
"C1",
"C2"
]
{
"cid": "C1"
}
Get Component(s) by Attribute(s)
(Version 0.2.82)
Available only on servers:
Accepts the following message:
Payload: Get Component(s) by Attribute(s)
{
"attributes": {
"id": "1",
"engineType": "ZWAVE"
}
}
Get Component(s) by Id
(Version 0.2.73)
Available only on servers:
Accepts the following message:
Payload: Get Component(s) by Id
{
"cid": "C1"
}
{
"cid": [
"C1",
"C2"
]
}
Filter components that start with a specific profile name
(Version 0.2.73)
Available only on servers:
Accepts the following message:
Payload: Filter components that start with a specific profile name
{
"profile": "sonos"
}
{
"profile": "sonos",
"sortBy": [
"name",
"created"
]
}
Get Components by Room
(Version 0.2.73)
Available only on servers:
Accepts the following message:
Payload: Get Components by Room
{
"room": 1
}
{
"room": 1,
"sortBy": [
"name",
"created"
]
}
Get Components by Tag(s)
(Version 0.2.73)
Available only on servers:
Accepts the following message:
Payload: Get Components by Tag(s)
{
"tags": "TestTag"
}
{
"tags": "TestTag",
"sortBy": [
"name",
"created"
]
}
Get Components, Floors, Rooms, Cameras, SIP Clients and Scenes
(Version 0.2.80)
Available only on servers:
Accepts the following message:
Payload: Get Components, Floors, Rooms, Cameras, SIP Clients and Scenes
{
"components": {},
"floors": {},
"rooms": {},
"cameras": {},
"scenes": {},
"links": {},
"sips": {}
}
Event Update when a new Component has been added
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a new Component has been added
{
"cid": "C10"
}
Event Update when a Component has been attached to a Room
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Component has been attached to a Room
{
"cid": "C10",
"room": 1
}
Event Update when a Component has been updated
(Version 0.2.70 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Component has been updated
{
"cid": "C10"
}
Event Update when a Component has been detached from a Room
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Component has been detached from a Room
{
"cid": "C10",
"room": 1
}
Event Update when Component Meta has been changed
(Version 0.2.60 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when Component Meta has been changed
{
"cid": "C10",
"meta": {}
}
Event Update when a Component Name has been changed
(Version 0.2.0 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Component Name has been changed
{
"cid": "C10",
"name": "Test"
}
Event Update when a Component has been removed
(Version 0.2.14 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Component has been removed
{
"cid": "C10"
}
Event Update when Component Tags has been changed
(Version 0.2.40 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when Component Tags has been changed
{
"cid": "C10",
"tags": [
"Test"
]
}
Event Update when a Component has been updated
(Version 0.2.11 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Component has been updated
Component Update Objects
[
{
"cid": "C3",
"property": "artist",
"content": "AC/DC"
}
]
[
{
"cid": "C5",
"property": "power",
"content": "55.52 W",
"value": 55.52,
"unit": "W"
}
]
Remove a Component
(Version 0.2.18 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove a Component
{
"cid": "C10"
}
Remove a Component Tag or multiple Tags
(Version 0.2.40 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove a Component Tag or multiple Tags
{
"cid": "C10",
"tags": [
"Tag1",
"Tag2"
]
}
Set/Update a Component
(Version 0.2.46 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Update a Component
{
"cid": "C10",
"name": "Test"
}
Set a new Component Name
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set a new Component Name
{
"cid": "C10",
"name": "Test"
}
Start Configuration Batch Mode. After calling this function all component configuration updates will NOT restart the engine.
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Stops Configuration Batch Mode. Will restart the engine(s) for new configuration takes effect.
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get Engine Configuration Parameters
(Version 0.3.4 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get Engine Projects List
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get Engine/Daemon Start Log
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Set/Replace Engine Configuration Parameters, a "null" value would delete a configuration parameter
(Version 0.3.4 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Replace Engine Configuration Parameters, a "null" value would delete a configuration parameter
{
"PROJECT": "Test"
}
Add an Event
(Version 0.2.60 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add an Event
{
"name": "TestEvent",
"triggers": [
{
"cid": "C1",
"mapping": "playerstate",
"value": "PLAYING"
}
],
"positiveActions": [
{
"cid": "C2",
"property": "switchon"
}
]
}
{
"name": "TestEvent",
"triggers": [
{
"cid": "C1",
"mapping": "playerstate",
"value": "STOPPED"
},
"||",
{
"cid": "C1",
"mapping": "playerstate",
"value": "PAUSED"
}
],
"conditions": [
{
"cid": "C2",
"mapping": "switch",
"value": 1
}
],
"positiveActions": [
{
"cid": "C2",
"property": "switchoff"
},
{
"cid": "C3",
"property": "switchoff"
}
],
"negativeActions": [
{
"cid": "C2",
"property": "switchon"
},
{
"cid": "C3",
"property": "switchon"
}
]
}
{
"name": "TestEvent",
"enabled": false,
"triggers": [
[
{
"cid": "C1",
"mapping": "playerstate",
"value": "STOPPED"
},
"||",
{
"cid": "C1",
"mapping": "playerstate",
"value": "PAUSED"
}
],
"&&",
{
"cid": "C1",
"mapping": "volume",
"operator": ">=",
"value": 75
}
],
"positiveActions": [
{
"cid": "C1",
"property": "volume",
"value": 30
}
]
}
{
"name": "TestEvent",
"enabled": true,
"triggers": [
{
"timer": {
"time": "SUNRISE",
"weekdays": [
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY"
]
}
},
"&&",
{
"cid": "C2",
"mapping": "state",
"value": 1
}
],
"positiveActions": [
{
"cid": "C2",
"property": "state",
"value": 0
}
]
}
{
"name": "TestEvent",
"enabled": true,
"triggers": [
{
"cid": "C2",
"mapping": "state",
"value": 1
}
],
"conditions": [
{
"timer": {
"operator": "<=",
"time": "SUNRISE",
"weekdays": [
"SATURDAY",
"SUNDAY"
]
}
}
],
"positiveActions": [
{
"cid": "C2",
"property": "state",
"value": 0
}
]
}
{
"name": "TestEvent",
"enabled": true,
"triggers": [
{
"cid": "C2",
"mapping": "state",
"value": 1
}
],
"conditions": [
{
"timerange": {
"start": "SUNRISE",
"end": "SUNSET+00:15:00"
}
}
],
"positiveActions": [
{
"cid": "C2",
"property": "state",
"value": 0
}
]
}
{
"name": "TestInterval",
"triggers": [
{
"timer": {
"interval": 60
}
}
],
"positiveActions": [
{
"cid": "C2",
"property": "switchon"
}
]
}
Add a Special Event (see Examples)
(Version 0.2.51 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a Special Event (see Examples)
{
"name": "Linking KNX Dim Up/Down with Component Volume Property",
"id": "knx.volume.link.4bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2"
}
]
}
{
"name": "Linking KNX 1 Byte with Component Volume Property",
"id": "knx.volume.link.8bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2"
}
]
}
{
"name": "Linking KNX Dim Up/Down with Component Level Property",
"id": "knx.level.link.4bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2"
}
]
}
{
"name": "Linking KNX Dim Up/Down with Lutron Component",
"id": "knx.lutronlevel.link.4bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2"
}
]
}
{
"name": "Linking KNX 1 Byte unsigned with Component Property",
"id": "knx.link.8bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2",
"property": "level"
}
]
}
{
"name": "KNX Text Scrolling",
"id": "knx.text.scrolling",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2",
"property": "title"
}
]
}
{
"name": "KNX Sonos Information Scrolling",
"id": "knx.playerinfo.scrolling",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2",
"property": ""
}
]
}
{
"name": "Property/Value to KNX Push",
"id": "knx.property.push",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2",
"property": "volume"
}
]
}
{
"name": "Property/Value Push",
"id": "property.push",
"data": [
{
"cid": "C1",
"property": "level"
},
{
"cid": "C2",
"property": "volume"
}
]
}
{
"name": "Property/Value Synchronization",
"id": "property.sync",
"data": [
{
"cid": "C1",
"property": "volume"
},
{
"cid": "C2",
"property": "volume"
}
]
}
{
"name": "HUE ColorLoop",
"id": "hue.colorloop",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C3"
},
[
[
255,
0,
0
],
[
0,
255,
0
],
[
0,
0,
255
]
]
]
}
{
"name": "KNX RGBLoop",
"id": "knx.rgbloop",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C3"
},
[
[
255,
0,
0
],
[
0,
255,
0
],
[
0,
0,
255
]
]
]
}
{
"name": "InputLoop",
"id": "inputloop",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C3",
"property": "value"
},
[
"Value/Input 1",
"Value/Input 2",
"Value/Input 3"
]
]
}
Clone/duplicate an Event
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Clone/duplicate an Event
{
"eid": "E10"
}
Disable an Event
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Disable an Event
{
"eid": "E10"
}
Enable an Event
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Enable an Event
{
"eid": "E10"
}
Get Event
(Version 0.2.45 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Event
{
"eid": "E10"
}
Get All Events
(Version 0.2.45 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get All Events
{
"sortBy": [
"name",
"created"
]
}
Get Events by Tag(s)
(Version 0.2.45 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Events by Tag(s)
{
"tags": "TestTag"
}
{
"tags": "TestTag",
"sortBy": [
"name",
"created"
]
}
Lock Event to prevent unwanted changes
(Version 0.2.45 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Lock Event to prevent unwanted changes
{
"eid": "E10"
}
Event Update when an Event got triggered
(Version 0.2.41 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when an Event got triggered
{
"eid": "E10",
"trigger": "positive",
"stats": {
"minute": 1,
"hour": 2,
"day": 3,
"week": 3,
"month": 3,
"year": 3
}
}
Remove an Event
(Version 0.2.45 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove an Event
{
"eid": "E10"
}
Set/Update an Event
(Version 0.2.57 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Update an Event
{
"eid": "E10",
"name": "TestEvent",
"enabled": false,
"onChange": false,
"triggers": [
{
"cid": "C1",
"mapping": "playerstate",
"value": "PLAYING"
}
],
"positiveActions": [
{
"cid": "C2",
"property": "switchon"
}
]
}
Set a new Event Name
(Version 0.2.45 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set a new Event Name
{
"eid": "E10",
"name": "Test-Event"
}
Set/Update a Special Event (see Examples)
(Version 0.2.51 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Update a Special Event (see Examples)
{
"name": "Linking KNX Dim Up/Down with Component Volume Property",
"id": "knx.volume.link.4bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2"
}
]
}
{
"name": "Linking KNX 1 Byte with Component Volume Property",
"id": "knx.volume.link.8bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2"
}
]
}
{
"name": "Linking KNX Dim Up/Down with Component Level Property",
"id": "knx.level.link.4bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2"
}
]
}
{
"name": "Linking KNX Dim Up/Down with Lutron Component",
"id": "knx.lutronlevel.link.4bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2"
}
]
}
{
"name": "Linking KNX 1 Byte unsigned with Component Property",
"id": "knx.link.8bit",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2",
"property": "level"
}
]
}
{
"name": "KNX Text Scrolling",
"id": "knx.text.scrolling",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2",
"property": "title"
}
]
}
{
"name": "KNX Sonos Information Scrolling",
"id": "knx.playerinfo.scrolling",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2",
"property": ""
}
]
}
{
"name": "Property/Value to KNX Push",
"id": "knx.property.push",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C2",
"property": "volume"
}
]
}
{
"name": "Property/Value Push",
"id": "property.push",
"data": [
{
"cid": "C1",
"property": "level"
},
{
"cid": "C2",
"property": "volume"
}
]
}
{
"name": "Property/Value Synchronization",
"id": "property.sync",
"data": [
{
"cid": "C1",
"property": "volume"
},
{
"cid": "C2",
"property": "volume"
}
]
}
{
"name": "HUE ColorLoop",
"id": "hue.colorloop",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C3"
},
[
[
255,
0,
0
],
[
0,
255,
0
],
[
0,
0,
255
]
]
]
}
{
"name": "KNX RGBLoop",
"id": "knx.rgbloop",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C3"
},
[
[
255,
0,
0
],
[
0,
255,
0
],
[
0,
0,
255
]
]
]
}
{
"name": "InputLoop",
"id": "inputloop",
"data": [
{
"cid": "C1",
"property": "value"
},
{
"cid": "C3",
"property": "value"
},
[
"Value/Input 1",
"Value/Input 2",
"Value/Input 3"
]
]
}
Unlock Event
(Version 0.2.45 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Unlock Event
{
"eid": "E10"
}
Disable Remote Access
(Version 0.2.33 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Enable Remote Access
(Version 0.2.33 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get/Generate Remote Access Client Token
(Version 0.2.33)
Available only on servers:
Accepts the following message:
Payload: Get/Generate Remote Access Client Token
{
"jwtid": "E4F8745-BBBB-40DA-1F7A-2CDAC92BBBBB"
}
Get Remote Access Status Information
(Version 0.2.33)
Available only on servers:
Accepts the following message:
Empty message
{}
Revoke Remote Access Client Token
(Version 0.2.33)
Available only on servers:
Accepts the following message:
Payload: Revoke Remote Access Client Token
{
"jwt": "eyJhbGciOiJIUzUxiIsInR5cCI6IkpXVCJ9.eyJwYXlkMSI6IlhYWFhYIiwicGF5bG9hZDIiOiJ4eHh4eHgiLCJpYXQiOj1ZCI6InVybjpub21vcyIsInN1YiI6IllZWSJ9.aQs9j7w9-OFxq0ZqzwTK3oCxfE"
}
Revoke All Remote Access Client Tokens
(Version 0.2.33 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
SocketIOFileUpload Import Floor Image with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
(Version 0.3.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Import Floor Image with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
var uploader = new SocketIOFileUpload(socket);
uploader.listenOnInput(document.getElementById("imageImportInput"));
uploader.addEventListener('error', function(data) {
if(data.code === 1) {
console.log("File size error");
}
});
uploader.addEventListener('progress', function(event) {
console.log(parseInt(event.bytesLoaded / event.file.size * 100) + '%');
});
uploader.addEventListener('complete', function(event) {
if(event.detail.error === false) {
// Success
window.location.reload();
} else {
// Error
}
});
uploader.addEventListener('start', function(event) {
event.file.meta.id = floor.id;
event.file.meta.subid = 'test'; // optional
event.file.meta.type = 'floorimage';
});
Add a Floor
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a Floor
{
"name": "Third Floor",
"position": 3
}
Get Floor Image
(Version 0.3.8)
Available only on servers:
Accepts the following message:
Payload: Get Floor Image
{
"id": 1
}
Get Floor Name
(Version 0.2.60)
Available only on servers:
Accepts the following message:
Payload: Get Floor Name
{
"id": 1
}
Get Floors
(Version 0.3.8)
Available only on servers:
Accepts the following message:
Payload: Get Floors
{
"sortBy": [
"name",
"created"
]
}
Event Update when a new Floor has been added
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a new Floor has been added
{
"id": 1,
"name": "Third Floor",
"position": 3,
"readonly": false
}
Event Update when a Floor Image has been uploaded
(Version 0.3.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Floor Image has been uploaded
{
"id": 1,
"subid": "default"
}
Event Update when a Floor Name has been changed
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Floor Name has been changed
{
"id": 1,
"name": "Third Floor"
}
Event Update when a Floor has been removed
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Floor has been removed
{
"id": 1
}
Event Update when a Floor has been updated
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Floor has been updated
{
"id": 1
}
Remove a Floor
(Version 0.2.3 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove a Floor
{
"id": 3
}
Remove a Floor image
(Version 0.3.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove a Floor image
{
"id": 3
}
Set/Update a Floor
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Update a Floor
{
"id": 1,
"name": "Third Floor",
"position": 3
}
Set Floor Name
(Version 0.2.0 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set Floor Name
{
"id": 1,
"name": "Third Floor"
}
Add free@home virtual device
(Version 0.2.59 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add free@home virtual device
{
"cid": "C1",
"mac": "00:00:00:00:00:00"
}
Add a free@home device as component
(Version 0.2.54 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a free@home device as component
{
"name": "Light",
"apmac": "00:00:00:00:00:00",
"apuuid": "00000-000000-0000000",
"id": "1234567890",
"lid": "freeathome.0012",
"profile": "freeathome_0012",
"model": "1234567890",
"capabilities": []
}
undefined
(Version 0.2.54 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: undefined
{
"ip": "192.168.0.74",
"mac": "00:00:00:00:00:00",
"username": "installer",
"password": "myPassword1234"
}
Get free@home virtual devices
(Version 0.2.59 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get free@home virtual devices
{
"mac": "00:00:00:00:00:00"
}
Get available free@home SysAP's
(Version 0.2.54 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get available free@home SysAP's
{
"sortBy": [
"name"
]
}
Get available free@home devices
(Version 0.2.54 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get available free@home devices
{
"mac": "00:00:00:00:00:00"
}
{
"mac": "00:00:00:00:00:00",
"sortBy": [
"name"
]
}
undefined
(Version 0.2.54 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: undefined
{
"mac": "00:00:00:00:00:00"
}
Remove free@home virtual device
(Version 0.2.54 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove free@home virtual device
{
"cid": "C1",
"mac": "00:00:00:00:00:00"
}
Get HAP Last Error Message
(Version 0.2.47 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get HAP Settings
(Version 0.2.50 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get HAP Last Status Information
(Version 0.2.50 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Reset HAP
(Version 0.2.50 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Reset HAP
{
"numberOfProcesses": 1
}
Add a Home Connect device as component
(Version 0.2.76 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a Home Connect device as component
{
"name": "FridgeFreezer Simulator",
"id": "SIEMENS-HCS05FRF1-FD713F7FF636",
"hcType": "FridgeFreezer",
"lid": "homeconnect.fridge",
"profile": "homeconnect_fridge",
"manufacturer": "SIEMENS",
"model": "HCS05FRF1",
"ident": "HCS05FRF1/03",
"capabilities": [
"homeconnect_states_door",
"homeconnect_settings_power",
"homeconnect_settings_temperatureunit",
"homeconnect_settings_childlock",
"homeconnect_settings_setpoint_refrigerator",
"homeconnect_settings_setpoint_freezer",
"homeconnect_settings_setpoint_bottlecooler",
"homeconnect_settings_setpoint_chiller",
"homeconnect_settings_supermode_refrigerator",
"homeconnect_settings_supermode_freezer"
]
}
Get Home Connect device programs
(Version 0.2.76)
Available only on servers:
Accepts the following message:
Payload: Get Home Connect device programs
{
"cid": "C10"
}
Get HomeConnect devices
(Version 0.2.76 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Initialize HomeConnect Authorization
(Version 0.2.76 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Event on HomeConnect Authorization
(Version 0.2.76 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update on HomeConnect Authorization
true
Add a Husqvarna device as component
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a Husqvarna device as component
{
"name": "My Mower",
"id": "1234567890",
"husqvarnaType": "MOWER",
"lid": "gardena.mower",
"profile": "gardena_mower",
"capabilities": [
"gardena_status",
"gardena_operatinghours",
"gardena_battery",
"gardena_link"
]
}
Get Husqvarna locations/devices that are reported by the cloud
(Version 0.2.59 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Initialize Husqvarna Authorization
(Version 0.2.59 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Event on Husqvarna Authorization
(Version 0.2.59 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update on Husqvarna Authorization
true
SocketIOFileUpload Import KNX Project/Group Address File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
(Version 0.2.83 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Import KNX Project/Group Address File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
var uploader = new SocketIOFileUpload(socket);
uploader.listenOnInput(document.getElementById("knxImportInput"));
uploader.addEventListener('error', function(data) {
if(data.code === 1) {
console.log("File size error");
}
});
uploader.addEventListener('progress', function(event) {
console.log(parseInt(event.bytesLoaded / event.file.size * 100) + '%');
});
uploader.addEventListener('complete', function(event) {
if(event.detail.error === false) {
// Success
window.location.reload();
} else {
// Error
}
});
uploader.addEventListener('start', function(event) {
event.file.meta.password = ''; // optional
event.file.meta.type = 'knxfile';
});
Add a KNX Device/Component
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a KNX Device/Component
{
"name": "Livingroom",
"lid": "knx.dimmer",
"profile": "knx_switch",
"propertiesAddresses": {
"switchon": "1/1/1",
"switchoff": "1/1/1",
"level": "1/1/10"
},
"mappingsAddresses": {
"switch": "1/7/1",
"level": "1/7/10"
},
"capabilities": [
"knx_level"
]
}
Add a user-defined KNX Group Address
(Version 0.2.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a user-defined KNX Group Address
{
"addr": "2/1/36",
"name": "FirstFloor_Kitchen_Wall_Dimmer",
"type": "DPT_1.001",
"description": "Kitchen Wall Dimmer",
"readOnInit": false
}
Download a KNX Project
(Version 0.2.19 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Download a KNX Project
{
"name": "MyHome.esf"
}
Get an Object of KNX Addresses with their DPT
(Version 0.2.15 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get a List of KNX Datapoint Types (DPT's)
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get/find all KNX Gateways in local network
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get KNX Project Group Addresses
(Version 0.2.13 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get KNX Project Group Addresses
{
"name": "MyHome.esf"
}
Get all KNX Group Addresses used in Devices
(Version 0.2.82 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Empty message
{}
Get KNX Project Main Group Address Information
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get KNX Project Main Group Address Information
{
"name": "MyHome.esf"
}
{
"name": "MyHome.esf",
"sortBy": [
"-addr"
]
}
Get KNX Project Middle Group Address Information
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get KNX Project Middle Group Address Information
{
"name": "MyHome.esf"
}
{
"name": "MyHome.esf",
"sortBy": [
"name"
]
}
Get KNX Projects List and Meta Information
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get KNX Projects List and Meta Information
{
"sortBy": [
"name",
"created"
]
}
Is a KNX Group Address Used
(Version 0.2.82 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Is a KNX Group Address Used
{
"addr": "2/1/36"
}
Event Update when Error occurs on KNX File Import
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when Error occurs on KNX File Import
{
"errorText": "Unable to detect or wrong KNX file format!"
}
Event Update when KNX File Import finished
(Version 0.2.0 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when KNX File Import finished
Result Object
{
"addresses": [
{
"addr": "2/1/36",
"name": "FirstFloor_Kitchen_Wall_Dimmer",
"type": "DPT_1.001",
"description": "Kitchen Wall Dimmer"
}
],
"duplicates": [
"1/1/1",
"1/1/2"
],
"devices": [
{
"id": "628494305",
"name": "TXA663A - 1 - 3",
"description": "",
"type": "DimmableLight",
"meta": {},
"addresses": {
"TargetAddress": "2/4/29"
}
}
]
}
Event Update when Progress of KNX Import File Parsing is changing
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when Progress of KNX Import File Parsing is changing
{
"percent": 75
}
Event Update when Progress of KNX Project File Remove is changing
(Version 0.1.9 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when Progress of KNX Project File Remove is changing
{
"percent": 75
}
Event Update when KNX Status Change is triggered
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when KNX Status Event is triggered
{
"status": "connected"
}
Remove a KNX Group Address
(Version 0.2.18 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove a KNX Group Address
{
"addr": "2/1/36"
}
Remove a KNX Project
(Version 0.2.18 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove a KNX Project
{
"name": "MyHome.esf"
}
Set/Update a KNX Device/Component
(Version 0.2.71 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Update a KNX Device/Component
{
"cid": "C6",
"name": "Livingroom",
"lid": "knx.dimmer",
"profile": "knx_switch",
"propertiesAddresses": {
"switchon": "1/1/1",
"switchoff": "1/1/1",
"level": "1/1/10"
},
"mappingsAddresses": {
"switch": "1/7/1",
"level": "1/7/10"
},
"capabilities": [
"knx_level"
]
}
Set/Update a KNX Group Address
(Version 0.2.50 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Update a KNX Group Address
{
"addr": "2/1/36",
"name": "Kitchen Wall Dimmer",
"description": "Kitchen Wall Dimmer",
"readOnInit": true
}
Get Profile Data/Information out of the Library
(Version 0.2.19 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Profile Data/Information out of the Library
{
"lid": "knx.dimmer"
}
{
"lid": "sonos.default"
}
Get Profile Data/Information out of the Library
(Version 0.2.19 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Profile Data/Information out of the Library
{
"name": "knx_switch",
"capabilities": [
"knx_level"
]
}
{
"name": "sonos"
}
Get Library Index Data/Information
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Library Index Data/Information
{
"name": "KNX"
}
SocketIOFileUpload Set/Upload License Key File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
(Version 0.1.8 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Upload License Key File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
var uploader = new SocketIOFileUpload(socket);
uploader.listenOnInput(document.getElementById("licenseUploadInput"));
uploader.maxFileSize = 706;
uploader.addEventListener('error', function(data) {
if(data.code === 1) {
console.log("File size error");
}
});
uploader.addEventListener('progress', function(event) {
console.log(parseInt(event.bytesLoaded / event.file.size * 100) + '%');
});
uploader.addEventListener('complete', function(event) {
if(event.detail.error === false) {
// Success
window.location.reload();
} else {
// Error
}
});
uploader.addEventListener('start', function(event) {
event.file.meta.type = 'keyfile';
});
Get License Configuration/Information
(Version 0.2.19)
Available only on servers:
Accepts the following message:
Empty message
{}
Add a Link
(Version 0.2.56 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Add a Link
{
"name": "Third Link",
"url": "http://www.example-link3.com",
"icon": "bookmark"
}
Get Links
(Version 0.2.56 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Get Links
{
"sortBy": [
"name",
"created"
]
}
Event Update when a new Link has been added
(Version 0.2.56 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a new Link has been added
{
"id": 3,
"name": "Third Link",
"url": "http://www.example-link3.com",
"icon": "bookmark",
"forceFullscreen": true
}
Event Update when a Link has been removed
(Version 0.2.56 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Link has been removed
{
"id": 1
}
Event Update when a Link has been updated
(Version 0.2.56 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Event Update when a Link has been updated
{
"id": 1
}
Remove a Link
(Version 0.2.56 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Remove a Link
{
"id": 3
}
Set/Update a Link
(Version 0.2.56 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Set/Update a Link
{
"id": 1,
"name": "Third Link",
"url": "http://www.example-link3.com",
"icon": "bookmark"
}
Disabling Data Logging for a particular Component Property
(Version 0.2.5 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Disabling Data Logging for a particular Component Property
{
"cid": "C10",
"property": "state"
}
Enabling Data Logging for a particular Component Property
(Version 0.2.47 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Enabling Data Logging for a particular Component Property
{
"cid": "C10",
"property": "state",
"samplingRate": 5,
"color": "237,33,84"
}
Get Logging Settings for all enabled Components
(Version 0.2.47)
Available only on servers:
Accepts the following message:
Empty message
{}
Get Data Log for a particular Component Property
(Version 0.2.84)
Available only on servers:
Accepts the following message:
Payload: Get Data Log for a particular Component Property
{
"cid": "C10",
"property": "state"
}
{
"cid": "C10",
"property": "state",
"aggregation": "daily",
"from": 1469431719634
}
{
"cid": "C10",
"property": "state",
"aggregation": "monthly",
"from": "Mon Jul 25 2016 09:28:39 GMT+0200 (CEST)"
}
{
"cid": "C10",
"property": "state",
"from": "Mon Jul 25 2015 00:00:00 GMT+0200 (CEST)",
"to": "Mon Jul 25 2016 23:59:59 GMT+0200 (CEST)",
"limit": 10000
}
Get Logging enabled Component Settings
(Version 0.2.47)
Available only on servers:
Accepts the following message:
Payload: Get Logging enabled Component Settings
{
"cid": "C10"
}
Completely delete/reset Data Log for a particular Component Property
(Version 0.2.5 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Completely delete/reset Data Log for a particular Component Property
{
"cid": "C10",
"property": "state"
}
SocketIOFileUpload Import Lutron Project File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
(Version 0.2.38 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Import Lutron Project File with the Help of SocketIOFileUpload Library (see SocketIOFileUpload for more Information)
var uploader = new SocketIOFileUpload(socket);
uploader.listenOnInput(document.getElementById("lutronImportInput"));
uploader.addEventListener('error', function(data) {
if(data.code === 1) {
console.log("File size error");
}
});
uploader.addEventListener('progress', function(event) {
console.log(parseInt(event.bytesLoaded / event.file.size * 100) + '%');
});
uploader.addEventListener('complete', function(event) {
if(event.detail.error === false) {
// Success
window.location.reload();
} else {
// Error
}
});
uploader.addEventListener('start', function(event) {
event.file.meta.type = 'lutron';
event.file.meta.host = '192.168.1.200';
event.file.meta.username = 'lutron';
event.file.meta.password = 'integration';
});
Download a Lutron Project
(Version 0.2.38 | admin User Permission needed)
Available only on servers:
Accepts the following message:
Payload: Download a Lutron Project
{