Giter VIP home page Giter VIP logo

balboa-spa-homekit's Introduction

Balboa Spa HomeKit

Using MQTT, Homebridge & Node-Red to expose Balboa Spa controller in Homekit

Let's be honest here...I have a day job...this is me hacking over weekends and nights to figure this out. I used a logic analyzer to snoop on the bus (it is serial BTW) and then found some people online who had hacked this before. I thank them and will collect up licks to their work and to all the things below when I have a tad more time.

Recent Changes

  • added a lockout feature where you can lock the setting to keep anyone from messing with them
  • addded some more error handling
  • added data collection for a influxdb data collection (trying to get the rate of heat loss and time to ready so I know...)

Requirements

  • Spa controller on your network
  • Node-Red - https://nodered.org
  • The nodes listed in this flow - Node-Red will tell you which ones you are missing
  • MQTT Server (I use mosquitto docker image) - https://hub.docker.com/_/eclipse-mosquitto
  • the paths follow a pattern of /hottub/circpump and I guess I should pull a list of all of them, but when you look at the flow you should see them all. Basically one for each control.
  • homebridge with the MQTT things plugin
  • if you dont care about the data logging remove the parts of the flow touching influxdb

Example of one of the Homebridge accessories (you will need one of these for each item you want to put in homekit)

		{
            "accessory": "mqttthing",
            "type": "switch",
            "name": "Hot Tub Lights",
            "url": "http://MQTT SERVER:1883",
            "topics": {
                "getOn": "/hottub/lights",
                "setOn": "/hottub/lights/set"
            },
            "onValue": "3",
            "offValue": "0"
        }

Helpful Screenshots

Flow

Homekit

balboa-spa-homekit's People

Contributors

disruptivepatternmaterial avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.