The izPanasonic plug-in for HomeSeer 3 allows users to their Panasonic TV via the serial port from within HomeSeer. This eliminates the needs for Infrared.
What does this plugin do?Here are some examples:Send (or receive) IP (or serial or IR) commands (or status) to (or from) your TV, projector, receiver, Bluray player, HDMI Matrix, IRule etc etcThe simplest scenario is adding commands in the config and driving them via an outbound connection in an event. E.g send 'VolUp' to your receiver via IP connection 192.168.x.x:xxxx.Much more complex scenarios are possible.
Receive 'VolUp' text over IP connection from iRule running on an iOS device and pass this directly through to an outbound connection to your receiver.Sending IR commands to a GC or IRTrans device should be possible too though I haven't tested that yet with the HS3 version.Most of the HS2 functionality is carried over in this version with some tweaks and enhancements. See the HS2 and threads for more back groundHope to have more HS3 docs up soon-ish with drule's assistance. Here are some examples:Send (or receive) IP (or serial or IR) commands (or status) to (or from) your TV, projector, receiver, Bluray player, HDMI Matrix, IRule etc etcThe simplest scenario is adding commands in the config and driving them via an outbound connection in an event. E.g send 'VolUp' to your receiver via IP connection 192.168.x.x:xxxx.Much more complex scenarios are possible.
La vita bella sceneggiatura pdf reader. Receive 'VolUp' text over IP connection from iRule running on an iOS device and pass this directly through to an outbound connection to your receiver.Sending IR commands to a GC or IRTrans device should be possible too though I haven't tested that yet with the HS3 version.Most of the HS2 functionality is carried over in this version with some tweaks and enhancements. See the HS2 and threads for more back groundHope to have more HS3 docs up soon-ish with drule's assistanceThanks cheeryfool! Some examples of what I use the plugin for are:.
Send IR commands to a GC-100-18. Control a Shinybow HDMI Matrix Switch. Turn a Samsung TV on/off.
Receive IR commands from a GC-IRE. Interact with iRule app on an iPadI'm sure there are many more uses. When I created the original HS2 plugin I saw it as being a 'generic' plugin for control of devices over TCP, UDP and/or Serial. If there's already a plugin out there for your particular device, you're almost certainly better of using that. But if you have some unusual piece of kit and want to be able to do some basic control of it from HS, hopefully this plugin will help. Send 'tcn' to your GC-IRE before using this script.Sub Main(Param As Object)Dim Params As String = Split(Param.ToString, Chr(0))' Param(0) is the name of the plugin's connector' Param(1) is the ip address of the remote end' Param(2) is the data receivedDim SplitString As String = Split(Params(2), Chr(13))For i As Integer = 0 To UBound(SplitString)Select Case SplitString(i)Case 'GC-IRE XXXXXXXX' Do stuffExit ForCase 'GC-IRE YYYYYYYY' Do other stuffExit ForCase Elsehs.WriteLog('NF', 'I don't know what to do with: ' & SplitString(i))End SelectNextEnd SubMy full script is attached.
It's a bit of a messy, work in progress right now! It reads strings from the GC-IRE, compares them to known good codes for a DirecTV STB (+/- 20%) and sends the equivalent SHEF command to the STB via http.-David. I can confirm that I can use drhsIpPlugIn to control a Panasonic TV through its RS-232C interface attached to a GC-100 serial module.I am not having any luck with local serial ports however.Hi TimCan you tell us a bit more about your setup?Just in case you are trying this on Linux, there is a known serial port issue (unrelated to this plugin).If you are in Windows, you should see your local serial ports show up in the Serial Ports tab automatically. Set the port parameters for the device you want to control if they are not the common 9600,8,none,1To use them, choose Serial type in the Connections tab and put the serial port number in the address field. Leave the port field blankOtherwise, usage is the same as for IP connectionsCheers.
This is a new plugin that supersedes my earlier TCP Trigger.The plugin can send and receive messages, or commands over TCP, UDP or serial. Like the previous plugin, you can configure events that trigger on receipt of strings. You can also send predefined command strings or the status/value of a homeseer device to tcp, udp or serial targets.At the heart of the plugin is the concept of a connection.A connection can be of type TCP, UDP, Serial or HTTP (HTTP is still experimental at the moment). TCP and UDP connections can be defined as either Hosts or Clients. A Host connection will wait for a remote device to connect to it and a client connection will go ahead and establish a session to a remote device. In the case of a TCP or serial connection, once a session is established, that connection can be used to both receive and send data.The address field is used with TCP and UCP connections to define either a client connection's target ip address, or in the case of a host connection, a range of remote addresses that the connection will accept incoming requests from.
For serial connections this is the number of the COM port.You can also define a connection as a proxy. This allows you to have all data arriving on one connection be sent to another connection, possibly as a different type.
As an example, I have a tcp host connection that receives data from iRule running on an iPad and forwards/proxies it to a Samsung TV over a serial connection.Commands can be predefined and used in Events as Actions.Serial parameters are setup here:My main driver for creating this plugin is integration with iRule but I've tried to keep things generic so that it can work with as many other things as possible. For iRule use, I particularly wanted to support what iRule calls 'Feedbacks.' I wanted to able to see in real time the status of my Homeseer devices in the iRule app on my iPad. Using the plugin I can have a slider in iRule that controls the brightness of a light for instance. The slider also gets updated if the light is controlled directly, or from another source.I think the best way to figure out the plugin is to give it a try.
Inevitably there will be a few bugs and wrinkles. Please post your findings, comments and questions and I will try my best to help.David8/23/2012 - AMNew update includes support for persistent/non-persistent tcp clients and 'pass-thru' scripts.8/23/2012 - PMSecond update of the day. Fixes bug reported by jayman13 reading the ini file at startup and adds a 'Threshold' option to the serial configuration.8/24/2012 - AMChange to allow larger Commands section in ini file.
Modified TCP close function for non-persistent connections.8/24/2012 - PMNon-persistent TCP clients no longer instantiate a new receiver class.8/25/2012Fix for plugin initialization when Commands is empty.8/27/2012Added additional check for TcpClient is connected before sending data. Moved non-persistent TCP client stop routine further down the code.Triggers match using encoding types, not just plain textPersistent TCP Clients will restart if connection drops, initial attempt immediate, subsequent attemptdetermined by Watchdog timer, configurable, defaults to 10 secondsScripting Access:Send(Command, Connection)Send('stuff', Encoding, Connection)Persistent TcpClient connect/disconnect eventsFixed bug when reading commands containing an '=' symbol from the ini file.