From e31a69edb07326fb006f7e0f9b7cd7b8d17e2cfa Mon Sep 17 00:00:00 2001 From: Beta-User Date: Fri, 29 Nov 2019 06:50:59 +0000 Subject: [PATCH] httpmod.template: adopt CUL_HM firmware check for new versions of HTTPMOD git-svn-id: https://svn.fhem.de/fhem/trunk@20615 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/lib/AttrTemplate/httpmod.template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fhem/FHEM/lib/AttrTemplate/httpmod.template b/fhem/FHEM/lib/AttrTemplate/httpmod.template index c05d12a19..13f34b10c 100644 --- a/fhem/FHEM/lib/AttrTemplate/httpmod.template +++ b/fhem/FHEM/lib/AttrTemplate/httpmod.template @@ -479,13 +479,13 @@ attr DEVICE httpVersion 1.1 attr DEVICE reading01AutoNumLen 2 attr DEVICE reading01Format https://www.eq-3.de%s attr DEVICE reading01Name fw_link -attr DEVICE reading01RegOpt gi -attr DEVICE reading01Regex DNSCRYPT.
Define a HTTPMOD device like
defmod dnscrypt_proxy_version HTTPMOD https://api.github.com/repos/jedisct1/dnscrypt-proxy/releases/latest 86400
Source: Forum -order:X_01x +order:A_02f par:WHICHROOM;Actual room of the device, defaults to HTTPMOD; {AttrVal("DEVICE","room","HTTPMOD" )} attr DEVICE userattr userattr myInstalledVersion attr DEVICE extractAllJSON 1