C# Service Project on Github

  • 160 Views
  • Last Post 09 January 2014
Ryan-Scott posted this 16 March 2013

For anyone who is interested, I create a simple Visual Studio 2010 project that has some sample code and instructions for talking to the InControl service using your own code.

Have fun!

https://github.com/rscott78/InControl-ServiceReferences

jonfrance posted this 09 January 2014

Hi Ryan.
I just got around to trying to incorporate service calls into my local app.
I did previously use the web API calls to parse info in and out, but that takes a load of text manipulation I would like to code out.
I have downloaded this project but I get errors when reading the devices:

i.e.
There was an error deserializing the object of type InControlServiceReference.InControlService.HaDevice[]. The value '71.3' cannot be parsed as the type 'Int32'.

I checked the InControl GUI and see that 71.3 is a temperature value from one of my 4-in-1 multi-sensor.

Close