Search found 20 matches

by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

My plan is to release the modification to the public in the future eventually. But for now I would like for as many users as possible to test it out and evaluate it so I can fix problems that shows up and make it a bit more stable and add more functions on feedback basis. So If anybody is up to it a...
by csom
Fri Mar 17, 2023 9:45 am
Forum: Allmänt
Topic: Timerfunktion vid händelse (telldus live)
Replies: 13
Views: 11202

Timerfunktion vid händelse (telldus live)

Hej jag undrar om det går att inkludera en timerfunkttion vid en viss händelse på telldus live ? Säg t.ex. att man passerar en rörelsesensor och den tänder upp rummet och om man inte aktiverar sensorn igen så släcks belysningen efter t.ex. 10 min. Jag kan inte hitta någon sådan funktion under händel...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

I've now uploaded my new mod of fuTelldus to GitHub. It's still in the test-phase. the new mod is available on: https://github.com/csom/fuTelldus please contribute with tips and new functions you'd like and issues you stumble upon. Modifications from dicos initial release. --------------------------...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

Have you updated your database with the new sql script?

Have you installed HTTP and OAuth and Net?

I don't know what could be wrong, I haven't changed anything regarding how the devices and sensors is added to the database.

Do you get some error logs?

/Pär
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

Works nicely, thanks! I noted that the api returns dummy hour / minute for some of the schedules in schedule/joblist. I made a ticket about that to Telldus so let's see about the answer...:) It would be a nice feature to sort the schedules list the same way as on the web ui (by name) but I guess th...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

Does the api return the list in this order or where does the sorting happen? Yes the API returns the result in that order so my script doesn't do any type of sorting to the result. I guess I need to build some condition that if type = sunset / sunrise and schedule = inactive, then time = 0:00. And ...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

csom wrote: I'll look into it and try it out.
I've updated the event-page and it's now uploaded on gitHub.

It now shows the next time the schedules suppose to run instead of planned hour:minute.
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

I have managed to get the old version running without the sensor logging unfortunately(45 years since last update) but I can se some info if i click on the senors like temp and humidity. Any idea what I am doing wrong? The lights list works. What would be the best way of upgrading to your modified ...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

Yes there are no rowes in sensors_log or in schedule in the database. I would like to get the old version ok before attempting to have a go at the new one. TY for your help and the quick response. /Tony Ok, you could try the new version just to be sure that it isn't anything wrong with the original...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

I think it has something to do with PEAR_package_fuTelldus.zip beacuse i couldn´t download that so instead i downloaded HTTP_OAuth-0.3.1. When I run the script I get some error msgs regarding File(HTTP/OAuth.php) is not within the allowed path, I am running a webserver on my Synology NAS. Do you ha...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

Thanks! Gives mcuh more meaningful times now :) The next run time could be set to N/A for inactive schedules if further tweaking is desired. I registered to Pushover.net and download the iOS app but haven't got it to work yet. The server from where I'm running it has curl and I've set the "use...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

Thanks for the comments. I'll enable the logging to see if it catches anything there. Meanwhile, does this tell anything that why curl would not work: cURL support enabled cURL Information 7.21.0 Age 3 Features AsynchDNS No Debug No GSS-Negotiate Yes IDN Yes IPv6 Yes Largefile Yes NTLM Yes SPNEGO N...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

Hi, the direct pushover work fine and I can also get a push notification by setting the provided email address as a recipient. I tried further debugging by adding $info = curl_getinfo($ch); print_r ($info); Below is the output: Array ( [url] => https://api.pushover.net/1/messages.json [content_type...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

Hi, I found a couple of potential bugs, or at least stuff that I needed to modify to get it working for my setup. mainpage.php (row 114): echo "<a href='?page=chart&id=$sensorID'><img style='height:16px;' src='../images/chart_line.png' /> {$lang['View chart']}</a>"; I assume the link ...
by csom
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: fuTelldus - PHP application for sensor-logging
Replies: 184
Views: 456001

Re: fuTelldus - PHP application for sensor-logging

The link to the chart should be right because the file in the inc-folder is called chart.php under the public sub-folder. I assume that it's the public mainpage.php you are referring to, right? Hi, I was referring to the private mainpage. I thought the link was meant to go the the chart_sensor.php ...