Announcement

Collapse
No announcement yet.

Select profile and http command from HS touch

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

    Select profile and http command from HS touch

    Currently trying to understand and learning both Homesser and Plugin Big6.
    Manage to make http proifles and http commands, but not sure if/dont know how I can achive the following:

    Have several equipment of same brand with ca. 100 different http commands and would like to avoid copying these 100 events to
    X-number of equipment, one for each http profile. The only thing I woiuld like to do is change http profile (local IP adress) and re-use the http commands from events.

    Would that be possible with Big6 and if so can anybody hint me/give me an excample?

    #2
    Big6 is extremely flexible but it can’t go beyond physical boundaries such as fixed IP addresses of your equipment. This alone requires dedicated http profile for each and separate event/action.
    The good news is that it is easy to copy and organize events in HS4. It is just one click to replace the http profile in the copy of the original event.

    Big6 offers great flexibility as far as the outgoing message/command goes. It supports multiple expressions including if…than…else allowing you to design your commands around parameters that could be hs4 devices. This could be a possibility to reduce the number of 100 commands.

    Comment


      #3
      Thanks for the quick responce. Then it will be copy and paste for all the events for the moment until I get more experienced....
      Maybe you can hlep me out with this too ?:
      When I send out the http command I get a responce from the equipment like this: (When using google Chrome)

      <xmlresult>
      <[Some Text]>
      </xmlresult>

      How can I get this information and thereafter only get the interresing part {Some Text] into a string variable to show this in HS Touch

      Comment


        #4
        steri

        Yes, Big6 has very well developed parsing functionality through expressions. Expressions are easy to understand and use and cover over 90% of real life cases with the remaining being covered by RegEx, which is also an option. All well documented including examples online here .

        Strongly recommended is the use of the sandbox to test your expressions. The sandbox is available at HS4-->Plugins-->Big6-->Documentation

        Once you test your expression than you strip the ${...} wrapper and use it in the "Value expression" box of your profile.
        Big6 will automatically create HS4 devices that will contain the parsed text as a string.

        Here is one example of parsing data using Big6 (this one is quite complex, don't get scared)

        https://forums.homeseer.com/forum/hs...ultiple-values

        Comment

        Working...
        X