Search found 9 matches

by Tasle
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: "Da House Control"
Replies: 7
Views: 13451

Re: "Da House Control"

Well, I am not doing this control program for you, my friend. I develop it for my own purpose to control switches in my own home and it does so very well. If anyone else would be interested in my system and has similar requirements, that's nice. As such, I'm not interested in giving you the source c...
by Tasle
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: "Da House Control"
Replies: 7
Views: 13451

Re: "Da House Control"

I am not sure what you mean with "Hva you used the API below in your Delphi project?" Can you elaborate? I do not use these functions. What I do to avoid some programming, is to register a switch (for example) with Telldus Center. Telldus Center updates the windows registry with a new swit...
by Tasle
Fri Mar 17, 2023 9:45 am
Forum: Windows
Topic: Have anyone made any test implementation in Delphi?
Replies: 5
Views: 17789

I have just started to develop a test program for TellStick with Delphi, using static linking. You have to declare all functions and procedures like this in the program header (before the Implementation section, I think): Function tdTurnOn (deviceID: Integer): Boolean; External 'TelldusCore.dll'; Pr...
by Tasle
Fri Mar 17, 2023 9:45 am
Forum: Windows
Topic: Have anyone made any test implementation in Delphi?
Replies: 5
Views: 17789

Documentation

Bump:

Forgot to mention: A good starting point in any language is located at
http://developer.telldus.se/doxygen/gro ... f1cd532b33
by Tasle
Fri Mar 17, 2023 9:45 am
Forum: Windows
Topic: Svenska tecken i DeviceName
Replies: 3
Views: 11731

Re: Svenska tecken i DeviceName

Det er rett, konvertere fra UTF-8 til Ansi-string. Og i Delphi:

Code: Select all

Navn:= Utf8ToAnsi (Name);
by Tasle
Fri Mar 17, 2023 9:45 am
Forum: Windows
Topic: Simple Delphi application to list TellStick Status
Replies: 0
Views: 4934

Simple Delphi application to list TellStick Status

I have published a little Delphi program to show how to deal with the TellStick. This program is merely an example which lists all my receivers' name and their last commands. It's up to you to implement any other functions you might want. You may find this article on http://tore.aasli.no/tellstick ,...
by Tasle
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: "Da House Control"
Replies: 7
Views: 13451

"Da House Control"

Da House Control should be ready for a closer look on http://tore.aasli.net/blog/?p=152

This is a home control program developed with Delphi and is using a Tellstick Duo, and runs on a Windows (7) PC to control my home.
by Tasle
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: "Da House Control"
Replies: 7
Views: 13451

Re: "Da House Control"

Update: (Please scroll down on the blog page (the link from my first post on this subforum) to see these two updates) Added to information pieces: 1) A time stamp to show the next update based on the update interval. 2) An Energy Savings indicator, to show the energy you are saving at the moment.
by Tasle
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Hur räknar Telldus soluppgång/solnedgång?
Replies: 6
Views: 4831

Re: Hur räknar Telldus soluppgång/solnedgång?

Antar at kontrollprogrammet bruker den normale, matematiske trigonometriske metoden for beregning av soloppgang og -nedgang. Verre er det ikke. Det finnes også algoritmer for beregning av såkalt "twilight" (skumring). Det beste er etter mitt syn er å beregne skumringstidene (i programmet) ...