jamesleesaunders / hive-smartplug-xbee Goto Github PK
View Code? Open in Web Editor NEWHive SmartPlug XBee
License: MIT License
Hive SmartPlug XBee
License: MIT License
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
The second sends
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.
This code currently only works with the original Hive/AlertMe SmartPlug.
Attempt to get it to work with the newer Hive ActivePlug https://www.hivehome.com/products/hive-active-plug
This is harder than it first seems as it would appear the newer plug does not share the same Zigbee commands as its older cousin :-(
Possibly need to attempt some Zigbee Packet sniffing?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.