Danfoss LC13 configuration

577 views
Skip to first unread message

Raymon

unread,
Feb 18, 2015, 5:44:23 AM2/18/15
to

I`m trying to figure out how to use the Danfoss LC13 in OpenHab (1.6.2) and i have found some examples but they are not working for me


First Attempt

Number LC13_1_SETPOINT   "Thermostat Setpoint [%d]"     (FF_Babykamer)  <heating> { zwave="27:command=THERMOSTAT_SETPOINT, respond_to_basic=true" }
Number LC13_1_BATT       "Thermostat Battery [%d]"      (FF_Babykamer)  <heating> { zwave="27:0:command=BATTERY, respond_to_basic=true" }

Second Attempt

Number LC13_1_SETPOINT "Thermostat Setpoint[%.1f °C" (FF_Babykamer) <heating> { zwave="27:command=thermostat_setpoint" }
Number LC13_1_BATT "Thermostat Battery [%d]" (FF_Babykamer) <heating> { zwave="27:command=battery" }

Result in the logfile

2015-02-14 11:34:34.510 [WARN ] [.z.internal.ZWaveActiveBinding] - No item bound for event from nodeId = 27, endpoint = 0, command class = THERMOSTAT_SETPOINT, value = 19, ignoring.
2015-02-14 11:34:34.812 [WARN ] [.z.internal.ZWaveActiveBinding] - No item bound for event from nodeId = 27, endpoint = 0, command class = BATTERY, value = 43, ignoring.








Martin Naughton

unread,
Feb 18, 2015, 5:49:59 PM2/18/15
to
you have the group and picture information in the wrong places. It did not parse these lines because of that. I just configured my one with this. I just changed to your node ID number.

Number LC13_1_SETPOINT   "Thermostat Setpoint [%d]"  <heating>  (zwave)  { zwave="27:0:command=THERMOSTAT_SETPOINT, respond_to_basic=true" }
Number LC13_1_BATT       "Thermostat Battery [%d]"   <heating > (zwave)  { zwave="27:0:command=BATTERY, respond_to_basic=true" }


this this to all in configurations/logback.xml and you will be able to see if your items loaded or not. You items where not loading because of that parsing problem
<logger name="org.openhab" level="ALL"/>
Message has been deleted

Martin Naughton

unread,
Feb 18, 2015, 7:10:10 PM2/18/15
to ope...@googlegroups.com
actaully this will solve it fully for you. Setpoint is a floating point number so %d will not work. and battery shows as percentage


Number LC13_1_SETPOINT   "Thermostat Setpoint [%.2f]"  <heating>  (zwave)  {zwave="27:0:command=thermostat_setpoint,respond_to_basic=true"}
Number LC13_1_BATT       "Thermostat Battery [%s %%]"   <heating>  (zwave)  {zwave="27:0:command=battery,respond_to_basic=true"}

Raymon

unread,
Feb 28, 2015, 5:41:04 PM2/28/15
to
I have changed my items file and although the Thermostat setpoint seems to be working, the battery value is not show in the items list of the sitemap

2015-02-28 23:32:47.958 [TRACE] [i.internal.GenericItemProvider] - Created item 'LC13_1_BATT' of type 'Number'
2015-02-28 23:32:47.958 [DEBUG] [i.internal.GenericItemProvider] - Start processing binding configuration of Item 'LC13_1_BATT (Type=NumberItem, State=Uninitialized)' with 'ZWaveGenericBindingProvider' reader.
2015-02-28 23:32:47.959 [TRACE] [.i.ZWaveGenericBindingProvider] - validateItemType(LC13_1_BATT, 27:0:command=battery,respond_to_basic=true)
2015-02-28 23:32:47.959 [TRACE] [.i.ZWaveGenericBindingProvider] - processBindingConfiguration(LC13_1_BATT, 27:0:command=battery,respond_to_basic=true)


2015-02-28 23:34:39.468 [TRACE] [i.internal.GenericItemProvider] - Created item 'LC13_1_BATT' of type 'Number'
2015-02-28 23:34:39.810 [DEBUG] [.p.internal.PersistenceManager] - Restored item state from 'Feb 28, 2015 11:11:00 PM' for item 'LC13_1_BATT' -> '40'
2015-02-28 23:36:37.396 [TRACE] [.b.z.i.c.ZWaveConverterHandler] - Getting converter for item = LC13_1_BATT, command class = BATTERY, item command class = battery
2015-02-28 23:36:37.450 [TRACE] [.b.z.i.c.ZWaveConverterHandler] - Getting converter for item = LC13_1_BATT, command class = THERMOSTAT_SETPOINT, item command class = battery
2015-02-28 23:36:37.643 [TRACE] [.b.z.i.c.ZWaveConverterHandler] - Getting converter for item = LC13_1_BATT, command class = BATTERY, item command class = battery
2015-02-28 23:36:37.771 [TRACE] [.b.z.i.c.ZWaveConverterHandler] - Getting converter for item = LC13_1_BATT, command class = THERMOSTAT_SETPOINT, item command class = battery
2015-02-28 23:36:39.260 [TRACE] [.b.z.i.c.ZWaveConverterHandler] - Getting converter for item = LC13_1_BATT, command class = BATTERY, item command class = battery


Holger Eisold

unread,
Mar 8, 2015, 6:47:39 AM3/8/15
to ope...@googlegroups.com
i´m using this which is working fine...

Number Temperature_OG_Wohn    "Wohnzimmer Heizung [%.1f °C]"  <heating> (Temperature, OG_Wohn) { zwave="4:command=thermostat_setpoint,setpoint_type=1,setpoint_scale=0" }
Number Wohnzimmer_Heizung_Batterie "Thermostat Battery [%d %%]"  (OG_Wohn)  { zwave="4:command=battery" }


Reply all
Reply to author
Forward
0 new messages