interface problem tesla sdu with esp32 canlite module
interface problem tesla sdu with esp32 canlite module
hello,
i am ev converting a g-wagon with a tesla sdu setup. this setup has a openinverter board and is running good. i am now trying to add the esp32 canlite module to this setup due to the inverter wifi signal not reachin the cabin. i am having trouble with this as i get no paramaters or spotvalues in the esp32 interface. i added a picture of this interface. simultaniously also the interface of the inverter has changed. i added a picture of this changed interface too. at this point a can no longer see any spot values or change any parameters. at one point when connected to the inverter the same interface as the esp32 showed up and all the paramaters and spot values where visible but this was a one time event.
i already tried some things to find the cause. i checked the can bus with a scope and saw some signals so i guess the canbus is being used. to eliminate all distortion of the signals i tried to run a shielded 2-wire cable directly from the inverter to the esp32 module but this did not change anything.
do i need to install a different firmware on the esp32 module to get it to work? do i need to change any can parameters in the inverter?
thanks in advance,
joachim
i am ev converting a g-wagon with a tesla sdu setup. this setup has a openinverter board and is running good. i am now trying to add the esp32 canlite module to this setup due to the inverter wifi signal not reachin the cabin. i am having trouble with this as i get no paramaters or spotvalues in the esp32 interface. i added a picture of this interface. simultaniously also the interface of the inverter has changed. i added a picture of this changed interface too. at this point a can no longer see any spot values or change any parameters. at one point when connected to the inverter the same interface as the esp32 showed up and all the paramaters and spot values where visible but this was a one time event.
i already tried some things to find the cause. i checked the can bus with a scope and saw some signals so i guess the canbus is being used. to eliminate all distortion of the signals i tried to run a shielded 2-wire cable directly from the inverter to the esp32 module but this did not change anything.
do i need to install a different firmware on the esp32 module to get it to work? do i need to change any can parameters in the inverter?
thanks in advance,
joachim
- johu
- Site Admin
- Posts: 5831
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1045 times
- Contact:
Re: interface problem tesla sdu with esp32 canlite module
I assume you got it from the openinverter shop? If so the correct firmware is already on there. But there is an issue with resistor R6, its value is too large. You can short it completely or put a resistor from 1k to 100k just on top of it.
You images don't show up. Please don't host images externally but upload them as attachment to your post
You images don't show up. Please don't host images externally but upload them as attachment to your post
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
Thanks johu and muehlpower for the quick replies,
I already bridged the r6 resistor on the board, this did not solve the problem.
I tried the solution linked to by muehlpower but i do not see any .json files in the file list of the esp32. Or do you mean the .js files?
Could the solution be to download the paramlist from the inverter and upload this to the esp32?
A change in the interface did occur, in the lower left corner the text “firmware:null” and “web:v2.1” appeared. I dont know if this is normal?
Thanks for the help,
Joachim
I already bridged the r6 resistor on the board, this did not solve the problem.
I tried the solution linked to by muehlpower but i do not see any .json files in the file list of the esp32. Or do you mean the .js files?
Could the solution be to download the paramlist from the inverter and upload this to the esp32?
A change in the interface did occur, in the lower left corner the text “firmware:null” and “web:v2.1” appeared. I dont know if this is normal?
Thanks for the help,
Joachim
- johu
- Site Admin
- Posts: 5831
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1045 times
- Contact:
Re: interface problem tesla sdu with esp32 canlite module
Do you think you can upload the latest firmware? https://github.com/jsphuebner/esp32-web ... an-backend
You need platformio. It works over the wifi connection with a little mod: viewtopic.php?p=60907#p60907
What firmware is on the SDU? I just checked again, for this to really work you need the latest https://github.com/jsphuebner/stm32-sine/releases
5.27 might also work but less reliable
Try that before updating the ESP firmware
You need platformio. It works over the wifi connection with a little mod: viewtopic.php?p=60907#p60907
No it should be json files, js is JavaScript
What firmware is on the SDU? I just checked again, for this to really work you need the latest https://github.com/jsphuebner/stm32-sine/releases
5.27 might also work but less reliable
Try that before updating the ESP firmware
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Bigpie
- Posts: 1597
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 75 times
- Been thanked: 306 times
Re: interface problem tesla sdu with esp32 canlite module
I've downloaded the images and attached to post.
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
Re: interface problem tesla sdu with esp32 canlite module
Johu thanks for the help!
The software update of the inverter was the issue, it was still on the 5.20 version it was delivered with. This update along with a change of the can speed parameter to 500 made the interface display the parameters and spot values. I only experience sometimes that the spotvalues do not display in realtime but seem to be stuck since the startup of the inverter. Is there a solution for this?
The software update of the inverter was the issue, it was still on the 5.20 version it was delivered with. This update along with a change of the can speed parameter to 500 made the interface display the parameters and spot values. I only experience sometimes that the spotvalues do not display in realtime but seem to be stuck since the startup of the inverter. Is there a solution for this?
- johu
- Site Admin
- Posts: 5831
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1045 times
- Contact:
Re: interface problem tesla sdu with esp32 canlite module
I assume auto refresh is on?
I've done some work on this in the ESP firmware, probably worthwhile updating
I've done some work on this in the ESP firmware, probably worthwhile updating
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
I tried to install the latest software, but now it doesn't work anymore. The connection works, but I get the following message.
https://github.com/jsphuebner/esp32-web ... an-backend
platformio ran through and showed no errors
R6 is also exchanged with 10k
I downloaded the ZIP file from here and changed the 3 lines in the .ini.https://github.com/jsphuebner/esp32-web ... an-backend
platformio ran through and showed no errors
R6 is also exchanged with 10k
- johu
- Site Admin
- Posts: 5831
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1045 times
- Contact:
Re: interface problem tesla sdu with esp32 canlite module
Have you updated the spifs also and pressed ctrl+f5 for full reload?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
-
- Posts: 52
- Joined: Wed Feb 27, 2019 7:03 am
- Location: Belorussia. Borisov
- Has thanked: 15 times
- Been thanked: 1 time
- Contact:
Re: interface problem tesla sdu with esp32 canlite module
This is the ESP32 file system. Do this after flashing the ESP.
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
what I have done:
I downloaded the ZIP file from GitHub and unpacked it into a folder. I have VSC and the platformio extension installed. In platformio.ini I changed the 3 lines and entered the correct IP address. Then I opened a new terminal window and changed to the unpacked directory and entered "pio run --target uploadfs". After a while, 100% was achieved and success was indicated. what happens next?
I downloaded the ZIP file from GitHub and unpacked it into a folder. I have VSC and the platformio extension installed. In platformio.ini I changed the 3 lines and entered the correct IP address. Then I opened a new terminal window and changed to the unpacked directory and entered "pio run --target uploadfs". After a while, 100% was achieved and success was indicated. what happens next?
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
Then, as you described, I first clicked “Build filesystem image” and then “Upload filesystem image” again 100% and success. But it hasn't changed!
- johu
- Site Admin
- Posts: 5831
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1045 times
- Contact:
Re: interface problem tesla sdu with esp32 canlite module
OK, that updates the spifsmuehlpower wrote: ↑Sat Feb 24, 2024 6:49 pm Then I opened a new terminal window and changed to the unpacked directory and entered "pio run --target uploadfs"
Did you also run "pio run --target upload"? that would be the actual firmware update
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 52
- Joined: Wed Feb 27, 2019 7:03 am
- Location: Belorussia. Borisov
- Has thanked: 15 times
- Been thanked: 1 time
- Contact:
Re: interface problem tesla sdu with esp32 canlite module
web interface - is it visible? like in your post above?
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
yes, the interface is visible, but no parameters and with the error message like in the picture.
- johu
- Site Admin
- Posts: 5831
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1045 times
- Contact:
Re: interface problem tesla sdu with esp32 canlite module
Hmm, the error message is related to automatic parameter download from the parameter database. Weird.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
now it's a little different. At the bottom left corner it says firmware : null /web : v2.1 and I can't select a node id.
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
in most things I see the mask, in WIFI SETTINGS everything is just white!
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
the internet connection seems to be working. When I click on OpenInverter Forum in support I end up in the forum.
- johu
- Site Admin
- Posts: 5831
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1045 times
- Contact:
Re: interface problem tesla sdu with esp32 canlite module
Can you press F12 so the debug console is visible, do a full reload (ctrl f5) and post a screenshot
Like so:
Like so:
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
After further attempts it now looks like this:
- muehlpower
- Posts: 579
- Joined: Fri Oct 11, 2019 10:51 am
- Location: Germany Fürstenfeldbruck
- Has thanked: 12 times
- Been thanked: 104 times
Re: interface problem tesla sdu with esp32 canlite module
One more try, then I'll test whether it works with 400V!!!!!!!!!