Giter VIP home page Giter VIP logo

pxbee-trigger's Introduction

pxbee-trigger

Programmable XBee Trigger that is ZigBee Home Automation profile compliant. The testing of this feature is carried out using SmartThings Hub and a default ZigBee device handler.

Bill of Materials

Component Manufacturer Quantity SKU / Part nr. Mandatory / Optional
Programmable XBee Digi 1 XBP24CZ7PITB003 M
Grove - XBee Carrier Seeed Development 1 113020004 O
Grove - Relay Seeed Development 1 103020005 O
Grove 5cm Cable Seeed Development 1 110990036 O

Compiling

  • On 32bit Linux target, simply: make
  • On 64bit Linux target:
    • Intall 32bit compatible libraries: sudo apt-get install lib32stdc++6
    • make
  • On MacOS:
    • Install Docker
    • make builddocker
    • make dall

Firmware

Trigger

Send a Unicast ZCL "On" command to trigger the connected relay for 125ms. The state of the switch remains in "Off" state. Broadcast command is ignored by default.

Endpoint: 0xEA,
clusterId: 0x0006,
profileId: 0x0104,
command: 0x01

Settings

The following defines can be altered in custom.h prior to compilation to change the behavior how the Trigger works:

Name Description Default
PXBEE_TRIGGER_IGNORE_BROADCAST When enabled, ignores broadcast commands and reacts only when unicast messages are sent to the specific address (ignores All On/All Off commands). Enabled
ZCL_MANUFACTURER The reported manufacturer string. For SmartThings local execution support without custom device handler, set this to "Leviton". "PXBee"
ZCL_MODEL The reported model string. For SmartThings local execution support without custom device handler, set this to "ZSS-10". "Trigger"

License

This project is based on exsilium/pxbee-blink-led boilerplate and includes the full Digi XBee SDK version 1.6.0 sources.

Includes the necessary build binaries:

HI-CROSS+ ANSI-C Compiler for HC08 V-5.0.39, Dec 13 2011
HI-CROSS+ SmartLinker V-5.0.48, Dec 13 2011
HI-CROSS+ Burner V-5.0.16, Dec 13 2011
(c) Copyright Freescale 1987-2010

If not otherwise noted, the added code is BSD licensed.

pxbee-trigger's People

Contributors

exsilium avatar

Watchers

 avatar

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.