Closed erdemfirat closed 2 years ago
You can use SinricPro.restoreDeviceStates(true);
before calling SinricPro.begin()
.
When the ESP boots up and connects to the server, the server sends the last known value and the callback onRangeValue
is called.
Have you tried restoreDeviceStates
Then when the device connects, the server sends the last known state in the server. From there onwards you have to maintain it in the memory or EEPROM
SinricPro.restoreDeviceStates(true);
Take a look at
On Wed, 23 Feb 2022 at 11:54 PM Erdem Fırat @.***> wrote:
Can you help me about how get last blind position because I would like to change blind position depend on that. Thank you too much :)
— Reply to this email directly, view it on GitHub https://github.com/sinricpro/esp8266-esp32-sdk/issues/256, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZROL73QSIYTZANHUDDU4UGNNANCNFSM5PE5TCNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
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!
Hey again! It’s been 14 days since anything happened on this issue, so our friendly robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY
. Please feel free to comment on this issue or create a new one if you need anything else. 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 again for being a part of the SinricPro community!
Can you help me about how get last blind position because I would like to change blind position depend on that. Thank you too much :)