Skip to content

allthingstalk/pygate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyGate

A gateway application that connects different types of devices (physical or virtual) to the AllThingsTalk platform.
This is the main app which only sets up the environment to manage all the features.
Funcionallity itself is provided through various plugins which have to be installed individually.

###supported plugins The following plugins are currently supported:

  • zwave: connect devices using the zwave communication protocol
  • arpscanner: detect the presence of network devices without installling anything on the devices. Usage example: track user presence through the presence of your mobile phone
  • associations: create associations between devices, accross communication protocols
  • fogdevices (beta): locally connect wifi enabled devices that use the AllThingsTalk api
  • groups: group assets together so that they can be used as a single asset
  • main: some core functionality for the gateway, like refresh the definition of all devices.
  • mbus: connect devices using the m-bus communication protocol
  • otu: over the air upgrades
  • scenes: creates scenes accross communication protocols, that can be activated using an asset.
  • virtual-devices: create devices from publicly available web api's such as virtual weather stations
  • watchdog: make certain that the gateway reconnects after something went wrong with the network connection.
  • xbee (beta): connect devices using the xbee communication protocol

Installation

  • downoad the application
  • install the requirements, found in the pyGate subfolder (pip install -r requirements.txt)
  • update pyGate\launcher.sh so that it points to the correct path.
  • to start the application automatically, you can use launcher.sh and start it from the cron:
    • edit the cron: sudo crontab -e
    • at the bottom, add the line: @reboot {path_to_launcher.sh}\launcher.sh

dependencies

The following dependencies are automatically installed from requirements.txt

About

a gateway built out of plugable modules, for the AllThingsTalk platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.0%
  • Shell 11.0%