The Good (Zigbee) The Bad (ZWave) and The Ugly (SWAP): an open platform for smart homes called Panstamp.
Abstract:
There has been recently a lot of buzz about the Internet of Things (IoT) but actually the concept and most of the technology was developed since 1975 with X10, followed by Modbus (1979), most recently Zigbee and ZWave (2005) and lately the 6LowPan (2012).
The availability of low cost devices in combination with cloud services for data storage, sharing and visualization are giving powerful tools in the hand of the developer community.
The euphoria generated by the increasing community of smart home developers is counterbalanced by evil business practices.
As a solution we developed an RF protocol and a hardware platform which is open source and based on the Arduino project for ease of use.
The platform comes with a full application stack that allows event based processing, rule based operations and support cloud platform for data sharing.
5. What is the most popular ?
Bluetooth
2.5 Billions in 2013 correlates with phones!
Zigbee ZigBee-RF4CE: 1 billions estimated in 2015
Zwave: not known
Panstamp: approx 120 kits shipped every month
10. How do we talk?
SWAP:
Simple: runs on AVR MCU 8 bit + 2 KB stack
Wireless: CC11XX radio over ISM (433-868-915 Mhz)
Abstract: register based
Protocol: status, query and command packets
Why not Zigbee or Zwave?
Stack is NOT open source!
Zwave has only 1 chip vendor
Zigbee has only 3 chip vendors
Do you really need mesh networks?!?!!?
High development cost: hardware, license and
engineering
11. Zigbee vs SWAP Example
Zigbee memory footprint:
TI Z-Stack CC2430 - Coordinator/Router - 116 kB
Flash, 7 kB RAM
TI Z-Stack CC2430 - End Device - 99kB Flash, 3.8kB
RAM
Ember - EM250 - ~100 kB - Coordinator/Router
Panstamp Node:
Code: ~ 3 kB
RAM: 350 bytes
12. But is it safe?
Features:
Security options: smart encryption (AES 256 bit) and
security nonce can be enabled
Network topology:
Star network AND peer to peer
Repeaters to extend range
No dynamic routing (yet!)
Baud rate: 115200
19. Base Station
Raspberry PI running Raspbian + SWAP modem
Connectivity: Wifi USB, GSM USB, Bluetooth USB
20. Hardware for developers
Battery board with generic IO and footprints for extra sensors
Power: any AA battery rechargeable or not
Plastic case clip on, antenna exit and screw on for wall mounting
26. Support for cloud and gateways
Cloud Web:
COSM ex Pachube
ThingSpeak
Twitter
Open.sen.se
SMS Gateways:
Intellisoftware
Clickatell
USB GSM 3G etc:
Gammu/Wammu
30. Rule grammar construction
IF EVENT
CONDITIONS
ACTIONS
• Time
• SWAP Input Register
Events
• Time and Date
• SWAP Input Register
Conditions
• SWAP Output Register
• Cloud Service
• SMS Service
Actions
31. DataLogging
How?
User decides which registers requires logging
When?
Use decides logging interval
Where?
Local SD card with Round Robin tables