Announcement

Collapse
No announcement yet.

Ability to set %HSSetdevicevalue to negative number

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

    Ability to set %HSSetdevicevalue to negative number

    I have a custom device in HS that has status values of -1 (Power off), 0-100 (volume), and 101 (Power on).

    I can not pass -1 in the %HSSetdevicevalue to turn the device off. I can pass 0-100 to set volume and 101 to power on without issues.

    Is there any way in the current plugin to handle a negative value? If not, could it be possible to add to the HS3 Engine?

    Thanks

    #2
    Originally posted by tamu View Post
    I have a custom device in HS that has status values of -1 (Power off), 0-100 (volume), and 101 (Power on).

    I can not pass -1 in the %HSSetdevicevalue to turn the device off. I can pass 0-100 to set volume and 101 to power on without issues.

    Is there any way in the current plugin to handle a negative value? If not, could it be possible to add to the HS3 Engine?

    Thanks
    Hello Tamu, I will look into this in the coming weekend and see why it's not working
    Please excuse any spelling and grammatical errors I may make.
    --
    Tasker Plugin / Speech Droid
    Tonlof | Sweden

    Comment


      #3
      Hello Tamu, could you please try attached version.
      Attached Files
      Please excuse any spelling and grammatical errors I may make.
      --
      Tasker Plugin / Speech Droid
      Tonlof | Sweden

      Comment


        #4
        Hi Tonlof,

        Thank you very much for the quick response. The exe you posted handles the negative number correctly now.

        Thank you!

        Comment

        Working...
        X