sinricpro / feature-requests

Feature request tracker for Sinric Pro
0 stars 0 forks source link

Thermostat with wireless sensor #49

Open niko199544 opened 11 months ago

niko199544 commented 11 months ago

Hello. I want to build a thermostat using your platform. In general, I really liked what you do, it's a good project. I can't figure out how to get the room temperature for the thermostat from the temperature sensor on the server. If you add this functionality I will complete the project and will be happy to share the PCB drawings and Arduino code with you.

kakopappa commented 11 months ago

Hello Niko,

thanks!

If the temperature sensor in the same board as thermostat, you can use send temperature event to update the room temperature.

if they are different esp boards, you may need to use something like ESPNOW to send between each boards

https://sinricpro.github.io/esp8266-esp32-sdk-documentation/class_s_i_n_r_i_c_p_r_o__3__0__0_1_1_sinric_pro_thermostat.html#a75956fe7aff6e595a9b57519316ff789

niko199544 commented 11 months ago

Thank you very much for the answer. If there was a GET function that would tell you the temperature in the room, it would be much easier. I will definitely try ESPNOW. I still don't know what it is and how it works