Access to Homey via PHP

I am pretty much a noob in development, but I’m trying to make a simple PHP-script that can find my sensor values and present them on a web site or save the values to a textfile or something like that. How do I get access to my Homey via PHP so I can get a list with all my sensors? Do you know if I for example can find any PHP template for this?


The easiest way I know of to do this with PHP is via the REST API, using CURL.

You can read more about it here :

But be warned I was told that the REST API will no longer be supported. :frowning:

Here is an example of the CURL request in PHP code.