-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Support for WT32-ETH01 board #399
base: main
Are you sure you want to change the base?
Conversation
I do not appear to be able to get OTA updates to Work, , It could be Worthwhile Removing the OTA lines in PlatformIO.ini Until that is resolved.
|
Why is that? I have my WT32-ETH01 already in production and OTA updates work flawlessly. I suppose you're referring to the ESPOE32 board? |
OTA updates worked for me after I allowed access between vlans, perhaps that could be your issue? |
Yes, make sure that the computer where you upload the new OTA is in the same VLAN as the device or allow the traffic to flow back to the computer IP address (assuming you have VLANs and you already allow it from the normal VLAN to IoT VLAN). |
I have both the poesp32 and wt32, I bought both trying to figure out an
ethernet solution, they replace a m5sickc,
The issue could be vlan related, due to software on my laptop needed for
work, which runs zscaler vlan, I will try the OTA updates with a different
laptop, with no vlan.
…On Thu 22 Feb 2024, 16:27 Bruno Martins, ***@***.***> wrote:
Yes, make sure that the computer where you upload the new OTA is in the
same VLAN as the device or allow the traffi to flow back to the computer IP
address.
—
Reply to this email directly, view it on GitHub
<#399 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP6FYJMOFIH5Y7RMOCBNP4TYU5WW7AVCNFSM6AAAAABDP44QTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZHAYTAOBYHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
My 10 year old Laptop with no VLAN uploaded the code with no problem, Thanks for the Tip |
@bgcngm thanks a lot for your pull request, works like a charm with my WT32-ETH01. However, I am don't receive logs via MQTT. I think we need to adopt M5.Lcd.print((const char*) buffer);
#endif
#ifndef DISABLE_LOG_MESSAGES
- if (WiFi.status() == WL_CONNECTED && _client!=nullptr &&_client->connected()){
- _client->publish(_topic,buffer,size);
+#ifdef WT32_ETH01
+ if (ETH.linkUp()) {
+#else
+ if (WiFi.status() == WL_CONNECTED) {
+#endif
+ if (_client!=nullptr &&_client->connected()){
+ _client->publish(_topic,buffer,size);
+ }
}
Serial.write(buffer,size);
#endif |
Successfully tested on WT32-ETH01 board connected to a ROTEX HPSU compact unit.