Hi David,
added lines to openhab.cfg as described above and used your sitemap and items file with no changes. The jar file i did into the addon folder.
Binding got loaded as per debug log file correctly:
12:59:08.087 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'jointspace.items'
12:59:12.901 DEBUG o.o.m.i.i.GenericItemProvider[:133] - Read items from model 'jointspace.items'
12:59:13.274 DEBUG o.o.m.i.i.GenericItemProvider[:133] - Read items from model 'jointspace.items'
12:59:35.105 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'jointspace.sitemap'
13:00:11.365 DEBUG o.o.b.j.i.JointSpaceActivator[:34] - JointSpace binding has been started.
13:00:11.442 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'MuteSwitch (Type=SwitchItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.450 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'VolumeTV (Type=DimmerItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.455 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'ActivateAmbilight (Type=SwitchItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.465 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'Ambilight_mode (Type=NumberItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.471 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'AmbilightAll (Type=ColorItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.477 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'AmbilightLeft (Type=ColorItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.490 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'AmbilightRight (Type=ColorItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.507 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'AmbilightPixelLeft (Type=ColorItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.514 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'Standby (Type=SwitchItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.527 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'VolumeUpDown (Type=SwitchItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.533 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'ChannelStep (Type=SwitchItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.557 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'AmbilightOnOff (Type=SwitchItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.563 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'Source (Type=SwitchItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.568 DEBUG o.o.m.i.i.GenericItemProvider[:334] - Start processing binding configuration of Item 'PlayPause (Type=SwitchItem, State=Uninitialized)' with 'JointSpaceGenericBindingProvider' reader.
13:00:11.660 INFO o.o.c.s.AbstractActiveService[:169] - JointSpace Refresh Service has been started
but a connection could not be established it seems that the binding is always trying to connect on port '0':
13:00:11.666 DEBUG o.o.b.j.i.JointSpaceBinding[:116] - Checking if host is available
13:00:12.679 DEBUG o.o.b.j.i.JointSpaceBinding[:128] - couldn't establish network connection [host '192.168.0.72' port '0' timeout '1000']
even removing the # in the config file and actively setting the port to 1925 has no effect.
my config extract:
################################# JointSpace #############################################
#
# Timeout - or 'refresh interval', in milliseconds, of the worker thread.
# Used for polling.
jointspace:refreshinterval=5000
# Ip of the jointspace enabled device
jointspace:ip = 192.168.0.72
# Port of the jointspace API. Defaults to 1925
jointspace:port = 1925
the commands are reaching OH:
13:00:26.684 DEBUG o.o.i.r.i.r.SitemapResource[:138] - Received HTTP GET request at 'sitemaps/jointspace/jointspace' for media type 'null'.
13:00:28.034 DEBUG o.o.b.j.i.JointSpaceBinding[:234] - Received command (item='Standby', state='ON', class='class org.openhab.core.library.types.OnOffType')
Any idea?
TV state is visible using networkhealth binding to check if on or off.
Cheers
Karsten