Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    New Flic Twist features for the Hub SDK

    Flic Hub SDK
    7
    23
    2365
    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.
    • Emil
      Emil FlicTeam @sgemmen last edited by

      @sgemmen Thanks! Fixed.

      1 Reply Last reply Reply Quote 0
      • sgemmen
        sgemmen @Emil last edited by sgemmen

        @Emil Been playing with this a bit and so far it's pretty great! Thank the team for landing this!

        I noticed one thing..

        I believe:

        flicapp.virtualDeviceUpdateValue("Light", "my_ceiling_light", {hue: 0.6, saturation: 0.7, brightness: 0.8});
        

        should be virtualDeviceUpdateState:

        flicapp.virtualDeviceUpdateState("Light", "Virtual_light", {hue: 0.6, saturation: 0.7, brightness: 0.2});
        

        That seems to work for me. UpdateValue results in a "TypeError: not a function".

        Emil 1 Reply Last reply Reply Quote 0
        • Referenced by  Emil Emil 
        • sgemmen
          sgemmen @Emil last edited by

          @Emil Exciting update! Looking forward to giving it a go. Will report back. Thank you!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post