TellStick.NET from C#.

Moderator: Telldus

Post Reply
ungedanielsen
Posts: 6
Joined: Fri Mar 17, 2023 9:45 am

TellStick.NET from C#.

Post by ungedanielsen »

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: Fri Mar 17, 2023 9:45 am

Works.

Post by ungedanielsen »

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: Fri Mar 17, 2023 9:45 am

Post by riksvag »

That sounds very interesting. Is it something you would consider sharing?
gorni.alberto
Posts: 1
Joined: Fri Mar 17, 2023 9:45 am

Re: TellStick.NET from C#.

Post by gorni.alberto »

i'm interested too...

please can you send me some c# example?
mrund
Posts: 1
Joined: Fri Mar 17, 2023 9:45 am

Re: TellStick.NET from C#.

Post by mrund »

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

//Martin
PerM
Posts: 58
Joined: Fri Mar 17, 2023 9:45 am
Contact:

Re: TellStick.NET from C#.

Post by PerM »

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: Fri Mar 17, 2023 9:45 am

Re: TellStick.NET from C#.

Post by JohnHaraldOien »

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: Fri Mar 17, 2023 9:45 am
Contact:

Re: TellStick.NET from C#.

Post by PerM »

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: Fri Mar 17, 2023 9:45 am

Re: TellStick.NET from C#.

Post by JohnHaraldOien »

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: Fri Mar 17, 2023 9:45 am
Contact:

Re: TellStick.NET from C#.

Post by c8h10n4o2 »

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