Replies: 1 comment
-
|
In the meanwhile I found out that it is working when issuing the following command (as the messages ui does):
This gives the right result: Therefore, it seems to work using "f" und "e" parameters and the general URL for getting values, but not when using the circuit and sensor name within the URL. Best regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using microeBusd since last week for my Vaillant heatpump. First of all, many thanks for the great work!
Everything ist working fine, including integration with HomeAssistant.
For long time storage of sensor values, I want to retrieve values with Telegraf and put them into InfluxDB (or VictoriaMetrics). The provided Web API seems to be a very convenient way for that, because parsing JSON with Telegraf is very easy.
The only problem I am facing is retrieving values that are not cached, but have to be read from eBus directly. For example, even if I issue the following command for the value "SolarYieldTotal"
http://ebus-adapter/api/v1/ebus/ctlv2/SolarYieldTotal/get?from=2I only get the following response, mentioning that the value is not in cache:
{"circuit":"ctlv2","name":"SolarYieldTotal","from":2,"write":true,"passive":false,"id":[181,36,2,1,0,0,61,0],"level":0,"master":1,"cnt":1,"fields":[{"name":"value","type":"ULG","required":false,"min":0,"max":4294967296.000000,"step":1,"unit":"kWh","result":"number"}],"cached":-1}I does not make any difference whether I use from=0, from=1 or from=2 as request parameter.
When I try to get the value using the messages section of the adapter interface, it is working fine after reading it from eBus:
But it seems that even then the value is not cached, because subsequent requests as above result again in a "cached: -1" response.
An ideas what the problem could be?
Thank you for your help!
Best regards,
Andreas
Beta Was this translation helpful? Give feedback.
All reactions