Hi,
may be of use = recently explored communicating with
openHAB (Home Automation) via the openHAB REST API - see
here and as part of my B4J HowTos Project Examples:
114. TinkerForge openHAB REST API Example IO-16 Bricklet (20160223) -
Download B4J Project.
The communication is basically done using the standard HTTP methods (with the B4J Libraries jhttputils2 and jhttp), e.g. define the URL and then httpjob.download (=get) and http.poststring or putstring. Use the jobdone event to work the result.