en o cean java api

13
Java API for EnOcean equipment with BSC-BAP-TX gateway Performed by: Istochnikov Vladimir Puyish Chand

Upload: piyush-chand

Post on 14-Jun-2015

843 views

Category:

Documents


1 download

DESCRIPTION

Developed network interface to control energy harvesting devices

TRANSCRIPT

Page 1: En O Cean Java Api

Java API for EnOcean equipment with BSC-BAP-TX

gateway

Performed by: Istochnikov Vladimir Puyish Chand

Page 2: En O Cean Java Api

2

Practical Framework

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

Page 3: En O Cean Java Api

3

BSC-BAP-TX Wireless Access Point/Gateway

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

LAN - Access Point for control of “embedded intelligence” products and other EnOcean compatible devices. Integration of up to 128 actuators and an optional number of transmitters that is compatible with EnOcean wireless technology per BAP.

• It can be integrated in an existing network infrastructure. • Visualization with SoftwareBSC- BoSe Pro is possible.• Connection with Power over Ethernet (PoE) is possible. • BSC - BAP is a low consumption device with max. < 0, 5 Watt only.

Source: [1]

Page 4: En O Cean Java Api

4

Used equipment

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

Wireless Actuator (FSR61NP)This wireless actuator is an impulse switch with integrated relay function and features state-of-the-art hybrid technology. It combines the wear-free receiver and evaluation electronics and a bistable relay with zero passage switching. By using a bistable relay coil power loss and heating is avoided even in the on mode.

Wireless Actuator (FSR61NP)wireless switch/push-button is used in the practical framework. The Wireless push-buttons with one rocker can transmit two evaluable signals: press rocker up and press rocker down.

Source: [2,4]

Page 5: En O Cean Java Api

5

Developed Java API Example

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

Page 6: En O Cean Java Api

6

Java API detailed: Ports

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

Port 2005

Port 2001/2100and 2003

Port 2002

Page 7: En O Cean Java Api

7

Java API detailed: Telegrams

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

Port 2005A BSC-BAP-TX gateway port to receive telegrams from the serverSent telegrams: -light on: a55a6b0550000000fff7089030-light off: a55a6b0500000000fff7089020Port 2001/2100 Server ports to establish connection with the BSC-BAP-TX gateway2003The server port to perform cyclic checking of the BSC-BAP-TX gateway readiness (gateway is sending „ready“ message)Port 2002The BSC-BAP-TX gateway port to receive control messages:-„byebye“ – disconnection-„reset“ – gateway restart

Page 8: En O Cean Java Api

8

EnOcean equipment telegrams detailed

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

Source: [6,7]

Page 9: En O Cean Java Api

9

Java API detailed: Telegrams

Light ON (Hex - Bin)

Light OFF (Hex - Bin)

a5 = 1010 0101 a5 = 1010 0101

5a = 0101 1010 5a = 0101 1010

6b = 011 01011 6b = 011 01011

05 = 0000 0101 05 = 0000 0101

50 = 0101 0000 00 = 0000 0000

00 = 0000 0000 00 = 0000 0000

00 = 0000 0000 00 = 0000 0000

00 = 0000 0000 00 = 0000 0000

ff = 1110 1110 ff = 1110 1110

f7 = 1110 0111 f7 = 1110 0111

09 = 0000 1001 09 = 0000 1001

08 = 0000 1000 08 = 0000 1000

30 = 0011 0000 20 = 0010 0000

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

Source: [6,7]

Page 10: En O Cean Java Api

10

Future Application

The Resource Adapter for EnOcean can provide us the opportunity to extend the support for EnOcean devices to the JSLEE (JAIN Service Logic Execution Environment), which is one of the known telecommunication developing environment.

Some examples for Value Added Services, with respect to EnOcean Resource Adapter and SIP Resource Adapter can be as follows:

1. Developing a Service, where a SIP based end user can control the EnOcean devices, like the wireless actuator.

2. Developing a Service, where a SIP based end user can monitor the energy consumption of the electrical devices, by using the wireless energy meter.

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

Source: [8]

Page 11: En O Cean Java Api

11

Conclusion

Implementing more and more energy harvesting devices and developing ways to control these devices can not only make our life much more convenient but, most importantly it can make an impact to the energy consumption which is one of the challenges that the world is facing.

V.Is

toch

nik

ov, P.

Chand

, Pro

ject

„Ja

va A

PI fo

r EnO

cean e

quip

ment

wit

h B

SC

-BA

P-T

X

gate

way“,

FH

Fra

nkfu

rt

Source: [8]

Page 12: En O Cean Java Api

12

References

[1] BSC-BAP-TX Wireless Access point: BSC-BAP Datasheet, issue date 21.08.07, available at http://www.enoceanalliance.org/uploads/tx_f03enocean/bsc_Produktdatenblatt-BAP.pdf[2]Wireless Actuator (FSR61NP): The Eltako Wireless System, 2011, available at http://www.eltako.com/fileadmin/downloads/en/_catalogue/wireless_system_high_res.pdf[3]Wireless single-phase energy Meter (FWZ12-16A): The Eltako Wireless System, 2011, available at http://www.eltako.com/fileadmin/downloads/en/_catalogue/wireless_system_high_res.pdf[4] Wireless switch/ Push-button (FT4F): The Eltako Wireless System, 2011, available at http://www.eltako.com/fileadmin/downloads/en/_catalogue/wireless_system_high_res.pdf[5] Motion/Brightness sensor (FBH55): The Eltako Wireless System, 2011, available at http://www.eltako.com/fileadmin/downloads/en/_catalogue/wireless_system_high_res.pdf[6]EnOcean Equipment Profiles (EEP) V2.0, July 2009, available at http://www.enoceanalliance.org/fileadmin/redaktion/enocean_alliance/pdf/EnOcean_Equipment_Profiles_2.0.pdf[7] TCM 120 Transceiver Module User Manual V1.53, August 2008, available at http://www.enocean.com/en/enocean_modules/TCM_120_User_Manual_V1.53_02.pdf[8] Implementing a JSLEE Resource Adaptor, A quick-starter’s guide, available at http://www.maretzke.de/pub/howtos/mobicents_ra/HowTo_Mobicents_RA_MiMa_v1.1_20051007.pdf

Page 13: En O Cean Java Api

THANK YOU FOR ATTENTION

“Any sufficiently advanced technology is indistinguishable from magic.”

Arthur C. Clarke, "Profiles of The Future", 1961 (Clarke's third law)English physicist & science fiction author (1917 - )