hm_pdetect 1.12
This is release 1.12 release of hm_pdetect
which consists of the following changes:
- fixed session id storage to not use an associative array but a state file so that session ids can be re-used between consequitive calls (#122).
- added
--timeout=10
option to all wget calls so that a potentially stalling wget call is cancelled way earlier than the default 900 seconds of wget. - added new
HM_CCU_PRESENCE_GUEST_IPRANGE
config variable which will default to192.168.179.*
and can be used to identify guest devices by their IPs rather than the "guest" status which seems to not be as reliable. Now a user can modify this parameter in the ownhm_pdetect.conf
file in case the guest IP range is different from the default192.168.179.*
range (#121). - reworked the web config interface to generally use a session id checking mechanism to ensure that the user is allowed to call the web interface with a valid sid. This should greatly improve the security of the included web config interface. In addition, POST requests are now used to sent+save all parameters. This should get rid of issues with very long query strings being build.
- added web config items to specify own values for
HM_CCU_PRESENCE_GUEST_IPRANGE
to be able to override the default guest network ip range accordingly (#121). - updated bash version to fix segmentation faults on x86 systems.
- fixed all shellcheck warnings potentially fixing some bordercase problems.
- removed references to non existing
style.css
(#120). - added a local jquery copy rather than having to download it each time the web interface is used.
Full Changelog: 1.11...1.12
fc3dc7f5336360e9de7c77bfe65b704190f6c6abf43ea37cf2b2254a16e4922f hm_pdetect-1.12.tar.gz