<?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[How much notifications append without to open Gui-O]]></title><description><![CDATA[<p dir="auto">Hi kl3m3n,</p>
<p dir="auto">I send a notification every 5 minutes from an ESp32 device, these are received and notified, at least 7 notifications have been added without that i open the Gui-O App. The esp32 keeps sending, but they don't arrive and are no longer notified and displayed. I have to open the application, then, the next notification delete the history of the previous 7 notifications and starts displaying the following new notifications again.<br />
My question is, how many notifications are received and append, as well as, in case another different ESP32 device meantime sends some notification, will it be notified and displayed separately. I can't test it yet because right now I only have one esp32 here.</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.gui-o.com/topic/70/how-much-notifications-append-without-to-open-gui-o</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 17:04:54 GMT</lastBuildDate><atom:link href="https://forum.gui-o.com/topic/70.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Jun 2022 09:57:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Thu, 16 Jun 2022 10:02:53 GMT]]></title><description><![CDATA[<p dir="auto">Hie <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a><br />
Thank you</p>
<p dir="auto">I know, I've googled it.<br />
The Autostart option I haven't found on my phones yet, but I'll keep looking because that could solve the issue.<br />
Yesterday I tried to open Gui-O when the index was at 121, and I found that the App had frozen, but I was still getting the notifications from your script.<br />
I'll turn on logcat and send it to you later, maybe you can see something that will help.</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.gui-o.com/post/257</link><guid isPermaLink="true">https://forum.gui-o.com/post/257</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Thu, 16 Jun 2022 10:02:53 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Thu, 16 Jun 2022 04:50:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> try adding the text before %index%:</p>
<blockquote>
<p dir="auto">"this is the text %index% and so is this"</p>
</blockquote>
<p dir="auto">Your notifications are also probably too long. My device automatically removes some of the notification text if they take up to much space. Notifications should be short and to the point.</p>
<p dir="auto">Did you enable autostart feature for GUI-O app? And disable all battery saving features for it? Samsung has its own way of dealing with such things... Just Google this.</p>
<p dir="auto">BR,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/256</link><guid isPermaLink="true">https://forum.gui-o.com/post/256</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Thu, 16 Jun 2022 04:50:32 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Wed, 15 Jun 2022 22:14:16 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">So far, your script pub_test.bat is continuously sending notification with the index incrementing. How can I modify it so that it also sends some text.</p>
<p dir="auto">Thanks for your help</p>
<p dir="auto">BR</p>
]]></description><link>https://forum.gui-o.com/post/255</link><guid isPermaLink="true">https://forum.gui-o.com/post/255</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Wed, 15 Jun 2022 22:14:16 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Wed, 15 Jun 2022 08:30:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi kl3m3n,<br />
Here the sreenshot<br />
<img src="https://i.imgur.com/7fEur3C.jpg" alt="Screenshot_20220615-091720_Settings.jpg" class=" img-fluid img-markdown" /><br />
Is this what you need?</p>
<p dir="auto">When i choose on the menu, more then 2 notifications to show, then Gui-O freeze many times, have than to force to close the App<br />
Memory allocation?</p>
<p dir="auto">What i expected?<br />
That Gui-O have a good working Push notifications</p>
<p dir="auto">I will add in your test script, text like that what i do<br />
in my test programm, to see if it works too.<br />
With your script it works fine, have more than 200 on index with timeout of 10 seconds.</p>
<p dir="auto">Afternoon or tomorow i will give feedback</p>
<p dir="auto">BR</p>
]]></description><link>https://forum.gui-o.com/post/254</link><guid isPermaLink="true">https://forum.gui-o.com/post/254</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Wed, 15 Jun 2022 08:30:08 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 21:35:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> Again,  <strong>please press the "App settings" text / button</strong>.  This is the screenshot I need to examine!</p>
<p dir="auto">Otherwise, everything looks ok. You are showing 2 last notifications, and they are displayed. You can modify the script to put some additional text and simulate sending data every 300 seconds (5 min).</p>
<p dir="auto">Do you see any problem here? What would you expect from this test that you just made?</p>
<p dir="auto">BR,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/252</link><guid isPermaLink="true">https://forum.gui-o.com/post/252</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Tue, 14 Jun 2022 21:35:03 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 21:07:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">Here the screenshot of Point 1 and Point 2</p>
<p dir="auto">Have installed mosquitto and run your script with timeout of 10 seconds<br />
Here the screenshot too</p>
<p dir="auto"><img src="https://i.imgur.com/NQxqlKf.jpg" alt="Screenshot_Point 2.jpg" class=" img-fluid img-markdown" /> <img src="https://i.imgur.com/I34XbOr.jpg" alt="Screenshot_Point 1.jpg" class=" img-fluid img-markdown" /> <img src="https://i.imgur.com/Y03yeyX.jpg" alt="Screenshot_script.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">BR</p>
]]></description><link>https://forum.gui-o.com/post/251</link><guid isPermaLink="true">https://forum.gui-o.com/post/251</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Tue, 14 Jun 2022 21:07:31 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Wed, 15 Jun 2022 04:25:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> ok, let's go step-by-step...</p>
<p dir="auto">Please try to answer the questions below:</p>
<ol>
<li>
<p dir="auto">Navigate to "Settings -&gt; Quick pair -&gt; IoT settings" and disable IoT notifications. Enable them and when the second dialog pops up, please press the "App settings" button and send the screenshot.</p>
</li>
<li>
<p dir="auto">Navigate to "Settings -&gt; Quick pair -&gt; IoT settings" and check "Notifications to show". What number does it show? For example, is it showing "Showing 3 recent"? This means the number of notification that will be shown. The oldest notification gets discarded when a new notification arrives. Note that Android cannot show unlimited notifications on screen. You can change the number of notifications to show by pressing the menu entry.</p>
</li>
<li>
<p dir="auto">I am attaching a windows script that periodically sends the notifications to the specified channel. First download and install mosquitto from <a href="https://mosquitto.org/download/" rel="nofollow ugc">https://mosquitto.org/download/</a></p>
</li>
</ol>
<p dir="auto">Then download this <a href="/assets/uploads/files/1655236734102-pub_test.txt">pub_test.txt</a><br />
and rename extension to ".bat". Open the script and modify &lt;application UUID&gt; for your case. You can also modifiy the time period with which the notifications are sent... It is 5 seconds by default (see timeout value).</p>
<p dir="auto">Please test if this works with your device.</p>
<p dir="auto">BR,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/250</link><guid isPermaLink="true">https://forum.gui-o.com/post/250</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Wed, 15 Jun 2022 04:25:51 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 17:31:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">Since I now receive notifications simultaneously on both phones it is easier to make comparisons.</p>
<p dir="auto">Serial Port debug!<br />
16:00:49.760 -&gt; Push  * Zeit zwischen Impulsen überschritten *<br />
16:05:49.767 -&gt; Push  * Fehler Bremsschalter1 *<br />
16:10:49.754 -&gt; Push  * Beide Bremsschalter Defekt *<br />
16:15:49.773 -&gt; Push  * Beide Bremsschalter Defekt *<br />
//Receiving two identical failures in a row is normal because I haven't filtered it yet</p>
<p dir="auto">From here, the notifications are no more received, on both Phones, must open a Gui-O on one from them, then it works again<br />
16:20:49.763 -&gt; Push  * Außerhalb der Türzone angehalten *</p>
<p dir="auto">These are the screenshots from both, hope it helps.</p>
<p dir="auto">Best regards</p>
<p dir="auto"><img src="https://i.imgur.com/o89bkoa.jpg" alt="Android12_screenshot.jpg" class=" img-fluid img-markdown" /> <img src="https://i.imgur.com/tI1DKK5.jpg" alt="Android10_screenshot.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.gui-o.com/post/249</link><guid isPermaLink="true">https://forum.gui-o.com/post/249</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Tue, 14 Jun 2022 17:31:02 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 14:57:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,<br />
Sorry to come back to the same topic, but I think Push notifications should become well functional.</p>
<p dir="auto">From the fourth notification, I stop receiving the following ones on both phones.<br />
Then I pressed CLEAR ALL on both phones, that cleared the notifications data on the phones, but I still don't receive the notifications that are being sent. All the followed notifications I can see on the serial port.</p>
<p dir="auto">Please take a look at it calmly, surely you can solve it.</p>
<p dir="auto">Best Regards</p>
]]></description><link>https://forum.gui-o.com/post/248</link><guid isPermaLink="true">https://forum.gui-o.com/post/248</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Tue, 14 Jun 2022 14:57:12 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 14:31:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/238">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">No, I mean in the Android OS settings.<br />
Have not this setting on my Android 12. I search for Auto on settings and it show Android Auto, and there is all options ON</p>
<p dir="auto">You should not reveal your app id. Now I can send a false push notification to your device<br />
No you can't. Have modified the tokens before sending <img src="https://forum.gui-o.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=29eca934c85" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
<p dir="auto">This is a problem on your side<br />
No, you can see on my serial port that every 5 minutes<br />
only one Push notification is send at time, with Arduino serial port timestamp</p>
<p dir="auto">//----- Push notifications every 5 minutes for testings!! --------<br />
void loop() {<br />
if (alert == 1) {<br />
Push_falha();  // send Push<br />
alert = 0;  // The timer set it again when passed 5 minutes<br />
}<br />
unsigned long currentTime2 = millis();<br />
if (currentTime2 - previousTime2 &gt;= eventInterval2) {  // 5 Min<br />
const String numberStr(random(27));<br />
nr_falha = numberStr.toInt();  //random failure number<br />
alert = 1;   // time is passed, set flag, so it can send Push again<br />
previousTime2 = currentTime2;<br />
}<br />
}</p>
<p dir="auto">void Push_falha() {<br />
/* PUSH NOTIFICATION <em>/<br />
texto_falha(); // get the failure text to the variable "avaria"<br />
// ---- add the failure to Historico.txt ----<br />
//-------------------------------------------------------------<br />
strdata = "02-04-2022 14:57"; // Later get timestamp from RTC<br />
strdata = avaria += strdata;<br />
adiciona_falha(); // add to file Historico.txt<br />
// ------------------------------------------------------------<br />
String pushNotification("PixelBox - ");<br />
// send the Push<br />
pushNotification += pixelbox_id += avaria;<br />
mqttClient.publish(&amp;Push[0], (const char</em>)<br />
pushNotification.c_str());<br />
// Print it on serial port<br />
Serial.print("Notification done ");<br />
Serial.println(avaria); // print the failure<br />
nr_falha = 0; // clear the failure number<br />
}</p>
<p dir="auto">Thanks for tip to send the Push for more then one UUID</p>
<p dir="auto">BR</p>
</blockquote>
<p dir="auto">Do you clear "avaria" variable? And "pixelbox_id"? Where do they come from?</p>
]]></description><link>https://forum.gui-o.com/post/246</link><guid isPermaLink="true">https://forum.gui-o.com/post/246</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Tue, 14 Jun 2022 14:31:09 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 14:29:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">Now I am sending the Push notification to both cell phones. I pressed on both CLEAR ALL and also clear my serial port.<br />
5 minutes later, get on both phones the new notification, but it as also added the text of the two previous notifications before the CLEAR ALL pressed.</p>
<p dir="auto">In the Serial port I only have now one notification and that's is correct.</p>
<p dir="auto">Maybe, you have some Buffer that you don't clear and then the new notification text is sent along with previous notifications?</p>
<p dir="auto">BR</p>
]]></description><link>https://forum.gui-o.com/post/245</link><guid isPermaLink="true">https://forum.gui-o.com/post/245</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Tue, 14 Jun 2022 14:29:01 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 14:26:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/242">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">Perhaps have make a error on copy and paste, but on the code here it is:<br />
mqttClient.publish(&amp;Push2[0], (const char*) pushNotification.c_str());</p>
<p dir="auto">and it compile</p>
<p dir="auto">Another question: On my other Android 10 i have allready the new version v.1.0.10.1 but i not make any update, do it make the update automatically without to ask?</p>
<p dir="auto">BR</p>
</blockquote>
<p dir="auto">This is up to you. You can disable auto update feature from Google Play app. It has nothing to do with GUI-O.</p>
]]></description><link>https://forum.gui-o.com/post/244</link><guid isPermaLink="true">https://forum.gui-o.com/post/244</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Tue, 14 Jun 2022 14:26:27 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 14:25:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/240">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">Have the same info on IoT settings</p>
<p dir="auto">Yes, it compile</p>
<p dir="auto">BR</p>
</blockquote>
<p dir="auto">Yes, I know, what happens if you press App Settings?</p>
]]></description><link>https://forum.gui-o.com/post/243</link><guid isPermaLink="true">https://forum.gui-o.com/post/243</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Tue, 14 Jun 2022 14:25:40 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 14:06:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">Perhaps have make a error on copy and paste, but on the code here it is:<br />
mqttClient.publish(&amp;Push2[0], (const char*) pushNotification.c_str());</p>
<p dir="auto">and it compile</p>
<p dir="auto">Another question: On my other Android 10 i have allready the new version v.1.0.10.1 but i not make any update, do it make the update automatically without to ask?</p>
<p dir="auto">BR</p>
]]></description><link>https://forum.gui-o.com/post/242</link><guid isPermaLink="true">https://forum.gui-o.com/post/242</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Tue, 14 Jun 2022 14:06:57 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 13:50:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">Have the same info on IoT settings</p>
<p dir="auto">Yes, it compile</p>
<p dir="auto">BR</p>
]]></description><link>https://forum.gui-o.com/post/240</link><guid isPermaLink="true">https://forum.gui-o.com/post/240</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Tue, 14 Jun 2022 13:50:35 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 13:28:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a></p>
<p dir="auto">What happens when you tap the "App Settings" (see image below)?<br />
<img src="https://i.imgur.com/syCsPvB.jpg" alt="Screenshot_2022-06-14-15-18-53-055_com.guio.guioapp.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/238">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto">No you can't. Have modified the tokens before sending</p>
</blockquote>
<p dir="auto">Very nice! <img src="https://forum.gui-o.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=29eca934c85" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/238">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto">mqttClient.publish(&amp;Push[0], (const char)<br />
pushNotification.c_str());</p>
</blockquote>
<p dir="auto">Does this code compile? It should be <strong>(const char *)</strong>.</p>
]]></description><link>https://forum.gui-o.com/post/239</link><guid isPermaLink="true">https://forum.gui-o.com/post/239</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Tue, 14 Jun 2022 13:28:20 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 12:58:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">No, I mean in the Android OS settings.<br />
Have not this setting on my Android 12. I search for Auto on settings and it show Android Auto, and there is all options ON</p>
<p dir="auto">You should not reveal your app id. Now I can send a false push notification to your device<br />
No you can't. Have modified the tokens before sending <img src="https://forum.gui-o.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=29eca934c85" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" /></p>
<p dir="auto">This is a problem on your side<br />
No, you can see on my serial port that every 5 minutes<br />
only one Push notification is send at time, with Arduino serial port timestamp</p>
<p dir="auto">//----- Push notifications every 5 minutes for testings!! --------<br />
void loop() {<br />
if (alert == 1) {<br />
Push_falha();  // send Push<br />
alert = 0;  // The timer set it again when passed 5 minutes<br />
}<br />
unsigned long currentTime2 = millis();<br />
if (currentTime2 - previousTime2 &gt;= eventInterval2) {  // 5 Min<br />
const String numberStr(random(27));<br />
nr_falha = numberStr.toInt();  //random failure number<br />
alert = 1;   // time is passed, set flag, so it can send Push again<br />
previousTime2 = currentTime2;<br />
}<br />
}</p>
<p dir="auto">void Push_falha() {<br />
/* PUSH NOTIFICATION <em>/<br />
texto_falha(); // get the failure text to the variable "avaria"<br />
// ---- add the failure to Historico.txt ----<br />
//-------------------------------------------------------------<br />
strdata = "02-04-2022 14:57"; // Later get timestamp from RTC<br />
strdata = avaria += strdata;<br />
adiciona_falha(); // add to file Historico.txt<br />
// ------------------------------------------------------------<br />
String pushNotification("PixelBox - ");<br />
// send the Push<br />
pushNotification += pixelbox_id += avaria;<br />
mqttClient.publish(&amp;Push[0], (const char</em>)<br />
pushNotification.c_str());<br />
// Print it on serial port<br />
Serial.print("Notification done ");<br />
Serial.println(avaria); // print the failure<br />
nr_falha = 0; // clear the failure number<br />
}</p>
<p dir="auto">Thanks for tip to send the Push for more then one UUID</p>
<p dir="auto">BR</p>
]]></description><link>https://forum.gui-o.com/post/238</link><guid isPermaLink="true">https://forum.gui-o.com/post/238</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Tue, 14 Jun 2022 12:58:42 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 11:59:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/236">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto">Do you mean<br />
Autoconnect (Automatically (re)connect )<br />
Put it now ON. I will test if it fix the frozen of the App, i hope it does</p>
</blockquote>
<p dir="auto">No, I mean in the Android OS settings. When you turn on the notifications, it displays a message -&gt; "App settings". Click on it and set the values according / similar to this (see images under this link):</p>
<p dir="auto"><a href="https://www.gui-o.com/examples#h.ujq2e0ve4vac" rel="nofollow ugc">https://www.gui-o.com/examples#h.ujq2e0ve4vac</a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/236">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto">Here we have 3 notifications with only one timestamp, so as more notifications arrive, they are added to the existing ones, which without the timestamps separates them, gets a little bit confusing.</p>
</blockquote>
<p dir="auto">This is a problem on your side. You need to send push notifications one - by one. You are sending them all together...</p>
<p dir="auto">So, like this:</p>
<pre><code>// first notification...
String pushNotification = "your data...";
mqttClient.publish(&amp;Push[0], (const char*) pushNotification.c_str());

// second notification...
pushNotification = "your new data";
mqttClient.publish(&amp;Push[0], (const char*) pushNotification.c_str());

// third notification...
pushNotification = "your new new data";
mqttClient.publish(&amp;Push[0], (const char*) pushNotification.c_str());

and so on...
</code></pre>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/236">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto">If uncomment the Phone1 UUID, the compiler show a error. Redefinition of 'const char* Push'</p>
</blockquote>
<p dir="auto">Of course, you cannot redefine a variable... Do it like this.</p>
<pre><code>//Phone1 UUID
static const char *Push1 = "e79a7f79-9fe5-4322-aee3-cfd10f940b1d/notifications";
//Phone2 UUID
static const char *Push2 = "d3f1e986-16b3-4158-9724-52db22471d0c/notifications";
</code></pre>
<p dir="auto">then</p>
<pre><code>mqttClient.publish(&amp;Push1[0], (const char*) pushNotification.c_str());

mqttClient.publish(&amp;Push2[0], (const char*) pushNotification.c_str());
</code></pre>
<p dir="auto">P.S. You should not reveal your app id. Now I can send a false push notification to your device <img src="https://forum.gui-o.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=29eca934c85" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> Of course, I need access to the broker (which is "public" in this case).</p>
<p dir="auto">BR,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/237</link><guid isPermaLink="true">https://forum.gui-o.com/post/237</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Tue, 14 Jun 2022 11:59:21 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 09:54:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a></p>
<p dir="auto">Do you mean<br />
Autoconnect (Automatically (re)connect )<br />
Put it now ON. I will test if it fix the frozen of the App, i hope it does</p>
<p dir="auto">I have 4 notifications and the 5 minutes time has passed, as such I should receive the next one, but it don't, to continue receiving I have to open the App</p>
<p dir="auto">Here we have 3 notifications with only one timestamp, so as more notifications arrive, they are added to the existing ones, which without the timestamps separates them, gets a little bit confusing.</p>
<p dir="auto">[10:09] PixelBox - Obra_21 R. do Caires 46 * Position verloren *  * Bremsschalter2 *  * Motorwärmesensor normalisiert *</p>
<p dir="auto">This is better. Can you fix that to this?<br />
[10:09] PixelBox - Obra_21 R. do Caires 46 * Position verloren *<br />
[10:04] PixelBox - Obra_21 R. do Caires 46 * Bremsschalter2 *<br />
[09:59] PixelBox - Obra_21 R. do Caires 46 * Motorwärmesensor normalisiert *</p>
<p dir="auto">Phone1 UUID<br />
//static const char *Push = "e79a7f79-9fe5-4322-aee3-cfd10f940b1d/notifications";<br />
Phone2 UUID<br />
static const char *Push = "d3f1e986-16b3-4158-9724-52db22471d0c/notifications";</p>
<p dir="auto">//send Push<br />
mqttClient.publish(&amp;Push[0], (const char*) pushNotification.c_str());</p>
<p dir="auto">If uncomment the Phone1 UUID, the compiler show a error. Redefinition of 'const char* Push'</p>
<p dir="auto">BR</p>
]]></description><link>https://forum.gui-o.com/post/236</link><guid isPermaLink="true">https://forum.gui-o.com/post/236</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Tue, 14 Jun 2022 09:54:05 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Tue, 14 Jun 2022 07:20:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/234">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto">If I want to delete the whole content of that file, because it has too many test notifications, how can I do it?</p>
</blockquote>
<p dir="auto">Currently, you need to do this from the system's "file manager" app. Go to Android/data/com.guio.guioapp/files/Notifications</p>
<p dir="auto">I can add a delete icon to the GUI-O app.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/234">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto">Another issue is that from the 4th notification, Gui-O stops receiving more notifications. To continue receiving, I have to open the App, after 5 minutes I receive the next notification, and so on.</p>
</blockquote>
<p dir="auto">Are you sure you have "Autostart" for GUI-O enabled from the system settings? Sometimes, on my device the service is also killed by the OS, but the OS restarts it automatically after 1 second.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> said in <a href="/post/234">How much notifications append without to open Gui-O</a>:</p>
<blockquote>
<p dir="auto">Another question, if I want my device to send Push Notifications to 2 or 3 cell phones, is that possible?</p>
</blockquote>
<p dir="auto">No problem, just use the application UUID for each GUI-O app, when sending the notification. Each device has a unique id, so you just need to publish to the appropriate topic from your device side.</p>
<p dir="auto">BR,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/235</link><guid isPermaLink="true">https://forum.gui-o.com/post/235</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Tue, 14 Jun 2022 07:20:54 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Mon, 13 Jun 2022 21:28:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,<br />
Sorry, I didn't see that you had already added that feature.<br />
Good, that way we always have a backup of all notifications, just in case we ever need it.</p>
<p dir="auto">If I want to delete the whole content of that file, because it has too many test notifications, how can I do it?</p>
<p dir="auto">Output on Gui-O<br />
Look that here the timestamp are no more to see, wich of these notifications are send with 5 minutes interval<br />
[21:09] PixelBox - Obra_21 R. do Caires 46 * Position is changed *  * Fehler Bremsschalter2 *  * Motorwärmesensor normalisiert *</p>
<blockquote>
<p dir="auto">Where the text breaks - this is up to the Android.<br />
It could be, but all the notifications are sent with their timestamps, where are they?</p>
</blockquote>
<p dir="auto">That's should look like. Every notification separated trough the timestamp.<br />
[21:09] PixelBox - Obra_21 R. do Caires 46 * Position is changed *<br />
[21:04] PixelBox - Obra_21 R. do Caires 46 * Fehler Bremsschalter2 *<br />
[20:59] PixelBox - Obra_21 R. do Caires 46 * Motorwärmesensor normalisiert *</p>
<p dir="auto">Another issue is that from the 4th notification, Gui-O stops receiving more notifications. To continue receiving, I have to open the App, after 5 minutes I receive the next notification, and so on.</p>
<p dir="auto">Another question, if I want my device to send Push Notifications to 2 or 3 cell phones, is that possible?<br />
So, would Gui-O have to support more than one Application UUID, or can it be colonized?</p>
<p dir="auto">BR</p>
]]></description><link>https://forum.gui-o.com/post/234</link><guid isPermaLink="true">https://forum.gui-o.com/post/234</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Mon, 13 Jun 2022 21:28:02 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Mon, 13 Jun 2022 19:05:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> there is already a log for push notifications. You can open it from the GUI-O app. It is located in the "Notifications" folder on the device. You can also set how many notifications are shown (press the menu entry to change)...</p>
<p dir="auto">See screenshot below.</p>
<p dir="auto">Every new notification gets a timestamp, so I still don't understand your format? The notifications are already displayed like this. Control the timestamp with publish messages. Each publush will get its own timestamp.<br />
Where the text breaks - this is up to the Android...</p>
<p dir="auto">BR,<br />
kl3m3n</p>
<p dir="auto"><img src="https://i.imgur.com/zZjcaY1.jpg" alt="Screenshot_2022-06-13-20-55-20-756_com.guio.guioapp.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.gui-o.com/post/233</link><guid isPermaLink="true">https://forum.gui-o.com/post/233</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Mon, 13 Jun 2022 19:05:45 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Mon, 13 Jun 2022 18:34:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,<br />
"PixelBox" is the product type<br />
"Obra_21 R. do Caires 46" is the location<br />
In this case prepared to: PixelBox - Obra_21 R. do Caires 46 is the complet device name = pixelbox_id</p>
<p dir="auto">pushNotification += pixelbox_id += failure;<br />
mqttClient.publish(&amp;Push[0], (const char*) pushNotification.c_str());</p>
<p dir="auto">So, the Push notification from this device is like:<br />
PixelBox - Obra_21 R. do Caires 46 * Stromausfall *<br />
------------ pixelbox_id ----------         -- Failure --</p>
<p dir="auto">The results on the Gui-O App should be like this, if possible.<br />
[your timestamp] PixelBox - Obra_21 R. do Caires 46 * Stromausfall *<br />
[your timestamp] PixelBox - Obra_21 R. do Caires 46 * Übertemperatur in der Steuerung *<br />
----- can receive Push from other device too, is this case from location: OF24 R. de Paris Nr.12 -----<br />
[your timestamp] PixelBox - OF24 R. de Paris Nr.12 * Stromausfall *<br />
[your timestamp] PixelBox - Obra_21 R. do Caires 46 * Max Temperatur *</p>
<p dir="auto">The Arduino timestamp, have it activated to compare with the Gui-O Push notifications timestamps.<br />
To simply the debug, only for my serial port, i filter out the PixelBox and location, than for the tests have only one device connected, that send notifications every 5 minutes<br />
---------simplified Serial port output ----------<br />
17:04:01.408 -&gt; Push  * Beide Bremsschalter Defekt *<br />
17:09:01.370 -&gt; Push  * Kabine Lastgrenze *</p>
<p dir="auto">What i mean with Append, is: Gui-O can create a txt file on the Gui-O area on the cellPhone memory.<br />
When click on CLEAR ALL, before delete the notifications, write it to this txt file:<br />
[your timestamp] PixelBox - Obra_21 R. do Caires 46 * Übertemperatur in der Steuerung *<br />
[your timestamp] PixelBox - OF24 R. de Paris Nr.12 * Stromausfall *<br />
[your timestamp] PixelBox - Obra_21 R. do Caires 46 * Max Temperatur *</p>
<p dir="auto">Next time clicking CLEAR ALL, befor delete, open this txt file again and write "append" to that txt file the content of the received Push notific. on Gui-O:<br />
[your timestamp] PixelBox - OF24 R. de Paris Nr.12 * Batterie Ausfall *<br />
[your timestamp] PixelBox - Obra_21 R. do Caires 46 * Min Temperatur *</p>
<p dir="auto">so the txt file as now the sumary of the content of both times, the 5 Push notifications lines, and so on.....</p>
<p dir="auto">When need to look for any reason all the received notifications, we can go to the Gui-O memory area and copy this txt file and open it on a editor.</p>
<p dir="auto">I hope I was able to explain it in a way you can understand<br />
BR</p>
]]></description><link>https://forum.gui-o.com/post/232</link><guid isPermaLink="true">https://forum.gui-o.com/post/232</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Mon, 13 Jun 2022 18:34:46 GMT</pubDate></item><item><title><![CDATA[Reply to How much notifications append without to open Gui-O on Mon, 13 Jun 2022 17:12:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@sato</a> Hello,</p>
<p dir="auto">I am sorry, but I do not understand this...</p>
<p dir="auto">Where is "PixelBox - Obra_21..." text on the serial console? There seems to be some missing text that is shown on the print screen, but not on the serial console.</p>
<p dir="auto">Serial port format - I don't understand this either. You mean there should be a <strong>-&gt;</strong> sign? Maybe the seconds could also be displayed, but milliseconds is an overkill.</p>
<p dir="auto">Again, I don't understand what does "APPEND" mean?</p>
<p dir="auto">BR,<br />
kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/231</link><guid isPermaLink="true">https://forum.gui-o.com/post/231</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Mon, 13 Jun 2022 17:12:54 GMT</pubDate></item></channel></rss>