OH2 - JointSPACE binding

Hello

I have been trying to integrate my Philips TV with HO2, and after all the configuration guides that i read , it seems that the configuration syntax doesnt match the format used bt OH2.

Links that i used:

http://docs.openhab.org/configuration/items.html
http://docs.openhab.org/configuration/things.html
http://docs.openhab.org/addons/bindings/jointspace1/readme.html

I was able to add the items in the item file, but was unable to match the items to a thing.

Does anyone ever tried to configure a jointSPACE bind in OH2?

Best regards,

Hi Ivan

I have the jointSpace binding working under OH2 satisfactory.

Did you install the jointSpace binding in the Paper UI under Addons -> Bindings?

These are my items, in jointspace.items:

/*Philips TV & JointSpace Binding */
Switch MuteSwitch		"Mute TV" 			<mute> 		(gJointspace) 	{ jointspace="ON:key.Mute, OFF:key.Mute, POLL:volume.mute" }
Dimmer VolumeTV			"Volume TV [%.1f]" 	<speaker> 	(gJointspace) 	{ jointspace="*:volume" }
Number VolumeTV_Poll	"Poll volume"   	<speaker> 	(gJointspace) 	{ jointspace="POLL:volume" }
Switch StandbyTV 		"Switch TV off" 	<switch> 	(gJointspace) 	{ jointspace="OFF:key.Standby", autoupdate="false" }
String CurrentSource	"Source [%s]" 		<television> (gJointspace) 	{ jointspace="POLL:source" }
Number SetSource 		"Watch:" 			<television> (gJointspace) 	{ jointspace="1:source.tv, 2:source.hdmi1, 3:source.hdmi2, 4:source.hdmi3, 5:source.hdmiside" }

This is my ‘joinstpace.cfg’ file in the folder services:

################################# JointSpace #############################################
#

# Timeout - or 'refresh interval', in milliseconds, of the worker thread. 
# Used for polling. 
refreshinterval=5000

# Ip of the jointspace enabled device
ip = 192.168.5.35

# Port of the jointspace API. Defaults to 1925
jointspace:port = 1925

And some examples from my sitemap:

Switch item=SetSource mappings=["2"="TV", "3"="Kodi", "4"="PS3"] 
Setpoint item=VolumeTV minValue=0 maxValue=60 step=5
Switch item=MuteSwitch    						
Switch item=StandbyTV mappings=["OFF"="TV Off"]

Did you see any error messages in your openhab.log file?

One last thing, you need to ‘activate’ the binding on your Philips TV by pressing certain keys: http://jointspace.sourceforge.net/download.html
Good luck!

1 Like

Many thanks! @Maurits28 , I’m new to openhab and didn’t have the sitemap created.

Created the sitemap and added the items, everything works now!

Many thanks again :smile:

1 Like