Code Monkey home page Code Monkey logo

hive-smartplug-xbee's People

Contributors

jamesleesaunders avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

andydvsn

hive-smartplug-xbee's Issues

Possible Error in Code

This piece of code has helped me no end. I now have confidence that getting my Alertme kit to work without alertme cloud servers is possible. This code (or an earlier version) is working for me, but I have some questions.
The hive-smartplug-xbee.py has two elif statements that match the same cluster message
elif (clusterId == '\x00\x06'):

The first sends

  • Send Active Endpoint Request (ZDP_PROFILE_ID)
  • Sent Match Description Response (ZDP_PROFILE_ID)

The second sends

  • Device Discover (ALERTME_PROFILE_ID)
  • Device Status (ALERTME_PROFILE_ID)

I can't see how the second bit of code ever gets called. Is this just an error? I ask, as I am now trying to get your PyAlertMe working, and I am having trouble with the plugs not joining the network properly.

At times have to wait 24-hours to associate

Haven't figured out why yet but after a SmartPlug reset I usually have to wait ~24-hours before I can get the XBee and Hive SmartPlug to associate again.

I am hot sure if this is a problem with the SmartPlug, XBee, Explorer serial adaptor, XBee Python library or my Python code yet!

The RX/TX lights on the XBee light up but the messages don't appear to be passing through.

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.