# Help on first steps with php

**URL:** <https://community.homey.app/t/help-on-first-steps-with-php/19061>\
**Category:** Developers\
**Created:** [October 9, 2019, 6:29pm UTC](https://community.homey.app/t/help-on-first-steps-with-php/19061 "2019-10-09T18:29:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henk\_Naber](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_naber/32/15975_2.png) [@Henk\_Naber](https://community.homey.app/u/Henk_Naber)\
**Post date:** [October 9, 2019, 6:29pm UTC](https://community.homey.app/t/help-on-first-steps-with-php/19061/1 "2019-10-09T18:29:02Z")

</div>

I’m new with Homey (\< 1 week). I would like to run a php script on my Synology NAS that reads measurements from Homey (weather sensors, solar panel, etc.) and store it in a SQL database on the Synology. I was able to do that with my old Homewizard.  
I need some basic guidance on how to read data from the Homey.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [October 11, 2019, 4:17pm UTC](https://community.homey.app/t/help-on-first-steps-with-php/19061/2 "2019-10-11T16:17:05Z")

</div>

Use the Search function on this forum:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/ddc987222df0ecf1ddc23b327f6c5d05e4ea70f6.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/1/81eea526cea68da38615137a74cdb88947d18f6d.png)

---

<div class="post-metadata">

**Author:** ![Henk\_Naber](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_naber/32/15975_2.png) [@Henk\_Naber](https://community.homey.app/u/Henk_Naber)\
**Post date:** [October 25, 2019, 3:18pm UTC](https://community.homey.app/t/help-on-first-steps-with-php/19061/3 "2019-10-25T15:18:00Z")

</div>

That doesn’t give me enough first-step-info. I read a lot of info on API, etc.

It would be helpful if someone has a working example (preferable in PHP) to read sensor values from Homey. I can find info on curl and the api, but cannot get it running.

Unfortunately I cannot reply on topics in the old Homey forum, because the old forum is closed.
