<?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[T-Lite: how to keep it awake ?]]></title><description><![CDATA[<p dir="auto">Hello there,<br />
I am trying to use a m5stack T-Lite with Home Assistant to monitor my photovoltaïc system (Victron). The T-Lite is powered (usb c) permanently but keeps falling asleep despite attempts to keep it awake (see below). How can I make sure it won't go to sleep and become unavailable via wifi (<a href="http://192.168.1.xxx/json" target="_blank" rel="noopener noreferrer nofollow ugc">http://192.168.1.xxx/json</a>) ?</p>
<ul>
<li>id: keep_t_lite_awake<br />
alias: "Keep T-Lite awake"<br />
mode: restart<br />
trigger:
<ul>
<li>platform: time_pattern<br />
seconds: "/20"          # toutes les 20 s<br />
action:</li>
<li>service: rest_command.t_lite_keepalive</li>
</ul>
</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1749720522139-b25d69f7-af21-49a7-88bb-e9df62907903-image.png" alt="b25d69f7-af21-49a7-88bb-e9df62907903-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1749720537782-9503717e-60ca-47be-8ed3-7c11ae4deedc-image.png" alt="9503717e-60ca-47be-8ed3-7c11ae4deedc-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/topic/7608/t-lite-how-to-keep-it-awake</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 10:22:31 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7608.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Jun 2025 09:36:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to T-Lite: how to keep it awake ? on Sat, 14 Jun 2025 08:15:32 GMT]]></title><description><![CDATA[<p dir="auto">The soft reset seems to do the job  (12 hours of measurements uninterrupted)</p>
<p dir="auto"><img src="/assets/uploads/files/1749888873979-0f4b244c-ff68-470e-8f51-d139e7485082-image.png" alt="0f4b244c-ff68-470e-8f51-d139e7485082-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/29250</link><guid isPermaLink="true">https://community.m5stack.com/post/29250</guid><dc:creator><![CDATA[JeffInItalia]]></dc:creator><pubDate>Sat, 14 Jun 2025 08:15:32 GMT</pubDate></item><item><title><![CDATA[Reply to T-Lite: how to keep it awake ? on Fri, 13 Jun 2025 21:09:39 GMT]]></title><description><![CDATA[<p dir="auto">Since I still have interruptions in the json push, it might not be because the Wifi goes to sleep, but because for some reason (busy socket, frames collision, queue overflows, memory leak / heap fragmentation,...), the json is no longer posted... I added a soft reset of the ESP in the main loop whenever a delay from the last successfull of the POST is exceeded...</p>
<p dir="auto"><img src="/assets/uploads/files/1749848423903-b4337a97-d85c-4dd4-b8b2-f6a906d7d26e-image.png" alt="b4337a97-d85c-4dd4-b8b2-f6a906d7d26e-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1749848470549-a609727a-0cbc-4325-94d8-2cf40f3bcdbd-image.png" alt="a609727a-0cbc-4325-94d8-2cf40f3bcdbd-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/29248</link><guid isPermaLink="true">https://community.m5stack.com/post/29248</guid><dc:creator><![CDATA[JeffInItalia]]></dc:creator><pubDate>Fri, 13 Jun 2025 21:09:39 GMT</pubDate></item><item><title><![CDATA[Reply to T-Lite: how to keep it awake ? on Fri, 13 Jun 2025 19:19:53 GMT]]></title><description><![CDATA[<p dir="auto">Last attempt: I have just added <code>WiFi.setSleep(false); </code> in the setup() of main.cpp (M5StickC-Plus-TLite-FW.git). Let's see if it stays online (awake)</p>
<p dir="auto"><img src="/assets/uploads/files/1749842199535-ae66bee8-157c-4b4f-89a4-013c834e10d8-image.png" alt="ae66bee8-157c-4b4f-89a4-013c834e10d8-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/29247</link><guid isPermaLink="true">https://community.m5stack.com/post/29247</guid><dc:creator><![CDATA[JeffInItalia]]></dc:creator><pubDate>Fri, 13 Jun 2025 19:19:53 GMT</pubDate></item></channel></rss>