Read energy-consumption from Wiener Netze Smartmeters.
- login(): Login with webpage credentials
- getProfile(): Get your profile info
- welcome(): Get all Infos on the welcome-page
- getConsumption($meterpoint, $start, $end): Get energy-consumption limited by start and end parameters
- getMeasurements($meterpoint, $start, $end, $type): Get energy-consumption (full days) limited by start and end parameters
- getEvents($meterpoint, $start, $end): Get Events limited by start and end parameters
- createEvent($meterpoint, $name, $start, $end): Create Event
- deleteEvent($id): Delete event by id. The id is returned with getEvents().
- getLimits(): Get limits set by the user.
- createLimit($name, $end, $period, $threshold, $type, $meterpoint): Create new Limit.
- deleteLimit($id): Delete limit. The id is returned with getLimits().
- getNotifications($limit, $order): Gets notifications limited by $limit and ordered by $order.
- getMeterPoints(): Gets all Meterpoints assinged to your account.
<?php
require_once("smartmeter-vienna.class.php");
$sm = new ViennaSmartmeter("[yourusername]", "[yourpassword]", $debug=false);
$sm->login();
$profile = $sm->getProfile();
print_r($profile);
- php-curl
This is not an official API of Wiener Netze.