<html><head>
    
  </head>
  <body><div>I foud the problem.</div><div><br></div><div>I was using the KWGT AOSP version to be able to import a preset. But that version tries to load ads. And as it blocked KWGT with my firewall, well, it tried to load an ad and got stuck on "Loading".</div><div><br></div><div>I'm back to the non AOSP, non Pro version and made the widget again and everything runs fine now.</div><div><br></div><div>Sorry for the waves ...</div><div><br></div><div>Chris</div><div><br></div><div>Am Mittwoch, dem 28.09.2022 um 14:22 +0200 schrieb Chris van der Meijden:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>I added</div><div><br></div><pre><span style="color: rgb(0, 0, 0);">intent</span>.putExtras(<span style="color: rgb(135, 16, 148);">mCarData</span>.getBroadcastData());</pre><pre><br></pre><pre><div style="color: rgb(8, 8, 8); font-family: "JetBrains Mono", monospace;"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Sans; white-space: normal;">on line 524 in api/ApiService.java</span></div><div style="color: rgb(8, 8, 8); font-family: "JetBrains Mono", monospace;"><br></div><div><font face="Sans"><span style="white-space: normal;">without success. I still saw the switching to "Loading" and back.</span></font></div><div><font face="Sans"><span style="white-space: normal;"><br></span></font></div><div><font face="Sans"><span style="white-space: normal;">I deleted all my "$br(ovms, ...)$" and it still shows the "Loading" behauviour.</span></font></div><div><font face="Sans"><span style="white-space: normal;"><br></span></font></div><div><font face="Sans"><span style="white-space: normal;">So, sorry, it seems to be a LineagOS problem.</span></font></div><div style="color: rgb(8, 8, 8); font-family: "JetBrains Mono", monospace;"><br></div></pre><div><br></div><div>Am Mittwoch, dem 28.09.2022 um 13:33 +0200 schrieb Michael Balzer:</div><div> I don't see this effect on my KWGT test devices with my test widgets.<br> <br> The car data already is buffered twice, once on the server and once in the App.<br> <br> I added Kustom broadcasts on push notifications and command results, the one on command results doesn't include the standard car data yet. Maybe that breaks some of your widget formulas?<br> <br> To try, add…<br></div><pre><span style="color:#000000;">intent</span>.putExtras(<span style="color:#871094;">mCarData</span>.getBroadcastData());</pre><div> …in ApiService.onResultCommand() before the sends.<br> <br> Regards,<br> Michael<br> <br> <br></div><div class="moz-cite-prefix">Am 28.09.22 um 08:43 schrieb Chris van der Meijden:<br></div><div> <meta http-equiv="content-type" content="text/html; charset=UTF-8"></div><div>Hi Michael</div><div><br></div><div>My KWGT widget switches constantly between displaying the information (3 "broadcast" text elements and one image) and "Loading ...":</div><div><br></div><div><img src="cid:part1.JYbgIN8u.spjXu00d@expeedo.de" class="" width="600px" height="421px"></div><div><br></div><div>Could it be, that we need some kind of buffer in the ApiService.java in case the app is not able to provide the actual intent array due to bad connectivity from the app to the server? </div><div><br></div><div>Regards</div><div><br></div><div>Chris</div><div> <br></div><pre><div>_______________________________________________<br></div></pre><pre><div>OvmsDev mailing list<br></div></pre><pre><div><a href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a><br></div></pre><pre><div><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br></div></pre><div><br></div><div><span></span></div><div>_______________________________________________<br></div><div>OvmsDev mailing list<br></div><div><a href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a><br></div><div><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br></div></blockquote><div><br></div><div><span></span></div></body></html>