Search found 13 matches

by benbrown
22 Nov 2019 16:55
Forum: User Help / Bug Reports
Topic: Extracting information from JSON
Replies: 2
Views: 325

Re: Extracting information from JSON

duration = js["rows"][0]["elements"][0]["duration"]["text"];
That's exactly right. Thank you very much!

I would never have figured that out - so many consecutive brackets!
by benbrown
22 Nov 2019 10:57
Forum: User Help / Bug Reports
Topic: Extracting information from JSON
Replies: 2
Views: 325

Extracting information from JSON

I want to extract the trip duration from a Google Maps navigation request. The response is simple and I only need 1 value from it: the duration text. How do I get to rows > elements > duration > text > "33 mins" in this example? { "destination_addresses" : [ "Holloway, London N7 6PG, UK" ], "origin_...
by benbrown
30 Jan 2018 10:07
Forum: Flow Sharing Area
Topic: Battery Manager
Replies: 4
Views: 6805

Re: Battery Manager

It is best not to charge a battery over 80%. That's a little simplified, and not entirely correct. Any battery becomes warm when charging, it is the simple and direct consequence of the chemical reaction of the charging process. It has nothing to do with 80% or 100%. Faster charging (higher current...
by benbrown
16 Aug 2017 07:35
Forum: User Help / Bug Reports
Topic: Get ETA from Google Maps? - for sending an sms
Replies: 6
Views: 6565

Re: Get ETA from Google Maps? - for sending an sms

Sure thing, except I don't want to use Maps manually, I want to automatically get the ETA into a variable to use in an SMS. Don't see a way to do that.
by benbrown
20 Jul 2017 10:22
Forum: Flow Sharing Area
Topic: Battery Manager
Replies: 4
Views: 6805

Re: Battery Manager

I'm confused - the phone will protect itself against overcharging. When the battery is full, it will shut off the charging current. If still connected it will eventually start "trickle charging" to keep the battery full. But overcharging? That can't happen.
by benbrown
19 Jul 2017 07:46
Forum: User Help / Bug Reports
Topic: Get ETA from Google Maps? - for sending an sms
Replies: 6
Views: 6565

Re: Get ETA from Google Maps? - for sending an sms

Thank you mbirth, this was extremely helpful!! I've modified your code to my purpose and will post it here when it's complete. I thought I saw in the API documentation that car directions does not take live traffic into consideration, which is a major drawback during rush hour, but now I can't find ...
by benbrown
24 Jun 2017 20:29
Forum: User Help / Bug Reports
Topic: Get ETA from Google Maps? - for sending an sms
Replies: 6
Views: 6565

Re: Get ETA from Google Maps? - for sending an sms

Thank you Martin for the quick reply.
I wonder if other users have thought of this already so I don't have to reinvent it :)
by benbrown
23 Jun 2017 13:26
Forum: User Help / Bug Reports
Topic: Get ETA from Google Maps? - for sending an sms
Replies: 6
Views: 6565

Get ETA from Google Maps? - for sending an sms

I have a flow that sends an sms "on my way" to my spouse when I leave work.

Is there a way to make Automagic read the ETA (estimated time of arrival) from Google Maps? Then I could put that into the SMS too.
by benbrown
27 Apr 2017 20:21
Forum: General
Topic: Do you develop everything on your phone?
Replies: 7
Views: 8893

Re: Do you develop everything on your phone?

Yes I do have a Samsung. Cool, I didn't know SideSync, neat!

Doesn't exist for Linux though - but you helped me get another idea: I used an USB OTG cable to plug in a Logitech receiver dongle, and I now have a regular mouse keyboard attached to my Samsung S6 :-D Haha, I love it!
by benbrown
27 Apr 2017 19:23
Forum: General
Topic: Do you develop everything on your phone?
Replies: 7
Views: 8893

Do you develop everything on your phone?

I find that it's rather tedious to use the small screen of my phone. I'd love to have a bigger screen and a permanent mouse&keyboard as well, but I don't see a way to create flows on my computer (Windows/Linux). --> How are you all creating your flows? How do you maintain them? Bug tracking? Version...