Announcement

Collapse
No announcement yet.

MCS Plugin Evaluations

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

    MCS Plugin Evaluations

    mcsXap evaluation
    -----------------
    No issues. Only update that will be required is in the updater package. mcsXap was using the System.Data.SQLite.dll used by HS and now needs it to be \bin\mcsXap.


    mcsSprinklers evaluation.
    ------------------------
    When viewing mcsSprinklers page from browser get "Error finding plugin in GenPage: Unable to cast object of type 'Scheduler.PluginHolder' to type 'HomeSeerAPI.IAllRemoteAPI'." Since all mcsSprinklers UI goes through GenPage no further evaluation is possible to do a setup for evaluation. There were no startup errors in the HS log.
    Suggest GenPage be added to HS4. This is significant for continued use of mcsSprinklers as it shares a common code base with standalone mcsSprinklers.


    mcsMQTT evaluation.
    ------------------
    Initial evaluation showed no problem navigating the mcsMQTT pages.
    I was able to create a HS4 device from it and used /DeviceUtility to view and control with results as expected.

    For Event triggers and actions I have generally good result expect for the MQTT Broker Connection trigger that has pulldown selector and two buttons. The control boxes for these two do not appear. (HS4.png) The static text does appear. The generating code segment is below:

    HS4 - error

    Click image for larger version

Name:	HS4.PNG
Views:	147
Size:	59.3 KB
ID:	1327513

    HS3 - normal

    Click image for larger version

Name:	Capture.PNG
Views:	93
Size:	74.6 KB
ID:	1327514


    Code:
                               Dim stb As New StringBuilder
                                Dim UID As String
                                UID = TrigInfo.UID.ToString
                                If gMQTTBroker.Length > 1 Then
                                    stb.Append(NBSP)
                                    stb.Append("of Broker at ")
                                    Dim dl As New clsJQuery.jqDropList("MqttBroker_" & UID & sUnique, Pagename, True)
                                    For i As Integer = 0 To gMQTTBroker.Length - 1 
                                        Dim sKey As String = gMQTTBroker(i)
                                        If Trig3.Broker = i Then
                                            dl.AddItem(sKey, sKey, True)
                                        Else
                                            dl.AddItem(sKey, sKey, False)
                                        End If
                                    Next
                                    dl.toolTip = "Select Broker for connection event trigger"
                                    stb.Append(dl.Build())
                                    stb.Append(NBSP)
                                End If
    
                                Dim rb As New clsJQuery.jqRadioButton("MqttConnect_" & UID & sUnique, Pagename, True)
                                Dim sProperty As String
                                If Trig3.Connected Then
                                    sProperty = ONE
                                Else
                                    sProperty = ZERO
                                End If
                                rb.values.Add("Disconnects from Broker", ZERO)
                                rb.values.Add("Connects to Broker", ONE)
                                If sProperty = ZERO Then
                                    rb.checked = ZERO
                                Else
                                    rb.checked = ONE
                                End If
                                stb.Append(rb.Build())
                                Dim s As String = stb.ToString
                                stb = Nothing
                                Return s



    #2
    Reevaluation vs. version 4.0.0.27

    No functional issues now exist with the three mcs plugins. The viewability is somewhat limited with mcsMQTT due to change in the "tabelcell" stylesheet style. HS3 provided a bordered box with gradient fill. HS4 is solid while.

    HS4
    -------

    Click image for larger version

Name:	CaptureHS4.PNG
Views:	66
Size:	11.9 KB
ID:	1334372

    HS3
    ------
    Click image for larger version

Name:	CaptureHS3.PNG
Views:	58
Size:	20.4 KB
ID:	1334373

    Comment

    Working...
    X