Thursday, March 8, 2018

Bottle cap sign.

So, I completed my WiFi enabled, LED back lit bottle cap sign.


The code is currently really ugly.  I'm going to clean it up and then I'll post it here.

On the Home Assistant side, I simply added this code into my 'switch' section of the configuration.yaml file:

  - platform: mqtt
    name: "Beer Sign"
    state_topic: "home/beersign/setpowerpub"
    command_topic: "home/beersign/setpower"
    payload_on: "ON"
    payload_off: "OFF"
    optimistic: false
It works really well, and I am quite pleased with the outcome.