2. Lemonbeat smart Device Language (LsDL)
RWE is first mover in SmartHome. Based on this, Lemonbeat was created as a follow up technology in this
area. Our practical experience was helpful to overcome known limitations.
This new approach has a lot of opportunities above the previous technic. It can support a very large spread
of use cases in different industries.
LsDL is a generic approach on application level. We believe that LsDL connect all devices in the Web of
things with each other. In short:
Each device can explain itself and describe its own values.
New devices are immediately identified and integrated into the network.
New devices can be integrated without any supporting information. The units are self-
explanatory through LsDL.
The status of each device is permanently observed. A status change immediately triggers a
defined follow-up activity. Activities can be automated.
Device behavior can be changed during runtime.
2
3. Content of the demonstration
What we want to present
Discovery and inclusion of a device - Request of value description
3 examples of a traffic light device
Configuration values and services for each example
Virtual Values
Calculation
Actions
State machines
Timer
Running
All transactions are transparent through using Wireshark – you can see the complete flow of data
3
4. Functionality of state machines in LsDL
4
red
yellow
green
C4: V11 == 1
A2: red = 0, green = 1
V11 = (V11 + 1) % 3
A device can support virtual values,
which are values that can be configured
externally. These values can be used
as a variable when doing complex
calculations and state machines.
Calc. 1
Calc. 2
C3: P2.V1 == 1
A1: V11=C2
C5: V11 == 2
A3: yellow = 1,green = 0
C6: V11 == 0
A4: red = 1, yellow = 0
5. Functionality of state machines in LsDL
5
red
yellow
green
C4: V11 == 1
A2: yellow = 1
V11 = (V11 + 1) % 4
To change functionality,
states, actions and calculations
can be added or removed
Calc. 1
Calc. 2
C3: P2.V1 == 1
A1: V11=C2
C5: V11 == 3
A3: yellow = 1,green = 0
C6: V11 == 0
A4: red = 1, yellow = 0
red &
yellow
C4: V11 == 2
A2: red = 0, yellow = 0,
green = 1
6. Functionality of state machines in LsDL
6
red
yellow
green
C4: V11 == 1
A2: yellow = 1
V11 = (V11 + 1) % 4
Calc. 1
Calc. 2
C3: P2.V1 == 1
A1: V11=C2
C5: V11 == 3
A3: yellow = 1,green = 0
start T1
C6: V11 == 0
A4: red = 1, yellow = 0
stop T1, stop T2
red &
yellow
C7: V11 == 2
A5: red = 0, yellow = 0,
green = 1
T1: in 500 ms execute : A6
A6: yellow = 0, start T2
T2: in 500 ms execute : A7
A7: yellow = 1, start T1
Timers are in milli seconds,
after a timer is expired, it can
execute an action