-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zigbee2MQTT - Home Assistant - What to flash? #6
Comments
Burn this program to esp32-c3: https://github.com/Xinyuan-LilyGO/T-ZigBee/tree/main/examples/zigbee2mqtt |
How to flash it? I tried to flash using platformio in windows but a received error.. @liangyingy Uploading .pio\build\ttgo-t-oi-plus\firmware.bin A fatal error occurred: Failed to connect to ESP32-C3: Invalid head of packet (0x23): Possible serial noise or corruption. |
Hi @liangyingy, need I press some button when I'm flashing it? |
Please refer to the programming guide https://zbhci.readthedocs.io/en/latest/user-guide/burning.html |
@liangyingy what about using ch340? Need I press some button? |
Hello, I made a mistake to erase flash before burning zigbee2mqtt firmware. Thus, the board failed to mount littleFS.
I guess that the file system for web configuration was erased. So, I'm curious how to make the FS and its contents. |
You need to use platformio to do the following: We will be compatible with arduino ide in the future. Because there is currently no plug-in suitable for arduino ide to create and upload the file system |
Now I can upload the file system via arduino ide! I used the Esp32 sketch data upload menu on arduino ide by installing arduino-esp32fs-plugin. Anyway, I appreciate your effort. Thank you. |
Hey, @camnop, did you end up uploading the example onto the esp32? @liangyingy @swkim01 I'm getting the same LittleFS error and using arduino-esp32fs-plugin. any thoughts on this? |
arduino-esp32fs-plugin does not support LittleFS. |
@ejri I used recently released one of arduino-esp32fs-plugin and selected LittleFS format on the dialog window, not SPIFFS. |
@liangyingy : I am confused. In your text you say "don't use Arduino", but in your examples you DO show "Arduino". ` Executing task in folder zigbee2mqtt: C:\Users\xxxxx.platformio\penv\Scripts\platformio.exe device monitor --- Terminal on COM7 | 115200 8-N-1 |
@camnop yeah I think so too. I tried flashing and a few different combinations on 3 boards. The probability of 1 broken board may be low. I think I'll wait for future iterations of the board. It would be amazing the board eventually works given the unique integration between esp32 and zigbee. |
I can confirmed that both of the following examples work with some slight modifications.
I also paired a Sonoff plug but it is not reflected in the mqtt as it may not have the definitions in the device.c and device.h files. -> you might need to hardcode your credentials into the ...\data\db.json especially if your mqtt server needs authentication
@lbuque thank you very much for continuing to support this board. It has a lot of promise. Please let us know how to add new devices or submit them for inclusion. Also, it would be great if it can be integrated with Zigbee2MQTT Image 1 - Light demo - routing traffic on my zigbee network Image 2 - Zigbee2mqtt reporting changes in Xiaomi RTCGQ11LM Thanks |
@pawilli Documentation for adding new devices is still in preparation and is currently busy with other projects. |
How to flash Zigbee2MQTT? I didnt get what i have to do to come in this kind of configuration:
https://zbhci.readthedocs.io/en/latest/user-guide/zigbee2mqtt.html
What I have to flash?
My goal is to use zigbee2mqtt in Home Assistant
The text was updated successfully, but these errors were encountered: