Closed hamedmirza closed 7 months ago
if you set SinricPro.restoreDeviceStates
to true
, when your ESP connects to the server, the sends the last known value, and your callback onRangeValue
will trigger.
if you do not like this behavior better to manage the state by yourself. You could use this library https://github.com/vshymanskyy/Preferences can save/read values
This issue has gone quiet. Spooky quiet. We currently close issues after 14 days of inactivity. It’s been at least 7 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder, the best way to fix this or any other problem is to provide a detailed error description including a serial log. Thanks for being a part of the SinricPro community!
It's been more than 14 days since anything happened on this issue, so I'm going to close it. If you have any further questions about this issue, please feel free to reopen it.
Hi Team,
Thanks for great work you have done. I'm trying to restore the blinds status when power state changes as an value,and not forcing the motor to move to the previous value.
Is there any way to get it done?
by using "SinricPro.restoreDeviceStates" it forces the motor to move to the previous position.
Regards, Hamed