Categorygithub.com/iot-product/sensor-emulator-cli
modulepackage
1.0.0
Repository: https://github.com/iot-product/sensor-emulator-cli.git
Documentation: pkg.go.dev

# README

sensor-emulator-cli

Motivation

At work, I usually work wih some sensor reading and shows them at a dashboard created by frontend team (I'm a IoT backend engineer to add some context). So, instead of using some sensor for testing, I create this emulator to emulate the behaviour on ideal condition.

Specification

ToolsDescription
Brokerbroker.hivemq.com
Port1883

Documentation

LM35

LM 35 is a temperature sensor. Based on this datasheet . It has reading range of -55 - 150 degrees celcius.

FlagsDescription
intervalinteger, set interval of data transmitted
TopicInput topic endpoint for publishing
# publish data to topic/test every 2 seconds
sensim lm35 --interval=2 --topic=topic/test

# Packages

Copyright © 2022 Ekky Kharismadhany <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
No description provided by the author
No description provided by the author
No description provided by the author