HentschelT / openhab2-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 1.0
9 stars 3 forks source link

[EnphaseEnvoy] Polling of bridge and inverters is fixed at 15min intervals #15

Closed gtdiehl closed 5 years ago

gtdiehl commented 5 years ago

Expected Behavior

Setting the Scan Period in PaperUI for the Envoy Bridge Thing to 300 or 30 seconds, I expect the data for the Bridge and Inverters to be polled per the set Scan Period.

Current Behavior

Setting the Scan Period in PaperUI for the Envoy Bridge Thing to either 300 or 30 seconds, the data for the Envoy Bridge and Inverters are only updated every 15 minutes.

Possible Solution

Steps to Reproduce (for Bugs)

  1. Setup Enphase Envoy binding
  2. Add Bridge and Inverters
  3. Create Items for the Bridge and Inverters that are linked to the appropiate channels
  4. Open the Event.log
  5. Event updates are seen every 15minutes
  6. Change the Enphase Bridge configuration Scan Peroid in PaperUI from the default 300 seconds to 30 seconds
  7. Check the Event.log, the events for the Envoy Bridge and Inverters come in every 15 minutes

Event.log

2018-10-19 14:56:27.240 [vent.ItemStateChangedEvent] - EnphaseEnvoyBridgeWattsNow changed from 1796 to 1697 2018-10-19 14:56:27.254 [vent.ItemStateChangedEvent] - EnphaseEnvoyBridgeWattHrsTodayTotal changed from 9564 to 9989 2018-10-19 14:56:27.413 [vent.ItemStateChangedEvent] - EnphaseEnvoyBridgeInverter1 changed from 135 to 130 ..... [Removed other device info] 2018-10-19 15:11:27.830 [vent.ItemStateChangedEvent] - EnphaseEnvoyBridgeWattsNow changed from 1697 to 1578 2018-10-19 15:11:27.849 [vent.ItemStateChangedEvent] - EnphaseEnvoyBridgeWattHrsTodayTotal changed from 9989 to 10385 2018-10-19 15:11:27.987 [vent.ItemStateChangedEvent] - EnphaseEnvoyBridgeInverter1 changed from 130 to 122

Your Environment

gtdiehl commented 5 years ago

This is not an issue with the software, but a limitation of the Envoy-R hardware that the software is polling. The Enovy's production page http://ip/api/v1/production is only updated every 10 minutes or so.