Virtual HTTP Input: last line

63 views
Skip to first unread message

Rob_in

unread,
Feb 11, 2018, 3:10:30 PM2/11/18
to Loxone English
Hi all,

I think this is a long shot, but I have a device (a Legrand Ecocompteur) that can spit out instantaneous power readings in a JSON file and also a CSV file of the last week or so in absolute values per hour.

It's dead easy to get instantaneous readings from the JSON file but I wouldn't mind also getting the absolute values into Loxone.

So, does anyone know how to tell Loxone Virtual HTTP Command to get values from the last line in a response? `tail -1` like? I'm guessing not and a separate server would be necessary to munge this response somewhat and return something more palatable to Loxone, but ever hopeful thought would ask :)

Cheers,

Robin
Reply all
Reply to author
Forward
0 new messages