Coder Social home page Coder Social logo

Comments (7)

glenndehaan avatar glenndehaan commented on June 22, 2024

That is a good question. The codes on that page where taken from the IKEA Android app that's why I documented them. The problem is that I don't own a Motion sensor therefore I was not able to document the complete control process. I can hover take a look at the android code to see if I am able to figure this out without having the device itself.

I hope to have to time tomorrow so if I find something I will update my findings here.

from ikea-tradfri-coap-docs.

Joey-1970 avatar Joey-1970 commented on June 22, 2024

Hello Glenn,

I currently make tests with the motion sensor. Here are the device information:
`stdClass Object
(
[9001] => TRADFRI motion sensor
[9002] => 1583771824
[9020] => 1583771836
[9003] => 65541
[9054] => 0
[9019] => 1
[3] => stdClass Object
(
[9] => 74
[0] => IKEA of Sweden
[1] => TRADFRI motion sensor
[2] =>
[3] => 2.0.022
[6] => 3
)

[5750] => 4
[3300] => Array
    (
        [0] => stdClass Object
            (
                [9003] => 0
            )

    )

)
I think there is nothing to get important...

Joachim`

from ikea-tradfri-coap-docs.

glenndehaan avatar glenndehaan commented on June 22, 2024

Yeah thats what I thought already. Since the device is working on it's own and also managing the lights on it's own it isn't providing any data back to the gateway.

The Android app also isn't showing any control options based on the code I could decompile.
This also makes sense since the motion sensor is running of batteries and if it would have to send motion data the whole time those batteries would run out pretty quickly.

from ikea-tradfri-coap-docs.

glenndehaan avatar glenndehaan commented on June 22, 2024

I will update the documentation to remove the listed sensor values since I also can't find those back in the latest version of the app. While in the app I used back then these values where in there.

from ikea-tradfri-coap-docs.

Joey-1970 avatar Joey-1970 commented on June 22, 2024

Hello Glenn,

it must be somehow possible to get informations from the Trdfri MotionSensor and the Remote too.
Look at this thread at "my smart home software":
https://www.symcon.de/forum/threads/43031-Modul-IKEA-Tradfri-mit-IP-Symcon-steuern/page4
The persons use another gateway, but they get some useful informations...
Maybe there is another way to get the informations from remotes and sensors as from bulbs?
Maybe that this information is not get direct from the remote/sensor but from the gateway?

Joachim

from ikea-tradfri-coap-docs.

glenndehaan avatar glenndehaan commented on June 22, 2024

Yeah what I think happens in that software is that it keeps the last state provided to the gateway. Looking at the last picture in that forum there is a time set when that state was provided. The IKEA gateway is completely stateless and will always ask for the current state.

Now it is possible that these devices send more data but the gateway isn't using it and therefore we can't read it out by using the coap api. It would mean that you should use another gateway or for example use a Zigbee dongle.

from ikea-tradfri-coap-docs.

kollokollo avatar kollokollo commented on June 22, 2024

There are two different versions of the motion sensor:

  • The "old" one has one pairing button and two dials, one for the on-time and another for day/night sensitivity.
  • The "new" one has three buttons: one pairing button, one for brighness (30% and 100%) and the other for day/night mode.
    The time is always about 3 minutes, and cannot be changed, at least not with the device itself.

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.