Skip to content

novuscy/agent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

99abb1a · Apr 2, 2020

History

34 Commits
Jan 11, 2020
Mar 31, 2020
Dec 1, 2019
Feb 24, 2020
Dec 1, 2019
Apr 2, 2020
Dec 4, 2019
Dec 5, 2019
Feb 11, 2020
Feb 10, 2020
Dec 1, 2019
Jan 10, 2020
Dec 5, 2019
Mar 31, 2020
Mar 31, 2020

Repository files navigation

Mainflux IoT Agent

go report card license chat

Mainflux IoT Agent is a communication, execution and SW management agent for Mainflux system.

Install

Get the code:

go get github.com/mainflux/agent
cd $GOPATH/github.com/mainflux/agent

Make:

make

Usage

Config

Agent configuration is kept in cmd/config.toml.

Example configuration:

[server]
port = "9000"

[thing]
id = "90f9aff0-73f6-476b-a4da-d277ab99d3ce"
key = "e606945e-47bd-405f-85f3-a4c55bd069c8"

[channels]
control = "3ace3fa3-aa84-4a02-b0ab-6d594268dc77"
data = "0bdeea73-8de1-420c-8c4d-a4e7d6c46e3b"

[edgex]
url = "http://localhost:48090/api/v1/"

[log]
level = "info"

[mqtt]
url = "localhost:1883"

Here thing is a Mainflux thing, and control channel from channels is used with req and res subtopic (i.e. app needs to PUB/SUB on /channels/<channel_id>/messages/req and /channels/<channel_id>/messages/res).

License

Apache-2.0

About

Mainflux IoT Agent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 74.4%
  • Elm 19.9%
  • Makefile 3.0%
  • Dockerfile 1.8%
  • Other 0.9%