DHCP lease time in minutes

Suggest improvements and new features for Gargoyle.

Moderator: Moderators

Post Reply
Indigo
Posts: 23
Joined: Fri May 08, 2015 1:00 am

DHCP lease time in minutes

Post 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 ;)

Lantis
Moderator
Posts: 5633
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: DHCP lease time in minutes

Post by Lantis »

Sure, i'll take a look at this one for you
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Indigo
Posts: 23
Joined: Fri May 08, 2015 1:00 am

Re: DHCP lease time in minutes

Post by Indigo »

has there been an implementation yet?

Lantis
Moderator
Posts: 5633
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: DHCP lease time in minutes

Post 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.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply