Announcement

Collapse
No announcement yet.

IP / Serial Plugin for HS3 (by "drule") - Discussion Thread

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

    ​ok, sorry about the long delay in getting back on this one. I had to move the whole Homeseer setup over to my new server under Windows 10 and debug everything that didn't work after doing this. I got everything stable, and started looking into this again. I added the new version of the plugin and created the pass-thru script.

    I issued a play command to the device and then grabbed the homeseer and drhsplugin log information from the command. Not sure if this helps?

    Feb-13 20:39:07 Pass-thru There are 4095 bytes of binary data.
    Feb-13 20:39:07 Pass-thru AsciiData
    Feb-13 20:39:07 Pass-thru FromIp
    Feb-13 20:39:07 Pass-thru ConnectionName
    Feb-13 20:39:06 Error 3 Running script Russound_MPX_2_Incoming.vb :Exception has been thrown by the target of an invocation.->Does entry point Main exist in script? at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Obj ect obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Scheduler.clsRunVBNetScript.ExecuteScript()
    Feb-13 20:39:06 Pass-thru There are 4095 bytes of binary data.
    Feb-13 20:39:06 Pass-thru AsciiData
    Feb-13 20:39:06 Pass-thru FromIp
    Feb-13 20:39:06 Pass-thru ConnectionName
    Feb-13 20:39:06 Event Event Trigger "Security - General Whole House Motion Triggered | Delete delayed events - Arm Away | Lock all Doors | Turn Stereo Off"
    Feb-13 20:39:06 Pass-thru There are 4095 bytes of binary data.
    Feb-13 20:39:06 Pass-thru AsciiData
    Feb-13 20:39:06 Pass-thru FromIp
    Feb-13 20:39:06 Pass-thru ConnectionName
    Feb-13 20:39:06 Pass-thru There are 4095 bytes of binary data.
    Feb-13 20:39:06 Pass-thru AsciiData
    Feb-13 20:39:06 Pass-thru FromIp
    Feb-13 20:39:06 Pass-thru ConnectionName
    Feb-13 20:39:06 Error 3 Running script Russound_MPX_2_Incoming.vb :Exception has been thrown by the target of an invocation.->Does entry point Main exist in script? at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Obj ect obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Scheduler.clsRunVBNetScript.ExecuteScript()
    Feb-13 20:39:06 Pass-thru There are 4095 bytes of binary data.
    Feb-13 20:39:06 Pass-thru AsciiData
    Feb-13 20:39:06 Pass-thru FromIp
    Feb-13 20:39:06 Pass-thru ConnectionName
    Feb-13 20:39:06 drhsIpPlugIn Sending 32 bytes to Russound-CHA3
    Feb-13 20:39:06 drhsIpPlugIn Sending 14 bytes to Russound-CHA2
    Feb-13 20:39:06 drhsIpPlugIn Sending 14 bytes to Russound-CHA3
    Feb-13 20:39:06 MPX_Out Player: MPX-1 | Command: PLAY
    Feb-13 20:39:06 Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/Russound_MPX_Outgoing.vb("Main","MPX-1|PLAY")
    Feb-13 20:39:06 Event Event Trigger "Audio/Video - MPX MPX-1 Outgoing SCRIPT - PLAY"
    Feb-13 20:39:06 Event Event Audio/Video - MPX MPX-1 Outgoing SCRIPT - PLAY triggered by the event page 'Run' button.


    2/13/2021 8:39:06 PM:
    Sub Main()
    Dim AsciiData As String = "S
    N S[1].name="Media Streamer"
    N S[1].type="Russound Media Streamer"
    N S[1].Support.favoritesV2="TRUE"
    N S[1].Support.MM.longList="TRUE"
    N S[1].Support.MM.restoreOption="TRUE"
    N S[1].Support.availableControls="TRUE"
    N S[1].Support.trackTime="TRUE"
    N S[1].Support.playTime="TRUE"
    N S[1].Support.playerData="TRUE"
    N S[1].channelName="033 1st Wave"
    N S[1].coverArtURL=""
    N S[1].channelArtURL="http://pri.art.prod.streaming.siriusxm.com/images/channel/20180725/firstwave-1-31-00-180x180.png"
    N S[1].mode="SiriusXM"
    N S[1].shuffleMode=""
    N S[1].repeatMode=""
    N S[1].volume="0"
    N S[1].rating="UNKNOWN"
    N S[1].playlistName="Rock"
    N S[1].artistName="Saturday Night"
    N S[1].albumName=""
    N S[1].songName="Safety Dance"
    N S[1].availableControls="{"contextMenu":false,"dislike":false,"li ke":false,"next":false,"pause":false,"play":true,"previous ": false,"repeat":false,"seekBack":false,"seekForward":false,"s eekTime":false,"seekTrack":false,"shuffle":false,"stop":true }"
    N S[1].trackTime=""
    N S[1].playTime="1928"
    N S[1].playerData="{"breadCrumbs":"","mimeType":2186088,"mode":5," playId":"","rootPath":"0","title":"Rock","type":"","url":{"c ontrol":"play","mediaRoles":{"audioType":"audioBroadcast","c ontext":{},"description":"Classic Alternative","icon":"http://pri.art.prod.streaming.siriusxm.com/images/channel/20180725/firstwave-1-31-00-180x180.png","id":"033","mediaData":{"metaData":{"contentPla yContextPath":"siriuslayContext?name=1st%20Wave&siriusChannelNo=33&id=firstwave&g enre=rock","genre":"Rock","live":true,"playLogicPath":"siriu s:/PlayLogic","serviceID":"sirius"},"resources":[{"httpTimeout":120,"mimeType":"audio/mp4","uri":"http://localhost:8080/api/stream/sirius:firstwave;goLive"}]},"path":"sirius:firstwave","title":"033 1st Wave","type":"audio"}},"useUrl":true}"
    N S[1].sampleRate="44100"
    N S[1].bitDepth="32"
    N S[1].bitRate="256001"
    N S[1].format="MPEG-4 AAC"
    N S[1].playStatus="playing"
    S"
    Dim BinaryData() As Byte = {83, 13, 10, 78, 32, 83, 91, 49, 93, 46, 110, 97, 109, 101, 61, 34, 77, 101, 100, 105, 97, 32, 83, 116, 114, 101, 97, 109, 101, 114, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 116, 121, 112, 101, 61, 34, 82, 117, 115, 115, 111, 117, 110, 100, 32, 77, 101, 100, 105, 97, 32, 83, 116, 114, 101, 97, 109, 101, 114, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 102, 97, 118, 111, 114, 105, 116, 101, 115, 86, 50, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 77, 77, 46, 108, 111, 110, 103, 76, 105, 115, 116, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 77, 77, 46, 114, 101, 115, 116, 111, 114, 101, 79, 112, 116, 105, 111, 110, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 97, 118, 97, 105, 108, 97, 98, 108, 101, 67, 111, 110, 116, 114, 111, 108, 115, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 116, 114, 97, 99, 107, 84, 105, 109, 101, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 112, 108, 97, 121, 84, 105, 109, 101, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 112, 108, 97, 121, 101, 114, 68, 97, 116, 97, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 99, 104, 97, 110, 110, 101, 108, 78, 97, 109, 101, 61, 34, 48, 51, 51, 32, 32, 49, 115, 116, 32, 87, 97, 118, 101, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 99, 111, 118, 101, 114, 65, 114, 116, 85, 82, 76, 61, 34, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 99, 104, 97, 110, 110, 101, 108, 65, 114, 116, 85, 82, 76, 61, 34, 104, 116, 116, 112, 58, 47, 47, 112, 114, 105, 46, 97, 114, 116, 46, 112, 114, 111, 100, 46, 115, 116, 114, 101, 97, 109, 105, 110, 103, 46, 115, 105, 114, 105, 117, 115, 120, 109, 46, 99, 111, 109, 47, 105, 109, 97, 103, 101, 115, 47, 99, 104, 97, 110, 110, 101, 108, 47, 50, 48, 49, 56, 48, 55, 50, 53, 47, 102, 105, 114, 115, 116, 119, 97, 118, 101, 45, 49, 45, 51, 49, 45, 48, 48, 45, 49, 56, 48, 120, 49, 56, 48, 46, 112, 110, 103, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 109, 111, 100, 101, 61, 34, 83, 105, 114, 105, 117, 115, 88, 77, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 115, 104, 117, 102, 102, 108, 101, 77, 111, 100, 101, 61, 34, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 114, 101, 112, 101, 97, 116, 77, 111, 100, 101, 61, 34, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 118, 111, 108, 117, 109, 101, 61, 34, 48, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 114, 97, 116, 105, 110, 103, 61, 34, 85, 78, 75, 78, 79, 87, 78, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 112, 108, 97, 121, 108, 105, 115, 116, 78, 97, 109, 101, 61, 34, 82, 111, 99, 107, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 97, 114, 116, 105, 115, 116, 78, 97, 109, 101, 61, 34, 83, 97, 116, 117, 114, 100, 97, 121, 32, 78, 105, 103, 104, 116, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 97, 108, 98, 117, 109, 78, 97, 109, 101, 61, 34, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 115, 111, 110, 103, 78, 97, 109, 101, 61, 34, 83, 97, 102, 101, 116, 121, 32, 68, 97, 110, 99, 101, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 97, 118, 97, 105, 108, 97, 98, 108, 101, 67, 111, 110, 116, 114, 111, 108, 115, 61, 34, 123, 34, 99, 111, 110, 116, 101, 120, 116, 77, 101, 110, 117, 34, 58, 102, 97, 108, 115, 101, 44, 34, 100, 105, 115, 108, 105, 107, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 108, 105, 107, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 110, 101, 120, 116, 34, 58, 102, 97, 108, 115, 101, 44, 34, 112, 97, 117, 115, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 112, 108, 97, 121, 34, 58, 116, 114, 117, 101, 44, 34, 112, 114, 101, 118, 105, 111, 117, 115, 34, 58, 102, 97, 108, 115, 101, 44, 34, 114, 101, 112, 101, 97, 116, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 101, 101, 107, 66, 97, 99, 107, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 101, 101, 107, 70, 111, 114, 119, 97, 114, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 101, 101, 107, 84, 105, 109, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 101, 101, 107, 84, 114, 97, 99, 107, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 104, 117, 102, 102, 108, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 116, 111, 112, 34, 58, 116, 114, 117, 101, 125, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 116, 114, 97, 99, 107, 84, 105, 109, 101, 61, 34, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 112, 108, 97, 121, 84, 105, 109, 101, 61, 34, 49, 57, 50, 56, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 112, 108, 97, 121, 101, 114, 68, 97, 116, 97, 61, 34, 123, 34, 98, 114, 101, 97, 100, 67, 114, 117, 109, 98, 115, 34, 58, 34, 34, 44, 34, 109, 105, 109, 101, 84, 121, 112, 101, 34, 58, 50, 49, 56, 54, 48, 56, 56, 44, 34, 109, 111, 100, 101, 34, 58, 53, 44, 34, 112, 108, 97, 121, 73, 100, 34, 58, 34, 34, 44, 34, 114, 111, 111, 116, 80, 97, 116, 104, 34, 58, 34, 48, 34, 44, 34, 116, 105, 116, 108, 101, 34, 58, 34, 82, 111, 99, 107, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 34, 44, 34, 117, 114, 108, 34, 58, 123, 34, 99, 111, 110, 116, 114, 111, 108, 34, 58, 34, 112, 108, 97, 121, 34, 44, 34, 109, 101, 100, 105, 97, 82, 111, 108, 101, 115, 34, 58, 123, 34, 97, 117, 100, 105, 111, 84, 121, 112, 101, 34, 58, 34, 97, 117, 100, 105, 111, 66, 114, 111, 97, 100, 99, 97, 115, 116, 34, 44, 34, 99, 111, 110, 116, 101, 120, 116, 34, 58, 123, 125, 44, 34, 100, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110, 34, 58, 34, 67, 108, 97, 115, 115, 105, 99, 32, 65, 108, 116, 101, 114, 110, 97, 116, 105, 118, 101, 34, 44, 34, 105, 99, 111, 110, 34, 58, 34, 104, 116, 116, 112, 58, 47, 47, 112, 114, 105, 46, 97, 114, 116, 46, 112, 114, 111, 100, 46, 115, 116, 114, 101, 97, 109, 105, 110, 103, 46, 115, 105, 114, 105, 117, 115, 120, 109, 46, 99, 111, 109, 47, 105, 109, 97, 103, 101, 115, 47, 99, 104, 97, 110, 110, 101, 108, 47, 50, 48, 49, 56, 48, 55, 50, 53, 47, 102, 105, 114, 115, 116, 119, 97, 118, 101, 45, 49, 45, 51, 49, 45, 48, 48, 45, 49, 56, 48, 120, 49, 56, 48, 46, 112, 110, 103, 34, 44, 34, 105, 100, 34, 58, 34, 48, 51, 51, 34, 44, 34, 109, 101, 100, 105, 97, 68, 97, 116, 97, 34, 58, 123, 34, 109, 101, 116, 97, 68, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 116, 101, 110, 116, 80, 108, 97, 121, 67, 111, 110, 116, 101, 120, 116, 80, 97, 116, 104, 34, 58, 34, 115, 105, 114, 105, 117, 115, 58, 112, 108, 97, 121, 67, 111, 110, 116, 101, 120, 116, 63, 110, 97, 109, 101, 61, 49, 115, 116, 37, 50, 48, 87, 97, 118, 101, 38, 115, 105, 114, 105, 117, 115, 67, 104, 97, 110, 110, 101, 108, 78, 111, 61, 51, 51, 38, 105, 100, 61, 102, 105, 114, 115, 116, 119, 97, 118, 101, 38, 103, 101, 110, 114, 101, 61, 114, 111, 99, 107, 34, 44, 34, 103, 101, 110, 114, 101, 34, 58, 34, 82, 111, 99, 107, 34, 44, 34, 108, 105, 118, 101, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 76, 111, 103, 105, 99, 80, 97, 116, 104, 34, 58, 34, 115, 105, 114, 105, 117, 115, 58, 47, 80, 108, 97, 121, 76, 111, 103, 105, 99, 34, 44, 34, 115, 101, 114, 118, 105, 99, 101, 73, 68, 34, 58, 34, 115, 105, 114, 105, 117, 115, 34, 125, 44, 34, 114, 101, 115, 111, 117, 114, 99, 101, 115, 34, 58, 91, 123, 34, 104, 116, 116, 112, 84, 105, 109, 101, 111, 117, 116, 34, 58, 49, 50, 48, 44, 34, 109, 105, 109, 101, 84, 121, 112, 101, 34, 58, 34, 97, 117, 100, 105, 111, 47, 109, 112, 52, 34, 44, 34, 117, 114, 105, 34, 58, 34, 104, 116, 116, 112, 58, 47, 47, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 56, 48, 56, 48, 47, 97, 112, 105, 47, 115, 116, 114, 101, 97, 109, 47, 115, 105, 114, 105, 117, 115, 58, 102, 105, 114, 115, 116, 119, 97, 118, 101, 59, 103, 111, 76, 105, 118, 101, 34, 125, 93, 125, 44, 34, 112, 97, 116, 104, 34, 58, 34, 115, 105, 114, 105, 117, 115, 58, 102, 105, 114, 115, 116, 119, 97, 118, 101, 34, 44, 34, 116, 105, 116, 108, 101, 34, 58, 34, 48, 51, 51, 32, 32, 49, 115, 116, 32, 87, 97, 118, 101, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 97, 117, 100, 105, 111, 34, 125, 125, 44, 34, 117, 115, 101, 85, 114, 108, 34, 58, 116, 114, 117, 101, 125, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 115, 97, 109, 112, 108, 101, 82, 97, 116, 101, 61, 34, 52, 52, 49, 48, 48, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 98, 105, 116, 68, 101, 112, 116, 104, 61, 34, 51, 50, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 98, 105, 116, 82, 97, 116, 101, 61, 34, 50, 53, 54, 48, 48, 49, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 102, 111, 114, 109, 97, 116, 61, 34, 77, 80, 69, 71, 45, 52, 32, 65, 65, 67, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 112, 108, 97, 121, 83, 116, 97, 116, 117, 115, 61, 34, 112, 108, 97, 121, 105, 110, 103, 34, 13, 10, 83, 13, 10}
    Dim ObjectArray(3) As Object
    ObjectArray(0) = "Russound-CHA3"
    ObjectArray(1) = "192.168.2.192:9621"
    ObjectArray(2) = AsciiData
    ObjectArray(3) = BinaryData

    hs.RunScriptFunc("Russound_MPX_1_Incoming.vb", "Main", ObjectArray, False, False)
    End Sub


    Comment


      Cut & paste Sub Main() from the log file into a new .vb script file eg MyTest.vb, and then setup a manually triggered event to call that script. This will call your Russound_MPX_1_Incoming.vb script in the same manner that the plugin calls it. If the manual event fails the same way, we'll know it isn't the plugin that is causing the error.

      Comment


        ok, I gave this a shot. I pulled one of the snippets from the log file at the time stamp that I got an error in the log. Unfortunately it didn't like the code and threw all sorts of errors, I copied only the first part and the code snippet afterwards.
        Feb-16 20:36:40 Error Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\test_drhsplugin.vb: 'S' is not declared. It may be inaccessible due to its protection level.
        Feb-16 20:36:40 Error Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\test_drhsplugin.vb: Method arguments must be enclosed in parentheses.
        Feb-16 20:36:40 Error Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\test_drhsplugin.vb: 'N' is not declared. It may be inaccessible due to its protection level.
        Feb-16 20:36:40 Error Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\test_drhsplugin.vb: String constants must end with a double quote.
        Feb-16 20:36:40 Error Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\test_drhsplugin.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.

        Code:
        Sub Main()
        Dim AsciiData As String = "S
        N S[1].name="Media Streamer"
        N S[1].type="Russound Media Streamer"
        N S[1].Support.favoritesV2="TRUE"
        N S[1].Support.MM.longList="TRUE"
        N S[1].Support.MM.restoreOption="TRUE"
        N S[1].Support.availableControls="TRUE"
        N S[1].Support.trackTime="TRUE"
        N S[1].Support.playTime="TRUE"
        N S[1].Support.playerData="TRUE"
        N S[1].channelName="036 Alt Nation"
        N S[1].coverArtURL="http://albumart.siriusxm.com/albumart/0030/GDCA-105053531-001_m.jpg"
        N S[1].channelArtURL="http://pri.art.prod.streaming.siriusxm.com/images/channel/20180725/altnation-1-31-00-180x180.png"
        N S[1].mode="SiriusXM"
        N S[1].shuffleMode="OFF"
        N S[1].repeatMode="OFF"
        N S[1].volume="25"
        N S[1].rating="UNKNOWN"
        N S[1].playlistName="Rock"
        N S[1].artistName="All Time Low/blackbear"
        N S[1].albumName="Wake Up Sunshine"
        N S[1].songName="Monsters"
        N S[1].availableControls="{"contextMenu":false,"dislike":false,"li ke":false,"next":false,"pause":false,"play":true,"previous": false,"repeat":false,"seekBack":false,"seekForward":false,"s eekTime":false,"seekTrack":false,"shuffle":false,"stop":true }"
        N S[1].trackTime="0"
        N S[1].playTime="8586"
        N S[1].playerData="{"breadCrumbs":"","mimeType":2186088,"mode":5," playId":"","rootPath":"0","title":"Rock","type":"","url":{"c ontrol":"play","mediaRoles":{"audioType":"audioBroadcast","c ontext":{},"description":"New Alternative Rock","icon":"http://pri.art.prod.streaming.siriusxm.com/images/channel/20180725/altnation-1-31-00-180x180.png","id":"036","mediaData":{"metaData":{"contentPla yContextPath":"sirius:playContext?name=Alt%20Nation&siriusChannelNo=36&id=altnation &genre=rock","genre":"Rock","live":true,"playLogicPath":"sir ius:/PlayLogic","serviceID":"sirius"},"resources":[{"httpTimeout":120,"mimeType":"audio/mp4","uri":"http://localhost:8080/api/stream/sirius:altnation;goLive"}]},"path":"sirius:altnation","title":"036 Alt Nation","type":"audio"}},"useUrl":true}"
        N S[1].sampleRate="44100"
        N S[1].bitDepth="32"
        N S[1].bitRate="256001"
        N S[1].format="MPEG-4 AAC"
        N S[1].playStatus="playing"
        S
        N S[1].playTime="8587""
        Dim BinaryData() As Byte = {83, 13, 10, 78, 32, 83, 91, 49, 93, 46, 110, 97, 109, 101, 61, 34, 77, 101, 100, 105, 97, 32, 83, 116, 114, 101, 97, 109, 101, 114, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 116, 121, 112, 101, 61, 34, 82, 117, 115, 115, 111, 117, 110, 100, 32, 77, 101, 100, 105, 97, 32, 83, 116, 114, 101, 97, 109, 101, 114, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 102, 97, 118, 111, 114, 105, 116, 101, 115, 86, 50, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 77, 77, 46, 108, 111, 110, 103, 76, 105, 115, 116, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 77, 77, 46, 114, 101, 115, 116, 111, 114, 101, 79, 112, 116, 105, 111, 110, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 97, 118, 97, 105, 108, 97, 98, 108, 101, 67, 111, 110, 116, 114, 111, 108, 115, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 116, 114, 97, 99, 107, 84, 105, 109, 101, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 112, 108, 97, 121, 84, 105, 109, 101, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 83, 117, 112, 112, 111, 114, 116, 46, 112, 108, 97, 121, 101, 114, 68, 97, 116, 97, 61, 34, 84, 82, 85, 69, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 99, 104, 97, 110, 110, 101, 108, 78, 97, 109, 101, 61, 34, 48, 51, 54, 32, 32, 65, 108, 116, 32, 78, 97, 116, 105, 111, 110, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 99, 111, 118, 101, 114, 65, 114, 116, 85, 82, 76, 61, 34, 104, 116, 116, 112, 58, 47, 47, 97, 108, 98, 117, 109, 97, 114, 116, 46, 115, 105, 114, 105, 117, 115, 120, 109, 46, 99, 111, 109, 47, 97, 108, 98, 117, 109, 97, 114, 116, 47, 48, 48, 51, 48, 47, 71, 68, 67, 65, 45, 49, 48, 53, 48, 53, 51, 53, 51, 49, 45, 48, 48, 49, 95, 109, 46, 106, 112, 103, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 99, 104, 97, 110, 110, 101, 108, 65, 114, 116, 85, 82, 76, 61, 34, 104, 116, 116, 112, 58, 47, 47, 112, 114, 105, 46, 97, 114, 116, 46, 112, 114, 111, 100, 46, 115, 116, 114, 101, 97, 109, 105, 110, 103, 46, 115, 105, 114, 105, 117, 115, 120, 109, 46, 99, 111, 109, 47, 105, 109, 97, 103, 101, 115, 47, 99, 104, 97, 110, 110, 101, 108, 47, 50, 48, 49, 56, 48, 55, 50, 53, 47, 97, 108, 116, 110, 97, 116, 105, 111, 110, 45, 49, 45, 51, 49, 45, 48, 48, 45, 49, 56, 48, 120, 49, 56, 48, 46, 112, 110, 103, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 109, 111, 100, 101, 61, 34, 83, 105, 114, 105, 117, 115, 88, 77, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 115, 104, 117, 102, 102, 108, 101, 77, 111, 100, 101, 61, 34, 79, 70, 70, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 114, 101, 112, 101, 97, 116, 77, 111, 100, 101, 61, 34, 79, 70, 70, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 118, 111, 108, 117, 109, 101, 61, 34, 50, 53, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 114, 97, 116, 105, 110, 103, 61, 34, 85, 78, 75, 78, 79, 87, 78, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 112, 108, 97, 121, 108, 105, 115, 116, 78, 97, 109, 101, 61, 34, 82, 111, 99, 107, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 97, 114, 116, 105, 115, 116, 78, 97, 109, 101, 61, 34, 65, 108, 108, 32, 84, 105, 109, 101, 32, 76, 111, 119, 47, 98, 108, 97, 99, 107, 98, 101, 97, 114, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 97, 108, 98, 117, 109, 78, 97, 109, 101, 61, 34, 87, 97, 107, 101, 32, 85, 112, 32, 83, 117, 110, 115, 104, 105, 110, 101, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 115, 111, 110, 103, 78, 97, 109, 101, 61, 34, 77, 111, 110, 115, 116, 101, 114, 115, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 97, 118, 97, 105, 108, 97, 98, 108, 101, 67, 111, 110, 116, 114, 111, 108, 115, 61, 34, 123, 34, 99, 111, 110, 116, 101, 120, 116, 77, 101, 110, 117, 34, 58, 102, 97, 108, 115, 101, 44, 34, 100, 105, 115, 108, 105, 107, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 108, 105, 107, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 110, 101, 120, 116, 34, 58, 102, 97, 108, 115, 101, 44, 34, 112, 97, 117, 115, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 112, 108, 97, 121, 34, 58, 116, 114, 117, 101, 44, 34, 112, 114, 101, 118, 105, 111, 117, 115, 34, 58, 102, 97, 108, 115, 101, 44, 34, 114, 101, 112, 101, 97, 116, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 101, 101, 107, 66, 97, 99, 107, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 101, 101, 107, 70, 111, 114, 119, 97, 114, 100, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 101, 101, 107, 84, 105, 109, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 101, 101, 107, 84, 114, 97, 99, 107, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 104, 117, 102, 102, 108, 101, 34, 58, 102, 97, 108, 115, 101, 44, 34, 115, 116, 111, 112, 34, 58, 116, 114, 117, 101, 125, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 116, 114, 97, 99, 107, 84, 105, 109, 101, 61, 34, 48, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 112, 108, 97, 121, 84, 105, 109, 101, 61, 34, 56, 53, 56, 54, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 112, 108, 97, 121, 101, 114, 68, 97, 116, 97, 61, 34, 123, 34, 98, 114, 101, 97, 100, 67, 114, 117, 109, 98, 115, 34, 58, 34, 34, 44, 34, 109, 105, 109, 101, 84, 121, 112, 101, 34, 58, 50, 49, 56, 54, 48, 56, 56, 44, 34, 109, 111, 100, 101, 34, 58, 53, 44, 34, 112, 108, 97, 121, 73, 100, 34, 58, 34, 34, 44, 34, 114, 111, 111, 116, 80, 97, 116, 104, 34, 58, 34, 48, 34, 44, 34, 116, 105, 116, 108, 101, 34, 58, 34, 82, 111, 99, 107, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 34, 44, 34, 117, 114, 108, 34, 58, 123, 34, 99, 111, 110, 116, 114, 111, 108, 34, 58, 34, 112, 108, 97, 121, 34, 44, 34, 109, 101, 100, 105, 97, 82, 111, 108, 101, 115, 34, 58, 123, 34, 97, 117, 100, 105, 111, 84, 121, 112, 101, 34, 58, 34, 97, 117, 100, 105, 111, 66, 114, 111, 97, 100, 99, 97, 115, 116, 34, 44, 34, 99, 111, 110, 116, 101, 120, 116, 34, 58, 123, 125, 44, 34, 100, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110, 34, 58, 34, 78, 101, 119, 32, 65, 108, 116, 101, 114, 110, 97, 116, 105, 118, 101, 32, 82, 111, 99, 107, 34, 44, 34, 105, 99, 111, 110, 34, 58, 34, 104, 116, 116, 112, 58, 47, 47, 112, 114, 105, 46, 97, 114, 116, 46, 112, 114, 111, 100, 46, 115, 116, 114, 101, 97, 109, 105, 110, 103, 46, 115, 105, 114, 105, 117, 115, 120, 109, 46, 99, 111, 109, 47, 105, 109, 97, 103, 101, 115, 47, 99, 104, 97, 110, 110, 101, 108, 47, 50, 48, 49, 56, 48, 55, 50, 53, 47, 97, 108, 116, 110, 97, 116, 105, 111, 110, 45, 49, 45, 51, 49, 45, 48, 48, 45, 49, 56, 48, 120, 49, 56, 48, 46, 112, 110, 103, 34, 44, 34, 105, 100, 34, 58, 34, 48, 51, 54, 34, 44, 34, 109, 101, 100, 105, 97, 68, 97, 116, 97, 34, 58, 123, 34, 109, 101, 116, 97, 68, 97, 116, 97, 34, 58, 123, 34, 99, 111, 110, 116, 101, 110, 116, 80, 108, 97, 121, 67, 111, 110, 116, 101, 120, 116, 80, 97, 116, 104, 34, 58, 34, 115, 105, 114, 105, 117, 115, 58, 112, 108, 97, 121, 67, 111, 110, 116, 101, 120, 116, 63, 110, 97, 109, 101, 61, 65, 108, 116, 37, 50, 48, 78, 97, 116, 105, 111, 110, 38, 115, 105, 114, 105, 117, 115, 67, 104, 97, 110, 110, 101, 108, 78, 111, 61, 51, 54, 38, 105, 100, 61, 97, 108, 116, 110, 97, 116, 105, 111, 110, 38, 103, 101, 110, 114, 101, 61, 114, 111, 99, 107, 34, 44, 34, 103, 101, 110, 114, 101, 34, 58, 34, 82, 111, 99, 107, 34, 44, 34, 108, 105, 118, 101, 34, 58, 116, 114, 117, 101, 44, 34, 112, 108, 97, 121, 76, 111, 103, 105, 99, 80, 97, 116, 104, 34, 58, 34, 115, 105, 114, 105, 117, 115, 58, 47, 80, 108, 97, 121, 76, 111, 103, 105, 99, 34, 44, 34, 115, 101, 114, 118, 105, 99, 101, 73, 68, 34, 58, 34, 115, 105, 114, 105, 117, 115, 34, 125, 44, 34, 114, 101, 115, 111, 117, 114, 99, 101, 115, 34, 58, 91, 123, 34, 104, 116, 116, 112, 84, 105, 109, 101, 111, 117, 116, 34, 58, 49, 50, 48, 44, 34, 109, 105, 109, 101, 84, 121, 112, 101, 34, 58, 34, 97, 117, 100, 105, 111, 47, 109, 112, 52, 34, 44, 34, 117, 114, 105, 34, 58, 34, 104, 116, 116, 112, 58, 47, 47, 108, 111, 99, 97, 108, 104, 111, 115, 116, 58, 56, 48, 56, 48, 47, 97, 112, 105, 47, 115, 116, 114, 101, 97, 109, 47, 115, 105, 114, 105, 117, 115, 58, 97, 108, 116, 110, 97, 116, 105, 111, 110, 59, 103, 111, 76, 105, 118, 101, 34, 125, 93, 125, 44, 34, 112, 97, 116, 104, 34, 58, 34, 115, 105, 114, 105, 117, 115, 58, 97, 108, 116, 110, 97, 116, 105, 111, 110, 34, 44, 34, 116, 105, 116, 108, 101, 34, 58, 34, 48, 51, 54, 32, 32, 65, 108, 116, 32, 78, 97, 116, 105, 111, 110, 34, 44, 34, 116, 121, 112, 101, 34, 58, 34, 97, 117, 100, 105, 111, 34, 125, 125, 44, 34, 117, 115, 101, 85, 114, 108, 34, 58, 116, 114, 117, 101, 125, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 115, 97, 109, 112, 108, 101, 82, 97, 116, 101, 61, 34, 52, 52, 49, 48, 48, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 98, 105, 116, 68, 101, 112, 116, 104, 61, 34, 51, 50, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 98, 105, 116, 82, 97, 116, 101, 61, 34, 50, 53, 54, 48, 48, 49, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 102, 111, 114, 109, 97, 116, 61, 34, 77, 80, 69, 71, 45, 52, 32, 65, 65, 67, 34, 13, 10, 78, 32, 83, 91, 49, 93, 46, 112, 108, 97, 121, 83, 116, 97, 116, 117, 115, 61, 34, 112, 108, 97, 121, 105, 110, 103, 34, 13, 10, 83, 13, 10, 78, 32, 83, 91, 49, 93, 46, 112, 108, 97, 121, 84, 105, 109, 101, 61, 34, 56, 53, 56, 55, 34, 13, 10}
        Dim ObjectArray(3) As Object
        ObjectArray(0) = "Russound-CHA2"
        ObjectArray(1) = "192.168.2.167:9621"
        ObjectArray(2) = AsciiData
        ObjectArray(3) = BinaryData
        
        hs.RunScriptFunc("Russound_MPX_2_Incoming.vb", "Main", ObjectArray, False, False)
        End Sub

        Comment


          OK, I see what has happened. The data coming back from the Russound contains CRLFs. I'll have to make to change to convert these into Chr(13) and Chr(10). Will try that a bit later.

          Comment


            Great plugin!!! Thanks!
            A quick question:
            Is it possible to indicate a range of ipaddresses or comma separate them in the “Connections” tab. E.g I have several sources that could run the same script.

            Comment


              Hi guys,

              I have used this plugin for years, but now when I try to initialize the plugin I get this error:

              "WARNING: Failed getting InterfaceStatus from drhsIpPlugIn - the interface was not found in the list of active interfaces, the list may need to be refreshed."

              Also it can no longer be found on the list of available plugins (the lower section of the plugin manager screen).

              Is it no longer supported/available??

              Thanks in advance for any help

              Dennis
              HS3 pro

              Comment


                Originally posted by MrWassen View Post
                Hi guys,

                I have used this plugin for years, but now when I try to initialize the plugin I get this error:

                "WARNING: Failed getting InterfaceStatus from drhsIpPlugIn - the interface was not found in the list of active interfaces, the list may need to be refreshed."

                Also it can no longer be found on the list of available plugins (the lower section of the plugin manager screen).

                Is it no longer supported/available??

                Thanks in advance for any help

                Dennis
                HS3 pro
                Was this ever in the updater. I think it's only available here:
                https://forums.homeseer.com/forum/de...le#post1132517
                💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                Comment


                  Originally posted by MrWassen View Post
                  Hi guys,

                  I have used this plugin for years, but now when I try to initialize the plugin I get this error:

                  "WARNING: Failed getting InterfaceStatus from drhsIpPlugIn - the interface was not found in the list of active interfaces, the list may need to be refreshed."

                  Also it can no longer be found on the list of available plugins (the lower section of the plugin manager screen).

                  Is it no longer supported/available??

                  Thanks in advance for any help

                  Dennis
                  HS3 pro
                  I can only say that it is still working fine for me. As mentioned above, I think that this plug-in was always a manual install.

                  Comment


                    Originally posted by joegr View Post

                    I can only say that it is still working fine for me. As mentioned above, I think that this plug-in was always a manual install.
                    Ditto. Fortunately, it still continues to work well without error for me.

                    Comment


                      I just noticed my log file for the plugin is over 12 GB. I don't see any options to change log level? So I went ahead and deleted and then restarted. If there is an option please let me know otherwise will need to monitor this. Thanks.

                      Comment


                        Originally posted by simonmason View Post
                        I just noticed my log file for the plugin is over 12 GB. I don't see any options to change log level? So I went ahead and deleted and then restarted. If there is an option please let me know otherwise will need to monitor this. Thanks.
                        Hi,
                        Where did you find the log located? Seems plugin logs are in different places from each other.
                        Thanks

                        Comment


                          It's in the logs folder. But I did try a couple of different versions of the plugin in the past trying to diagnose some errors so I might have a version running that produces (larger) logs? I am running 0.0.0.32

                          Comment


                            Originally posted by simonmason View Post
                            It's in the logs folder. But I did try a couple of different versions of the plugin in the past trying to diagnose some errors so I might have a version running that produces (larger) logs? I am running 0.0.0.32
                            There is no log file for that plugin in my logs folder. Hmmm...

                            Comment


                              Looks like last released version was .31. I have a special version for debugging - hence the log file.

                              Comment


                                Originally posted by simonmason View Post
                                Looks like last released version was .31. I have a special version for debugging - hence the log file.
                                👍

                                Comment

                                Working...
                                X