Here are answers to frequently asked questions regarding Switch King. You can use the search function (on the right hand side) to search among the articles. Another alternative to find the answer to your question is to have a look in the forum where you can also post a new question.

Our ability to assist with support related questions by e-mail is limited and we try to help out via the forum instead so that other people with similar questions can get help as well.

Contact us on e-mail for other topics: This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Hur vet jag vilken klientversion och vilken serverversion som hör ihop?

There are no translations available.

För den senaste versionen av server och klient så publiceras alltid de versioner som hör ihop.

Om du uppgraderar din serverversion kan du också behöva uppgradera din klientversion. När du startar klienten och ansluter mot servern kommer klienten själv att signalera att din klient är för gammal och behöver uppdateras om det är så att servern och klienten inte är kompatibla med varandra.

Vad händer när jag avinstallerar Switch Kings serverdelar?

There are no translations available.

När du avinstallerar Switch Kings serverdelar tas applikationsfiler bort. Loggfiler, konfigurationsfil och databas (scheman, enheter, datakällor och licensnycklar) behålls.

Efter en avinstallation kan du behöva starta om datorn för att avinstallationen ska bli helt utförd.

Följande utförs vid avinstalltion

  • Tjänsterna stoppas (V0.5.0 och senare)
  • Applikationsfiler (DLL-filer och EXE-filer) tas bort från katalogen
  • Tjänsterna avinstalleras

Följande behålls vid avinstallation

  • Scheman, enheter, datakällor och licensnycklar
  • Konfigurationsfil för serverdelarna
  • Loggfiler

 

 

 

Jag får fel 1001 när jag installerar, avinstallerar eller uppgraderar

There are no translations available.

Fel 1001 betyder att Windows Installer, som Switch King använder sig av, inte längre vet vilket läge en installation befinner sig i.

För att komma förbi detta fel, gör följande:

  1. Avbryt avinstallationen
  2. Stoppa Switch Kings tjänster (Kontrollpanelen - Administrationsverktyg - Tjänster)
  3. Leta upp och ta bort filen ”SwitchKing Service Host.InstallState” som finns i biblioteket där du har installerat Switch King Server.
  4. Kör programmet för avinstallation igen.

Hur uppgraderar jag till en ny version?

There are no translations available.

Följ denna guide om du uppgraderar från v0.6.x eller senare till v0.7.x eller senare.

Om du uppgraderar från v0.5.x eller tidigare till v0.6.x eller senare är det viktigt att du följer en viss rutin för att dina enheter ska uppgraderas till att stödja Telldus Center.

Du hittar guiden här.

Switch Kings klient

Switch Kings klient är möjlig att uppgradera utan att avinstallera en gammal version först.

Hämta hem den nya versionen från http://www.switchking.se och kör installationspaketet. Din installerade version kommer att uppgraderas till ny version.

Switch Kings server

Vi rekommenderar att du först avinstallerar den version du har installerat. Före du gör detta rekommenderas du att stoppa Switch Kings servertjänster.

Stoppa Switch Kings servertjänster

Gå in via Kontrollpanelen - Administrationsverktyg - Tjänster.

I listan över tjänster, leta upp tjänsterna SwitchKing Data Collector Service, SwitchKing Framework Service och SwitchKing Invocation Service. Stoppa dessa tre tjänster genom att högerklicka på dem och välja "Stoppa".

(Om du har en äldre version än 0.5.0 saknas tjänsten SwitchKing Data Collector Service)

Avinstallera Switch King Server

Gå in via Kontrollpanelen - Program och funktioner, eller Kontrollpanelen - Lägg till/ta bort program.

Leta upp "Switch King Server" och välj avinstallera.

Installera ny version

Dubbelklicka på MSI-paketet som du hämtat från http://www.switchking.se. Följ instruktionerna för installation.

Om du installerar version 0.5.0 eller senare tas en kopia på din databas och din konfigurationsfil i samband med installation. Dessa sparas under katalogen "Backup" (under den katalog där du installerat servertjänsterna).

 

How do I configure Nexa's self learning devices

Nexa has a number of devices not based on house- and unit code. These devices are, however, compatible with older remotes and they do support the older protocol based on house- and unit code.

An example of a device that is self learning is Nexas PB-3. Nexa's index over selflearning devices is found here.

Please note:

Nexa devices can often store more than one code. We recommend that you remove all existing codes in the device before getting past step 6 below...
You can do this by plugging the device into a electrical outlet and, within 5 seconds, press the button "G Off" on your remote. This clears all codes in the device.

It is possible to connect Switch King and a remote to the same device.

Switch King v0.6.0 and later

Switch King v0.6.0 and later supports learning of the devices directly from the client. Click on "Learn" and your device will be put in learning mode.

More information about how you set your device in learning mode is found in the manual for the device.

Switch King v0.5.3 and previous versions

Follow the steps bellow:

  1. Create a new device in Switch King and set the type of device to "Nexa PA3-3300"
  2. Pick a house code and a unit code, for example "M" as house code and "2" as unit code
  3. Save the device
  4. Change the device to run in manual mode in Switch King
  5. Turn the device off through Switch King
  6. Plug the Nexa device in into an outlet close to your computer.
  7. Press the "On"-button in Switch King within 5 seconds after that you've plugged the device in
  8. If the connection is successfull, and the code is stored, the device will indicate this by toggling between on and off a few times and at the same time making a clicking sound
  9. Put the device into automatic mode

 

Can I have a firewall installed on the same computer as the server components?

Yes you can, but you need to open one or more ports in the computer's firewall.

Switch King Pro is using port 8080 (in default configuration) for the communication between the server and the client. This port must be open on the computer's firewall in order for the client to be able to connect to the client.

In addition to that, REST clients (for example the Android client) are using port 8800. This port also needs to be opened if REST clients are to be allowed access.

We recommend that you keep port 8080 closed in your router.

If you want to access Switch King from outside your home, we recommend that you install one of Switch King's free clients. Example of available clients are the web client, the iPhone client and the Android client. To be able to use the clients, you need to open port 8800 in your router and forward it to the computer running the server components.

Vad behöver jag ha installerat för att köra Switch King Pro

There are no translations available.

Du behöver:

  • Microsoft .NET Framework 3.5 (kommer oftast via Windows Update)
  • Switch King Server
  • Switch King Client
  • Telldus Drivrutin v1.2.3

Jag får fel efter installation av Switch King Pro

There are no translations available.

Följande fel kan skrivas i loggen och returneras till klienten vid problem med Telldus Center 2.0:

Level 1) An attempt was made to create a device entity from registry but native id of 1 had no house code or unit code set in registry.

StackTrace for Level 1:

Server stack trace:
vid System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
vid System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
vid System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
vid System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
vid System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
vid System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
vid System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
vid SwitchKing.Client.GUI.SKSrv.FrameworkService.GetDevicesNotFoundInRegistry()
vid SwitchKing.Client.GUI.Server.GetDevicesNotFoundInRegistry(Boolean forceRefresh)
vid SwitchKing.Client.GUI.frmMain.frmMain_Load(Object sender, EventArgs e

Orsaken till felet är att Switch King stödjer version 1.2.3 av Telldus TellStick drivrutin. Felet kan uppstå om man har eller har haft Telldus Center 2.0 installerat på den dator där man installerar Switch King Pro.

Telldus Center 2.0 lagrar information om enheterna på annat sätt i registret, vilket stör Switch Kings inläsning av enheterna. Detta gäller även om man avinstallerar Telldus Center 2.0.

För att få Switch King att fungera måste de poster som Telldus Center lagt upp i registret tas bort. Det görs på följande sätt:

För 32-bitars operativsystem

  1. Starta registereditorn (Håll inne tangenten "Windowsflagga" och tryck "R", skriv "regedit" och tryck [Enter])
  2. Följ ett av spåren nedan (vilket beror på din uppsättning i Telldus Center/Telldus Setup):
    • Navigera ner till HKEY_CURRENT_USER\Software\Telldus\Devices.
      Ta bort alla undermappar till Devices (de som har siffror i namnet).
    • Navigera ner till HKEY_CURRENT_MACHINE\Software\Telldus\Devices.
      Ta bort alla undermappar till Devices (de som har siffror i namnet).
  3. Stoppa och starta Switch Kings tjänster (Kontrollpanelen - Administrativa Verktyg - Tjänster)


Can I move the Switch King server to a different computer?

Yes, you can.

Follow this procedure:

1) Stop the Switch King services on the computer where the server is running (Control Panel - Administrative Tools - Services)

2) Make a copy of the database, switchKing.server.db3, containing schedules and devices on the computer you are moving from. The database is typically found here:
C:\Program Files\Switch King\Switch King Server\DB\
Put the copy in a place you can access from the new computer.

3) Install TelldusCenter first and then Switch King server on the new computer.
Note! Clear the option to start the Switch King services after the server has been installed. Install a version of the server with the same or higher version than you used on the old computer.

4) When the installation is done, copy the database that you made a copy of to the folder "DB" in the Switch King folder on the new computer (and overwrite the existing file that is there - it is empty).

5) If you are connecting to Switch King Server from another computer or from a mobile client (iPhone, iPad or Android), you need to open up ports 8800 and 8080 in your firewall. How this is done is depending on which firewall you are using. If the ports are closed, you will not be able to connect to Switch King Server from a remote computer or client.

6) Restart the computer

7) When the computer has been restarted, install and start the Switch King client and connect to the computer where the Switch King server is installed.

8) When starting the client you will be asked if the devices in the database should be added to TelldusCenter. Select to add the devices. You will not have to add your devices using TelldusCenter.
Note! Make sure that TelldusCenter is closed when adding the devices. Select Exit in the File menu if TelldusCenter has been started (it is not sufficient to click X to close the program).

9) Done!

You may also follow this instruction for reinstalling your computer.

Hur tar jag en backup på mina enheter och scheman?

There are no translations available.

Dina enheter lagras i filen switchking.server.db3 som oftast finns under någon av följande sökvägar:

  • C:\Program Files\Switch King\Switch King Server\DB
    eller
  • C:\Program\Switch King\Switch King Server\DB

Om du tar en kopia på filen och lägger den på annan plats så har du en säkerhetskopia av dina enheter och scheman.

Page 5 of 6