# Tesla Powerwall 2 : how to get all power data from gateway not only "state of charge"

**URL:** <https://discourse.nodered.org/t/tesla-powerwall-2-how-to-get-all-power-data-from-gateway-not-only-state-of-charge/77107>\
**Category:** General\
**Created:** [31 March 2023 08:53 UTC](https://discourse.nodered.org/t/tesla-powerwall-2-how-to-get-all-power-data-from-gateway-not-only-state-of-charge/77107 "2023-03-31T08:53:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robertotarga](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/robertotarga/32/16890_2.png) [@Robertotarga](https://discourse.nodered.org/u/Robertotarga)\
**Post date:** [31 March 2023 08:53 UTC](https://discourse.nodered.org/t/tesla-powerwall-2-how-to-get-all-power-data-from-gateway-not-only-state-of-charge/77107/1 "2023-03-31T08:53:37Z")

</div>

Hi,  
I can successfully connect to my tesla powerwall 2 gateway using the example flow:

[https://flows.nodered.org/flow/f39c7e3fac924d5ff62ec3baea570af2](https://flows.nodered.org/flow/f39c7e3fac924d5ff62ec3baea570af2)

From the httprequest node "Get Tesla SOE" I can get the actual battery charge passing "soe" in the last part of the url:

> https:///api/system\_status/soe

but how can I get all other power related data i.e:

- PV solar generated power
- House power consumption
- Power to and from the grid

My goal here is to mimic the tesla powerwall dasboard inside my domotic node-red dashboard. Anybody has achieved something similar?

---

<div class="post-metadata">

**Author:** ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Post date:** [3 May 2023 14:22 UTC](https://discourse.nodered.org/t/tesla-powerwall-2-how-to-get-all-power-data-from-gateway-not-only-state-of-charge/77107/2 "2023-05-03T14:22:57Z")

</div>

Hi - I used these flows as the starting point and modified them for my use.

[https://www.reddit.com/r/nodered/comments/qxhqks/tesla\_powerwall\_data\_in\_nodered/](https://www.reddit.com/r/nodered/comments/qxhqks/tesla_powerwall_data_in_nodered/)

I log all the data to a mySQL db, so there is a lot of custom stuff in my flows. Also, take a look at some of the discussion in these comments:

[https://www.reddit.com/r/nodered/comments/qxhqks/comment/hp11n5x/](https://www.reddit.com/r/nodered/comments/qxhqks/comment/hp11n5x/)

Hope this helps.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 July 2023 14:23 UTC](https://discourse.nodered.org/t/tesla-powerwall-2-how-to-get-all-power-data-from-gateway-not-only-state-of-charge/77107/3 "2023-07-02T14:23:53Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
