Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

New Switchking/Tellstick plugin

Questions and comments specific to a particular plugin should go here.
Post Reply
ehsmaes
Posts: 3
Joined: Mon Feb 13, 2012 9:20 pm

New Switchking/Tellstick plugin

Post by ehsmaes »

I would like to share a new Switchking plugin with the community.

The plugin doesn't require the Switchking/Tellstick server components to be on the Eventghost host. If you put the server software on your home server you can automate any device from any PC.

Enjoy!

http://code.google.com/p/eventghost-switchking-plugin/
ehsmaes
Posts: 3
Joined: Mon Feb 13, 2012 9:20 pm

Re: New Switchking/Tellstick plugin

Post by ehsmaes »

New features added:
* Device groups on/off
* Scenario activation
ehsmaes
Posts: 3
Joined: Mon Feb 13, 2012 9:20 pm

Re: New Switchking/Tellstick plugin

Post by ehsmaes »

New version out (0.0.4):
- Bug fixes
- New feature: set data source value
- New feature: multiple plugin instances (connect to more than one SK-server from one Eventghost
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: New Switchking/Tellstick plugin

Post by krambriw »

This is a good idea.

To make your solution even more flexible, have you considered also the other way around? To trigger devices controlled by Eventghost? Switch King could then benefit from many more devices and functions that are supported by EG.

Best regards, Walter
bjca
Posts: 5
Joined: Sun Sep 25, 2011 6:07 am

Re: New Switchking/Tellstick plugin

Post by bjca »

A suggestion for improvement,
modify "Datasource, Set Value" to enable "value" to be a python expression/variable (make it easy to extract/forward data from trigger or trigger payload):

Code: Select all

383    def __call__(self,dummy,devicename,value,selection):
384	value = eg.ParseString(value) # New line
385	self.plugin.sk.SetDataSource(devicename,value)
386
387    def Configure(self,dummy="",devicename="", value = "",selection = 0): # Default "value" now empty
Post Reply