Skip to content

salvovitale/mqtt-valve-thermostat-calibrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use the CLI

Create the mqtt server

make mosquitto-up

Start up the up

Open another terminal and run the app with the simple config

 go run ./cmd/calibrator/main.go --path test/input/simple_config.yml

Check that the calibration is working by mimic the sensor behavior using the cli.

Publish to the sensor topic

go run ./cmd/cli/main.go --t 17.0

Publish to the thermostat topic

go run ./cmd/cli/main.go --c 0.0 --th 16.33 --topic topic/thermostat --isth true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published