# Tageswerte abfragen

**URL:** <https://community.openems.io/t/tageswerte-abfragen/403>\
**Category:** Deutsches Forum\
**Created:** [January 8, 2021, 8:53pm UTC](https://community.openems.io/t/tageswerte-abfragen/403 "2021-01-08T20:53:46Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Sn0w3y](https://community.openems.io/user_avatar/community.openems.io/sn0w3y/32/636_2.png) [@Sn0w3y](https://community.openems.io/u/Sn0w3y)\
**Post date:** [March 30, 2024, 8:28am UTC](https://community.openems.io/t/tageswerte-abfragen/403/15 "2024-03-30T08:28:12Z")

</div>

So wie ich das aktuell verstehe gibt es auch keine Methode “queryHistoricTimeseriesEnergy” die du von außerhalb an den /jsonrpc Endpoint senden kannst, weder im openEMS, noch im FEMS.

Siehe hier:

> **[openems/io.openems.edge.controller.api.rest at...](https://github.com/OpenEMS/openems/tree/b3f2eeefd154d2da763cdb947b6e6a21c0324fc1/io.openems.edge.controller.api.rest#endpoint-jsonrpc)**
>
> OpenEMS - Open Source Energy Management System. Contribute to OpenEMS/openems development by creating an account on GitHub.

Was mir komisch erscheint, ist, dass auch diese Methode " getEdgeConfig" nicht funktioniert…

@stefan.feilmeier machen wir da was falsch?

```auto
import requests
import json
from requests.auth import HTTPBasicAuth

# Basic configuration
url = 'http://192.168.178.100:80/jsonrpc'
headers = {
    'Content-Type': 'application/json',
}

username = 'x'
password = 'owner'

body = {
    "method": "getEdgeConfig",
    "params": {},
}

response = requests.post(url, data=json.dumps(body), headers=headers, auth=HTTPBasicAuth(username, password))

try:
    response.raise_for_status()

    json_response = response.json()
    print(json.dumps(json_response, indent=4))
except requests.exceptions.HTTPError as err:
    print(f"HTTP Error: {err}")
except ValueError:
    print("Response:", response.text)

```

---

_[View the full topic](https://community.openems.io/t/tageswerte-abfragen/403)._
