• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login

Connecting to Phillips HUE

Scheduled Pinned Locked Moved Troubleshooting
13 Posts 2 Posters 4.0k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    fcostazini
    last edited by 20 Apr 2017, 01:44

    HI! i'm trying to connect to my Phillip hue bridge but i have no clue on how to achive this.
    I found there is a Rest API but i don't know how to use it.

    Any help?

    J 1 Reply Last reply 20 Apr 2017, 03:11 Reply Quote 0
    • J Offline
      jkandasa @fcostazini
      last edited by jkandasa 20 Apr 2017, 03:11

      @fcostazini

      0_1492657899553_upload-632fd634-ac20-477e-8f9d-cd5d2c62948b

      Note: URL should point your Philips HUE bridge IP.

      Kindly refer this for detailed implementation. https://github.com/mycontroller-org/mycontroller/issues/328

      1 Reply Last reply Reply Quote 0
      • F Offline
        fcostazini
        last edited by 20 Apr 2017, 04:10

        Thanks! but i don't have that option. Justa MySensors and Sparkfun. Maybe i have an older version? i downloaded from the home page. Should y git clone the master repo?

        Thanks again and EXCELENT JOB!

        J 1 Reply Last reply 20 Apr 2017, 15:59 Reply Quote 0
        • J Offline
          jkandasa @fcostazini
          last edited by 20 Apr 2017, 15:59

          @fcostazini Use the SNAPSHOT version

          F 2 Replies Last reply 20 Apr 2017, 22:43 Reply Quote 0
          • F Offline
            fcostazini @jkandasa
            last edited by 20 Apr 2017, 22:43

            @jkandasa THanks! i'll try it right away

            1 Reply Last reply Reply Quote 0
            • F Offline
              fcostazini @jkandasa
              last edited by 21 Apr 2017, 12:24

              @jkandasa The philip hue gateway is up and running but i can't add any sensor. I mean i can't find or autodetect any. should i add them manually? in that case, how?

              J 1 Reply Last reply 21 Apr 2017, 17:02 Reply Quote 0
              • J Offline
                jkandasa @fcostazini
                last edited by 21 Apr 2017, 17:02

                @fcostazini I guess sensors will be added automatically. @Fraid can guide in detail.

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fcostazini
                  last edited by 22 Apr 2017, 17:44

                  Got it!

                  For future references: First, the IP address of the philip Hue should include the protocol: "http://192.168.86.201", second, you should generate a new user for philip hue (with any app like postman) like this: First, press the sync button on the philip hue bridge
                  post -> url: http://192.168.86.201/api" -> body: raw -> {"devicetype":"philipseHueauthorizedUser xyz"} . This will get you a new user. That's the user you should use.

                  That's it.

                  Thanks!!!

                  1 Reply Last reply Reply Quote 1
                  • F Offline
                    fcostazini
                    last edited by 22 Apr 2017, 18:41

                    The problem now is that i can't create an operation for the lights to turn them ON or OFF. Toggle is working just fine. Any sugestion?

                    J 1 Reply Last reply 24 Apr 2017, 09:40 Reply Quote 0
                    • J Offline
                      jkandasa @fcostazini
                      last edited by 24 Apr 2017, 09:40

                      @fcostazini What is the issue are you facing?

                      F 1 Reply Last reply 25 Apr 2017, 12:28 Reply Quote 0
                      • F Offline
                        fcostazini @jkandasa
                        last edited by jkandasa 25 Apr 2017, 12:28

                        @jkandasa When i create an operation with Toggle, the lights work like a charm. But if i try with ON or OFF nothing happend. In the log i see it says:

                         [org.mycontroller.standalone.message.McActionEngine:145] Not supported opration! OperationTable for sensor variable:[On]
                        
                        J 1 Reply Last reply 25 Apr 2017, 13:00 Reply Quote 0
                        • J Offline
                          jkandasa @fcostazini
                          last edited by 25 Apr 2017, 13:00

                          @fcostazini Kindly use 0 for OFF and 1 for ON as a payload.

                          F 1 Reply Last reply 26 Apr 2017, 12:18 Reply Quote 1
                          • F Offline
                            fcostazini @jkandasa
                            last edited by 26 Apr 2017, 12:18

                            @jkandasa It's working! Thanks. it would be great to have a simple tool to create massive operations. Like "create all ON operation for selected Binary sensors" or something like that.

                            Thanks again!

                            1 Reply Last reply Reply Quote 1
                            3 out of 13
                            • First post
                              3/13
                              Last post

                            1

                            Online

                            618

                            Users

                            531

                            Topics

                            3.4k

                            Posts
                            Copyright © 2015-2025 MyController.org | Contributors | Localization