Giter Site home page Giter Site logo

mqtt2dyson-link's Introduction

Tested with:

  • Dyson Pure Humidify+Cool (PH01)

Usage

Get your local credentials with your Dyson account:

docker run --rm --entrypoint "node" dersimn/mqtt2dyson-link cloud \
    --email [email protected] \
    --password secret_password_1234 \
    --country DE

Output will show something like

{
    Name: 'Simon‘s Zimmer',
    'Product Type': '358',
    'Serial / Username': '…',
    Password: '…'
}

Then run with the given data from above:

docker run -d dersimn/mqtt2dyson-link \
    --ip-address 10.1.1.242 \
    --serial-number "…" \
    --password "…" \
    --product-type 358 \
    --mqtt-url mqtt://10.1.1.100

Test with Web UI

docker run -d --rm \
    -p 8000:80 \
    -v "$(pwd)/contrib/data.yaml":/www/data.yaml:ro \
    -e "MQTT_HOST=host.docker.internal:9001" \
    dersimn/mqtt-smarthome-webui

Debug

Run Script:

node index -v debug --ip-address 10.1.1.242 --serial-number "" --password "" --product-type 358 --mqtt-url mqtt://10.1.1.100

Run Analyzer Script:

node analyze --ip-address 10.1.1.242 --serial-number "" --password "" --product-type 358

Docker Hub deploy:

docker buildx create --name mybuilder
docker buildx use mybuilder
docker buildx build --platform linux/amd64,linux/arm/v7 -t dersimn/mqtt2dyson-link -t dersimn/mqtt2dyson-link:0.0.1 --push .

Credits

mqtt2dyson-link's People

Contributors

dersimn avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

vdanielbolger

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.