TellStick.NET from C#.

Moderator: Telldus

Post Reply
ungedanielsen
Posts: 6
Joined: Thu Jan 18, 2018 11:08 am

TellStick.NET from C#.

Post by ungedanielsen » Thu Jan 18, 2018 11:08 am

Hi there.

I'm trying to write a windows service (and it does work)

Now I'm trying to use TellStick.NET from C#.

Looking for some sample-code.. Anyone??

ungedanielsen
Posts: 6
Joined: Thu Jan 18, 2018 11:08 am

Works.

Post by ungedanielsen » Thu Jan 18, 2018 11:08 am

No worries. Have all I need for now :-)

Just sendt an email to my house, and turned off the lights :-D

riksvag
Posts: 51
Joined: Thu Jan 18, 2018 11:08 am

Post by riksvag » Thu Jan 18, 2018 11:08 am

That sounds very interesting. Is it something you would consider sharing?

gorni.alberto
Posts: 1
Joined: Thu Jan 18, 2018 11:08 am

Re: TellStick.NET from C#.

Post by gorni.alberto » Thu Jan 18, 2018 11:08 am

i'm interested too...

please can you send me some c# example?

mrund
Posts: 1
Joined: Thu Jan 18, 2018 11:08 am

Re: TellStick.NET from C#.

Post by mrund » Thu Jan 18, 2018 11:08 am

Trying to find some examples for C# and Telldus.net also.
Any possibility you could share an example?

//Martin

PerM
Posts: 58
Joined: Thu Jan 18, 2018 11:08 am
Contact:

Re: TellStick.NET from C#.

Post by PerM » Thu Jan 18, 2018 11:08 am

There's a post on this forum where a library for .NET was posted. I've enhanced it and provide a download for here: http://www.beyondmeasure.se/download/
Please respect the license and also note that the example application is 'stale', only the library is being maintained.

You might also be interested in the application I'm using it in, found on that same page.
Beyond Measure - mer än bara mätning: Rita regler grafiskt, styr enheter, skapa grafer, skicka/ta emot SMS, E-mail, 1-Wire, RFXtrx, Tellstick....

JohnHaraldOien
Posts: 4
Joined: Thu Jan 18, 2018 11:08 am

Re: TellStick.NET from C#.

Post by JohnHaraldOien » Thu Jan 18, 2018 11:08 am

Any of you guys have the firmware for tellstick-net to make this work?
I am trying to make this work with local access to the tellstick-net.

PerM
Posts: 58
Joined: Thu Jan 18, 2018 11:08 am
Contact:

Re: TellStick.NET from C#.

Post by PerM » Thu Jan 18, 2018 11:08 am

No, I don't think there is any such FW available yet.
Beyond Measure - mer än bara mätning: Rita regler grafiskt, styr enheter, skapa grafer, skicka/ta emot SMS, E-mail, 1-Wire, RFXtrx, Tellstick....

JohnHaraldOien
Posts: 4
Joined: Thu Jan 18, 2018 11:08 am

Re: TellStick.NET from C#.

Post by JohnHaraldOien » Thu Jan 18, 2018 11:08 am

Darn. I was kind of hoping for a solution to this by now.
My telldus-net is basically a brick without proper interfaces. And local access is quite significant if you ask me.

I know there are some work done in firmware branch t114 but being a c# .net developer
The C language and the compiler stuff in Linux isn't on my most wanted list of skills.
But guess I have to learn. :)

Anybody up for some lessons :S

c8h10n4o2
Posts: 86
Joined: Thu Jan 18, 2018 11:08 am
Contact:

Re: TellStick.NET from C#.

Post by c8h10n4o2 » Thu Jan 18, 2018 11:08 am

Not really the same thing... but I'm trying to control my device with powershell. I've started on a module:
http://www.telldus.com/forum/viewtopic.php?f=22&t=3367

I need to verify a few things (it's using the invoke-webrequest cmdlet, I want an OK from Telldus to see if it's OK to consume telldus live this way), and the code needs som cleaning, but after that the module will of course be free for anyone :)

Link to the code (consider it an alpha release :) ):
http://pastebin.com/pTvs44ZF

Post Reply