Announcement

Collapse
No announcement yet.

Make device not visible in mobile?

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

    Make device not visible in mobile?

    I have a few devices (mostly virtual devices) that I would rather not appear in the mobile app.

    Is there any way I can exclude them?

    #2
    I found the Hide from Mobile setting

    Comment


      #3
      Here's a script that will hide all already hidden devices in the mobile view. Why they thought two "hide" functions was necessary is beyond me...

      Code:
          Sub HideMobileDevicesIfHidden(input As String)
              Dim device As Scheduler.Classes.DeviceClass
              Dim DE As Scheduler.Classes.clsDeviceEnumeration
      
              Dim counter As Integer = 0
      
              hs.WriteLog("HideMobile", "Hiding hidden devices...")
              DE = hs.GetDeviceEnumerator()
              Do While Not DE.Finished
                  device = DE.GetNext
                  Dim isHidden As Boolean = device.MISC_Check(hs, HomeSeerAPI.Enums.dvMISC.HIDDEN)
      
                  If isHidden Then
                      counter += 1
                      device.MISC_Set(hs, HomeSeerAPI.Enums.dvMISC.HIDE_IN_MOBILE)
                  End If
              Loop
      
              hs.SaveEventsDevices()
              hs.WriteLog("HideMobile", "Hid " & counter.ToString() & " devices")
      
          End Sub
      HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
      Running on Windows 10 (64) virtualized
      on ESXi (Fujitsu Primergy TX150 S8).
      WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

      Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

      Comment

      Working...
      X