Right click to display Device print in a separate window

Posted on
Sun Feb 24, 2019 6:41 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Right click to display Device print in a separate window

This is a developer request with would help the development process.

This may have been requested before?

It would be extremely useful to be able to right click on an Indigo device in the main device list pane and select a new menu entry: Display device (or similar) that would display in a separate window the equivalent of e.g. :
Code: Select all
indigo.server.log(u'\nDEVICE:\n{}'.format(dev))
At the moment you have to perform a number of clicks and pastes into a scripting Shell terminal window and the output then gets printed to the Indigo Event Log with then scrolls out of sight. So you then have to select the output and paste it into a text editor; all doable but long winded! :wink:

Posted on
Sun Feb 24, 2019 10:12 am
DaveL17 offline
User avatar
Posts: 6755
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Right click to display Device print in a separate window

The Mutlitool plugin can reduce the number of steps. From the plugin menu, select the "Object Dictionary..." tool which then displays a config dialog for you to select the class of object (dev, var, etc.) and then the second menu item for the object. It will print the entire object to the events log.

Screen Shot 2019-02-24 at 10.09.11 AM.png
Screen Shot 2019-02-24 at 10.09.11 AM.png (55.86 KiB) Viewed 862 times


Code: Select all
   Multitool                       ============================== Parlor - TiVo Dict ==============================
   Multitool                       
address : == SNIP ==
batteryLevel : None
buttonGroupCount : 0
configured : True
description :
deviceTypeId : tivoRemoteDevice
displayStateId : connectionState
displayStateImageSel : SensorOff
displayStateValRaw : Disconnected
displayStateValUi : Disconnected
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 164106746
globalProps : MetaProps : (dict)
     com.duncanware.tivoNetworkRemote : (dict)
          address : == SNIP == (string)
          tivoEnumeratedIPAddresses : == SNIP == (string)
          tivoIPAddress : == SNIP == (string)
          tivoMAK : == SNIP == (string)
id : 73015767
lastChanged : 2019-02-11 14:18:55
lastSuccessfulComm : 2019-02-11 14:18:55
model : TiVo Network Remote Control
name : Parlor - TiVo
ownerProps : com.duncanware.tivoNetworkRemote : (dict)
     address : == SNIP == (string)
     tivoEnumeratedIPAddresses : 10.0.1.160 (string)
     tivoIPAddress : == SNIP == (string)
     tivoMAK : == SNIP == (string)
pluginId : com.duncanware.tivoNetworkRemote
pluginProps : com.fogbert.indigoplugin.multitool : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
     channelSelector :  (string)
     connectionState : Disconnected (string)
     currentChannel : 0757 (string)
     isConnected : false (string)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None
   Multitool                       ================================================================================

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Feb 24, 2019 10:26 am
autolog offline
Posts: 3989
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Right click to display Device print in a separate window

Now installed. :D

Thanks for the pointer and the plugin. :)

As you say, it saves a few clicks and launching a shell.

I would still like to see my feature request implemented though - especially getting the output in a separate window rather than printed to the Indigo Event log. :)

Posted on
Sun Feb 24, 2019 12:39 pm
DaveL17 offline
User avatar
Posts: 6755
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Right click to display Device print in a separate window

Hope you find it helpful. If you see room for improvement, let me know.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests