Announcement

Collapse
No announcement yet.

UDMC Script

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

  • UDMC Script

    Just added, hs.writelog("BLRadar","Motion On") in UDMC window.
    And it gives me below error.

    Compiling script BLRadar\BLRadar_On_test.vb: Declaration expected.
    Compiling script BLRadar\BLRadar_On_test.vb: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
    Please excuse any spelling and grammatical errors I may make.
    --
    Tasker Plugin / Speech Droid
    Tonlof | Sweden

  • #2
    HS2 or HS3?
    Send me a screenshot of the screen
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


    • #3
      Originally posted by Blade View Post
      HS2 or HS3?
      Send me a screenshot of the screen
      Hi Blade, it's HS3
      Attached Files
      Please excuse any spelling and grammatical errors I may make.
      --
      Tasker Plugin / Speech Droid
      Tonlof | Sweden

      Comment


      • #4
        I do not see any issues with that
        This errors seems odd to me

        Compiling script BLRadar\BLRadar_On_test.vb: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

        It is like your .net may be messed up

        Can you attach your settings.ini file zipped from your config folder
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment


        • #5
          Not sure what I have done but the errors is gone.

          Using the same simple writelog, when I press the testbutton it's execute the code. But it's never trigger by a real movement.
          Last Activity is updated each time the sensor change status and the devicestring as well.
          Please excuse any spelling and grammatical errors I may make.
          --
          Tasker Plugin / Speech Droid
          Tonlof | Sweden

          Comment


          • #6
            Originally posted by Blade View Post

            Can you attach your settings.ini file zipped from your config folder
            Here is the settings.ini

            Still no success with the code, Testbutton works fine with the code.
            Last edited by tonlof; July 13th, 2015, 03:20 PM.
            Please excuse any spelling and grammatical errors I may make.
            --
            Tasker Plugin / Speech Droid
            Tonlof | Sweden

            Comment


            • #7
              So the code works... it is just not triggering on movement?
              Do you have UDMC code enabled on the options page
              Do you know for sure the motion is working
              Cheers,
              Bob
              Web site | Help Desk | Feature Requests | Message Board

              Comment


              • #8
                "Enable User Defined Motion Code Scripting" is enabled in options tab.

                BLRadar change the device string each time motion / nomotion trigger.

                Not sure why one of the sensor change to 735791 days but I don't know if this has anything with the non working code to do or not.
                Attached Files
                Please excuse any spelling and grammatical errors I may make.
                --
                Tasker Plugin / Speech Droid
                Tonlof | Sweden

                Comment

                Working...
                X