PHP Class for TDTOOL integration.
Posted: Fri Mar 17, 2023 9:45 am
I have created nonos specific (works on all os), and non gui, non html class for handling Tellstick. This means you can create your own nice GUI or integrate it to any kind of software in php, (example ways a forum.. Wodpress or whatever... )....
It requires PHP 5+
Wrapper for tdtool.exe (windows) / tdtool (linux).
It supports:
- Device, dim, turn off/on,
- Turn on/off/dim device at specific times (eg. 6 each day and turn off 7).
- Very fast code!
- Simple API with OOP device management.
- Uses XML files as storage. Automatically created.
- SEE CLASS FILE FOR MORE INFO!
Notice
Your script must be run with root access / admin access(windows) to work. This means forexample if you'd want apache to run it you will have to make apache run as root.
The class is located at phpclasses:
http://www.phpclasses.org/package/6227- ... vices.html
Please enjoy.
It requires PHP 5+
Wrapper for tdtool.exe (windows) / tdtool (linux).
It supports:
- Device, dim, turn off/on,
- Turn on/off/dim device at specific times (eg. 6 each day and turn off 7).
- Very fast code!
- Simple API with OOP device management.
- Uses XML files as storage. Automatically created.
- SEE CLASS FILE FOR MORE INFO!
Notice
Your script must be run with root access / admin access(windows) to work. This means forexample if you'd want apache to run it you will have to make apache run as root.
The class is located at phpclasses:
http://www.phpclasses.org/package/6227- ... vices.html
Please enjoy.