{"id":624,"date":"2018-12-30T18:14:31","date_gmt":"2018-12-31T02:14:31","guid":{"rendered":"http:\/\/dragonwarz.net\/?p=624"},"modified":"2019-12-06T15:34:20","modified_gmt":"2019-12-06T23:34:20","slug":"potly-graph-updates","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=624","title":{"rendered":"Potly Graph updates"},"content":{"rendered":"\n<p>So I thought it was about time to update the offline Plotly graphing module to allow the new sensors.  While I was in there, I thought I might as well update a few other things.  So I added some consistent markers to the XYZ readings, replaced CPU rendered graph with OpenGL (WebGL) rendering for Windows (doesn&#8217;t work properly on the Raspberry Pi).<\/p>\n\n\n\n<p>I have to say, the OpenGL rendering is SOO much faster than using CPU rendering.  I can now easily zoom in and out of really large data sets.  Large for me being over 115,000 data points per sensor entry.  When I do the same graph with CPU graphing, it takes more than 2 min to render at all, and I never got to the point I could zoom in.  Running my mouse over readings to see the values and datetime stamp lagged a lot too.  So yay for GL rendering!  I just hope its fully supported on the Raspberry Pi later on, as it makes a big difference! <\/p>\n\n\n\n<p>In other news, it was nice and sunny today!  I spent a decent amount of time outside with my daughter, absorbing as much sun as I could while she played on the big snow piles.  <\/p>\n\n\n\n<p>It may take a bit longer to finish the new trigger recording code should I decide to re-work how its done &#8230; which I might &#8230; I don&#8217;t plan on changing what it does, just how it does it&#8230; I&#8217;m pretty sure I could use a few lists or a class with a &#8216;for&#8217; statement or two in order to shorten the length of the code.<\/p>\n\n\n\n<p>That&#8217;s it for now.  I&#8217;ll probably release another version once I fully finish up the new trigger sensor recording.  The winter continues to slow progress, but I&#8217;m still poking the code every now and then!  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I thought it was about time to update the offline Plotly graphing module to allow the new sensors. While I was in there, I thought I might as well update a few other things. So I added some consistent &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=624\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,27,26,3],"tags":[33],"class_list":["post-624","post","type-post","status-publish","format-standard","hentry","category-programming","category-project","category-python","category-random","tag-kootnet-sensors"],"_links":{"self":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=624"}],"version-history":[{"count":1,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/624\/revisions"}],"predecessor-version":[{"id":626,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/624\/revisions\/626"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}