Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Flash Home

Proof of concept for integrating IOTA flash channels into home automation systems.


In this Proof of concept scenario a coffee machine pays for each coffee made. The coffee machine is provided for free by the service provider, who monetizes each interaction with the coffee machine.


Please clone this repository recursively:

git clone --recursive

and run it via

docker-compose up coffee-client flash-coffee flash-provider

in order to execute the prototype on your local machine.

The following endpoints are provided after the startup:

Only Dependencies:

  • Docker
  • Docker Compose


The exemplary setup mainly consists of five components: (1) Home Assistant, (2) Flash client of coffee machine, (3) Flash server of a coffee machine and (4) Flash server of a service provider and (5) a private testnet of the Tangle. An overview of components and their interaction can be seen in the schema below.


Home Assistant

Home Assistant is an open-source home automation platform running on Python 3. Track and control all devices at home and automate control. Perfect to run on a Raspberry Pi. At the time of writing more than 950 IoT components are supported, which can be integrated into Home Assistant (e.g. Phillips Hue or Dyson 360 Eye vacuum cleaner).

  • Home Assistant:
  • Config: ./home-assistant/config
  • Custom components: ./home-assistant/config/custom_components

This proof of concept integrates a Senseo coffee machine into Home Assistant and utilizes via MQTT messages with the coffee machine. The main part of the configuration can be found in scrips.yaml.

Flash Client of Coffee Machine

The client of the coffee machine is written in Python and can be run on a Raspberry Pi. It mainly receives MQTT messages, performs payment and makes coffee :)

  • Source: ./coffee-client

Flash Server of Coffee Machine

Flash server for managing the Flash channel part of the coffee machine. This component stores the seed of the coffee machine.

Flash Servier of Service Provider

Flash server for managing the Flash channel part of the service provider. This component stores the seed of the service provider.

Private Instance of Tangle (Testnet)

A private instance of the Tangle was set up for easier development. This includes a testnet of the Tangle, a utility coordinator, a network spammer and a Tangle explorer. Please have a look at ./iri-node to get further insights.

  • Source: ./iri-node


Proof of concept for integrating IOTA flash channels into home automation systems.








No packages published