Skip to content

novuscy/agent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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%