Categorygithub.com/sukhajata/devicetwin
repository
0.0.3
Repository: https://github.com/sukhajata/devicetwin.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Service for managing configuration variables of IoT devices.

GRPC and HTTP interfaces are provided for setting configuration variables. The service will publish desired changes to an mqtt topic.

The service subscribes to another mqtt topic to receive values of configuration variables reported by devices in the field.

A LoRaWAN server such as chirpstack.io may be used to provide an mqtt interface.

The service checks intermittently for consistency between the desired and reported state of each device.

A database is required, currently there is support for Couchbase and PostgreSQL.

To run on Kubernetes,

  • use the Dockerfile to build a docker container and push to a container registry.
  • Create a values.yaml file such as this
  • run
helm upgrade --install \
    -f deployments/devicetwin-helm/values-example.yaml \
    devicetwin \
    devicetwin-helm