build with platformio (delete true as advised), was not able to upload with the onboard chip. Did not use the FTDI stick.
It’s still not possible to flash in on that port I mentioned above in platformio.
Compiled and flashed it with Arduino IDE. Was able to flash it on that port. No error.
Choose 4m (1m spiffs).
Strange: After flashing this I did not have to reconfig my wifi settings, it just went online.
Did not went online before that flash.
Edit: Ok so after erasing the flash and reflashing it I had to reconfig my settings. Is it intended that it keeps the settings without erasing the whole flash?
And good news no after a restart the esp8266 reconnects too.
Edit2: too fast. It only gets online again if I dont connect the rf modules.
I fount out that I have a board which has a VU pin. If you have this some sources say you can’t use the Vin pin for 5V.
I hope this doesn’t only solve the RF issue but also the issue mentioned above.
Regarding the wifi settings savings, I’ve just commited a new change in development branch.
Could you erase your flash, upload, set your parameters by wifi manager and see if your parameters persists upon reboot please?
/Users/user/Downloads/OpenMQTTGateway-development/main/main.ino: In function 'void setup_wifimanager(bool)':
/Users/user/Downloads/OpenMQTTGateway-development/main/main.ino:708:35: error: 'WifiManager_TimeOut' was not declared in this scope
wifiManager.setConnectTimeout(WifiManager_TimeOut);
So this is how I am currently able to flash my devices:
nodemcu - usb cable - arduino ide - master 0.9.1 4m (1m spiffs) (did not test new dev yet, probably will stick to master for the nodemcu)
esp32 - FTDI - platformio - dev 0.9.2 from today
EDIT:
Do I need to set the Board in Platformio or does it automatically set the right device with the .ini file?
I can choose the right port below, but it detects the esp32 as a Adafruit Feather device.
Do I need to add the ESP32 manually in platformio too (like in arduino ide, thought this is automatically done in platformio).
Those lines enables to choose the good environment. But not the good boards. You should see below a line with board name. The list of noards is available on platformio menu.