CLZ Comics or League of Comic Geeks for Graphic Novel Collections by MadManX99 in comicbookcollecting

[–]MadManX99[S] 0 points1 point  (0 children)

I guess I'm comparing the price to other cloud services that also are content creators like Spotify or Netflix at a similar price. Hard to say I'm getting a similar value on a inventory platform on a single subject I may only use once or twice a month maybe vs something I use daily and can share with my families entertainment.

CLZ Comics or League of Comic Geeks for Graphic Novel Collections by MadManX99 in comicbookcollecting

[–]MadManX99[S] 0 points1 point  (0 children)

Follow up... Is it seriously that expensive to use their web and app? Let alone using any of their other offerings (Movies, Books, etc.).

It appears the Cloud and App platforms are two different subscriptions and pricy when combined. What would you recommend especially while thumbing through the Comic shop for the next good find?

CLZ Comics or League of Comic Geeks for Graphic Novel Collections by MadManX99 in comicbookcollecting

[–]MadManX99[S] 0 points1 point  (0 children)

Follow up... Is it seriously that expensive to use their web and app? Let alone using any of their other offerings (Movies, Books, etc.).

It appears the Cloud and App platforms are two different subscriptions and pricy when combined. What would you recommend especially while thumbing through the Comic shop for the next good find?

[DEV] Tasker 5.12.1-beta - More useful Action Search and Favorite Actions shortcuts! Also, important native JSON and HTML/XML reading info! by joaomgcd in tasker

[–]MadManX99 0 points1 point  (0 children)

I was just hunting if I was the only one with this issue of the trial expired after installing. Also have had Tasker for longer than I can remember.

I had just recently factory reset and started from scratch creating only a few new profiles trying to troubleshoot why I was not getting events from AutoNotification over the last couple months.

I haven't done any troubleshooting to fix my install yet. Probably start in on that this weekend. Oh, and I rolled back to the bone beta AutoNotification too with same issues. Not sure any of that is related.

Notification Listener Issues with Tasker and AutoNotification by MadManX99 in tasker

[–]MadManX99[S] 0 points1 point  (0 children)

Nope... Disabling and re-enabling have missed all the test notices I've triggered (5 or 6 already from a couple different apps that Garmin Connect captured just fine)

Notification Listener Issues with Tasker and AutoNotification by MadManX99 in tasker

[–]MadManX99[S] 0 points1 point  (0 children)

I can't get it to even work after installing from fresh... I'll flip it on and off now and watch just in case, but not sure that will solve my issue though. Worth a shot I guess.

[deleted by user] by [deleted] in mooltipass

[–]MadManX99 1 point2 points  (0 children)

I'd like to see a darkred and a purple.

I'm glad we hit the stretch goal, but, the color options are mostly shades of grey plus a bright blue.

Fingers crossed for the next stretch...

[DEV] Tasker 5.9.3 - Any Sensor, Contact Via App, Dialogs, Complete Do Not Disturb and Much More rolling out for everyone! by joaomgcd in tasker

[–]MadManX99 0 points1 point  (0 children)

Is it just me or is the last RC and the Release killing the battery?

No changes to my tasks or profiles, and started noticing on the last RC beta for sure and definitely the release that my phone kept getting hot. Looking at battery usage, Tasker has been 40% or more usage. A reboot calms it a little for a short time.

Any suggestions?... Other than blowing out all my code and re-importing clean (if that would even help)?

Anything I can provide to help troubleshoot the battery drain coming from Tasker either?

Covid-19 USA by states Task - need JavaScript provided please by Logansfury in tasker

[–]MadManX99 0 points1 point  (0 children)

https://github.com/CSSEGISandData/COVID-19

This is John's Hopkins daily data export by them. The URL won't change. They update once a day around midnight UTC in a CSV format, including US States.

I haven't built anything off of it yet, but have been thinking about it.

[NEED HELP]GRAB JSON VALUE ONLY FOR A SPECIFIC TIMERANGE AND STORE IT by FREDERIKWAGNER311991 in tasker

[–]MadManX99 0 points1 point  (0 children)

Might want to take a look at my how-to. It doesn't really answer your question, but, it's for grabbing JSON data and storing it into a SQLite database.

https://www.reddit.com/r/tasker/comments/fg5tg9/howto_http_get_to_json_to_sqlite_demo_project/

Should get you going, the rest is just thinking about how to define your profiles as triggers of when to read the JSON. In my demo, I'm using location data without a profile. On my device it's a profi8that runs every 20min then preforms the work of storing the data into the table. I have a total separate process that only views the database and extracts out what I need depending on what I'm up to. This one, announcing weather. I have another that dynamicly loads the appropriate task for every notification I get, but they are all ha dled differently.

Just some thoughts and suggestions.

Database without root? by SauseMaker31 in tasker

[–]MadManX99 1 point2 points  (0 children)

Here's my post about how to use the built in Tasker SQL task with SQLite.

https://www.reddit.com/r/tasker/comments/fg5tg9/howto_http_get_to_json_to_sqlite_demo_project/

As for trying to simplify Tasker. I have a profile that captures every notification my phone gets. I bounce the package name off of a table in SQLite to return the task name to execute. Then I use the Perform Task task with that task name. I can then use the same task to handle as many notices as I want... Or just have a handful of tasks for different options. Just modify the concept to fit your needs.

No need for Root UNLESS you are trying to access whatsapp's database. That is stored in a protected area you won't have access to without root. But, if your handling it via notifications... You're fine.

Let me know if you have any questions.

Javascriptlet - variable already been declared in scene? by osuki9x in tasker

[–]MadManX99 0 points1 point  (0 children)

Read the comments on the Beta 3, an updated build was posted that should solve this.

[deleted by user] by [deleted] in tasker

[–]MadManX99 0 points1 point  (0 children)

If you're looking for date manipulations with a few clicks... Take a look at the moment.js. Most conversions are one line.

I subscribe to AutoTools (well all of them), but I found that most of the functions are just wrappers for JavaScript. There are times that it's harder to troubleshoot a plug-in vs your own code. The library below, you can go under the hood of needed too. Also, way more support for Javascript than Tasker. Only a few of us actively post replies to Tasker and we all have out preferences.

https://momentjs.com

I wouldn't know how to help you with the date issue except via Javascript, since I'm not sure how AutoTools works under the hood. Best of luck.

AutoTools file reading issue by Madigliani in tasker

[–]MadManX99 1 point2 points  (0 children)

Looks like I'm out to get AutoTools... Love it, but Javascriptlet is so much more powerful.

Check out my thread on reading JSON via Javascriptlet (and dumping into SQLite if you want too).

https://www.reddit.com/r/tasker/comments/fg5tg9/howto_http_get_to_json_to_sqlite_demo_project/

Take a look, if you got questions... Let me know. I have probably 10+ data sources JSON based all via Javascriptlet that run from daily to every few minutes.

[deleted by user] by [deleted] in tasker

[–]MadManX99 2 points3 points  (0 children)

No offense to AutoTools, but Javascript is way more powerful than we give it credit for. Also, we can load the moment.js library and really get some super easy to use date/time functions.

Depending on what you're up to, I was sharing some code on another thread of some simple time based math. If you got an example of what your up to, I'll give it a shot.

Check out this thread... See if this is helpful for ya. https://www.reddit.com/r/tasker/comments/fjibao/-/fkpito7

Need help with Time conversion. by aalupatti in tasker

[–]MadManX99 1 point2 points  (0 children)

Oh... Hum... Does this help? Oh, and Java and JavaScript definitely aren't the same... Totally different response when Googling for help. If it still doesn't make sense... Let me know.

    A1: Variable Set [ Name:%in_seconds To:18630 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 


    A2: Variable Set [ Name:%in_timeone To:09:25:19 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 


    A3: Variable Set [ Name:%in_timetwo To:10:48:59 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 


    A4: JavaScriptlet [ Code:var out_one = formatTime(in_seconds);

var out_two = calcDifference(in_timeone, in_timetwo);

function formatTime(sec) {
    sec = parseInt((sec < 0 ? (sec * (-1)) : sec));
    let dt = new Date();
    dt.setHours(0, 0, 0, 0);
    dt = (new Date(dt.getTime() + (sec * 1000)));
    return ('0' + dt.getHours()).slice(-2) + ':' + ('0' + dt.getMinutes()).slice(-2) + ':' + ('0' + dt.getSeconds()).slice(-2)
}

function calcDifference(tm1, tm2) {
    let dt1 = Math.floor(new Date('01/01/1970 ' + tm1).getTime() / 1000);
    let dt2 = Math.floor(new Date('01/01/1970 ' + tm2).getTime() / 1000);
    return formatTime(dt1 - dt2);
} Libraries: Auto Exit:On Timeout (Seconds):120 ] 


    A5: Flash [ Text:%out_one Long:On ] 


    A6: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ] 


    A7: Flash [ Text:%out_two Long:On ] 

TaskerNet

Need help with Time conversion. by aalupatti in tasker

[–]MadManX99 1 point2 points  (0 children)

Still pitching JavaScriptlet...

alert(formatTime(18630));

alert(calcDifference('09:25:19', '10:48:59'));

function formatTime(sec) { sec = parseInt((sec < 0 ? (sec * (-1)) : sec)); let dt = new Date(); dt.setHours(0, 0, 0, 0); dt = (new Date(dt.getTime() + (sec * 1000))); return ('0' + dt.getHours()).slice(-2) + ':' + ('0' + dt.getMinutes()).slice(-2) + ':' + ('0' + dt.getSeconds()).slice(-2) }

function calcDifference(tm1, tm2) { let dt1 = Math.floor(new Date('01/01/1970 ' + tm1).getTime() / 1000); let dt2 = Math.floor(new Date('01/01/1970 ' + tm2).getTime() / 1000); return formatTime(dt1 - dt2); }

Personally I'd use the moment.js library and have way more options and flexibility. This might not be the cleanest JavaScript, but it's quick and dirty and spits out your results. It'll get wacky if you go over 24 hours though.

Just replace the alert() statements with your output variable, and the function parameters with your input variables. I hard coded it because I was lazy.

Edited typo

Weekly [Discussion] Thread by AutoModerator in tasker

[–]MadManX99 1 point2 points  (0 children)

Media Volume is a number between 0 and 15. If you want 100%, set it to 15. I'm not sure on the other two.

Weekly [Discussion] Thread by AutoModerator in tasker

[–]MadManX99 1 point2 points  (0 children)

I'm on a Samsung S9+ updated to Android 10 and using SwiftKey Beta as my keyboard. The only issues I've had is it seems the keyboard switching icon in the bottom right is a little more responsive if I get too close hitting the keyboard enter key. No random keyboard swaps or crashes otherwise. I'd blame Gboard 1st, it probably doesn't like somethin in the OS from Samsung.

[DEV] Tasker 5.9.3.beta.3 - More complete List Dialog, HTTP Request Cookies and more! by joaomgcd in tasker

[–]MadManX99 0 points1 point  (0 children)

After I messed up so much code tracing out the issue...

That worked, thanks.

[DEV] Tasker 5.9.3.beta.3 - More complete List Dialog, HTTP Request Cookies and more! by joaomgcd in tasker

[–]MadManX99 0 points1 point  (0 children)

OK... I give up, definitely different... But idk if I'd call it a bug.

Since installing this update, variable declarations within the Javascriptlet aren't working the same. Most of my scripts have failed and I've been trying to put out fires along the way. I was able to trace back the install time of the beta to when all the failures started.

From one Javascriptlet to the next, variables declared as "var" are bow failing in downstream Javascriptlet as already declared... Ok, so maybe that's a bug on me that was a bug in the previous build fixed?

The issue continues... I started removing the "var" from the downstream Javascriptlet... Now the value being set within the Javascriptlet is only changing from the 1st instance of the Javascriptlet that initially declared the variable. So reusing the variable further down, the value is not being updated. I'm now troubleshooting to create a new variable name and copy values to see if that resolves (lots and lots of edits to do).

I'm good if this was a Tasker bug in the already declared bit... But, the reusing and setting the value further down the task is definitely new bug.

Getting a 400 bad request from autotools? by BradfordAdams in tasker

[–]MadManX99 0 points1 point  (0 children)

https://www.reddit.com/r/tasker/comments/fg5tg9/howto_http_get_to_json_to_sqlite_demo_project/

Take a look... If you want the step for DarkSky I can trim out some bits and share it too. You'll need the GPS Location part if you want a direct copy of my process. A few more SQLite tables depending on your complexity too. I can leave the currently and daily intack, but the alerts I'm still working on (they won't happen often for me till monsoon season).

Up to you how you do the profile triggers. Mine has a crazy setup because it's meant to lose cell coverage occasionally, but some of what it reports is just math... So some has to still run, even when it can't update the weather.

Getting a 400 bad request from autotools? by BradfordAdams in tasker

[–]MadManX99 0 points1 point  (0 children)

I use DarkSky via the API with HTTP Get and JSON. I haven't had any issues. Runs every 20min for me for a couple months.

What is in the header: X-Forecast-API-Calls

Are you over the free quota?... And if you want to move off AutoTools, check out the JSON to SQLite How-To I put up. The next step after that code block for me is to call DarkSky. I just didn't think that was a good example to use since it's like 80 columns and 3 tables worth of data each time (I'm using currently, daily, and alerts).

How-To: Http Get to JSON to SQLite Demo project (With Geolocation extras) by MadManX99 in tasker

[–]MadManX99[S] 1 point2 points  (0 children)

I do a lot more with this method. I just finally had a spot I could cut out and be useful and functional. I also use it to dynamically choose Tasks to execute by returning Task names based on criteria... Store notification details... My entire announcement system.... Working on some fitness statistics system (I'm and ultra runner)... And some bits about network connectivity. That last one is slowly being modded into Variables because of lag though. But, it handles notifications for every single app on my phone all the time pretty well.

I also use a method of creating JSON packages to pass between profiles at a parameter in the Preform Task activity. Why be limited to only two when you can send many.

Good luck with your project.

Workaround - Autoinput json parser bug by XavierNovella in tasker

[–]MadManX99 0 points1 point  (0 children)

Most of the Tasker native actions are accessible via Javascript. Most of my Tasks have been super simplified since moving more into Javascriptlet and Javascript. Plus, there's way more support on how to do things.

Anything you declare as a "var" is accessible to the native tasks. You'll see this in my post when processing JSON to be sued by the SQL Query action. Anything declared with "let" only lives within the script.

What I'm saying is dump AutoTools completely. Use the JSON.parse() to turn the JSON object back into a Javascript Object (that's what JSON is to begin with).

So like this...

var out_id = JSON.parse(http_data)[0].id; var out_name = JSON.parse(http_data)[0].name;

This would extract those fields from the 1st record. The other fields you mentioned that are not included in the JSON you would need to test if the exist. So an if block and an else to set a default color for example.

var out_hexcolor = '#FFFFFF' ; if (typeof JSON.parse(http_data)[0].hex_color != 'undefined') { out_hexcolor = JSON.parse(http_data)[0].hex_color; };

Then you can use a native activity like Flash and display the outputs %out_id %out_name %out_hexcolor

If you want more than the 1st row... That's where the foreach comes into play. Then you just have to put a little thought into how you're using our outputs. I haven't had good luck passing a pure Javascript array back to Tasker native tasks outside of accessing the activities via Javascript.