openhab / org.openhab.ui.habmin

HABmin - a graphical user interface for openHAB 2
231 stars 92 forks source link

habmin will not save a polling period for a device longer than 7200s #242

Closed xsnrg closed 7 years ago

xsnrg commented 7 years ago

pollingperiod

If I change this to any number over 7200 and refresh the page, the period is still 7200. Numbers under 7200 work as expected.

10:27:29.496 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 33: Configuration update received
10:27:29.497 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 33: Configuration update binding_pollperiod to 7300.0
10:27:29.497 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 33: Polling intialised at 7200 seconds - start in 7200000 milliseconds.

This is needed for the case of a device not checking in often (ZCOMBO) that also does not have the ability to set the wake interval. The wake interval is long on this device to preserve battery.

Today, with it set to 7200, this device fails to respond to polling and is marked dead. Perhaps raise the limit to 86400 which is one day?

I am having trouble seeing the intervals as the polling information only shows up in DEBUG, and due to the length between events, and the amount of log entries (properly so), the correlation is across very many large log files. I am continuing to try to find the proper interval.

cdjackson commented 7 years ago

Done (well, in the pipeline)...