Simple PHP get sensor temp/humidity code?

Moderator: Telldus

Post Reply
F1dg1t
Posts: 3
Joined: Fri Mar 17, 2023 9:45 am

Simple PHP get sensor temp/humidity code?

Post by F1dg1t »

I need some help with to get started with php coding again, haven't use php since in many years.

Can anyone help me to setup some code how to get temp/humidify from 1 sensor? :help:
So the output will be like: Temp 15.2° Humidity 40%
timo_w2s
Posts: 2
Joined: Fri Mar 17, 2023 9:45 am

Re: Simple PHP get sensor temp/humidity code?

Post by timo_w2s »

Did you ever figure this out? I've also been wondering if it's possible to do it by querying the Telldus servers via PHP. It would be nice if each sensor in the Telldus control panel had an option to export an XML link for this kind of thing.
pintapoff
Posts: 5
Joined: Fri Mar 17, 2023 9:45 am

Re: Simple PHP get sensor temp/humidity code?

Post by pintapoff »

Need more information to able to answer this I suppose. What sort of sensors and platform are we talking?

I am fairly sure you need to go through the telldus hardware, unless you have something on your PC that can pick up the sensors frequency.. but I guess not.

I have seen some pretty straight forward examples for PHP and i am currently building a node.js wrapper for the Tellstick ZNet local server API that can be used for reading sensors(and the whole api) if that is of interest :)
Post Reply