Sauter Vision Center (SVC) is the building management and supervision software of Sauter. The Weble IoT Universal Gateway Sauter Vision Center driver connects to an SVC server through its web API: it reads and writes the properties of the SVC objects, receives their changes by subscription (SignalR, change of value), imports the object list and exposes the active alarms of SVC as addresses.
Typical use: take values from a site supervised by SVC to a logger, a dashboard, the cloud or another protocol, write set points into SVC, or forward SVC alarms by SMS or e-mail.
This driver talks to an SVC server on the local network. It is not the Sauter cloud bridge described on the API driver page.
Driver key:
svc— listed as Sauter Vision Center under Building Automation in Gateway driver. Licence: required, contact support@weble.ch. Without it the gateway does not connect and its crash log reads missing license. Platforms: Linux and Windows.
80, or 443 for HTTPS).80 (or 443), and enter the Username and Password of the API user.Only Present-value (one address per object) or All properties. Read section 3.3 first: import also deletes addresses.With Import Addresses = none, insert the addresses you need in the Objects tab: Insert address, enter the Object name exactly as in SVC and choose the Property. The name is built for you, for example %SVC["Floor1_Temp"]["Present-value"]. Values arrive as soon as SVC reports a change.
Name, Cluster ID and Description are common to all drivers: see Gateways.
| Label | JSON key | Default | Description |
|---|---|---|---|
| Host | json.host |
192.168.1.99 |
SVC web server: host name or IP address, or a full http:// or https:// URL. An https:// URL switches the driver to HTTPS. |
| Port | json.port |
80 |
TCP port of the SVC web server. 443 switches the driver to HTTPS. |
| Username | json.username |
(empty) | SVC user for the API login. |
| Password | json.password |
(empty) | Password of this user. |
| Import Addresses | json.importAddresses |
none |
none: no import, you create the addresses. Only Present-value: one address per SVC object, for its present value. All properties: one address per object and per property of section 3.1. Runs at each start of the driver. |
| Has Alarms | json.alarms |
checked | Loads the active SVC alarms and creates the addresses of the Alarms tab (section 4). |
| Wait after login (ms) | json.waitAfterLogin |
0 |
Delay after the login before the gateway declares itself connected, for slow SVC servers. 0: none. |
| Alarm polling (ms) | json.alarmPolling |
0 |
Period of reload of the alarm list, at least 1000 ms. 0: the list is reloaded only when SVC signals a change. |
Changes to the gateway are applied when the driver restarts, which saving the gateway does. The driver renews its SVC session every hour.
{
"host": "svc.example.local",
"port": 80,
"username": "wbox-api",
"password": "********",
"importAddresses": "Present-value",
"alarms": true,
"waitAfterLogin": 0,
"alarmPolling": 0
}
importAddresses takes the values none, all or Present-value.
%SVC["<object name>"]["<property>"]
| Part | Meaning | Values |
|---|---|---|
<object name> |
Name of the object in SVC, exactly as in SVC. | Text, between double quotes |
<property> |
Property of the object (names of the BACnet properties). | Present-value, Object-name, Units, Object-type, Object-identifier, Description, Status-Flags, Event-State, Reliability, Out-of-service, Min-pres-value, Max-pres-value, Input-type, Priority-array, Relinquish-default, Output-Type, Polarity, Change-of-state-time, Change-of-state-count, Time-of-state-count-reset, Elapsed-active-time, Time-of-active-time-reset, Minimum-off-time, Minimum-on-time |
Examples:
%SVC["Floor1_Temp"]["Present-value"] — present value of object Floor1_Temp%SVC["AHU1_Setpoint"]["Present-value"] — a set point that can be written%SVC["Floor1_Temp"]["Units"] — unit of the same objectWhen the driver finds the object in SVC, it stores the SVC object ID and description in the address. An address whose object name does not exist in SVC gets no value (log unknown object).
| Label | JSON key | Default | Description |
|---|---|---|---|
| name | name |
The address, built from Object name and Property. | |
| description | description |
Filled with the SVC description of the object on import. | |
| log | log |
none |
See Log and Store value policies. |
There are two ways to create addresses from SVC:
; by default) and a Reference: start line,name column[,description column[,property column]], numbered from 1, 2,2 by default. Without a property column every address is a Present-value.Automatic import also deletes addresses. When Import Addresses is on, each start of the driver deletes the addresses of this gateway whose object is no longer in the SVC object list, and
Only Present-valuedeletes the other properties. Export the addresses before you enable it on a gateway that already has hand-made addresses.
| Property | Value |
|---|---|
| Readable | Yes — the value comes from the SVC subscription; a manual read asks SVC. |
| Writable | Yes — object addresses. A write sets the property in SVC at BACnet priority 8. Alarm addresses are read-only. |
| Created automatically | Object addresses: with Import Addresses. Alarm addresses: always, when Has Alarms is checked. |
| Routable | Yes |
| Loggable | Yes |
With Has Alarms checked, the Alarms tab shows the active alarms of SVC as read-only addresses, created and deleted by the driver as alarms come and go. The list is reloaded when SVC signals a change, and every Alarm polling (ms) if it is set.
| Address | Value |
|---|---|
%SVC_alarms["length"] |
Number of active alarms |
%SVC_alarms["length-ack"] |
Number of acknowledged alarms |
%SVC_alarms["length-no-ack"] |
Number of unacknowledged alarms |
%SVC_alarms["length-priority"][<n>] |
Number of alarms of priority n (also -ack and -no-ack variants) |
%SVC_alarms["length-class"][<n>] |
Number of alarms of notification class n (also -ack and -no-ack variants) |
%SVC_alarms[<i>] |
Alarm number i of the list (object with all its fields), from 0 |
%SVC_alarms[<i>]["<field>"] |
One field of alarm i, for example Message, Priority, NotificationClass, Acknowledged, DataObjectName, DataObjectDescription, DeviceName, FromState, ToState, LocalTimestamp |
The position <i> of an alarm changes when alarms appear or disappear: to react to a given alarm, use the counters or test the fields in a route function.
| Address | Purpose |
|---|---|
%SVC["Floor1_Temp"]["Present-value"] |
Room temperature; log it or route it to MQTT |
%SVC["AHU1_Setpoint"]["Present-value"] |
Set point written from a route, a dashboard or the logic module |
Route %SVC_alarms["length-no-ack"] to a route function that sends a message to an SMS or SMTP address when the value goes above 0.
| Symptom | Cause | What to do |
|---|---|---|
Gateway does not connect; crash log missing license |
No SVC licence on the gateway. | Contact support@weble.ch. |
Log svc authentication failed |
Wrong host, port, user name or password, or the user has no API right. | Check the credentials in SVC and on the gateway. |
Log config error: missing "host" (or username, password) |
A required field is empty. | Fill it in. |
Log signalr connection lost … restarting driver |
The subscription channel to SVC dropped. | The driver restarts by itself; check the network if it repeats. |
An address never gets a value; log unknown object |
The object name does not exist in SVC (spelling, case). | Correct the object name, or use the automatic import. |
| Write fails | The object or property cannot be written in SVC, or the API user has no write right. | Check the object in SVC and the rights of the user. |
| Addresses disappeared after a restart | Import Addresses is on and the objects are no longer in SVC. | See section 3.3. |
| Gateway is slow to become ready | Large object list or slow server. | Raise Wait after login (ms). |
To read the driver log: open the gateway log (see Gateways and Logs and diagnostics).