Intro: Haven’t placed the knx binding in debug to see what is going on yet… Just checking if anyone else has seen this until now.
TLDR: Since I upgrade my OH2 Snapshots regularly, I have seen that sometimes following a service restart, some Items which are bound to KNX 2 Channels and are configured with a readInterval are not getting updates. This issue is resolved if I restart the OH2 service.
- Platform information:
- Hardware: Laptop with Intel CPU i5-6200U, 8GB RAM, 1TB HDD
- OS: Linux Debian Jessie x64
- Java Runtime Environment: Oracle JVM x64 build 1.8.0_191-b12
- openHAB version: 2.4.0 Snapshot Build #1408
- Issue of the topic: The state of some Items (linked to Channels with readInterval) are not updated following a service restart
- Configurations:
Thing device PM30D01_C "3P Energy Meter Current" @ "KNX" [ address="1.1.32", fetch=false, pingInterval=600, readInterval=300 ]
{
Type number : Ch_CL1 "Channel CL1" [ ga="14.019:<3/1/1" ]
Type number : Ch_CL2 "Channel CL2" [ ga="14.019:<3/1/2" ]
Type number : Ch_CL3 "Channel CL3" [ ga="14.019:<3/1/3" ]
}
Thing device PM30D01_V "3P Energy Meter Voltage" @ "KNX" [ address="1.1.32", fetch=false, pingInterval=600, readInterval=300 ]
{
Type number : Ch_VL1N "Channel VL1N" [ ga="14.028:<3/2/1" ]
Type number : Ch_VL2N "Channel VL2N" [ ga="14.028:<3/2/2" ]
Type number : Ch_VL3N "Channel VL3N" [ ga="14.028:<3/2/3" ]
Type number : Ch_VL12 "Channel VL12" [ ga="14.028:<3/2/4" ]
Type number : Ch_VL23 "Channel VL23" [ ga="14.028:<3/2/5" ]
Type number : Ch_VL31 "Channel VL31" [ ga="14.028:<3/2/6" ]
}
Thing device PM30D01_P "3P Energy Meter Power" @ "KNX" [ address="1.1.32", fetch=false, pingInterval=600, readInterval=300 ]
{
Type number : Ch_ACPSum "Channel ACPSum" [ ga="14.056:<3/3/1" ]
Type number : Ch_ACPL1 "Channel ACPL1" [ ga="14.056:<3/3/2" ]
Type number : Ch_ACPL2 "Channel ACPL2" [ ga="14.056:<3/3/3" ]
Type number : Ch_ACPL3 "Channel ACPL3" [ ga="14.056:<3/3/4" ]
Type number : Ch_APPSum "Channel APPSum" [ ga="14.056:<3/3/5" ]
Type number : Ch_APPL1 "Channel APPL1" [ ga="14.056:<3/3/6" ]
Type number : Ch_APPL2 "Channel APPL2" [ ga="14.056:<3/3/7" ]
Type number : Ch_APPL3 "Channel APPL3" [ ga="14.056:<3/3/8" ]
Type number : Ch_RPSum "Channel RPSum" [ ga="14.056:<3/3/9" ]
Type number : Ch_RPL1 "Channel RPL1" [ ga="14.056:<3/3/10" ]
Type number : Ch_RPL2 "Channel RPL2" [ ga="14.056:<3/3/11" ]
Type number : Ch_RPL3 "Channel RPL3" [ ga="14.056:<3/3/12" ]
Type number : Ch_PFSum "Channel PFSum" [ ga="14.056:<3/3/13" ]
Type number : Ch_PFL1 "Channel PFL1" [ ga="14.056:<3/3/14" ]
Type number : Ch_PFL2 "Channel PFL2" [ ga="14.056:<3/3/15" ]
Type number : Ch_PFL3 "Channel PFL3" [ ga="14.056:<3/3/16" ]
}
Thing device PM30D01_E "3P Energy Meter Energy" @ "KNX" [ address="1.1.32", fetch=false, pingInterval=600, readInterval=300 ]
{
Type number : Ch_AEISum "Channel AEISum" [ ga="13.010:<3/4/1" ]
Type number : Ch_AEIL1 "Channel AEIL1" [ ga="13.010:<3/4/2" ]
Type number : Ch_AEIL2 "Channel AEIL2" [ ga="13.010:<3/4/3" ]
Type number : Ch_AEIL3 "Channel AEIL3" [ ga="13.010:<3/4/4" ]
Type number : Ch_AEESum "Channel AEESum" [ ga="13.010:<3/4/5" ]
Type number : Ch_AEEL1 "Channel AEEL1" [ ga="13.010:<3/4/6" ]
Type number : Ch_AEEL2 "Channel AEEL2" [ ga="13.010:<3/4/7" ]
Type number : Ch_AEEL3 "Channel AEEL3" [ ga="13.010:<3/4/8" ]
Type number : Ch_REISum "Channel REISum" [ ga="13.012:<3/4/9" ]
Type number : Ch_REIL1 "Channel REIL1" [ ga="13.012:<3/4/10" ]
Type number : Ch_REIL2 "Channel REIL2" [ ga="13.012:<3/4/11" ]
Type number : Ch_REIL3 "Channel REIL3" [ ga="13.012:<3/4/12" ]
Type number : Ch_REESum "Channel REESum" [ ga="13.012:<3/4/13" ]
Type number : Ch_REEL1 "Channel REEL1" [ ga="13.012:<3/4/14" ]
Type number : Ch_REEL2 "Channel REEL2" [ ga="13.012:<3/4/15" ]
Type number : Ch_REEL3 "Channel REEL3" [ ga="13.012:<3/4/16" ]
}
Thing device PM30D01_F "3P Energy Meter Frequency" @ "KNX" [ address="1.1.32", fetch=false, pingInterval=600, readInterval=300 ]
{
Type number : Ch_FR "Channel FR" [ ga="14.033:<3/5/1" ]
}
/* Eelectron Three Phase Energy Meter PM30D01 KNX */
/* Current Measurement */
Number CL1 "Current Phase 1 [%.4f A]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_C:Ch_CL1" }
Number CL2 "Current Phase 2 [%.4f A]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_C:Ch_CL2" }
Number CL3 "Current Phase 3 [%.4f A]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_C:Ch_CL3" }
/* Voltage Measurement */
Number VL1N "L1-N Voltage [%.2f V]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_V:Ch_VL1N" }
Number VL2N "L2-N Voltage [%.2f V]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_V:Ch_VL2N" }
Number VL3N "L3-N Voltage [%.2f V]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_V:Ch_VL3N" }
Number VL12 "L1-2 Voltage [%.2f V]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_V:Ch_VL12" }
Number VL23 "L2-3 Voltage [%.2f V]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_V:Ch_VL23" }
Number VL31 "L3-1 Voltage [%.2f V]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_V:Ch_VL31" }
/* Power Measurement */
Number ACPSum "Active Power Sum [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_ACPSum" }
Number ACPL1 "Active Power L1 [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_ACPL1" }
Number ACPL2 "Active Power L2 [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_ACPL2" }
Number ACPL3 "Active Power L3 [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_ACPL3" }
Number APPSum "Apparent Power Sum [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_APPSum" }
Number APPL1 "Apparent Power L1 [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_APPL1" }
Number APPL2 "Apparent Power L2 [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_APPL2" }
Number APPL3 "Apparent Power L3 [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_APPL3" }
Number RPSum "Reactive Power Sum [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_RPSum" }
Number RPL1 "Reactive Power L1 [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_RPL1" }
Number RPL2 "Reactive Power L2 [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_RPL2" }
Number RPL3 "Reactive Power L3 [%.2f W]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_RPL3" }
Number PFSum "Power Factor Sum [%.2f cos Φ]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_PFSum" }
Number PFL1 "Power Factor L1 [%.2f cos Φ]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_PFL1" }
Number PFL2 "Power Factor L2 [%.2f cos Φ]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_PFL2" }
Number PFL3 "Power Factor L3 [%.2f cos Φ]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_P:Ch_PFL3" }
/* Energy Measurement */
Number AEISum "Active Energy Imported Sum [%.2f Wh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_AEISum" }
Number AEIL1 "Active Energy Imported L1 [%.2f Wh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_AEIL1" }
Number AEIL2 "Active Energy Imported L2 [%.2f Wh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_AEIL2" }
Number AEIL3 "Active Energy Imported L3 [%.2f Wh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_AEIL3" }
Number AEESum "Active Energy Exported Sum [%.2f Wh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_AEESum" }
Number AEEL1 "Active Energy Exported L1 [%.2f Wh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_AEEL1" }
Number AEEL2 "Active Energy Exported L2 [%.2f Wh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_AEEL2" }
Number AEEL3 "Active Energy Exported L3 [%.2f Wh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_AEEL3" }
Number REISum "Reactive Energy Imported S [%.2f VARh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_REISum" }
Number REIL1 "Reactive Energy Imported L1 [%.2f VARh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_REIL1" }
Number REIL2 "Reactive Energy Imported L2 [%.2f VARh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_REIL2" }
Number REIL3 "Reactive Energy Imported L3 [%.2f VARh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_REIL3" }
Number REESum "Reactive Energy Exported S [%.2f VARh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_REESum" }
Number REEL1 "Reactive Energy Exported L1 [%.2f VARh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_REEL1" }
Number REEL2 "Reactive Energy Exported L2 [%.2f VARh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_REEL2" }
Number REEL3 "Reactive Energy Exported L3 [%.2f VARh]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_E:Ch_REEL3" }
/* Frequency Measurement */
Number FR "Frequency [%.2f Hz]" <energy> (gEnergy) { channel="knx:device:GIRA2167:PM30D01_F:Ch_FR" }
- If logs where generated please post these here using code fences:
Collecting logs now. So far, I have no ERRORs and/or WARNs… all look clean on INFO log level.
Screenshot of Grafana showing the issue: