Comments (4)
Could you please describe your use case? I checked the API and it's possible to change the activity type, but it would be great to have a concrete example before I start working on it.
from core.
I use the service to automate the description of the workout.
For example if I add "Long" in the title, servise change:
- description to " training target: Long run, Running. Warmup: 10 minutes in zones 1-2. Work: * minutes in zone 2. Cooldown: 5 minutes in zones 1-2. by strautomator.com --- #timemap".
the rule:
Sport type is Run
Name has Long
Append to activity description: training target: Long run, Running. Warmup: 10 minutes in zones 1-2. Work: * minutes in zone 2. Cooldown: 5 minutes in zones 1-2. by strautomator.com --- #timemap
And I want to have options to change the Run Type to Long Run and shoes to my pair for long runs.
thanks.
from core.
There's no "Long Run" on the list of activity types. Only "Run".
Strautomator does not act on updated activities, only newly created ones. So if you manually change the title or description of an activity, your automations will not be triggered.
I suppose that if it's a long run, it's taking more than X hours to complete, right? So you can create the automation based on moving time. For instance, if it takes longer than 2 hours and 15 minutes:
--
If Activity type - is - Run
If Moving time - is more than - 02:15
Set Activity name:
Long Run
Set Activity description:
Training target: Long run, Running. Warmup: 10 minutes in zones 1-2. Work: * minutes in zone 2. Cooldown: 5 minutes in zones 1-2. #timemap
Please let me know if that works for you.
from core.
work's good, thanks.
from core.
Related Issues (20)
- Automation failure when using OR operator HOT 15
- Dutch language HOT 6
- Improvement OpenAI generated name: translation support HOT 4
- Weather tags translation improvements HOT 5
- Spotify integration not working HOT 7
- [Feature request] : mixing AND and OR HOT 3
- Bug: Automation keeps getting disabled HOT 8
- Feature request: Mark ride as NOT commute HOT 5
- Lithuanian language HOT 6
- Condition on app name HOT 3
- perceivedExertion not being expanded in template HOT 2
- I have to set End time -1 hr for the automation to trigger correctly HOT 7
- ${maxPace} for indoor activities HOT 7
- Does AI consider temperature being specified in Fahrenheit? HOT 7
- Account settings not saved HOT 2
- action to trigger "adjust elevation" for activities HOT 4
- AI activity name cutoff HOT 4
- Feature Request: Enhanced Private Notes Functionality HOT 1
- Add option to remove "accidental" stop/starts from activity HOT 2
- Feature request: mid-ride location and weather tags HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.