Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

dezzak/van-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ref docs

MQTT client

Bus

run docker-compose up to spin up a bus

The docker container does not contain the mosquitto_sub and mosquitto_pub binaries. It's hackday so lets install them locally instead:

brew install mosquitto

Subscribe to Topic:

mosquitto_sub -h ec2-34-243-3-198.eu-west-1.compute.amazonaws.com -t test/espruino

Publish message:

mosquitto_pub -h ec2-34-243-3-198.eu-west-1.compute.amazonaws.com -m "chicken" -t test/espruino

Docker image

docker build -t van-queue . docker tag van-queue:latest 636189516019.dkr.ecr.eu-west-1.amazonaws.com/van-queue:latest docker push 636189516019.dkr.ecr.eu-west-1.amazonaws.com/van-queue:latest

SAving stuff

Do not call the onInit() directly in code.

Do:

reset(); save();

Load the code using the send button save();

power cycle the device

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors