Problem with AddConsumptionOffset API Command
See original GitHub issueHi @ngardiner. I’m trying to integrate an unsupported home automation system (Loxone) with TWCManager. The home automation system supports sending POST commands, so I anticipate the best way will be using the AddConsumptionOffset command.
I’ve tried three independent methods to send the POST command -
- Via the home automation in-built facility,
- Via Node-Red,
- Directly from the command line.
curl -X POST -d '{ "offsetName": "WattsOffset", "chargeNowRate": -10000, "offsetUnit": "W" } http://10.1.1.21:8080/api/addConsumptionOffset
I’m attempting to set the chargeNowRate to -10000. I anticipate I should see Generation reflect 10kW, but nothing changes.
Can you please confirm the facility does work?
There’s a high likelihood I don’t know how to properly format the POST command.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Issues with rest API Command: POST Install Client
I have following problem when I try a more complex password with chars like '#~' I got error: Request body is empty or...
Read more >Kudu REST API Command endpoint error when executing ...
When trying to execute the POST to /api/command according to this description the following error occurs: PS C:\> $Result.
Read more >REST API POST command not working - Forum
I'm following the API guide trying to create a new ticket using curl and the POST method. Any attempt results in error: "HTTP/1.1...
Read more >Solved: execute show command via REST API error
Solved: Hi team, I am trying to get the output of "show running" command using live-stats via the REST API, i follow somebody's...
Read more >Issue a TSO/E command with z/OSMF REST API
Issue a TSO/E command with z/OSMF REST API. You can use this operation to issue a TSO/E command and get a corresponding response....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
According to https://www.teslafi.com/firmware.php about 40% of AP1 cars they are tracking have a 2021 firmware. Suspect we just need to be patient or we all get it in this year’s Christmas update.
I’m on the same version as you - 2014 ap1 model S and 2020.48.37.
Thanks. For info, my old-ish 2015 Tesla Model S appears to have topped out with firmware at v2020.48.37.8. I don’t think I’ll see a firmware to support API controlled charge rate (but will be pleasantly surprised if it’s released).
Very thankful for your TWCManager though!