Announcement

Collapse
No announcement yet.

Variables in Show Notification Action

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

    Variables in Show Notification Action

    Hello,

    I'm trying to use a "GUI show notification" with a global variable in it and I have this as the message

    Incoming call from $$GLOBALVARcid-19):

    My GlobalVariable is called cid-19 (this is the SCSIP CallerID Var).

    It looks like this message is sent literally to Kodi rather than being evaluated. Any ideas?

    Thanks

    M

    #2
    you are right I forgot to parse the variables for message sent with the "GUI show notification" function. Right now it only works for TTS messages, when you enable the XBMC plugin as a speak proxy.

    I will add it in the next version.

    Comment


      #3
      ah thank you. I thought I was loosing it.

      any eta when the next version is due?

      Comment


        #4
        what about now?

        try version 3.0.0.36 available here

        Comment


          #5
          Thanks.

          After installing this one I cannot connect to any of my Kodi macines. All show as a red X

          any thoughts?

          Noticed this in the log

          Posting back to plugin web page xbmcconfig: Object reference not set to an instance of an object.-> at System.Runtime.Remoting.Messaging.LogicalCallContext.Propaga teIncomingHeadersToCallContext(IMessage msg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.PostBackProc(String page, String data, String user, Int32 userRights) at Scheduler.proxyPage.postBackProc(StateObject& state, String Data)

          then

          Plugin XBMC is not responding but it is still running, not restarting yet.

          rolled back to production version and it connects again
          Last edited by madas; November 8, 2015, 10:13 AM.

          Comment


            #6
            ooops, sorry I screwed up when compiling the binary. I have fixed it.
            please download version 3.0.0.36 again and install again. Thanks

            Comment


              #7
              No errors this time but still no connections!

              I am going from .33 to .36

              Anything else I need to change?

              UPDATE: same errors in logs

              Posting back to plugin web page xbmcconfig: Object reference not set to an instance of an object.-> at System.Runtime.Remoting.Messaging.LogicalCallContext.Propaga teIncomingHeadersToCallContext(IMessage msg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.PostBackProc(String page, String data, String user, Int32 userRights) at Scheduler.proxyPage.postBackProc(StateObject& state, String Data)

              Comment


                #8
                Originally posted by madas View Post
                No errors this time but still no connections!

                I am going from .33 to .36

                Anything else I need to change?
                hmm, are you sure you re-downloaded and re-installed correctly?

                it works for me here

                can you set the log level to debug, and post the log lines you get when you start the plugin. thanks

                Comment


                  #9
                  is there a date on a dll or something I can check?

                  I think I did it correctly

                  UPDATED: ok - working!. I had purged the zip but not the directory. Its up and running but still shows

                  $GLOBALVAR$$cid-19):

                  in the message. Is my syntax wrong?

                  Noticed this in the log

                  Nov-08 11:13:04 AM Error Exception in Replacement of counter variable: Object reference not set to an instance of an object.
                  Nov-08 11:13:04 AM Warning A call was made to retrieve a global variable ((cid-19)) but that global variable has not been defined.
                  Attached Files
                  Last edited by madas; November 8, 2015, 11:12 AM.

                  Comment


                    #10
                    HSPI_XBMC.exe should have its date set to November-08-15 10:30. You can also check the size, see screenshot below

                    Click image for larger version

Name:	ver36.jpg
Views:	1
Size:	59.2 KB
ID:	1181030

                    Comment


                      #11
                      see post above yours - I was still editing when you responded

                      Comment


                        #12
                        Originally posted by madas View Post
                        is there a date on a dll or something I can check?

                        I think I did it correctly

                        UPDATED: ok - working!. I had purged the zip but not the directory. Its up and running but still shows

                        $GLOBALVAR$$cid-19):

                        in the message. Is my syntax wrong?
                        if your global var name is cid-19

                        I think the syntax is $$GLOBALVAR:cid-19:

                        see this link: http://homeseer.com/support/homeseer..._variables.htm
                        there is no example for global vars but it works as for timers and counters

                        Comment


                          #13
                          that was it - thank you. Fully working!

                          Comment


                            #14
                            last question. I can barely see these if Kodi is in Dim mode (screensaver). Any easy way to wake it up when the message comes through?

                            Comment


                              #15
                              Originally posted by madas View Post
                              last question. I can barely see these if Kodi is in Dim mode (screensaver). Any easy way to wake it up when the message comes through?
                              any input action would do the job, for example I tested the noop input action, and it wakes up Kodi just fine:

                              Click image for larger version

Name:	noopinput.jpg
Views:	1
Size:	31.1 KB
ID:	1181033

                              Comment

                              Working...
                              X