Hi @miker - I am in just the same position as you (new Powerwall2 & Gateway), but also new to NodeRed; I was starting to get my head around the latter yesterday but kept coming up against the same certificate issue - maybe because the Tesla API is https and not just http?
I get an “unable to verify leaf signature” error in the main Flow desktop, and the following errors in the Debug frame.
I am running RodeRed on a dedicated RaspberryPi at the moment whilst I experiment & learn; could you elaborate on how you solved the problem? Preferably in simple terms?
While I have the cert on my pi, I’ve unchecked the box to verify it (as the cert is self signed it’s not secure, just a hurdle). I’ve only got charge working so far as there’s a problem with the aggregates json (let me know if you figure that out). Settings below for charge:
Thanks for your time in doing that @miker - very helpful. I have managed to get both a graph and a “battery” to work on a tempo dashboard - woo hoo, it is so exciting when it works!
Not quite sure how or where I got around the certificate error issue, but happy that it works.
One quick question … does anyone know how I can get the green shaded area to show proportionately - on my dashboard the battery “looks” full, but I’d like it to depict (at this time) 82% rather than 100%.
You have not been able to get that data or not been able to split out what you want?
In Node-Red, you can select the nodes then on the Hamburger menu, click export and copy to clipboard. If you post the result here (bounded by 3 backticks) I can import it and possibly have a look.
The problem is that the ‘time’ element needs to be a specific name for the ‘key’ (it says in the help what it needs to be) so it is not liking that.
On the node that is providing the output that goes to the emoncms node input, attach a debug node. The data being passed will then come up in the debug sidebar. there is a little icon that appear when you mouse over
that allows you to copy the data and then paste it here.
Been swamped this week juggling home schooling and work! I’ll have a quick shot this evening. I’ll reply in the other thread - I think it makes more sense there.