Git Product home page Git Product logo

Comments (4)

pepernut02 avatar pepernut02 commented on June 21, 2024 1

I looked through it but i didn't recognise that was the part i was looking for.
Thank you for the help.
Have a nice day.

from dirigera.

lpgera avatar lpgera commented on June 21, 2024

Hi @pepernut02!

but I barely found any documentation on IKEA API

I don't think IKEA's internal API is documented anywhere publicly. That's one of the reasons I'm working on this library, so people can integrate their JS/TS apps with the Dirigera hub.

it would really help if you could provide a simple example, including initial configuration and how to set up, e.g., environment variables to open/close the IKEA smart wall socket.

Could you tell me which part of the Quick start in the Readme is that you're having trouble with?

from dirigera.

pepernut02 avatar pepernut02 commented on June 21, 2024

The Readme worked like it should have but i was trying to find a command i could use on that webpage something along the lines of what "shelly" does (http://"ip"/?0turn=on (to turn a device on)) so i can integrate it in code i wrote. and i thought maybe you knew a way since you made this library.

from dirigera.

lpgera avatar lpgera commented on June 21, 2024

I think I still don't fully understand what exactly you need assistance with, apologies.

Are you're looking for a way to control devices via a REST API? If so, then you can dig into my library's code and construct requests directly to your hub based on that. (For example here's the part which is used for turning an outlet on/off, and here's the part responsible for the base URL and the token header.)

from dirigera.

Related Issues (7)

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.