Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/torlenor/abyleeda
Event Driven Automation programming suite written in Go
https://github.com/torlenor/abyleeda
automation events go golang golang-package sensors
Last synced: 24 days ago
JSON representation
Event Driven Automation programming suite written in Go
- Host: GitHub
- URL: https://github.com/torlenor/abyleeda
- Owner: torlenor
- License: gpl-3.0
- Created: 2016-06-19T14:24:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-26T20:56:12.000Z (over 6 years ago)
- Last Synced: 2024-10-29T20:24:36.356Z (2 months ago)
- Topics: automation, events, go, golang, golang-package, sensors
- Language: Go
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# AbyleEDA
## Description
This is AbyleEDA, the Abyle Event Driven Automation programming suite.
It is based on a client/server architecture to send events, which can be floating point numbers, sensor values, switch states, etc., over the network. The server handles the events by either showing them or triggering other events.
The event graph will be customizable and examples on how to use it will be provided. At the moment the event system can be used to call a custom callback function based on client and event ID.
The data is transmitted as encrypted (AES256) JSON packages over UDP. In the feature it is planed to support also TCP and maybe other encryptions.
## How to download/install
Make sure your $GOPATH is set.
Checkout AbyleEDA with
go get github.com/torlenor/AbyleEDA
Checkout all dependencies
go get -v ./...
Build all examples with
go install ./.../AbyleEDA/...
The binaries will land in $GOPATH/bin
## Examples
### simplefakedataserver/simplefakedataclient
These examples demonstrate the simplest way to setup a server and a client, send floating point events from client to server and how to setup the custom event callback of the AEDAevents system.
### temperaturesensorserver/temperaturesensorclient
The client sends temperature sensor data read from a file, e.g., /sys/class/hwmon/hwmon0/temp2_input, to a server which provides a simple webserver to show the data (webserver and templates are work in progress).
### pingserver/pingclient
On client start hosts to ping and the ping interval can be specified. Those hosts are pinged using github.com/SewanDevs/go-ping and sent to a server which will, at some point in the future, provide a web interface to the results (work in progress).