Giter VIP home page Giter VIP logo

Comments (4)

tcm0116 avatar tcm0116 commented on September 26, 2024

Disregard. My SmartThings device handler wasn't properly sending the command to my proxy. It appears to be working as expected.

from aqualinkd.

hollapm avatar hollapm commented on September 26, 2024

@tcm0116 Were you able to integrate with Smartthings, and if so could you share your device handler?

Thanks!

from aqualinkd.

napertivo avatar napertivo commented on September 26, 2024

I'd be interested in your device handler as well if you would like to share it.

Thanks

from aqualinkd.

tcm0116 avatar tcm0116 commented on September 26, 2024

I got the device handlers uploaded to GitHub. You should be able to add the repo to SmartThings and pull the device handlers down. Let me know if you have any issues.

https://github.com/tcm0116/smartthings-aqualink

You'll also need to install the smartthings-mqtt-proxy package via npm on a device on your network. This allows the device handlers and AqualinkD to interact.

https://www.npmjs.com/package/smartthings-mqtt-proxy

Here's the config file I use for the proxy:

---
mqtt:
    # Specify your MQTT Broker's hostname or IP address here
    host: localhost
    # Preface for the topics $PREFACE/$DEVICE_NAME/$PROPERTY
    preface: smartthings

    # Other optional settings from https://www.npmjs.com/package/mqtt#mqttclientstreambuilder-options
    # username: AzureDiamond
    # password: hunter2

    # Don't retain the values, as this can cause AqualinkD to receive old commands when it restarts
    retain: false

    # Port number to listen on
    port: 8080

Ideally, the system that the MQTT proxy is installed on has a static IP address because you need to provide the IP address, the port used by the proxy (8080 is the default), and the MAC address (used as a unique identifier) to the pool controller device handler.

One thing to keep in mind is that the pool controller handler is currently designed to work with my specific pool configuration, which is a pool/spa combo with a heater. If yours is different, we can work on adding some configuration options. I'd like to add the ability to control the pool light and the chlorine generator at some point.

from aqualinkd.

Related Issues (20)

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.