[vz-dev] Logging Intervall von 1-Wire Temperatusensoren

Udo1 udo1 at gmx.net
Mon Jan 9 21:50:20 CET 2017


Am 09.01.2017 um 20:52 schrieb king-six at arcor.de:
> Gibt es dabei eine Möglichkeit den Sensoren unterschiedliche Mess-Intervalle zuzuweisen?
Ja.
Indem du mehrere Meter einrichtest:

       {
       "enabled": true,
       "allowskip": false,
       "interval": 30,
       "aggtime": -1,
       "aggfixedinterval": false,
       "channels": [
         {
           "uuid": "68102e10-ef7c-11e4-a495-7f0a84de0257",
           "identifier": "28-000004508eec",
           "api": "volkszaehler",
           "middleware": "http://127.0.0.1/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         },
         {
           "uuid": "9bee5e60-ef7c-11e4-80af-6b56ff429c5f",
           "identifier": "28-00000450a4cc",
           "api": "volkszaehler",
           "middleware": "http://127.0.0.1/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         },
         {
           "uuid": "c6cb4b20-ef7c-11e4-8fd6-972990841f29",
           "identifier": "28-00000450cbbd",
           "api": "volkszaehler",
           "middleware": "http://127.0.0.1/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         }
       ],
       "protocol": "w1therm"
     },
     {
       "enabled": true,
       "allowskip": false,
       "interval": 300,
       "aggtime": -1,
       "aggfixedinterval": false,
       "channels": [
         {
           "uuid": "UUID",
           "identifier": "1wire-Kennung",
           "api": "volkszaehler",
           "middleware": "http://127.0.0.1/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         },
         {
           "uuid": "UUID",
           "identifier": "1wire-Kennung",
           "api": "volkszaehler",
           "middleware": "http://127.0.0.1/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         },
         {
           "uuid": "UUID",
           "identifier": "1wire-Kennung",
           "api": "volkszaehler",
           "middleware": "http://127.0.0.1/middleware.php",
           "aggmode": "none",
           "duplicates": 0
         }
       ],
       "protocol": "w1therm"
     }

Gruß
Udo


More information about the volkszaehler-dev mailing list