Page 1 of 2

Switch King Plugin

Posted: Sun Oct 14, 2012 3:50 pm
by woggy
    This plugin allows you to control yourTellstick through Switchkings REST API

    Features:
    • Device ON / OFF
    • Device Fake ON / OFF (without sending a signal)
    • Device Dim
    • Device Fake Dim (without sending a signal)
    • Device By Schedule
    • Device Synchronize
    • Device Get State
    • Group ON / OFF
    • Group By Schedule
    • Group Synchronize
    • Scenario Activate
    • Set Datasource
    • Set System Mode
    • Device Get State (Get current state on a Device)
    Events:
    • Data Source Events
    • Device Events
    • Scenario Events
    • Schedule Mode Events
    • Debug Mode, Print all REST Events
    You need to have Switchking Server Server - v3.0.0 or later and the REST service enabled on the server.
    The server should also accept TCP on port 8800 in the firewall, if any.
    This plugins original author is Martin Engstrom and can be found here eventghost-switchking-plugin
    All credit goes to him.

    Changelog

    V0.0.8
    • Added some basic error handeling
    • Minor bugfixes
    V0.0.9
    • REST API Bugfix
    • More error handeling
    V0.1.0
    • More REST API Bugfixes

    Re: Switch King Plugin

    Posted: Wed Dec 26, 2012 9:27 am
    by kalinkamaen
    Problems with switchking plugin.
    Can some one help me?

    Image

    Re: Switch King Plugin

    Posted: Wed Dec 26, 2012 4:35 pm
    by krambriw
    If I'm not completely wrong, I think I have seen this too and it was because SK server was not correctly started.
    Try to restart all SK services and then try the plugin in EG again

    Re: Switch King Plugin

    Posted: Wed Dec 26, 2012 6:22 pm
    by woggy
    kalinkamaen wrote:Problems with switchking plugin.
    Can some one help me?

    Image
    Try the new version 0.0.8.
    It should give a better hint on whats wrong but krambriw is probably right

    Re: Switch King Plugin

    Posted: Wed Dec 26, 2012 8:03 pm
    by Gyld
    Hi!

    I have something like this as well...
    I have tried to get this to work the last days, but I only get error messages like this:
    Snap 2012-12-25 at 10.33.42.png
    All the services for SK is running like thay should, and I have tried to restarted them but that dues not solve this problem...

    Any other suggestions?

    (Sorry for the screenshoot... it is in Swedish. I can make an other one in english if some one like to have it translated)

    Re: Switch King Plugin

    Posted: Wed Dec 26, 2012 8:16 pm
    by Gyld
    Hi!
    I experienced something similar when I try to start the Event Ghost with this pluguin.

    As you can see in the screenshot below, I also get a lot of error messages. I have several times tried to restart the Switch King services and then restarted the Event Ghost, but without result.
    Snap 2012-12-26 at 21.04.23.png

    Some info about my system:
    Snap 2012-12-26 at 21.12.48.png
    Snap 2012-12-26 at 21.14.08.png

    Does anyone have any other suggestions on what this could be?

    Re: Switch King Plugin

    Posted: Thu Dec 27, 2012 8:17 am
    by woggy
    Is it the same error on V0.0.8?

    Re: Switch King Plugin

    Posted: Thu Dec 27, 2012 11:49 am
    by Gyld
    woggy wrote:Is it the same error on V0.0.8?
    I am using V0.0.8

    Re: Switch King Plugin

    Posted: Thu Dec 27, 2012 1:11 pm
    by woggy
    Gyld wrote:
    woggy wrote:Is it the same error on V0.0.8?
    I am using V0.0.8
    The error on line 395 is from 0.0.7

    Have you tryed to restart the Client, it's sometimes needed when adding new data sources or devices

    Re: Switch King Plugin

    Posted: Thu Dec 27, 2012 7:09 pm
    by Gyld
    woggy wrote:
    Gyld wrote:
    woggy wrote:Is it the same error on V0.0.8?
    I am using V0.0.8
    The error on line 395 is from 0.0.7

    Have you tryed to restart the Client, it's sometimes needed when adding new data sources or devices

    For me to be 100% sure I uninstalled Switcking from Event Ghost, closed Eventgost and deleted the Switshking folder from plugins-folder.
    After that I downloaded 0.0.8 and above installed that in Eventghost.

    But I still get this error message:
    Snap 2012-12-27 at 19.59.44.png

    Pls help me... What am I missing?
    Is there any other file that I should delete that is laying around in the system from the old 0.0.7 that is messing things up?

    Re: Switch King Plugin

    Posted: Fri Dec 28, 2012 1:55 pm
    by woggy
    Ok, try V0.0.9

    Re: Switch King Plugin

    Posted: Fri Dec 28, 2012 3:34 pm
    by Gyld
    woggy wrote:Ok, try V0.0.9
    Many thanks for the quick response! :)

    I have installed the v0.0.9 and now it seams to receive information from my temp sensors in Switch King, but I still get some error messages:
    Snap 2012-12-28 at 16.29.26.png
    Does you have any solution on that as well? :)

    Re: Switch King Plugin

    Posted: Fri Dec 28, 2012 3:42 pm
    by Gyld
    Here is an other screenshot where the system has been running for some minutes.
    Snap 2012-12-28 at 16.41.16.png

    Re: Switch King Plugin

    Posted: Sat Dec 29, 2012 10:53 am
    by woggy
    Okey, try V0.1.0
    The REST API is not consequent at the time being so it's a bit hard to extract the information. If you enable ONLY "Debug mode" the ID numbers should come in sequence and not skip any number.

    Re: Switch King Plugin

    Posted: Sat Dec 29, 2012 6:02 pm
    by Gyld
    woggy wrote:Okey, try V0.1.0
    The REST API is not consequent at the time being so it's a bit hard to extract the information. If you enable ONLY "Debug mode" the ID numbers should come in sequence and not skip any number.
    I really appreciate your efforts in trying to get this to work! Awesome nice!

    Unfortunately I must announce that I still get lots of errormessages even with v0.1.0
    Snap 2012-12-29 at 18.56.23.png

    If I understood you correctly, it was JUST debug you wished to be check?
    Snap 2012-12-29 at 18.56.45.png