Kevin Köck
Kevin Köck
Is the webrepl reachable? Because it doesn't show the real ip Adress in what you posted. Can you connect to your broker manually using socket.socket()?
Webrepl runs as a server so maybe it behaves differently than outgoing connections. Does ntptime sync work or general network connections? Eg dns lookups Did you disable both wlan interfaces?
Looks line ntptime uses udp sockets. Can you test normal sockets? Just connect them to the broker like the examples of an echo client for python. It's not surorising to...
Not turning it on doesn't necessarily mean it is off. Often it is needed to explicitly disable the wireless ap. So maybe try with st.active(False) and ap.active(False)
As mentioned in my earlier replies, please test the echo CLIENT or just a simple, manual outgoing tcp connection to a server (either python echo server on your PC or...
That's good. Can you please try one without asyncio too? And opening a socket manually to that server without specifying any arguments, like the mqtt_as library does? Like socket.socket() Maybe...
Please add 119 and 118 to the list in line 38 (so that it looks like line 36). Forcing the platform to Linux is required otherwise mqtt_as will use the...
Hmm that means it couldn't connect.. Can you try to connect manually to the broker and your echo server? (without asyncio)
Great, then try to connect to your mqtt broker the same way and send a message.
Sorry I'm a bit out of ideas now. The previous test with the echo client and server worked so I would expect this to work now too (unless there is...