www.homeseer.com  
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Stipus Plug-Ins > Script Connector

Script Connector Discussions related to the Script Connector by Stipus

Reply
 
Thread Tools Display Modes
  #1  
Old November 25th, 2009, 05:59 PM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default NEW Script Connector plugin V1.20.2.4

Here is a new version of the Script Connector plugin and Script Client.

Change log:

- Fixed a problem with the first initialization of the Script Client name.
- Fixed a few problems with Windows User Access Control (Vista/Seven)
- Tested the remote script client under XP, Vista and Windows Seven (32-bit version).
- Added two event triggers (Script Client Connected or Disconnected)
- Added two event Conditions (Script Client Connected or Disconnected)
- Added a config link that shows Connected script clients.


The Script Client does not write anymore to the Program Files directory, to be compatible with Windows User Access Control.

- The Script Client settings are no more stored in a .ini file. They are stored in the registry instead (HKCU\Software\Stipus\HsScriptClient)
- Dll files for each script are no more stored in the Scripts directory. Scripts are now compiled to dlls in User Directory\AppData\Local\Stipus\HsScriptClient


You can also find the SetupHsScriptClient.msi in the zip archive.

All plugin dlls and the script client executable (HsScript.exe) must be at the same revision level on all your remote computers and the HomeSeer server.


[EDIT] Attachement removed as it is now available from the HomeSeer updater
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector

Last edited by stipus; December 1st, 2009 at 03:26 AM.
Reply With Quote
  #2  
Old November 26th, 2009, 12:14 AM
jasv's Avatar
jasv jasv is offline
Super Seer
 
Join Date: Feb 2001
Location: Southern Cal, USA
Posts: 2,310
Default

I am getting the following error. For good measure I deleted all my generated dll's from the program files\Homeseer Speaker directory and the error persists. I verified that the plugin and the client were v1.19.2.4 and I used the .msi installer for the client. I also verified that I am running the most current version of the speaker cleint.

Quote:
9:07:11 PM Can't access the Script Connector:Exception has been thrown by the target of an invocation.
9:07:11 PM InnerException:Could not load type '' from assembly 'HsScript, Version=1.10.2.2, Culture=neutral, PublicKeyToken=null'.
What do you advice?
__________________
James

Running HS 2.4 on winXP WMWare guest .
KillProcess, mcsDeviceGrid, UPB, BLBackup, DooMenuBar, AC-RF2 Processor ,RFXcom, ZWave Thermostats, Script Connector, HSTouch Server, jvCaddx Plug-In, mcsSprinklers, mcsSprinklersB, mcsTemperature, ADIOcelot, UltraMon, UltraLog

Last edited by jasv; November 26th, 2009 at 12:34 AM.
Reply With Quote
  #3  
Old November 26th, 2009, 02:02 AM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default

It looks like you have a mismatched version of the dll on the Server.

Double check :
- hspi_sip.dll
- HsScript.exe
- Stipus.ScriptConnector.Interface.dll

On BOTH the Client and the Server.
They must all be v1.20.2.4

From the error message, it looks you have one v1.10.2.2 HsScript.exe somewhere.
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector

Last edited by stipus; November 27th, 2009 at 02:34 PM.
Reply With Quote
  #4  
Old November 26th, 2009, 02:44 AM
jasv's Avatar
jasv jasv is offline
Super Seer
 
Join Date: Feb 2001
Location: Southern Cal, USA
Posts: 2,310
Default Fixed

You were correct. I had assumed that the hsscript.exe was just for the client. Once I updated the .exe on the server, everything is working great. Thanks for your help and for the plugin.
__________________
James

Running HS 2.4 on winXP WMWare guest .
KillProcess, mcsDeviceGrid, UPB, BLBackup, DooMenuBar, AC-RF2 Processor ,RFXcom, ZWave Thermostats, Script Connector, HSTouch Server, jvCaddx Plug-In, mcsSprinklers, mcsSprinklersB, mcsTemperature, ADIOcelot, UltraMon, UltraLog
Reply With Quote
  #5  
Old November 26th, 2009, 04:50 AM
darren-mc's Avatar
darren-mc darren-mc is offline
Seer Master
 
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,422
Default

Looking good so far...I was hoping to have the facility to detect if a script connector was connected to HS to put a condition on events?
Reply With Quote
  #6  
Old November 26th, 2009, 06:51 AM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default

OK. I'm working on this feature.

So far I added a Client Connected and Disconnected trigger.

However, I'm stuck on the condition, as it doesn't look like the first control in a condition can be a TextBox (to input the script client name).
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector
Reply With Quote
  #7  
Old November 26th, 2009, 07:50 AM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default

I found no way to show a textbox.... I just sent a message to Rich about this problem.

If he confirms the textbox is not supported, I'll replace it with a ComboBox with the list of currently connected Script Clients.

This means you'll need Script Client X to be connected at the time you create a condition for Script Client X connected or disconnected. No big deal.
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector
Reply With Quote
  #8  
Old November 26th, 2009, 09:50 AM
darren-mc's Avatar
darren-mc darren-mc is offline
Seer Master
 
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,422
Default

Quote:
So far I added a Client Connected and Disconnected trigger
is this in the new release?
Reply With Quote
  #9  
Old November 26th, 2009, 10:47 AM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default

No ... this is implemented in the next release V1.20.2.4

I'm waiting for an answer from Rich about the condition problem, before releasing it.
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector
Reply With Quote
  #10  
Old November 26th, 2009, 11:42 AM
darren-mc's Avatar
darren-mc darren-mc is offline
Seer Master
 
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,422
Default

OK ta...
Reply With Quote
  #11  
Old November 26th, 2009, 12:12 PM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default

Changed post #1 attachement to V1.20.2.4

- Added 2 event Triggers (Script Client XXX Connected or Disconnected)
- Added 2 event Conditions (Script Client XXX Connected or Disconnected)
- Added a config link that shows Connected script clients.
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector
Reply With Quote
  #12  
Old November 26th, 2009, 12:37 PM
jasv's Avatar
jasv jasv is offline
Super Seer
 
Join Date: Feb 2001
Location: Southern Cal, USA
Posts: 2,310
Default

Works Great. Thanks.
__________________
James

Running HS 2.4 on winXP WMWare guest .
KillProcess, mcsDeviceGrid, UPB, BLBackup, DooMenuBar, AC-RF2 Processor ,RFXcom, ZWave Thermostats, Script Connector, HSTouch Server, jvCaddx Plug-In, mcsSprinklers, mcsSprinklersB, mcsTemperature, ADIOcelot, UltraMon, UltraLog
Reply With Quote
  #13  
Old November 26th, 2009, 12:41 PM
darren-mc's Avatar
darren-mc darren-mc is offline
Seer Master
 
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,422
Default

Are the clients the same or do we have to re-install them?
Reply With Quote
  #14  
Old November 26th, 2009, 01:16 PM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default

You have to reinstall them (or just copy the 3 files HsScript.exe, hspi_script.dll and Stipus.ScriptConnector.Interface.dll to each remote computer script client directory).

All dlls and the .exe must always be in sync on all computers.
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector
Reply With Quote
  #15  
Old November 26th, 2009, 02:11 PM
darren-mc's Avatar
darren-mc darren-mc is offline
Seer Master
 
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,422
Default

I wish there was someway to auto-update the connector as getting round 12 of my PC's including remote PC's can be a pain sometimes.

But thanks for the update will give it a shot.
Reply With Quote
  #16  
Old November 26th, 2009, 05:23 PM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default

Replacing in-use/loaded dlls with new ones is very difficult.

I would really like to find a way to do this.
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector
Reply With Quote
  #17  
Old November 27th, 2009, 01:46 PM
ldborn ldborn is offline
Seer
 
Join Date: Sep 2005
Posts: 28
Default WIN 7 64 bit

will there be a win 7 64 bit version, the previous version worked
Reply With Quote
  #18  
Old November 27th, 2009, 02:32 PM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default

It doesn't work under Windows 64-bit ?

I couldn't check because I have no 64-bit OS at home. However, I don't think I made changes that would prevent it from running if it was running fine before.

I have only those OS
- Windows 2000
- Windows XP (32 bits)
- Windows 2003
- Windows Vista (32-bits)
- Windows Seven (32-bits)
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector
Reply With Quote
  #19  
Old November 27th, 2009, 02:49 PM
ldborn ldborn is offline
Seer
 
Join Date: Sep 2005
Posts: 28
Default

I installed it when I click hsscript.exe,I get the error HsScript is not working anymore and the program closes. On my vista 32 bit and on my xp server it is working fine
Reply With Quote
  #20  
Old November 27th, 2009, 07:22 PM
stipus stipus is offline
OverSeer
 
Join Date: Aug 2003
Location: FRANCE
Posts: 4,260
Default

The error is "HsScript is not working anymore" ?

Do you have an option in HsScript.exe file property to run as 32 bit ?
__________________
--
stipus
Running HS 2.2.0.66 with CM11a - PLCBUS 1141 - RFXCOM RF interface - Digimax 210 & RFX Temp Sensor, ACRF Plugin - Touchpad
Instant Messaging Connector - Direct Input Connector - Bluetooth Connector - SIP Voice over IP Connector - Skype Connector - Script Connector - PLCBUS Connector

Last edited by stipus; November 27th, 2009 at 07:48 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:23 AM.

Untitled Document
NEW!
New Products


Copyright HomeSeer Technologies, LLC