[vz-users] middleware.php - Abfrage -48h bis jetzt
    G. Stenzel 
    GS-vzl at betriebsdirektor.de
       
    Thu Oct 15 22:03:48 CEST 2015
    
    
  
28 h sind aber ganz einfach:
http://192.168.1.100:81/middleware.php/data/3b501700-7050.json?&from=28_hours_ago&to=now
(Leerzeichen dazwischen)
Gruß
G.
>Danke 
>
>> Am 15.10.2015 um 20:31 schrieb Christian Schnellrieder <schnellrieder.cs at gmail.com>:
>> 
>> Hallo,
>> 
>> 24 Stunden sind einfach:
>> zb http://192.168.1.100:81/middleware.php/data/3b501700-7050.json?&from=yesterday&to=now
>> 
>> 28 Stunden geht meiner Meinung nach nur das du die unixtime (inkl ms einträgst)
>> Also zb:
>> http://192.168.1.100:81/middleware.php/data/3b501700-7050.json?&from=1444832824000&to=now
>> 
>> Rechner bzgl Unix Time gibts im www oder du verwendest die Console "date +%s"
>> 
>> Grüße
>> 
>> 
>> 
>>> Am 15. Oktober 2015 um 19:39 schrieb Sascha Koszowyj <sascha.koszowyj at googlemail.com>:
>>> Hallo Zusammen,
>>> 
>>> könnt Ihr mir sagen wie ich die middleware.php anspreche, um die Antwort für die Werte von -28 Std bis jetzt bekomme?
>>> 
>>>  http://192.168.0.31/middleware.php/data/eab32320-521a-11e5-a15f-fd9ac3270c21.json?from= ???????
>>> 
>>> Vielen Dank
>>> Sascha
>> 
    
    
More information about the volkszaehler-users
mailing list