Search found 14 matches

by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

You have two options for that: 1. You have to add some code before the line below to check if the sensor logfile exists. If it does not, you make sure to first add the header. check if file exists before this line FileWriter file = new FileWriter(sensorList.elementAt(i) + ".txt", true); wr...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

When I'm running the sensor finding I get no results at all. Just an empty sensor tag. Any ideas what might be wrong? Does your temperature sensors show up in the Telldus live web interface? Could you post the xml output? When looking at live.telldus.com there is only devices, no sensors... But in ...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Simple java app to read sensor values from Telldus Live!

Hello, As my hosting provider (godaddy) does not support OAuth and I really wanted to have some graphs showing the temperature readings on my website, I created a small java tool to read sensor values from Telldus Live!. The tool simply reads the values of the sensors you indicate, creates a small t...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

liverpoolarn wrote:Well got the answer from Telldus that it is only net-version that shows this on the web... I have a duo. Does that mean I can't use this??
Yes, if that's the case this tool will not work for you as it retrieves the values from Telldus web api.
by logge
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Temperaturloggning med Tellstick Net?
Replies: 39
Views: 57648

Re: Temperaturloggning med Tellstick Net?

Dytter tråden litt. Finnes det virkelig ikke en fungerende tjeneste for logging av temp med tellstick net? Det virker helt ufattelig. Hva er isåfall den enkleste måten å få dette til på? Setter utrolig stor pris på innspill! http://www.telldus.com/forum/viewtopic.php?f=1&t=2503 ? Här är javalös...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

Just tried to compile the SensorReader.java into a jar-file, without any changes just to see that I could make it. But it seems like there are some more dependencies. Did you use a project environment setup when this was initially made? I can see there is a .classpath and .project file so that is w...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

Hello, Then, to start retrieving sensor values, you do this: SensorReader.java PublicKey PrivateKey PublicToken SecretToken ReadIntervalInMinutes FtpServer FtpUser FtpPassword sensorId1 sensorId2 ... sensorIdN I managed to receive the sensor ID's with the first command, but how do you execute the a...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

OK, let me try this later today. BTW; How is your setup to do the collection of data for trending/graphing? Do you have a computer setup where you simply run this command constantly (with e.g. 30 minutes as interval setting)? If so I thought maybe using the windows scheduler without the interval se...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

[*]The FTP server can be on the same or another computer (which I guess is the whole point of using FTP). [*]I installed FileZilla FTP Server (not client) on the same computer. Lifehacker.com gave me a link to instructions to install FileZilla, set up the user/password and define a default director...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

I have tried your script the last few days and I like it! However there are a few changes that could be nice to do, e.g. adding more than one sensor to the same csv file and comparing read value with previous values (based on having a problem if sensor or Tellstick is unavailable, then the reading ...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

Perfect! Not sure how it is most easy to do that, seems like the PM features is turned off in the forum so I am not able to send you a message. I created a public Github repository where you can get the source. Feel free to commit any improvements you do there if you want to share them. The code is...
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

liverpoolarn wrote:When I'm running the sensor finding I get no results at all. Just an empty sensor tag.
Any ideas what might be wrong?
Does your temperature sensors show up in the Telldus live web interface? Could you post the xml output?
by logge
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: Simple java app to read sensor values from Telldus Live!
Replies: 28
Views: 33459

Re: Simple java app to read sensor values from Telldus Live!

Logge, your script works great, but is it possible to add an path in the bat-file. The logfile is saved in the root on my WEB/FTP, but it is not the right place for the file. If the file name is "1234567.txt" I would like to save it to "/temp/1234567.txt" And next, The date stam...