Yes I know - however the error I have is the one I am most interested in solving - and I have no change on that between versions, so I see no point in upgrading to 5.14 from 4.8.0?
Announcement
Collapse
No announcement yet.
IP / Serial Plugin for HS3 (by "drule") - Discussion Thread
Collapse
X
-
Originally posted by larhedse View PostWell, a bit depending on your installation (Linux or Windows), you will be able to find a file named "drhsIpPlugIn.ini" that contains all information. Back up that and you should be fine. In my case, with Linux (Ubuntu) installation, this file is in:
/opt/HomeSeer/Config/drhsIpPlugIn.ini
But as I write this, it will depend on how it is installed, and what environment/operating system you use.
All what was needed was to move the .exe back to the HS3 Pro root folder, all the configuration was restored by itself.
Comment
-
I am attempting to pass a variable from Jon00 Alexa helper through simple script to set Tivo channel
Sub Main(parm As String)
Parm=213
Dim cmd As String = "SETCH" & parm & "\r\n" & ", C Escaped"
hs.PluginFunction("drhsIpPlugin", "", "Ext_Send_Data", New Object() {"Tivo", cmd})
hs.writeLog("Attempting to send command", cmd & " to Tivo")
End Sub
The command seems correct, but getting errorAttempting to send command SETCH213\r\n, C Escaped to Tivo Any ideas?drhsIpPlugIn Error in PluginProc: Parameter count mismatch
Larry
Comment
-
I played with it a bit more. The Ext_Send_Data command requires a third parameter which was C Escape. Additionally I needed to add additional quotes to the cmd being passed to the PI. I can now change Tivo channels with with voice commands:
_______________________________________________________
Sub Main(parm As String)
Dim cmd As String = chr(34) & "SETCH" & parm & "\r" & chr(34)
hs.PluginFunction("drhsIpPlugin", "", "Ext_Send_Data", New Object() {"Tivo", cmd, "C Escaped"})
hs.writeLog("Attempting to send command", cmd & " to Tivo")
End Sub
Larry
Comment
-
Well, I spoke too soon. ( I was testing from work). There is no action carried out on the Tivo device.
Log showing the command and info send to Tivo:
Oct-23 10:12:08 AM drhsIpPlugIn Sending 12 bytes to Tivo
Oct-23 10:12:08 AM Attempting to send command "SETCH 12\r" to Tivo
Oct-23 10:12:07 AM Jon00_Alexa RunScript - ScriptParm: 12
Oct-23 10:12:07 AM Jon00_Alexa Script processing time: 69 ms
Oct-23 10:12:07 AM Jon00_Alexa Response sent to Alexa: 'OK I will change to twelve'
Oct-23 10:12:07 AM Jon00_Alexa Successful trigger under [Trigger44]
Oct-23 10:12:07 AM Jon00_Alexa Integer Parsed: 12
Oct-23 10:12:07 AM Jon00_Alexa Alexa Number String: twelve
Oct-23 10:12:07 AM Jon00_Alexa Alexa command heard: 'change channel twelve'
Same command defined in config will change channel
1 PhotoLarry
Comment
-
Excuse me if I have missed it, but I am unable to find installation instructions for this plugin. I tried running the .exe file, but it terminates with exceptions. Not sure but it sounds like the kind of error I would get in Java when the class-path is not set.
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'HomeSeerAPI, Version=1.0.2.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at HSPI_drhsIpPlugIn.Main.Main()
UPDATE: I figured it out. The installation .exe file needs to be run from the HS3 home folder where "HomeSeerAPI.dll" is located.
Comment
-
Hello, coming here from
https://forums.homeseer.com/forum/ho...rd-with-hs3pro AFTER MANY HOURS OF TRYING, PLEASE HELP
sparkman or Who ever might be on board than can help, I have installed this program but it never appeared that It was making a connection to the relay card. Every time I would reboot, all "connections" that were previously built but later deleted, re-appear. I tried deleting everything including events. That didn't work so I removed all that I could find of the program, but must have missed something, after re-install, three "connections" are shown before making any new additions.
UPDATE: post 734, After re-install, getting connection, just need help getting proper data sent to com port.
Comment
-
Originally posted by BJB View PostHello, coming here from
https://forums.homeseer.com/forum/ho...rd-with-hs3pro AFTER MANY HOURS OF TRYING, PLEASE HELP
sparkman or Who ever might be on board than can help, I have installed this program but it never appeared that It was making a connection to the relay card. Every time I would reboot, all "connections" that were previously built but later deleted, re-appear. I tried deleting everything including events. That didn't work so I removed all that I could find of the program, but must have missed something, after re-install, three "connections" are shown before making any new additions.
Comment
-
Originally posted by BJB View PostHello, coming here from
https://forums.homeseer.com/forum/ho...rd-with-hs3pro AFTER MANY HOURS OF TRYING, PLEASE HELP
sparkman or Who ever might be on board than can help, I have installed this program but it never appeared that It was making a connection to the relay card. Every time I would reboot, all "connections" that were previously built but later deleted, re-appear. I tried deleting everything including events. That didn't work so I removed all that I could find of the program, but must have missed something, after re-install, three "connections" are shown before making any new additions.HS 4.2.8.0: 2134 Devices 1252 Events
Z-Wave 3.0.10.0: 133 Nodes on one Z-Net
Comment
-
hello sparkman, thanks for getting back. I had already backed out the program again, so now have reinstalled again. I have downloaded also a program that lets me see the data being sent to the board. Now when sending "operate relay 1" command, I can see the difference between what works and what is being sent from this program and HS3. I'm uploading screen shots of all.
Comment
Comment