paxx/telldus-live

Telldus Live API

1.0.0 2016-04-05 12:19 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:12:51 UTC


README

In anticipation of the local support (4 years now!) for Tellstick Net, I've decided to write this API to facilitate the process of creating your own interfaces and other cool stuff you can do with the hardware.

I was worried a bit about the latency by using this API, but it seems to work almost instantly.

I couldn't find any good PHP-SDK's for Telldus, so I've written my own. Feel free to use it, and help me make it better.

Right now we're lacking unit tests, since I honestly couldn't be bothered to "reverse engineer" their API.

The only documentation I've found is the one located here. And it's lacking examples for all of their requests.

Since I only have codeswitches I have done my best to keep the phpdoc correct (ie. Thoose are the ones I could test for real).

There's two examples included in this project, which should get you started.

Install

composer require paxx/telldus-live

Contributing

  • This project needs tests. If you have any ideas please let me know.
  • The Api\Event-class has almost no implementations. The basic framework is there, but the different methods needs to be implemented.
  • A thought was to specify Entity and Collection classes for lists and objects. Since I, again, didn't find any return examples I decided against this. I'm still open for the idea though.

License

MIT