Forum Replies Created
-
AuthorPosts
-
Wouter BreveParticipant
Hopefully you succeed. If I get any further, I will let you know. Good luck!
Wouter BreveParticipantThank you for your message and sorry to hear that you are encountering the same problem.
– I did a new download in a new folder.
– Then in VS Code: File – Open Workspace from File – MTC4BT-workspace
– Checked whether PIO Platforms Espressif 32 was installed.
– Removed: platformio – under [env:esp32doit-devkit-v1] build_flags = ${my_common.build_flags} removed this and then the installation ran fine.
– adjusted the default network config
– uses the default controller_config
– Upload Filesystem Image
– Upload and MonitorAnd then it worked.
Unfortunately I still can’t get any further after that. See MAC addresses passing by, but when I enter them in the controller_config nothing happens or he can no longer find the address.Does anyone know how to solve this? Should you use/connect the remote control or just flash the HUB?
Hope this helps you and would love to hear how you went about the next step to get it working.
Wouter BreveParticipantNext problem is:
BLE : Unable to attach to remote control service.
Loop: Connect failed. Will retry…
BLE : Disconnected from hub ‘mac-adress’.
BLE : Scanning for 1 hub(s)…
BLE : Discovered hub: N03RV (mac address).
BLE : Scanning for 1 hub(s) aborted.
BLE : Connecting to hub ‘mac-adress’…
BLE : Connected to hub ‘mac-adress’.
BLE : Reconnected to hub ‘mac-adress’…
BLE : Unable to attach to remote control service.Wouter BreveParticipantI don’t know how, but I’m one step further. The problem is solved!
Thanks for your response @MattzeWouter BreveParticipantcontroller_config.json has been added but left empty because I don’t know the mac-addresses of the Hubs yet.
I did a new installation with a folder data/MTC4BT1 containing the controller_config.json(empty) and network_config.json(Network and MQTT have connection).
This time I received two notifications:
1: platformio – under [env:esp32doit-devkit-v1] build_flags = ${my_common.build_flags} removed this and then the installation ran fine.2: message during installation:
Archiving .pio\build\az-delivery-devkit-v4\lib07b\libSPIFFS.a
lib/MCNetwork/MattzoMQTTSubscriber.cpp: In static member function ‘static void MattzoMQTTSubscriber::taskLoop(void*)’:
lib/MCNetwork/MattzoMQTTSubscriber.cpp:156:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
sendMessage(“roc2bricks/ping”, _subscriberName);This installation also gives the same result.
-
AuthorPosts