Skip to content

a problem with the publication #309

@novikovav69

Description

@novikovav69

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions