- Platform information:
- Hardware: Raspberry Pi 3
- OS: Raspbian GNU/Linux 8 (jessie)
- Java Runtime Environment: java version “1.8.0”, Java™ SE Runtime Environment (build 1.8.0-b132), Java HotSpot™ Client VM (build 25.0-b70, mixed mode)
- openHAB version: 2.2.0
- Issue of the topic: please be detailed explaining your issue
I recently upgraded from OpenHAB 1.8 to 2.2. I have a couple of Aeon Labs DSC06 Smart Switches (with power monitoring) as well as their whole-house energy meter (DSB09). After the upgrade, I can’t figure out how to read the watt (or any other power-related) value from the device (this worked perfectly in 1.8). I have every channel for both devices mapped to something in the Paper UI and some in text config files as well, but all the values are either 0 or NaN, even though I can see debug messages in the logs indicating the proper values are being sent from the devices. I think I’m missing something simple but I can’t figure out what it is.
- Please post configurations (if applicable):
Thing zwave:device:zstick:node6 "Dishwasher" (zwave:serial_zstick:zstick) [ node_id=6 ] # DSC06
Thing zwave:device:zstick:node2 "Washing Machine" (zwave:serial_zstick:zstick) [ node_id=2 ] # DSC06
Thing zwave:device:zstick:node4 "Dryer" (zwave:serial_zstick:zstick) [ node_id=4 ] # DSB09
/* laundry room appliances */
Switch Washing_Machine "Washing machine" (gLaundryAppliances) { channel = "zwave:device:zstick:node2:switch_binary" }
String strWashingMachineStatus "Washing Machine: [%s]" (gLaundryAppliances)
String strDryerStatus "Dryer: [%s]" (gLaundryAppliances)
Number Washing_Machine_Power "Washing machine power consumption [%.0f W]" (gLaundryAppliances,gEnergy) { channel = "zwave:device:zstick:node2:sensor_power" }
Number Dryer_Power "Dryer power consumption [%.0f W]" (gLaundryAppliances,gEnergy) { channel="zwave:device:zstick:node4:sensor_power" }
Group gKitchenAppliances (gAll)
/* Kitchen Appliances */
Switch Dishwasher "Dishwasher" (gKitchenAppliances) { channel = "zwave:device:zstick:node6:switch_binary"}
String strDishwasherStatus "Dishwasher: [%s]" (gKitchenAppliances)
Number DishwasherPower "Dishwasher power consumption [%.0f W]" (gKitchenAppliances,gEnergy) { channel = "zwave:device:zstick:node6:meter_watts" }
- Items configuration related to the issue
openhab> items list | grep -i zwave
zwave_device_zstick_node2_meter_watts (Type=NumberItem, State=NULL, Label=Electric Power Consumption, Category=Energy)
zwave_device_zstick_node2_meter_kwh (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node2_sensor_power (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node4_sensor_power (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node4_meter_kwh (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node4_meter_watts (Type=NumberItem, State=NULL, Label=Electric Power Consumption, Category=Energy)
zwave_device_zstick_node4_sensor_power1 (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node4_meter_kwh1 (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node4_meter_watts1 (Type=NumberItem, State=NULL, Label=Electric Power Consumption, Category=Energy)
zwave_device_zstick_node4_sensor_power2 (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node4_meter_kwh2 (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node4_meter_watts2 (Type=NumberItem, State=NULL, Label=Electric Power Consumption, Category=Energy)
zwave_device_zstick_node4_sensor_power3 (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node4_meter_kwh3 (Type=NumberItem, State=NULL, Label=Energy Consumption, Category=Energy)
zwave_device_zstick_node4_meter_watts3 (Type=NumberItem, State=NULL, Label=Electric Power Consumption, Category=Energy)
- Sitemap configuration related to the issue
- Rules code related to the issue
- Services configuration related to the issue
- If logs where generated please post these here using code fences:
2018-01-06 21:59:05.975 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 14 00 04 00 02 0E 32 02 21 74 00 00 33 29 07 08 00 01 4F F6 2B
2018-01-06 21:59:05.979 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
2018-01-06 21:59:05.981 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 14 00 04 00 02 0E 32 02 21 74 00 00 33 29 07 08 00 01 4F F6 2B
2018-01-06 21:59:05.983 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 14 00 04 00 02 0E 32 02 21 74 00 00 33 29 07 08 00 01 4F F6 2B
2018-01-06 21:59:05.986 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 02 0E 32 02 21 74 00 00 33 29 07 08 00 01 4F F6
2018-01-06 21:59:05.987 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 2: Application Command Request (ALIVE:DONE)
2018-01-06 21:59:05.989 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 2: Starting initialisation from DONE
2018-01-06 21:59:05.991 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@38e172 already registered
2018-01-06 21:59:05.992 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 2: Incoming command class METER
2018-01-06 21:59:05.994 [DEBUG] [.commandclass.ZWaveMeterCommandClass] - NODE 2: Received METER command V2
2018-01-06 21:59:05.996 [DEBUG] [.commandclass.ZWaveMeterCommandClass] - NODE 2: Meter: Type=Electric(1), Scale=W(2), Value=13.097
2018-01-06 21:59:05.997 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveMeterValueEvent