Announcement

Collapse
No announcement yet.

Run HS3 event from Vera using LUA

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Run HS3 event from Vera using LUA

    Hello

    Is there anyway to run an event in HS3 using LUA code in vera

    i used to run HCL scenes from Vera but i can't figure out how to run HS3 events using the same way . this would help a lot with my Harmony activities .

    Thanks
    Rami

    #2
    You can enable json in the setup and then issue the following command to the web server:

    Code:
    http://www.xxx.yyy.zzz/JSON?request=runevent&group=GROUPNAME&name=EVENTNAME
    Update with your ip and then the event details.

    Cheers
    Al
    HS 4.2.8.0: 2134 Devices 1252 Events
    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

    Comment


      #3
      Thanks Al

      I enabled JSON but it didn't work , do i have to add the port too ?

      Edited

      Working perfectly now from browser

      thanks a lot

      Comment


        #4
        Is here anyway to do this from outside the house ? I have a static ip but how can I add the username and password to the http request ?

        Comment


          #5
          Figured it out

          It should be

          http://user:password@IP:PORT/JSON?re...name=EVENTNAME

          This is amazing because I have these flic Bluetooth buttons and I have them around the house and in the car. You can run 3 actions ( click , double click and hold ) now working from the car or outside he wifi network

          Comment


            #6
            Flic integration

            You definitely have a HomeSeer flic integration story to be told, rmohsen...

            For others: flic is an MHD ("must-have-device"), once having visited their web site at http://live.flic.io/ and the community at https://community.flic.io/

            /Per Hertz

            Comment

            Working...
            X