Giter VIP home page Giter VIP logo

lywsd02-lywsd03mmc-mqtt's People

Contributors

alive-corpse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tadius yinan-w

lywsd02-lywsd03mmc-mqtt's Issues

Device doesn't have needed handle or connection is failed, skipping

Hi, I would very much like to use your script but it gives me the error in the subject. Apparantly mine has different "handless" (whatever that may be) then in the script.

Gatttool gives me the following output with Primary:
primary
attr handle: 0x0001, end grp handle: 0x0007 uuid: 00001800-0000-1000-8000-00805f9b34fb
attr handle: 0x0008, end grp handle: 0x000b uuid: 00001801-0000-1000-8000-00805f9b34fb
attr handle: 0x000c, end grp handle: 0x0018 uuid: 0000180a-0000-1000-8000-00805f9b34fb
attr handle: 0x0019, end grp handle: 0x001c uuid: 0000180f-0000-1000-8000-00805f9b34fb
attr handle: 0x001d, end grp handle: 0x0026 uuid: 0000181a-0000-1000-8000-00805f9b34fb
attr handle: 0x0027, end grp handle: 0x002a uuid: 00010203-0405-0607-0809-0a0b0c0d1912
attr handle: 0x002b, end grp handle: 0x002e uuid: 00001f10-0000-1000-8000-00805f9b34fb
attr handle: 0x002f, end grp handle: 0x0030 uuid: 0000fe95-0000-1000-8000-00805f9b34fb

Does this help as to change something in the script to make it work?

Add Retain flag

I've found usefull using retain flag by adding "-r" at:
mqtt="mosquitto_pub -h $host -p $port -r"

Can you add this preference to mqtt.conf file?

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.