Kan börja med att säga att jag verkligen inte behärskar linux men eftersom det är det enda valet om jag vill köra Tellstick Duo på Raspberry Pi så...
Kör Raspberry Pi med Debian Squeeze och en Tellstick duo (firmware 5)
Installerat Telldus-core, mono-complete (2.6.7-5), Senaste Switchking server för linux.
Startat upp switchking med
sudo mono /bin/SwitchKing/Bin/SwitchKing.exe terminal 192.168.15.127 8080 192.168.15.127 8800
Allt verkar fungera. har provat att tända och släcka ett par Nexa strömbrytare via Windows klienten som är kopplad till servern.
Men när jag väljer att lägga till datakälla från duo så går det inte :cry
Så här står det i felmedd ovan.
Code: Select all
System.ServiceModel.FaultException
Level 1) error occured
StackTrace for Level 1:
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SwitchKing.Client.GUI.SKSrv.FrameworkService.GetInterceptedEventsNewerThan(DateTime d)
at SwitchKing.Client.GUI.UserControls.DuoEventList.GetEventsFromServer()
at SwitchKing.Client.GUI.UserControls.DuoEventList.RefreshEventList()
at SwitchKing.Client.GUI.frmDataSource.btnRefreshDuoEvents_Click(Object sender, EventArgs e)
Code: Select all
Exception Failed to add type SwitchKing.Common.Entities.Monitoring.NativeEntityEvent[] to known type collection. There already is a registered type for XML name http://schemas.datacontract.org/2004/07/SwitchKing.Common.Entities.Monitoring:ArrayOfNativeEntityEvent at System.Runtime.Serialization.KnownTypeCollection.RegisterCollection (System.Type type) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.KnownTypeCollection.TryRegister (System.Type type) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.KnownTypeCollection.InsertItem (Int32 index, System.Type type) [0x00000] in <filename unknown>:0
at System.Collections.ObjectModel.Collection`1[T].Add (.T item) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.DataContractSerializer.WriteStartObject (System.Xml.XmlDictionaryWriter writer, System.Object graph) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.XmlObjectSerializer.WriteObject (System.Xml.XmlDictionaryWriter writer, System.Object graph) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.DataContractMessagesFormatter+DataContractBodyWriter.WriteMessagePart (System.Xml.XmlDictionaryWriter writer, System.ServiceModel.Description.MessageBodyDescription desc, System.ServiceModel.Description.MessagePartDescription partDesc, System.Object obj) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.DataContractMessagesFormatter+DataContractBodyWriter.OnWriteBodyContents (System.Xml.XmlDictionaryWriter writer) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.BodyWriter.WriteBodyContents (System.Xml.XmlDictionaryWriter writer) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.SimpleMessage.OnWriteBodyContents (System.Xml.XmlDictionaryWriter writer) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.Message.WriteBodyContents (System.Xml.XmlDictionaryWriter writer) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.Message.WriteBody (System.Xml.XmlDictionaryWriter writer) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.Message.OnWriteMessage (System.Xml.XmlDictionaryWriter writer) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.Message.WriteMessage (System.Xml.XmlDictionaryWriter writer) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.TextMessageEncoder.WriteMessage (System.ServiceModel.Channels.Message message, System.IO.Stream stream) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.HttpRequestContext.ProcessReply (System.ServiceModel.Channels.Message msg, TimeSpan timeout) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.HttpRequestContextBase.Reply (System.ServiceModel.Channels.Message msg, TimeSpan timeout) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.MessageProcessingContext.Reply (Boolean useTimeout) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.OperationInvokerHandler.Reply (System.ServiceModel.Dispatcher.MessageProcessingContext mrc, Boolean useTimeout) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.OperationInvokerHandler.ProcessRequest (System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.BaseRequestProcessorHandler.ProcessRequestChain (System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.BaseRequestProcessorHandler.ProcessRequestChain (System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.BaseRequestProcessorHandler.ProcessRequestChain (System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.HandlersChain.ProcessRequestChain (System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in <filename unknown>:0
at System.ServiceModel.Dispatcher.BaseRequestProcessor.ProcessRequest (System.ServiceModel.Dispatcher.MessageProcessingContext mrc) [0x00000] in <filename unknown>:0
Någon som kan ge mig förslag på vad jag kan göra?