Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 240

Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 244

Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 248

Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 257

Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Collection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Collection.php on line 19

Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Collection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Collection.php on line 32

Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Collection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Collection.php on line 26

Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Collection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Collection.php on line 36

Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Collection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Collection.php on line 13

Deprecated: Return type of Google\Site_Kit_Dependencies\Google\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Collection.php on line 41

Deprecated: Return type of Google\Site_Kit\Core\Util\JSON_File::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/JSON_File.php on line 87

Deprecated: Return type of Google\Site_Kit\Core\Util\JSON_File::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/JSON_File.php on line 101

Deprecated: Return type of Google\Site_Kit\Core\Util\JSON_File::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/JSON_File.php on line 113

Deprecated: Return type of Google\Site_Kit\Core\Util\JSON_File::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/JSON_File.php on line 124

Deprecated: Return type of Google\Site_Kit\Core\Util\JSON_File::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/JSON_File.php on line 148

Deprecated: Return type of Google\Site_Kit\Core\Util\JSON_File::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/JSON_File.php on line 135

Deprecated: Creation of dynamic property WP_Bulk_Delete::$api is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/wp-bulk-delete/wp-bulk-delete.php on line 53

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Admin/Standalone.php on line 95

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64

Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/elementor/core/upgrade/manager.php on line 62

Deprecated: Return type of Elementor\Core\Utils\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/elementor/core/utils/collection.php on line 404

Deprecated: Return type of Elementor\Core\Utils\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/elementor/core/utils/collection.php on line 413

Deprecated: Return type of Elementor\Core\Utils\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/elementor/core/utils/collection.php on line 421

Deprecated: Return type of Elementor\Core\Utils\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/elementor/core/utils/collection.php on line 432

Deprecated: Return type of Elementor\Core\Utils\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/elementor/core/utils/collection.php on line 446

Deprecated: Return type of Elementor\Core\Utils\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/stromhaltig/blog/wp-content/plugins/elementor/core/utils/collection.php on line 439

Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/elementor/core/upgrade/manager.php on line 62

Deprecated: Creation of dynamic property Advanced_Ads_Ads_Txt_Public::$strategy is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/advanced-ads/modules/ads-txt/public/class-advanced-ads-ads-txt-public.php on line 12

Deprecated: Creation of dynamic property Advanced_Ads_Ads_Txt_Public::$strategy is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/advanced-ads/modules/ads-txt/public/class-advanced-ads-ads-txt-public.php on line 12

Deprecated: Creation of dynamic property Advanced_Ads_Network_Adsense::$settings_section_id is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/advanced-ads/admin/includes/class-ad-network.php on line 45

Deprecated: Creation of dynamic property Advanced_Ads_Network_Adsense::$settings_init_hook is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/advanced-ads/admin/includes/class-ad-network.php on line 46

Deprecated: Creation of dynamic property Advanced_Ads_Network_Adsense::$data is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/advanced-ads/modules/gadsense/includes/class-network-adsense.php on line 38

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64

Deprecated: Creation of dynamic property Google\Site_Kit\Modules\Analytics\Web_Tag::$module_slug is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Modules/Tags/Module_Tag.php on line 42

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64

Deprecated: Creation of dynamic property Google\Site_Kit\Modules\Analytics_4\Web_Tag::$module_slug is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Modules/Tags/Module_Tag.php on line 42

Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /var/www/stromhaltig/blog/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
Energie Cloud mit einigen neuen API Funktionen – blog.stromhaltig

Energie Cloud mit einigen neuen API Funktionen

Der Testbetrieb der Energie-Daten-Cloud ist soweit voran geschritten, dass in der letzten Woche einige Millionen Datenwerte eingelesen wurden. Aktuell gibt es zwar einige Stabilitätsprobleme mit dem Storage-Server, diese sollen weiteren Entwicklungen aber nicht im Wege stehen.

Wer testen möchte, kann nun für die angeschlossenen “Sensoren” einen Trend ermitteln. Hilfreich, wenn es darum geht Zeiträume miteinander zu vergleichen.

Wie bereits bei der Ankündigung der Cloud beschrieben, soll es zunächst nicht um die Entwicklung eines witzigen Front-Ends als vielmehr um die Datenhaltung, Aufbereitung und Auswertung gehen.  Für einen Sensor einen Trend erkennen, bedeutet in der Energie-Daten-Cloud einen Zeitraum miteinander zu vergleichen.

Beispiel:
Einspeisung von Sonnenstrom in das Netz von Tennet TSO 

Man kann grafisch die 7 Tage Aggregation betrachten, und auf Basis der Höhe der Kennlinie eine Aussage treffen. Bei Tagen mit einem Wettermix aus Wolken und Sonne wird es allerdings schwieriger.

Jeder Sensor in der Energie-Cloud besitzt eine UUID, zur eindeutigen Identifikation.

URL Schema:
http://logger.stromhaltig.de/data/getTrend/[UUID]/[SEKUNDEN]

Ausgabe (JSON)

Sekunden ist dabei der zu betrachtende Zeitraum. 1 Stunde = 3600, 1 Tag = 86400. Das System wird über die Dauer (Sekunden) einen Mittelwert bilden (=AVG_N), und einen weiteren über die doppelte Dauer (=AVG_N1). Der Rückgabewert Trend ist die Differenz aus dem AVG_N1 und AVG_N. Bei einem negativen Wert nimmt die Erzeugung ab, bei einem positiven Wert nimmt sie zu.

Aggregationen helfen dabei eine Bandbreite von Schwankungen zu ermitteln.

URL Schema:
http://logger.stromhaltig.de/data/aggregate/[UUID]/[ABZEIT]/[SEKUNDEN]

Ausgabe (JSON)

Es wird der Minimal, Maximal und Durchschnittswert zurück gegeben. Bei der ABZEIT wird eine Zeitpunkt für den Beginn der Aggregation in Unix-Sekunden (ab 1.1.1970) angegeben. Ist dieser Wert gleich 0, so wird die aktuelle Zeit verwendet. Der Wert für SEKUNDEN gibt an, über welche Dauer die Aggregation erzeugt werden soll.

Inhalt nicht verfügbar.
Bitte erlauben Sie Cookies, indem Sie auf Übernehmen Sie auf das Banner

Durch das Fortsetzen der Benutzung dieser Seite, stimmst du der Benutzung von Cookies zu. Weitere Informationen

Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen", um Ihnen das beste Surferlebnis möglich zu geben. Wenn Sie diese Website ohne Änderung Ihrer Cookie-Einstellungen zu verwenden fortzufahren, oder klicken Sie auf "Akzeptieren" unten, dann erklären Sie sich mit diesen.

Schließen