Willkommen bei MattzoBricks › Foren › MattzoBricks General Forum › VScode and OTA-update MattzoControllers
- Dieses Thema hat 5 Antworten und 2 Teilnehmer, und wurde zuletzt aktualisiert vor 11 Monaten, 3 Wochen von Matthias Runte.
-
AutorBeiträge
-
-
Mai 6, 2023 um 16:21 Uhr #6297Pieter van den BosTeilnehmer
Hello,
I am super excited about the MattzoBricks development and have automated several trains by now. Really super fun. But before I start configuring more Mattzo controllers I would like to master the OTA update principle first.
I was able to find an instruction for Arduino on the MattzoBricks website but with VSCode I can’t get it working (yet).
Does anyone have instructions on how to work with OTA-updates with VSCode and the MattzoControllers?
Thanks in advance for your response.
Pieter
-
Mai 7, 2023 um 12:10 Uhr #6298Matthias RunteAdministrator
Hi Pieter,
it’s always great to hear that people like our stuff.I am using OTA with VSCode. The idea is to configure some parameters in the [env] section of the my_platform.ini file:
[env:esp12e]
; Use either the ‘upload_port’ line above if the ESP32 is connected to your PC’s USB port or enable/configure the three lines below to use OTA updates.
; The IP address should match that of the controller on your network.
; Theshould match the current password from the network_config.json you previously uploaded to the controller.
;upload_protocol = espota
;upload_port = 192.168.x.y
;upload_protocol = espota
;upload_flags = –auth=Remove the semicolons ahead of the parameters and configure them correctly.
Does this help?
If not, there is a lot of Mattzobricks-unspecific documentation on the web, you can find it easily via Google.
Cheers,
Mattze -
Mai 7, 2023 um 13:22 Uhr #6301Pieter van den BosTeilnehmer
Hi Mattze,
Thank you for your quick response. And, SUCCES!, the OTA-update is now working. Super!!!
Keep up your good work.
Pieter
-
Mai 7, 2023 um 14:20 Uhr #6302Matthias RunteAdministrator
I am happy to hear that. You know that we have a “project” section in which I post some cool layouts of our users. Feel free to send me some media via e-mail. Thanks!
-
Mai 7, 2023 um 15:50 Uhr #6303Pieter van den BosTeilnehmer
Hi Mattze,
I will definitely do that as soon as the layout of my legocitylayout takes its shape. So far it is mostly expirimenting with Mattzo-controllersettings, Rocrail, soldering, testing, etc. I have the MTC4PF and MLC working. My next step is testing with the MTC4PU. Very much looking forward to it.
Pieter
-
Mai 7, 2023 um 16:01 Uhr #6304Matthias RunteAdministrator
Looking forward to it! By the way, I’d recommend the MTC4BT instead of the MTC4PU.
-
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.