| Script Connector Discussions related to the Script Connector by Stipus |

November 25th, 2009, 05:59 PM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
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
Last edited by stipus; December 1st, 2009 at 03:26 AM.
|

November 26th, 2009, 12:14 AM
|
 |
Super Seer
|
|
Join Date: Feb 2001
Location: Southern Cal, USA
Posts: 2,358
|
|
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.
|

November 26th, 2009, 02:02 AM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
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.
Last edited by stipus; November 27th, 2009 at 02:34 PM.
|

November 26th, 2009, 02:44 AM
|
 |
Super Seer
|
|
Join Date: Feb 2001
Location: Southern Cal, USA
Posts: 2,358
|
|
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
|

November 26th, 2009, 04:50 AM
|
 |
Super Seer
|
|
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,505
|
|
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?
|

November 26th, 2009, 06:51 AM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
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).
|

November 26th, 2009, 07:50 AM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
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.
|

November 26th, 2009, 09:50 AM
|
 |
Super Seer
|
|
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,505
|
|
Quote:
|
So far I added a Client Connected and Disconnected trigger
|
is this in the new release?
|

November 26th, 2009, 10:47 AM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
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.
|

November 26th, 2009, 11:42 AM
|
 |
Super Seer
|
|
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,505
|
|
OK ta...
|

November 26th, 2009, 12:12 PM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
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.
|

November 26th, 2009, 12:37 PM
|
 |
Super Seer
|
|
Join Date: Feb 2001
Location: Southern Cal, USA
Posts: 2,358
|
|
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
|

November 26th, 2009, 12:41 PM
|
 |
Super Seer
|
|
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,505
|
|
Are the clients the same or do we have to re-install them?
|

November 26th, 2009, 01:16 PM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
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.
|

November 26th, 2009, 02:11 PM
|
 |
Super Seer
|
|
Join Date: Dec 2003
Location: Stafford, UK
Posts: 1,505
|
|
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.
|

November 26th, 2009, 05:23 PM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
Replacing in-use/loaded dlls with new ones is very difficult.
I would really like to find a way to do this.
|

November 27th, 2009, 01:46 PM
|
|
Seer
|
|
Join Date: Sep 2005
Posts: 35
|
|
WIN 7 64 bit
will there be a win 7 64 bit version, the previous version worked
|

November 27th, 2009, 02:32 PM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
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)
|

November 27th, 2009, 02:49 PM
|
|
Seer
|
|
Join Date: Sep 2005
Posts: 35
|
|
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
|

November 27th, 2009, 07:22 PM
|
|
OverSeer
|
|
Join Date: Aug 2003
Location: FRANCE
Posts: 4,183
|
|
The error is "HsScript is not working anymore" ?
Do you have an option in HsScript.exe file property to run as 32 bit ?
Last edited by stipus; November 27th, 2009 at 07:48 PM.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT -4. The time now is 03:01 AM.
|