Skip to content

Souliss Binding ​

Souliss is a networking framework for Arduino and compatible boards, designed to let you easily build a smart home distributed over multiple boards via Ethernet, Wi‑Fi, wireless point‑to‑point, and RS‑485 bus.

Souliss is an open-source and community-driven project. You can use the Souliss Wiki documentation and Souliss Community Page on GitHub to get help and share your results.

Prerequisites ​

The binding requires a deployed network. As a minimum, you need one Souliss node with Ethernet or Wi‑Fi access configured as a Souliss Gateway. A gateway is a special node that is able to communicate with user interfaces. The binding interacts as a user interface for Souliss.

Start with the Souliss Wiki documentation. It's best to begin with a single node and connect using SoulissApp. The networking code of this binding is based on the SoulissApp documentation, so once you're connected with SoulissApp, you can move to openHAB directly.

You can use SoulissApp and the Souliss binding at the same time, generally up to five user interfaces simultaneously by default (this can be increased).

Sketches ​

The easiest way is to start with a simple example to control an ON/OFF light (through a relay).

See the Souliss GitHub project for many example sketches in the Examples directory.

Discovery ​

First add a gateway (only one gateway on the LAN is supported at a time), then discovery can find other things (Souliss Typicals).

Supported Things ​

In the Souliss framework, a Typical is a predefined logic block for smart‑home functions such as lights, heating, or anti‑theft.

Typicals can be one of T11, T12, T13, T14, etc., as defined in the Souliss Wiki Typicals documentation.

Typicals map directly to openHAB Thing types.

Device typeTypical CodeThing type
ON/OFF Digital Output with Timer OptionT11t11
ON/OFF Digital Output with AUTO modeT12t12
Digital Input ValueT13t13
Pulse Digital OutputT14t14
RGB LED StripT16t16
ON/OFF Digital OutputT18t18
Single Color LED StripT19t19
Digital Input Pass ThroughT1At1A
Motorized devices with limit switchesT21t21
Motorized devices with limit switches and middle positionT22t22
Temperature controlT31t31
Anti-theft integration (Main)T41t41
Anti-theft integration (Peer)T42t42
Analog input, half-precision floating pointT51t51
Temperature measure (-20, +50) °CT52t52
Humidity measure (0, 100) %T53t53
Light Sensor (0, 40) kLuxT54t54
Voltage (0, 400) VT55t55
Current (0, 25) AT56t56
Power (0, 6500) WT57t57
Pressure measure (0, 1500) hPaT58t58
Analog SetpointT61t61
Analog Setpoint-Temperature measure (-20, +50) °CT62t62
Analog Setpoint-Humidity measure (0, 100) %T63t63
Analog Setpoint-Light Sensor (0, 40) kLuxT64t64
Analog Setpoint-Voltage (0, 400) VT65t65
Analog Setpoint-Current (0, 25) AT66t66
Analog Setpoint-Power (0, 6500) WT67t67
Analog Setpoint-Pressure measure (0, 1500) hPaT68t68
Broadcast messagesAction Messagetopic

Channels ​

The following matrix lists the capabilities (channels) for each type:

Thing type / ChannelSwitch / onOffSwitch / sleepDateTime / lastStatusStoredNumber / healthySwitch / autoModeContact / stateOnOffContact / stateOpenCloseSwitch / pulseSwitch / whiteModeRollershutter / rollerBrightnessDimmer / dimmerBrightnessColor / ledColorSwitch / oneSwitch / twoSwitch / threeSwitch / fourSwitch / fiveSwitch / sixSwitch / sevenSwitch / eight
t11xxxx
t12xxxx
t13xxxx
t14xxx
t16xxxxxxxx
t18xxx
t19xxxxxx
t1Axxxxxxxxxx
Thing type / ChannelDateTime / lastStatusStoredNumber / healthyRollershutter / rollerShutter(see below) / rollerShutterState(see below) / mode(see below) / fanSwitch / statusNumber / setPointSwitch / setAsMeasuredSwitch / measuredSwitch / statusAlarmSwitch / onOffAlarmSwitch / rearmAlarm
t21xxxx
t22xxxx
t31xxxxxxxx
t41xxxxx
t42xxxx

rollerShutterState = opening, stop, closing, limSwitchOpen, limSwitchClose, stateOpen, stateClose, NoLimSwitch

mode = COOLING_MODE, HEATING_MODE

fan = AUTO, HIGH, MEDIUM, LOW, FANOFF

Thing type / ChannelDateTime / lastStatusStoredNumber / healthyNumber / value
t51xxx
t52xxx
t53xxx
t54xxx
t55xxx
t56xxx
t57xxx
t58xxx
Thing type / ChannelDateTime / lastStatusStoredNumber / healthyNumber / value
t61xxx
t62xxx
t63xxx
t64xxx
t65xxx
t66xxx
t67xxx
t68xxx
topicxx

Parameters ​

Thing typeParameters Name and Default ValueDescription
GatewaygatewayLanAddress=""Mandatory – LAN IPv4 address of the gateway
"gatewayWanAddress=""(advanced) Hostname or IPv4 address for external access
"gatewayPortNumber=230(advanced) Gateway UDP port
"preferredLocalPortNumber=23000(advanced) Local UDP port (don't use 0; required when upgrading from 2.x)
"pingInterval=30s(advanced) Interval in seconds to check for device presence
"subscriptionInterval=30s(advanced) Interval in seconds to subscribe to the Souliss gateway
"healthyInterval=60s(advanced) Interval in seconds to send node health
"sendInterval=30ms(advanced) Interval in milliseconds between queued packet sends
"timeoutToRequeue=5000ms(advanced) Requeue timeout in milliseconds for unexecuted packets
"timeoutToRemovePacket=20000ms(advanced) Removal timeout in milliseconds for stale packets
"userIndex=70(advanced) Generally the default is fine; must differ from other UIs (e.g., SoulissApp)
"nodeIndex=120(advanced) Generally the default works well; must differ from other UIs (e.g., SoulissApp)
Txx (all)NodeNode of typical
Txx (all)SlotSlot of typical
T11sleep=5Set sleep timer in cycles
T11secureSend=trueEnsure command is correctly executed
T12
T13
T14
T16sleep=5Set sleep timer in cycles
T19sleep=5Set sleep timer in cycles
T1A
T21
T22
T31
T4x
T5x
T6x

Full Example ​

souliss.things:

dsl
Bridge souliss:gateway:105 "Souliss Gateway - 105" [gatewayLanAddress="192.168.1.105", gatewayPortNumber=230, pingInterval=30, subscriptionInterval=2, healthyInterval=38, userIndex=72, nodeIndex=38,  timeoutToRequeue=5000, timeoutToRemovePacket=20000]
{
Thing t14 1-6 "Portoncino"@"Rientro" [node=1,slot=6] //thing UID is named as node-slot only as mnemonic convention, but you are free to assign other values
Thing t14 1-7 "Cancello"@"Rientro" [node=1,slot=7]
Thing t57 1-4 "Consumo"@"Soggiorno" [node=1,slot=4]
Thing t57 4-0 "Fotovoltaico"@"Soggiorno" [node=4,slot=0]
Thing t57 4-6 "Pannelli Gruppo 1"@"Soggiorno" [node=4,slot=6]
Thing t57 4-8 "Pannelli Gruppo 2"@"Soggiorno" [node=4,slot=8]
Thing t52 4-10 "Temp.Pannelli Gruppo 1"@"Soggiorno" [node=4,slot=10]
Thing t52 4-12 "Temp.Pannelli Gruppo 2"@"Soggiorno" [node=4,slot=12]

Thing t52 3-0 "Temperatura Boiler Solare Termico" [node=3,slot=0]
Thing t52 3-2 "Temperatura Termocamino" [node=3,slot=2]
Thing t11 3-4 "Acqua Termocamino" [node=3,slot=4]
Thing t11 3-6 "Auto: Boiler / Termocamino" [node=3,slot=6]
Thing t31 3-7  "Acqua Auto: Boiler / Termocamino" [node=3,slot=7]

Thing t31 6-0 "Termostato Soggiorno"@"Soggiorno" [node=6,slot=0]
Thing t53 6-7 "Umidità"@"Soggiorno" [node=6,slot=7]
Thing t19 6-9 "Termostato Soggiorno - Luminosità"@"Soggiorno" [node=6,slot=9]

Thing t11 5-0 "Tettoia"@"Giardino"  [node=5,slot=0]

Thing t11 12-0 "Divano"@"Soggiorno" [node=12,slot=0,sleep=10, secureSend=false]

Thing t16 8-0 "LYT1" [node=8,slot=0]

Thing t11 10-0 "Albero di Natale" [node=10,slot=0]
Thing t11 11-0 "Birra"@"Soppalco" [node=11,slot=0]
Thing t52 11-1 "Birra - Temp 1"@"Soppalco" [node=11,slot=1]
Thing t52 11-3 "Birra - Temp 2"@"Soppalco" [node=11,slot=3]
}

Enter your gateway IP address; you can leave the other parameters at their default values.

default.items:

dsl
Group    Home                 "Tonino"        <house>

Group    FamilyRoom           "Soggiorno"     <parents_2_4>   (Home)
Group    Divano               "Divano"        (Home)
Group    Outside              "Esterno"   <garden>   (Home)
Group    TV                   "TV"   <television>   (Home)
Group    Elettricita
Group    Diagnostic
Group    TermostatoSoggiorno

Switch   tettoia                "Tettoia"                                   <light>     (Outside)   ["Lighting"]    {autoupdate="false", channel="souliss:t11:105:5-0:onOff"}
String   tettoia_aggiornamento  "Agg [%1$td.%1$tm.%1$tY %1$tk:%1$tM:%1$tS]" <keyring>   (Outside, Diagnostic)       {channel="souliss:t11:105:5-0:lastStatusStored"}

Switch   portoncino             "Portoncino"            <light>         (FamilyRoom)         ["Lighting"]   {autoupdate="false",channel="souliss:t14:105:1-6:pulse"}
Switch   cancello               "Cancello"              <light>         (FamilyRoom)         ["Lighting"]   {autoupdate="false",channel="souliss:t14:105:1-7:pulse"}

Number   FamilyRoom_Temperature   "Temperatura [%.1f °C]"                       <temperature>   (FamilyRoom)              {channel="souliss:t31:105:6-0:measured"}
Number   FamilyRoom_Humidity      "Umidità [%.1f %%]"                           <humidity>      (FamilyRoom)              {channel="souliss:t53:105:6-7:value"}
String   AggiornamentoNodo6       "Agg [%1$td.%1$tm.%1$tY %1$tk:%1$tM:%1$tS]"   <keyring>       (FamilyRoom, Diagnostic)  {channel="souliss:t31:105:6-0:lastStatusStored"}

Number   Consumo            "Consumo [%.1f W]"                                          <energy>  (FamilyRoom, Elettricita)              {channel="souliss:t57:105:1-4:value"}
Number   Fotovoltaico       "Fotovoltaico [%.1f W]"                                     <energy>  (FamilyRoom, Elettricita)              {channel="souliss:t57:105:4-0:value"}
String   AggiornamentoNodo1 "Agg.Consumi [%1$td.%1$tm.%1$tY %1$tk:%1$tM:%1$tS]"         <keyring> (FamilyRoom, Elettricita, Diagnostic)  {channel="souliss:t57:105:1-4:lastStatusStored"}
String   AggiornamentoNodo4 "Agg.Fotovoltaico [%1$td.%1$tm.%1$tY %1$tk:%1$tM:%1$tS]"    <keyring> (FamilyRoom, Elettricita, Diagnostic)  {channel="souliss:t57:105:4-0:lastStatusStored"}

Switch divano               "Divano"                                        <light> (FamilyRoom, Divano ) ["Switchable"]    {autoupdate="false", channel="souliss:t11:105:12-0:onOff"}
String divano_aggiornamento "Agg. [%1$td.%1$tm.%1$tY %1$tk:%1$tM:%1$tS]"    <keyring> (FamilyRoom, Divano, Diagnostic)      {channel="souliss:t11:105:12-0:lastStatusStored"}
String divano_healthy       "Salute"                                        <keyring> (FamilyRoom, Divano, Diagnostic)      {channel="souliss:t11:105:12-0:healthy"}

Number termostatosoggiorno_temperatura  "Temperatura [%.1f °C]" <temperature>   (TermostatoSoggiorno) {channel="souliss:t31:105:6-0:measured"}
Number termostatosoggiorno_umidita      "Umidità [%.1f %%]"     <temperature>   (TermostatoSoggiorno) {channel="souliss:t53:105:6-7:value" }

Number termostatosoggiorno_umidita "Umidità" <humidity>   (TermostatoSoggiorno)  {channel="souliss:t53:105:6-7:value" }

Number termostatosoggiorno_temperatura      "Temperatura"                   <temperature>   (TermostatoSoggiorno) {channel="souliss:t31:105:6-0:measured"}
Number termostatosoggiorno_setpoint         "Regola Set Point [%.1f °c]"    <heating>       (TermostatoSoggiorno) {autoupdate="false", channel="souliss:t31:105:6-0:setPoint"}
Switch termostatosoggiorno_setasmeasured    "Set temp. attuale"             <heating>       (TermostatoSoggiorno) {channel="souliss:t31:105:6-0:setAsMeasured"}
String termostatosoggiorno_modo             "Modo"                                          (TermostatoSoggiorno) {autoupdate="false", channel="souliss:t31:105:6-0:mode"}
Switch termostatosoggiorno_power            "Termostato"                    <powerIcon>     (TermostatoSoggiorno) {channel="souliss:t31:105:6-0:system"}
Switch termostatosoggiorno_fire             "Fire"                          <fire>          (TermostatoSoggiorno) {channel="souliss:t31:105:6-0:fire"}

Dimmer  TermostatoSoggiorno_displayBright   "Lumin.min. display"                                    (TermostatoSoggiorno)               {channel="souliss:t19:105:6-9:dimmerBrightness"}
String TermostatoSoggiorno_aggiornamento    "Agg.[%1$td.%1$tm.%1$tY %1$tk:%1$tM:%1$tS]" <keyring>   (TermostatoSoggiorno, Diagnostic)   {channel="souliss:t31:105:6-0:lastStatusStored"}
Number TermostatoSoggiorno_healthy          "Salute"                                    <keyring>   (TermostatoSoggiorno, Diagnostic )  {channel="souliss:t31:105:6-0:healthy"}

default.sitemaps:

dsl
sitemap default label="Tonino" {
    Frame {
        Text label="Rientro casa" icon="light" {
           Switch item=portoncino mappings=[ON="Apri"]
           Switch item=cancello mappings=[ON="Apri"]
        }
    }

 Frame {
        Group item=Outside
    }

Text item=Consumo label="Consumo [%.1f W]"
Text item=Fotovoltaico label="Fotovoltaico [%.1f W]"

Frame {

        Group item=Elettricita label="Elettricità" icon="energy"
}

Frame {
       Group item=Divano icon="light"
}

Frame label="Temperature"{

            Text label="Temperatura e umidità" icon="temperature" {
            Default item=FamilyRoom_Temperature label="Temperatura"
            Default item=FamilyRoom_Humidity label="Umidità"
            Default item=AggiornamentoNodo6 icon="icon16x16"

}

Text label="Termostato soggiorno" icon="temperature" {
            Setpoint item=termostatosoggiorno_setpoint step=0.5 minValue=10 maxValue=30
            Default item=termostatosoggiorno_temperatura
            Default item=termostatosoggiorno_umidita
            Switch item=termostatosoggiorno_setasmeasured mappings=[ON="Set"]
            Switch item=termostatosoggiorno_modo label="Heating Mode" mappings=[HEATING_MODE="Set"]
            Switch item=termostatosoggiorno_power label="Power On/Off"
            Default item=termostatosoggiorno_fire label="Fire"
            Text item=TermostatoSoggiorno_aggiornamento label="Aggiornato: [%1$td.%1$tm.%1$tY %1$tk:%1$tM:%1$tS]" icon="icon16x16"
            Default item=TermostatoSoggiorno_healthy
            Slider item=TermostatoSoggiorno_displayBright
   }
 }
}

Community ​

Souliss is a small community and does not have sufficient human resources to be very active on the official openHAB community.

Some popular forums:

Contribution ​

Official repository for contributing to the Souliss project: Souliss GitHub organization

Known issues ​

Secure send is currently enabled and tested only for T11...