wifi 온습도계 사용..
아직 물건을 받지못해 자료만 정리중이니 참고바랍니다. const apiKey = 'YOUR_TUYA_API_KEY';const deviceId = 'YOUR_DEVICE_ID';fetch(`https://openapi.tuya.com/v1.0/devices/${deviceId}/status`, { headers: { 'Content-Type': 'application/json', 'client_id': 'YOUR_CLIENT_ID', 'sign': 'YOUR_SIGN', 't': Date.now(), 'access_token': 'YOUR_ACCESS_TOKEN', },}) .then(response => response.json()) .then(data => { ..