Windows PC Indigo Plugin, Beta released

Posted on
Wed Mar 07, 2018 1:25 am
GlennNZ offline
Posts: 935
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Windows PC Indigo Plugin, Coming Soon.......

Beta Release

Some super keen beans trying to compile and download, so for your morning pleasure here is a beta.

Two parts:
WinRemote IndigoPlugin (need a better name; anyhow) currently version 0.3.3
and IndigoPlugin Communicator (version 3) 32bit and 64bit installer exes

Changelog

Color!
Image

Enter Details and press Connect Button; all going well should see this

Image

Please Save and Continue and Window will disappear - if want window back double click taskbar icon, and to close app; click top right cross in window
(you should obviously leave running!)

Other Changes


Actions:

Image

Add Lock Computer/Workstation to Action groups - Locks computer without logging off user (silently more polite than shutting down)


Device States:


Add Idletime of computer - in Minutes!
Add SystemUptime - in hours (can only count to 24 days before starts again)

Image

&

As requested Changed Icon

Image

&

Windows 10 Message Example Finally

Image


Debug Logging (PC) is located in %appdata%/IndigoPlugin/IndigoPlugin folder (in case it is needed!) :shock:
Currently if unhandled exception will open messagebox (bit annoying) but least we will see - haven't seen it myself as yet.....


Just putting Beta release up on github now.
https://github.com/Ghawken/IndigoPlugin ... e/releases

Already Found one Bug:
https://github.com/Ghawken/IndigoPlugin ... r/issues/4
(FIxed in github version B)
Hopefully last! :lol:


Glenn

Posted on
Wed Mar 07, 2018 3:05 am
CliveS offline
Posts: 590
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Windows PC Indigo Plugin, Coming Soon.......

Just installed the plugin ( not installed the PC side yet) and

Code: Select all
7 Mar 2018, 08:57:43
   Installing and enabling plugin WinRemote Plugin v0.3.3
   Loading plugin "WinRemote Plugin 0.3.3"
   Starting plugin "WinRemote Plugin 0.3.3" (pid 9427)
   WinRemote Plugin               
   WinRemote Plugin                ================================================ Initializing New Plugin Session =================================================
   WinRemote Plugin                Plugin name:                   WinRemote Plugin
   WinRemote Plugin                Plugin version:                0.3.3
   WinRemote Plugin                Plugin ID:                     com.GlennNZ.indigoplugin.WinRemote
   WinRemote Plugin                Indigo version:                7.1.1
   WinRemote Plugin                Python version:                2.7.10 (default, Feb  7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
   WinRemote Plugin                ==================================================================================================================================
   WinRemote Plugin Debug          logLevel = 1
   WinRemote Plugin Debug          ------ validatePrefsConfigUi() method called.
   Started plugin "WinRemote Plugin 0.3.3"
   Error (client)                  CreateXmlValuesDictFromPaxFieldReps() caught exception: LowLevelBadParameterError -- illegal character in XML tag name or value
   Error (client)                  CreateXmlValuesDictFromPaxFieldReps() caught exception: LowLevelBadParameterError -- illegal character in XML tag name or value
   WinRemote Plugin Debug          Starting Plugin. startup() method called.
   WinRemote Plugin Debug          Starting HTTP listener thread
   WinRemote Plugin                Http Server Listening on TCP port 9123
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------
   WinRemote Plugin Debug          ------ validatePrefsConfigUi() method called.
   WinRemote Plugin Debug          closedPrefsConfigUi() method called.
   WinRemote Plugin Debug          User prefs saved.
   WinRemote Plugin                WinRemote Update: Update Checking. Your Current version is: 0.3.3
   WinRemote Plugin Debug          Current version is: 0.3.3
   WinRemote Plugin Debug          Getting latest release from ghawken/IndigoPlugin-WinRemote...
   WinRemote Plugin Debug          GET /repos/ghawken/IndigoPlugin-WinRemote/releases/latest
   WinRemote Plugin Debug          Error checking for update - ? No Internet connection.  Checking again in 24 hours

7 Mar 2018, 08:58:55
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------
   Error (client)                  CreateXmlValuesDictFromPaxFieldReps() caught exception: LowLevelBadParameterError -- illegal character in XML tag name or value

7 Mar 2018, 08:59:34
   WinRemote Plugin Debug          ------ validatePrefsConfigUi() method called.
   Error (client)                  CreateXmlValuesDictFromPaxFieldReps() caught exception: LowLevelBadParameterError -- illegal character in XML tag name or value
   WinRemote Plugin Debug          closedPrefsConfigUi() method called.
   WinRemote Plugin Debug          User prefs saved.

7 Mar 2018, 08:59:55
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------
   Schedule                        Battery Daily Readout

CliveS

Indigo 2021.1.1 : MacOS Catalina 10.15.1 : Mac mini Server (Mid 2011) : 2 GHz Core i7. : 8 GB. : 2 x 256GB Samsung EVO SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Wed Mar 07, 2018 3:14 am
CliveS offline
Posts: 590
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Windows PC Indigo Plugin, Coming Soon.......

Just run the PC side (Blue Iris Server) and got

Code: Select all
7 Mar 2018, 09:02:56
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------

7 Mar 2018, 09:03:56
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------

7 Mar 2018, 09:04:57
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------

7 Mar 2018, 09:05:57
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------

7 Mar 2018, 09:06:57
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------

7 Mar 2018, 09:07:16
   WinRemote Plugin Debug          New Http Handler thread:Thread-3, total threads: 4
   WinRemote Plugin Debug          Received Http POST
   WinRemote Plugin Debug          Sending HTTP 200 Response
   WinRemote Plugin Debug          Self Ip Address:('192.168.100.33', 61866)
   WinRemote Plugin Debug          self.path data:/StartupConnect/
   WinRemote Plugin Debug          post.data data:Highsteads-PC
   WinRemote Plugin Debug          {}
   WinRemote Plugin Debug          Startup of PC IndigoPlugin Noted:
   WinRemote Plugin Error          Exception in do_POST single thread.
Traceback (most recent call last):
  File "plugin.py", line 657, in do_POST
    if FoundDevice == False:
UnboundLocalError: local variable 'FoundDevice' referenced before assignment

7 Mar 2018, 09:07:43
   WinRemote Plugin Debug          New Http Handler thread:Thread-4, total threads: 4
   WinRemote Plugin Debug          Received Http POST
   WinRemote Plugin Debug          Sending HTTP 200 Response
   WinRemote Plugin Debug          Self Ip Address:('192.168.100.33', 61867)
   WinRemote Plugin Debug          self.path data:/Information?ForeGroundApp=explorer&CPU=0%25&MemLoad=833MB&Hostname=Highsteads-PC&MAC=unknown&Idle=0&userName=Highsteads&upTime=93.9
   WinRemote Plugin Debug          post.data data:Highsteads-PC
   WinRemote Plugin Debug          {'userName': 'Highsteads', 'upTime': '93.9', 'MemLoad': '833MB', 'Hostname': 'Highsteads-PC', 'Idle': '0', 'ForeGroundApp': 'explorer', 'MAC': 'unknown', 'CPU': '0%'}
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------
   WinRemote Plugin Debug          New Http Handler thread:Thread-5, total threads: 4
   WinRemote Plugin Debug          Received Http POST
   WinRemote Plugin Debug          Sending HTTP 200 Response
   WinRemote Plugin Debug          Self Ip Address:('192.168.100.33', 61870)
   WinRemote Plugin Debug          self.path data:/StartupConnect/Highsteads-PC
   WinRemote Plugin Debug          post.data data:Highsteads-PC
   WinRemote Plugin Debug          {}
   WinRemote Plugin Debug          Startup of PC IndigoPlugin Noted:
   WinRemote Plugin Error          Exception in do_POST single thread.
Traceback (most recent call last):
  File "plugin.py", line 657, in do_POST
    if FoundDevice == False:
UnboundLocalError: local variable 'FoundDevice' referenced before assignment

7 Mar 2018, 09:08:58
   WinRemote Plugin Debug          ------------------------ checkComputers run----------------------------
   WinRemote Plugin Debug          New Http Handler thread:Thread-6, total threads: 4
   WinRemote Plugin Debug          Received Http POST
   WinRemote Plugin Debug          Sending HTTP 200 Response
   WinRemote Plugin Debug          Self Ip Address:('192.168.100.33', 61872)
   WinRemote Plugin Debug          self.path data:/Information?ForeGroundApp=explorer&CPU=0%25&MemLoad=818MB&Hostname=Highsteads-PC&MAC=unknown&Idle=0&userName=Highsteads&upTime=93.92
   WinRemote Plugin Debug          post.data data:Highsteads-PC
   WinRemote Plugin Debug          {'userName': 'Highsteads', 'upTime': '93.92', 'MemLoad': '818MB', 'Hostname': 'Highsteads-PC', 'Idle': '0', 'ForeGroundApp': 'explorer', 'MAC': 'unknown', 'CPU': '0%'}

CliveS

Indigo 2021.1.1 : MacOS Catalina 10.15.1 : Mac mini Server (Mid 2011) : 2 GHz Core i7. : 8 GB. : 2 x 256GB Samsung EVO SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Wed Mar 07, 2018 3:21 am
GlennNZ offline
Posts: 935
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Windows PC Indigo Plugin, Coming Soon.......

Oops
Not sure about the first client error - presumably gone away once PluginConfig closed.
But 2nd one, a bit stupid, fixed now.
G

Posted on
Wed Mar 07, 2018 3:36 am
GlennNZ offline
Posts: 935
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Windows PC Indigo Plugin, Coming Soon.......

CliveS wrote:
Just installed the plugin ( not installed the PC side yet) and

Code: Select all
7 Mar 2018, 08:57:43

   Error (client)                  CreateXmlValuesDictFromPaxFieldReps() caught exception: LowLevelBadParameterError -- illegal character in XML tag name or value
                   Battery Daily Readout


Found it - was a accidental space somewhere during reviewing.
Both fixed on site now!

Thanks!

Posted on
Wed Mar 07, 2018 3:41 am
autolog offline
Posts: 3576
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Windows PC Indigo Plugin, Coming Soon.......

Installed indigo plugin WinRemote 0.4.3 and Indigo Plugin Communicator 64bit version 0.2.

All appears to be working well. :D

That's three of your plugins I am now running: FindFriends Mini, BlueIris plugin and now this one.

Fantastic effort and great contributions - Thanks. :D

Posted on
Wed Mar 07, 2018 3:50 am
GlennNZ offline
Posts: 935
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Windows PC Indigo Plugin, Coming Soon.......

autolog wrote:
Installed indigo plugin WinRemote 0.4.3 and Indigo Plugin Communicator 64bit version 0.2.

All appears to be working well. :D

That's three of your plugins I am now running: FindFriends Mini, BlueIris plugin and now this one.

Fantastic effort and great contributions - Thanks. :D


Yah!
Good to hear after Clive’s immediate not so great start :oops:
No problem - I am glad they are useful.
Cheers
Glenn

Posted on
Wed Mar 07, 2018 4:47 am
CliveS offline
Posts: 590
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Windows PC Indigo Plugin, Coming Soon.......

GlennNZ wrote:
autolog wrote:
Installed indigo plugin WinRemote 0.4.3 and Indigo Plugin Communicator 64bit version 0.2.

All appears to be working well. :D

That's three of your plugins I am now running: FindFriends Mini, BlueIris plugin and now this one.

Fantastic effort and great contributions - Thanks. :D


Yah!
Good to hear after Clive’s immediate not so great start :oops:
No problem - I am glad they are useful.
Cheers
Glenn

I can add that the 0.4.3 32bit is working fine also. Only using Blue Iris and this one, when I get back to the UK I will be trying out FindFriends Mini but as at present being in Perth, Western Australia I am nearer you than my Indigo Server in the UK and intend to set it up with my old iPhone 4 next week when I fly back.
Also my thanks for these great plugins, (and making me buy Blue Iris!!!), watching the 10 second gifs of next doors cats fighting in the snow at home whilst I sit by the pool in 30c is priceless :)

CliveS

Indigo 2021.1.1 : MacOS Catalina 10.15.1 : Mac mini Server (Mid 2011) : 2 GHz Core i7. : 8 GB. : 2 x 256GB Samsung EVO SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Wed Mar 07, 2018 8:41 pm
GlennNZ offline
Posts: 935
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Windows PC Indigo Plugin, Coming Soon.......

CliveS wrote:
I can add that the 0.4.3 32bit is working fine also. Only using Blue Iris and this one, when I get back to the UK I will be trying out FindFriends Mini but as at present being in Perth, Western Australia I am nearer you than my Indigo Server in the UK and intend to set it up with my old iPhone 4 next week when I fly back.
Also my thanks for these great plugins, (and making me buy Blue Iris!!!), watching the 10 second gifs of next doors cats fighting in the snow at home whilst I sit by the pool in 30c is priceless :)


Good to hear as well!
You description of your neighbours Cat's though did make me smile! :P
Glenn

Posted on
Fri Mar 09, 2018 10:16 pm
GlennNZ offline
Posts: 935
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Windows PC Indigo Plugin, Beta released

Beta Update to Version 0.6.6

Changes:

New Actions:

Image


- Add Restart Computer Command Action Group Option


- Add Run Process Command/Option


This can run any process on the Windows PC that the logged in User has access to. e.g. Notepad, chrome, etc.
Select Action Group, Select Computer (can send same command to multiple), then enter the process itself. (this will need path if doesn't run without path in cmd.exe)
Then enter any arguments if any required for the process.


This is essentially infinitely customisable -
eg.
Open Chrome with selected Website?
Worried about Internet History - run ccCleaner in /AUTO mode.
Other maintenance tasks etc.etc.
e.g
Image


If there is any security concern about this - it does allow Indigo to run any process on that PC (that the user has access to)

This can be completely disabled within the Main Window:

Image

With Checking the Disable Process Commands Checkbox (this will not disable other set commands)

(If someone has access to your network, this specific port even inside or outside, and can run the commands I believe you have bigger problems - but none-the-less this option is here)

Right Click Taskbar Menu Items

Add as above:
Image

New Device States

- Add WindowsVersion as Summary of Build, updates and version
- Add userName

Image


Other Changes
- Stop debug logging unless debugextra checkbox is selected
- Truncate idleTime and Uptime to 3 decimal places
- Use GetTickCount64 (if Vista and above) to get upTime; this removes the 24.9 day limit that otherwise applies
- Check for empty/absent data avoid Indigo side errors
- Other code changes I can't recall


Still probably a Beta - particularly as this brings a few new changes but getting close to release level I suspect.

Up on github now.
https://github.com/Ghawken/IndigoPlugin ... e/releases


Glenn

Posted on
Sat Mar 10, 2018 12:50 am
CliveS offline
Posts: 590
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Windows PC Indigo Plugin, Beta released

Glenn,
I have the 'Ignore TURN OFF commands' ticked but is still getting turned off when I press Turn Off.

CliveS

Indigo 2021.1.1 : MacOS Catalina 10.15.1 : Mac mini Server (Mid 2011) : 2 GHz Core i7. : 8 GB. : 2 x 256GB Samsung EVO SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sat Mar 10, 2018 12:54 am
GlennNZ offline
Posts: 935
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Windows PC Indigo Plugin, Beta released

CliveS wrote:
Glenn,
I have the 'Ignore TURN OFF commands' ticked but is still getting turned off when I press Turn Off.


Thanks for checking., I’ll have a look. May have only enabled this check for action group, rather than on/off button.
☹️
Edit: Yep - that was it - updated to 0.7.6 now.

Glenn

Posted on
Sat Mar 10, 2018 2:25 am
CliveS offline
Posts: 590
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Windows PC Indigo Plugin, Beta released

Just about to fly back to the UK so may try and update 0.7.6 from 42000 feet over the Indian ocean just for fun 8)

CliveS

Indigo 2021.1.1 : MacOS Catalina 10.15.1 : Mac mini Server (Mid 2011) : 2 GHz Core i7. : 8 GB. : 2 x 256GB Samsung EVO SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sat Mar 10, 2018 2:50 am
GlennNZ offline
Posts: 935
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Windows PC Indigo Plugin, Beta released

CliveS wrote:
Just about to fly back to the UK so may try and update 0.7.6 from 42000 feet over the Indian ocean just for fun 8)


Good luck! Least you will closer to the physical power switch.
I tried plane wifi not long ago - was so lagging it was unusable and I can see why some airlines (qantas comes to mind) haven’t rolled it out because of “technical issues”

Glenn


Sent from my iPhone using Tapatalk

Posted on
Sat Mar 10, 2018 3:01 am
CliveS offline
Posts: 590
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Windows PC Indigo Plugin, Beta released

Yes I know about the 'speed' but as Emirates 'Lo-Fi' is free it would be rude not to try :)

CliveS

Indigo 2021.1.1 : MacOS Catalina 10.15.1 : Mac mini Server (Mid 2011) : 2 GHz Core i7. : 8 GB. : 2 x 256GB Samsung EVO SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Who is online

Users browsing this forum: No registered users and 1 guest

cron