I would like to offer up working configuration file snippets. Most of mine are z-wave, so will make the topic for this post z-wave. There are various locations, blogs, wiki entries, but I think it would be nice to have a single thread of known working devices and their configurations. The markup allowed here should make this easy to read using the pre-formatted text blocks. The only ask is that these snippets be working copies that a new user could copy and paste, change necessary things like IDs and groups, and go.
update: Let’s also open new topics for discussion of any particulars in an effort to keep this list as clean as we can.
Here are my first entries:
//monoprice motion detector (ZP3102)
Contact OfficeMotion "office motion [MAP(motion.map):%s]" (ALL,motion,ff) {zwave="2:command=BASIC"}
Number OfficeMotionBattery "office motion battery [%d %%]" (ALL,battery) {zwave="2:command=BATTERY"}
Contact OfficeMotionTamper "office motion tamper [MAP(tamper.map):%s]" (ALL,tamper) {zwave="2:command=ALARM"}
Number OfficeMotionTemp "office temp [%.1f °F]" <temperature> (ALL,temperature,ff) {zwave="2:command=sensor_multilevel,sensor_type=1,sensor_scale=1" }
//Aeotec hidden door sensor (gen 5, DSB54)
Contact garagewalkin_1_sensor "garage walk-in [%s]" (ALL,ff,sensor) {zwave="3:command=BASIC"}
Number garagewalkin_1_battery "garage walk-in battery [%d %%]" <battery> (ALL,battery) {zwave="3:command=BATTERY"}
//Ecolink PIR motion detector
Contact EntryMotion "entry motion [MAP(motion.map):%s]" (ALL,motion,ff) {zwave="4:command=SENSOR_BINARY"}
Contact EntryMotionTamper "entry motion tamper [MAP(tamper.map):%s]" <battery> (ALL,tamper) {zwave="4:command=ALARM"}
Number EntryMotionBattery "entry motion battery [%d %%]" <battery> (ALL,battery) {zwave="4:command=BATTERY"}
//CT100 Thermostat
Number HVAC_HeatSetPoint "Heat Set [%.1f F]" <thermostat> (ALL,HVAC) {zwave="5:command=thermostat_setpoint,setpoint_type=1,setpoint_scale=1" }
Number HVAC_CoolSetPoint "Cool Set [%.1f F]" <thermostat> (ALL,HVAC) {zwave="5:command=thermostat_setpoint,setpoint_type=2,setpoint_scale=1" }
Number HVAC_Temperature "Thermostat temperature [%.1f °F]" <temperature> (ALL,HVAC,ff) {zwave="5:1:command=sensor_multilevel,sensor_type=1,refresh_interval=60"}
Number HVAC_Humidity "Thermostat humidity [%.1f %%]" <humidity> (ALL,HVAC,ff) {zwave="5:2:command=sensor_multilevel,sensor_type=5,refresh_interval=60"}
Number HVAC_Mode "Mode [MAP(thermostatMode.map):%s]" <climate> (ALL,HVAC) {zwave="5:command=thermostat_mode"}
Number HVAC_Fan_Mode "Fan Mode [MAP(thermostatFanMode.map):%s]" (ALL,HVAC) {zwave="5:command=thermostat_fan_mode"}
Number HVAC_Operating_State "Operation State [MAP(thermostatOpState.map):%s]" (ALL,HVAC) {zwave="5:command=thermostat_operating_state,refresh_interval=60"}
Number HVAC_Fan_State "Fan State [MAP(thermostatFanState.map):%s]" (ALL,HVAC) {zwave="5:command=thermostat_fan_state"}
Number HVAC_Battery "Thermostat battery [%d %%]" <battery> (ALL,HVAC,battery) {zwave="5:command=BATTERY"}
//Aeotec Smart Switch 6 (ZW096)
Switch Smart6 "Smart6 outlet" (ff,ALL,outlet) {zwave="6:command=switch_binary" }
Number Smart6_Power "Smart6 power [%.2f W]" (ALL,power) {zwave="6:command=meter,meter_scale=E_W" }
Number Smart6_Energy "Smart6 consumption [%.2f KWh]" (ALL,power) {zwave="6:command=meter,meter_scale=E_KWh" }
Number Smart6_Volts "Smart6 voltage [%.2f V]" (ALL,power) {zwave="6:command=meter,meter_scale=E_V"}
Number Smart6_Amps "Smart6 amperage [%.2f A]" (ALL,power) {zwave="6:command=meter,meter_scale=E_A"}