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.

Switch King Plugin

Questions and comments specific to a particular plugin should go here.
woggy
Posts: 40
Joined: Sun May 02, 2010 2:06 pm

Switch King Plugin

Post 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
    Attachments
    Switchking_0.1.0.rar
    V0.1.0
    (16.08 KiB) Downloaded 685 times
    Switchking_0.0.9.rar
    V0.0.9
    (16.02 KiB) Downloaded 360 times
    Switchking_0.0.8.rar
    V0.0.8
    (15.68 KiB) Downloaded 372 times
    Last edited by woggy on Sat Dec 29, 2012 10:48 am, edited 4 times in total.
    kalinkamaen
    Experienced User
    Posts: 138
    Joined: Wed Dec 26, 2012 9:23 am

    Re: Switch King Plugin

    Post by kalinkamaen »

    Problems with switchking plugin.
    Can some one help me?

    Image
    krambriw
    Plugin Developer
    Posts: 2570
    Joined: Sat Jun 30, 2007 2:51 pm
    Location: Stockholm, Sweden
    Contact:

    Re: Switch King Plugin

    Post 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
    woggy
    Posts: 40
    Joined: Sun May 02, 2010 2:06 pm

    Re: Switch King Plugin

    Post 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
    Gyld
    Posts: 9
    Joined: Wed Dec 26, 2012 7:53 pm

    Re: Switch King Plugin

    Post 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)
    Gyld
    Posts: 9
    Joined: Wed Dec 26, 2012 7:53 pm

    Re: Switch King Plugin

    Post 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?
    woggy
    Posts: 40
    Joined: Sun May 02, 2010 2:06 pm

    Re: Switch King Plugin

    Post by woggy »

    Is it the same error on V0.0.8?
    Gyld
    Posts: 9
    Joined: Wed Dec 26, 2012 7:53 pm

    Re: Switch King Plugin

    Post by Gyld »

    woggy wrote:Is it the same error on V0.0.8?
    I am using V0.0.8
    woggy
    Posts: 40
    Joined: Sun May 02, 2010 2:06 pm

    Re: Switch King Plugin

    Post 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
    Gyld
    Posts: 9
    Joined: Wed Dec 26, 2012 7:53 pm

    Re: Switch King Plugin

    Post 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?
    woggy
    Posts: 40
    Joined: Sun May 02, 2010 2:06 pm

    Re: Switch King Plugin

    Post by woggy »

    Ok, try V0.0.9
    Gyld
    Posts: 9
    Joined: Wed Dec 26, 2012 7:53 pm

    Re: Switch King Plugin

    Post 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? :)
    Gyld
    Posts: 9
    Joined: Wed Dec 26, 2012 7:53 pm

    Re: Switch King Plugin

    Post 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
    woggy
    Posts: 40
    Joined: Sun May 02, 2010 2:06 pm

    Re: Switch King Plugin

    Post 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.
    Gyld
    Posts: 9
    Joined: Wed Dec 26, 2012 7:53 pm

    Re: Switch King Plugin

    Post 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
    Post Reply