Hello!
I have a problem with the publication.
I do:
from umqtt.simple import MQTTClient
client = MQTTClient(client_id="ESP8266", server="192.168.100.10", port=1883)
client.connect
client.publish("in", "sHOW")
I receive:
Traceback (most recent call last):
File "", line 1, in
File "umqtt/simple.py", line 123, in publish
AttributeError: 'NoneType' object has no attribute 'write'
Hello!
I have a problem with the publication.
I do:
from umqtt.simple import MQTTClient
client = MQTTClient(client_id="ESP8266", server="192.168.100.10", port=1883)
client.connect
client.publish("in", "sHOW")
I receive:
Traceback (most recent call last):
File "", line 1, in
File "umqtt/simple.py", line 123, in publish
AttributeError: 'NoneType' object has no attribute 'write'