Giter Site home page Giter Site logo

HEX colors about ikea-tradfri-coap-docs HOT 4 CLOSED

glenndehaan avatar glenndehaan commented on August 18, 2024
HEX colors

from ikea-tradfri-coap-docs.

Comments (4)

glenndehaan avatar glenndehaan commented on August 18, 2024

Hi,

Here are some things to check:

  • Is the bulb responding in the app to color changes?
  • What type of bulb do you have? (Maybe post a picture here)
  • Are you using the correct HEX values for you bulb. If not the bulb will default to the Warm color
  • Are you calling the correct $DEVICEID. Try to adjust the brightness. If that also doesn't work then you are not using the correct $DEVICEID

from ikea-tradfri-coap-docs.

chrissachs avatar chrissachs commented on August 18, 2024

I also just had the issue that it didn't accept hex values:

In the sample payload, the hex value is in single quotes, but looks like the gateway only accepts double quotes:

Like this it works for me:

coap-client -m put -u "$TF_USERNAME" -k "$TF_PRESHARED_KEY" -e '{ "3311": [{"5706": "f5faf6" }] }' "coaps://$TF_GATEWAYIP:5684/15001/$TF_DEVICEID"

from ikea-tradfri-coap-docs.

glenndehaan avatar glenndehaan commented on August 18, 2024

Ah oke yeah that is right since single quotes are not making a valid JSON object. Just to clarify did you copy the value with quotes from this overview: https://github.com/glenndehaan/ikea-tradfri-coap-docs#rgb-bulbs

That then I have to update this table to use double quotes

from ikea-tradfri-coap-docs.

glenndehaan avatar glenndehaan commented on August 18, 2024

I have updated the docs so that the color table's won't have single quotes. This should avoid confusion

from ikea-tradfri-coap-docs.

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.