Page 1 of 1

DHCP lease time in minutes

Posted: Fri Jan 12, 2018 4:57 am
by Indigo
i'm using DHCP lease times of 5 minutes for presence checking of devices/persons in my homeautomation system but in gargoyle webinterface you can only set a minimum leasetime of 1 hour.
i therefore edited the config file manually and everything works well - with the drawback that i cannot set static leases in webinterface anymore because webinterface says 0.083 hours leasetime is not permitted and i cannot save settings.

would it be possible to change this limitation in webinterface?

thanks ;)

Re: DHCP lease time in minutes

Posted: Fri Jan 12, 2018 5:59 am
by Lantis
Sure, i'll take a look at this one for you

Re: DHCP lease time in minutes

Posted: Mon Mar 26, 2018 4:16 am
by Indigo
has there been an implementation yet?

Re: DHCP lease time in minutes

Posted: Mon Mar 26, 2018 6:21 am
by Lantis
https://github.com/ericpaulbishop/gargoyle/pull/731

There is an as yet not merged body of work from another user which caters for this as far as i can tell.
Unfortunately it was pushed along with another change which Eric was unsure about and wanted to test/investigate more.

His efforts current sit with the next experimental release of Gargoyle rather than this change.

You may wish to look at making these changes locally on your own router for the moment. I don't have an ETA on when this change might be looked at.