Git Product home page Git Product logo

Comments (3)

doudz avatar doudz commented on July 28, 2024

Could you check your mqtt is running ? (on localhost and port 1883)

from zigate.

soors avatar soors commented on July 28, 2024

No indeed mqtt on host was not running.
I misunderstood the zigate.mqtt_broker python application : I thought a new Paho Mqtt broker would be started also.
By pointing too a running mqtt broker hosted on another IP adress, the zigbee data is now visible in Node Red.
Although i still get the following error :

python3 -m zigate.mqtt_broker --device auto --mqtt_host 192.168.10.200:1883 --mqtt_username xxxxxx --mqtt_password xxxxxx
ERROR:zigate:Failed to eval "struct.unpack('H', unhexlify(value)[2:4])[0]/1000." using "0121c10c0328180421a81305210b00062401000000000a2100000821041064200096230000000000"
ERROR:zigate:Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/zigate/clusters.py", line 91, in update
'self': self})
File "", line 1, in
NameError: name 'struct' is not defined

INFO:zigate:Searching ZiGate port
INFO:zigate:ZiGate found at /dev/ttyUSB0
INFO:root:Publish zigate/device_changed/6de8
INFO:root:Publish zigate/device_changed/18a9
INFO:root:MQTT connected with result code 0

Thanks and keep up the good work.

from zigate.

doudz avatar doudz commented on July 28, 2024

Fixed in 0.20.2

from zigate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.