Skip to content

Jan Poka is a suite of tools for controlling custom internet-of-things devices that help make your distant friends feel closer.

Notifications You must be signed in to change notification settings

jphastings/jan-poka

Repository files navigation

Jan Poka

A device for bringing your distant friends a little nearer.

Set up

Use docker to run anywhere:

docker run --env-file .env --network host ghcr.io/jphastings/jan-poka:latest

NB. You must run attached to the host network, as this service uses Bonjour service discovery, so needs to know its network-visible IP address.

(Assuming that you have appropriate environment variables in a file called .env)

Options

While executing:

$ENV_VAR Functionality
$JP_HOMELATITUDE The latitude of where the device is.
$JP_HOMELONGITUDE The longitude of where the device is.
$JP_HOMEALTITUDE The altitude of where the device is.
$JP_MQTTPORT The port to run the MQTT broker on.
$JP_USEAUDIO Allows audio playing — used by text-to-speech. (Requires libasound2-dev on Linux)

While building:

build tag Functionality
libnova Allows celestial body location (Requires libnova)

About

Jan Poka is a suite of tools for controlling custom internet-of-things devices that help make your distant friends feel closer.

Topics

Resources

Stars

Watchers

Forks

Packages