Information om konfiguration av server och klient.
How can I access data through the REST interface witout username and password?
Android and iPhone devices connect to Switch King through it's REST services. When Switch King is installed, the REST service is configured to require username and password.
In some situations, it might be necessary to allow access from the local network without requiring username and password.
This article shows you how to enable anonymous connections for REST services.
How do I configure the visibility of a device in clients other than the Windows client (Android, iPhone, web)?
Version: 0.8 or laterIn Switch King v0.8 or later, the visibility of a device or data source in other clients is configurable. The extensions and clients adapted to 0.8 takes this setting into consideration and shows or hides the device or the data source depending on how the device or data source is configured in the Windows client.
Read more...How do I read data from a data source at a specific time of day?
Version: 0.8 or laterIn Switch King, you can specify that data from a data source is to be collected at a specific time of day. The applicable data source need to have the "poll type" set to "Time and interval". You also need to specify the "poll interval" and the "poll time"
Read more...How do I specify the username and password for REST clients (like Android)
Version: 0.8 or laterUsername and password for REST clients are specified under "Tools - Options".
Read more...How do I read data from a network drive?
Version: 0.8 or laterWhen information from a data source is stored on a network drive, you need to supply a domain, a username and a password. Usually, the domain is the same as the computer name
Read more...How do I configure my devices to be synchronized?
Version: 0.8 or laterAutomatic synchronization of devices means that Switch King sends signals to your devices with specific intervals to ensure that your devices are in their expected state. If the coverage is low in your appartment or house, automatic synchronization might be a way to handle the problem.
Read more...How do I read the last line in a file collected from a data source?
Some data sources put the information on the last row in a text file. By configuring Switch King to read from row 100000 you will force Switch King to read and parse values from the last line only.
If the file that the data source is creating or adding information to becomes very large or is to be read frequently, we recommend another solution than reading the last line. Switch King reads the whole file into memory on every read which can lead to high load. If you see performance issues when reading only the last row, we recommend that the frequency that the file is read is decreased.
This is a function available in Switch King v0.7.1. The functionality might change in future versions of Switch King, and the GUI might be changed to implement a better solution to read the last line.
I get "Server Application Unavailable" after installing an extension
When you've installed one of Switch Kings extensions and try to surf to the web site where the extension is installed, you may get an error message saying "Server Application Unavailable". You should have additional information in the Event Viewer on the server..
This might have to do with that the IIS (web server) does'nt have access rights to the directory where the extension is installed. When installing the iPhone client as described in the guide, this applies to the directory C:\Program Files\Switch King\Switch King iPhone Client.
Your Event Viewer probably contains the following message:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.
There are two solutions to the problem:
- Move the directory to C:\Inetpub (you need to configure the IIS so that the site or the virtual directory is pointing to the new directory)
or - Create a new application pool and tie the pool to the extension you've just installed
If you want to create a new application pool, follow the screenshots below. The name of the example site where the extension is configured, is "SK iPhone".
Read more...
Varför försvinner mina enheter från Telldus Center?
När Telldus Center installeras på datorn är det konfigurerat så att enheterna du skapar knyts till din användare på datorn.
När Switch King installeras får du en fråga om du vill använda "Shared Devices" (delade enheter). Om du svarar "Ja" på denna fråga så kommer Telldus Center att styras över så att enheter som läggs upp från och med att du svarat "Ja" blir tillgängliga för alla användare på hela datorn.
De enheter som du har skapat tidigare döljs (men finns kvar). Det är möjligt att flytta över dessa enheter till den "delade ytan" och direkt få in dem i Switch King.
Det är också möjligt att inte använda "Shared Devices", men för att detta ska fungera måste Switch Kings servertjänster isåfall konfigureras om manuellt, så att de startar och kör med ditt användarkonto.
Hur kör jag webbtillägg i 64-bitarsmiljö?
Om du installerar Switch Kings webbaserade tillägg på en dator med 64-bitars operativsystem kan du råka ut för följande felmeddelande:
An attempt was made to load a program with an incorrect format.
Detta beror på att Switch King använder 32-bitars kodbas.
I IIS7 och IIS7.5 måste du gå in i IIS Manager och tillåta att 32-bitarsapplikationer körs i den applikationspool där tillägget körs.
Gå in i IIS Manager, leta upp den applikationspool som tillägget körs under och välj därefter "Advanced Settings".
Sätt sedan "Enable 32-bit applications" till "true".
Om du är osäker, högerklicka på applikationspoolens namn och välj "View applications" för att lokalisera den applikationspool som tillägget använder.