<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Wake up from deep sleep]]></title><description><![CDATA[<p dir="auto">What is best way to wake up lopy4 from deep sleep at regular intervals say for eg every 60 minutes and send the data. After sending the data it should go back to deep sleep again. Since these are remote devices conserving power is very important.</p>
]]></description><link>https://forum.pycom.io/topic/4964/wake-up-from-deep-sleep</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:52:19 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/4964.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Jul 2019 09:38:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wake up from deep sleep on Tue, 02 Jul 2019 09:55:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/abhishek2101" aria-label="Profile: abhishek2101">@<bdi>abhishek2101</bdi></a> Not sure I understand the question? Just set up deep sleep to wake up after 60 minutes.</p>
<p dir="auto">If you are using "native" deep sleep (<code>machine.deepsleep</code>), then just pass the sleep time as an argument to <code>machine.deepsleep</code>. The argument is in milliseconds, so 60 minutes would be <code>60 * 60 * 1000</code>.</p>
<p dir="auto">If you are using PyTrack/PySense/PyScan-controlled deep sleep (<code>py.go_to_sleep</code>), then pass the sleep time as an argument to <code>setup_sleep</code>. The argument is in seconds, so 60 minutes would be <code>60 * 60</code>.</p>
<p dir="auto">When you wake up, do your thing, then go back to sleep.</p>
<p dir="auto">The details of what you should do while awake (especially in terms of network) depends a lot on the network used and many parameters, but this has been covered a lot in various topics in this forum, including some you initiated. You should probably go re-read the answers that were made to your previous questions.</p>
]]></description><link>https://forum.pycom.io/post/28484</link><guid isPermaLink="true">https://forum.pycom.io/post/28484</guid><dc:creator><![CDATA[jcaron]]></dc:creator><pubDate>Tue, 02 Jul 2019 09:55:24 GMT</pubDate></item></channel></rss>