Friday, June 27, 2025

Building AI-First DevOps: My very personal view on Vibe Coding and Autonomous Development

Building AI-First DevOps

The software development landscape is undergoing a seismic transformation that rivals the shift from assembly language to high-level programming languages While CEOs across LinkedIn declare their companies "AI-first," most teams lack the practical knowledge to implement this paradigm shift ^1. This comprehensive guide explores how to truly build AI-ready DevOps infrastructure, drawing from cutting-edge practices and real-world implementations.

The Paradigm Shift: From Code-First to AI-First

The (bad) Automotive Analogy: Driving with Assistant Systems

The automotive analogy illuminates something important about the fundamental shift happening in software development, though the comparison has clear limitations. While automotive assistance systems represent sophisticated engineering rather than true AI, they demonstrate a crucial principle: the necessity of behavioral change when working alongside intelligent systems.

These systems force drivers to change their behavior patterns, often in ways that lead to measurably better outcomes. Research confirms this behavioral adaptation phenomenon - studies show that drivers using Adaptive Cruise Control exhibit different acceleration patterns, maintain more consistent following distances, and often achieve better fuel economy than manual driving^2 ^4.

The Trust and Behavioral Change Dynamic

What makes the automotive analogy instructive is how it reveals the psychological dimension of working with automated systems. Research on trust in automation shows that humans undergo significant behavioral adaptations when interacting with intelligent systems^5^7. The process involves learning to calibrate trust appropriately - understanding when to rely on the system and when to intervene^7.

Observation about monitoring system indicators ("Is lane control still active? Does the car recognize its surroundig correctly?") reflects a critical finding from automation research: successful human-machine collaboration requires continuous awareness of system state and capability^8^10.

Studies demonstrate that this behavioral change isn't just about using tools differently - it fundamentally alters how humans approach tasks^7. Improved driving efficiency and safety is only one benefit, humans often perform better when working collaboratively with well-designed automated systems^9.

Where the Analogy Breaks Down

However, the automotive analogy has significant limitations when applied to software development. Unlike driver assistance systems, which maintain clear human oversight, current trends in AI-powered software development suggest a trajectory toward more complete automation^11. Research indicates that "AI could replace software developers".

Software Engineering oder Software Coding is an AI solvable Problem and reflects a different magnitude of change than automotive assistance. While driver assistance systems enhance human capability, AI code generation tools increasingly handle entire development workflows autonomously^13.

The Uncertain Nature of This Transformation

Current evidence suggests we may be witnessing something more fundamental than the automotive assistance model implies. AI-powered development tools are already demonstrating capabilities that extend beyond assistance into autonomous task completion ^13. Unlike automotive systems that require continuous human supervision, AI development systems can operate with minimal human intervention for extended periods.

The behavioral changes required for AI-first development may be more profound than those needed for driver assistance systems. While drivers retain ultimate control and responsibility, AI-first development potentially shifts developers into supervisory or curatorial roles rather than direct executors^11^16.

The Value and Limits of the Analogy

The automotive comparison remains valuable for understanding the behavioral adaptation requirements and the trust calibration process that humans must undergo when working alongside intelligent systems^1. It demonstrates that effective collaboration with automated systems requires fundamental changes in human behavior patterns, not merely tool adoption.

However, the analogy may underestimate the potential scope of transformation in software development. The automotive model suggests augmentation within retained human control, while AI-first development trends point toward more substantial role redefinition for human developers^11^17.

The Vibe Coding Revolution

Andrej Karpathy, former Tesla AI director and OpenAI co-founder, introduced the term "vibe coding" in February 2025, describing a revolutionary approach where developers "fully give into the vibes" and "forget the code even exists" ^5. This methodology represents a shift from traditional syntax-focused programming to intuitive, conversation-based development using tools like Cursor for example ^5.

Karpathy's approach epitomizes the AI-first mindset: "I just see things, say things, run things, and copy-paste things, and it mostly works" ^5. This isn't hyperbole—it's a fundamental redefinition of the developer's role from manual coder to AI conductor ^7.

Understanding AI-First Development

What Makes Development "AI-First"?

AI-first development isn't simply adding AI tools to existing workflows—it's rebuilding the entire development process around artificial intelligence capabilities ^8. According to IDC research, "AI-first development is a transformative paradigm that integrates intelligence as a core attribute of applications from the outset" ^9.

The transformation parallels how AI-first companies like Mercor achieved $50 million in annual recurring revenue with just 30 employees, while Cursor reached $100 million ARR with fewer than 24 employees ^8. These companies didn't just use AI tools—they structured their entire operations around AI capabilities from day one.

Beyond Tools: A Cultural Transformation

Recent studies show that AI-first companies are fundamentally different from traditional organizations ^8. They spend heavily on technology while maintaining lean high-performance teams, achieving operational scale that would traditionally require hundreds of employees ^8. Netflix exemplifies this approach, using AI-powered Chaos Monkey to achieve a 23% reduction in unexpected outages globally ^10.

AI-First DevOps Cycle
(My) AI-First DevOps Workflow: A Complete Autonomous Development Cycle

The Foundation: Documentation as Code

READMEs as AI Prompts

In AI-first development, documentation isn't an afterthought—it's the primary interface between human intent and AI execution ^2. And even AI intent and AI execution! READMEs function as sophisticated prompts that guide AI behavior, replacing traditional requirements documents ^11. This "docs-as-code" approach treats documentation with the same rigor as source code, using version control and code reviews^11.

The paradigm shift is profound: while traditional development separates documentation from code, AI-first development integrates them completely ^12. As one practitioner noted, "docs-as-code allows engineers to tap into a deeper level of understanding, enabling them to push the boundaries of what's possible" ^13.

Architecture Documentation for AI Systems

AI systems require comprehensive context to function effectively. This includes technical specifications (AWS, Azure, or on-premise hosting), architectural patterns (hexagonal architecture, microservices), and integration details (responsibility, borders of concern etc.). Unlike human developers who can infer context, AI tools need explicit documentation to maintain consistency across large codebases ^14. The source code doesn't tell all the story, it only shows "What" is done, but not "Why" it is done in the way it is done. The overall strategy, intention and design decisions are not visible in the code, but in the documentation (and maybe inline doc-strings, written for and by AI).

Lessons Learned Files: Building AI Memory

Traditional development relies on "tribal knowledge"—information stored in developers' heads. AI-first development formalizes this through lessons learned files that capture successful patterns, failed approaches, and optimization discoveries ^2. These files serve as external memory for AI systems, enabling continuous learning and preventing repeated mistakes. Making AI developers even better with each iteration. It enables exponential improvement of the AI system. Large language models have now (at the time of writing) a context window of 1 million tokens, which is enough to store a lot of information about the project, the architecture, the design decisions and the lessons learned. As the project and the documentation grows, the LLMs become more and more powerful making the whole system better and better. A self-reinforcing cycle of improvement!

Vibe Coding: Programming with Natural Language

The Technical Reality

Vibe coding leverages sophisticated tools like Cursor's with SuperWhisper speech recognition, enabling developers to speak requirements and watch AI generate functional code ^16. This approach represents the culmination of advances in large language models, where "the hottest new programming language is English" ^5.

The methodology works because modern LLMs can interpret abstract concepts and translate them into concrete implementations ^17. However, as Simon Willison notes, true vibe coding means "accepting code without full understanding"—a fundamental departure from traditional programming practices ^5.

Tools of the Trade

The ecosystem of AI coding tools has exploded, with over 70 AI code completion tools now available ^18. GitHub Copilot, the pioneer in this space, uses OpenAI Codex to suggest code and entire functions in real-time ^20. More advanced tools like Cursor offer comprehensive development environments built specifically for AI-first workflows ^4. But these tools are NOT the AI system of the future I imagine (yet).

AI Coding Tools: Market Leaders and Pricing (June 2025)

Tool Price (per user/month) Key Features Source
Cursor $20 Advanced codebase understanding, natural language editing Link
GitHub Copilot $19 Broad IDE integration, code completion, chat Link
Tabnine $39 Advanced code completion, domain-specific models Link
Anthropic Claude Code $20 (Pro), $100 (Max) Deep codebase awareness, terminal/IDE integration, Claude Opus 4 model Link
Amazon CodeWhisperer Free (Individual), $19 (Professional) Real-time code suggestions, security scans, IDE integration Link
Replit Ghostwriter $15 (Core), $40 (Teams) AI code completion, code explanations, multi-language support Link
Windsurf (formerly Codeium) $15 (Pro), $30 (Teams), $60 (Enterprise) Full-stack code generation, prompt credits, multi-model support Link
Codeium Free (Individual), $15 (Teams), $60 (Enterprise) AI autocomplete, chat, code search, IDE plugins Link
Phind $20 (Pro), $40 (Business) AI-powered code search, multi-model (GPT-4o, Claude), browser code execution Link
Mutable AI $10 (Basic), $25 (Pro) AI code completion, refactoring, codebase tools Link
AskCodi Free (Basic), $9.99 (Premium), $29.99 (Ultimate) AI code generation, documentation, test creation Link
aiXcoder Free AI code completion, IDE integration Link
CodeGPT Free, $9.99 (Pro), $19.99 (Teams) IDE integration, AI chat, code refactoring Link
CodeMate AI Free (Basic), $10 (Premium), $14.08 (Pro), $30 (Enterprise) Error fixing, code optimization, team features Link
Code Snippets AI $4 (Developer), $10 (Professional), $30 (Power User) Snippet management, AI code suggestions, team sharing Link
Codium AI $58 (Intermediate), $116 (Advanced) AI code review, project management, advanced business logic Link
Qodo Free (Developer), $30 (Teams), $45 (Enterprise) AI code review, testing, multi-agent platform Link

Note: Prices are for individual users unless otherwise specified. Some tools offer free tiers with limited features. Always check the vendor’s site for the latest pricing and feature updates.

AI-Ready DevOps Infrastructure

Quality Gates That Work with AI

Modern DevOps quality gates must account for AI-generated code, which requires different validation approaches than human-written code ^23. Traditional quality gates focus on human review processes, while AI-first quality gates emphasize automated validation, continuous testing, and behavioral verification ^23.

TDD for AI projects extends beyond traditional unit testing to include data preprocessing, model training, and deployment pipeline validation ^28. The "Red-Green-Refactor" cycle adapts to AI development by emphasizing automated test generation and continuous validation ^28. Each bug fix or feature addition is automatically accompanied by automated tests capturing the ill behaviour and validate the AI implemented fix, ensuring that the bug never happens again and do not introduce regressions or unexpected behavior.

Autonomous Bug Detection and Fixing

Research shows that AI-powered and (for) AI-adapted testing can identify issues before they manifest in production by analyzing code changes and execution paths ^25. Tools like MarsCode Agent demonstrate how AI can automate the entire bug-fixing lifecycle, from detection through patch validation ^26. The engineers have to design the quality gates, but the CI / CD pipeline must be fully automated, including the testing and validation of the AI-generated code. Bug-Fixing, monitoring, and PR reviewing must be fully automated as well. The AI system must be able to detect bugs, fix them, and validate the fixes without human intervention. AI-powered bug fixing represents one of the most transformative aspects of AI-first development ^25. Traditional approaches relied on manual debugging and human intuition, consuming approximately one-third of software companies' development resources ^30. This is the only way to achieve the full potential of AI-first development. The only thing left for the human developer, is the requirements engineering, the architecture design, the overall strategy and monitoring of the project. The AI system will take care of the rest.

Modern AI development follows an "experimentation, evaluation, deployment, and monitoring" format, where developers create datasets of examples to test models and workflows. This approach balances quality, cost, latency, and privacy considerations ^24.

The Human-AI Partnership

When AI Takes the Lead

AI code review tools like CodeRabbit and Cursor's review features are transforming how teams validate code quality ^32. These tools provide fine-tuned reviews that adapt through user feedback, offering capabilities that often exceed human reviewers in consistency and coverage ^32 and of course speed up the review process! The key shift is from human-led review with AI assistance to AI-led review with human oversight.

The Developer's New Role

The developer's role is evolving from manual coder to AI conductor and quality curator ^7. As one practitioner observed, "AI is about amplifying human potential, not replacing it" ^34. This transformation requires new skills: prompt engineering, AI tool optimization, and quality validation of AI-generated code. The devloper of the future must understand the AI system, its limitations and its capabilities, and be able to design the overall architecture and strategy of the project.

Managing the Exponential Productivity Curve

AI-first development enables exponential productivity growth rather than linear progression ^2. Companies report that after initial setup periods, AI tools can implement features autonomously with minimal human intervention . However, this creates new bottlenecks: human review capacity becomes the limiting factor as AI generates code faster than humans can validate it. The only way to overcome this bottleneck is to automate the review process as well. The AI system must be able to review the code, validate it, and fix it if necessary. The human developer must only monitor the overall strategy and performance. Curating and expanding the AI system's capabilities becomes the primary focus, with developers acting as quality gatekeepers rather than manual coders ^2.

Aspect Traditional Development AI-First Development
Code WritingManual coding by developersNatural-language–to-code generation (“vibe coding”)
DocumentationSeparate tools (Word, Confluence)Documentation-as-Code (README-driven)
TestingManual test creation & executionAI-generated tests, quality gates for AI generated code
Bug FixingManual debugging and patchesAutonomous bug detection & repair
Code ReviewsHuman peer reviewsAI-powered reviews with AI feedback loop
Knowledge ManagementTribal knowledge, silosLessons-learned files, AI memory
Architecture PlanningUp-front design documentsIterative AI-guided architecture, continous research on the internet
Development SpeedLinear, human-limitedExponential productivity growth
Quality AssuranceManual QA processesAI quality gates, continuous validation
Learning CurveYears of trainingWeeks-to-months for AI-tool mastery
Team StructureLarge, role-specialised teamsLean teams amplified by AI agents
Deployment ProcessManual or scripted CI/CDZero-touch, AI or automatically-triggered deployment pipelines
CollaborationMeetings, manual coordinationAI-assisted collaboration tools
SecurityPeriodic manual auditsContinuous AI scanning, hardening & patching
MaintenanceScheduled updates & patchesContinuous AI-led maintenance
Innovation SpeedFeature cadence gated by staff bandwidthRapid cycles driven by autonomous prototyping
Error HandlingReactive, ticket-basedProactive AI detection & self-healing
Cost StructureHigh payroll, slower ROICompute-heavy, low head-count
ScalabilityAdd head-count to scale outputScale via larger models & infra, not people
Compliance & GovernanceManual reviews & sign-offsPolicy-as-code, automated evidence capture and auditing, every prompt and output can be stored

AI-First Web: Designing Sites for Large Language Models, Not Browsers

The next logical step after AI-first development is an AI-first Web—a public Internet whose primary consumer is no longer a human with a browser, but an autonomous language model able to read, reason over, and remix online content at scale ^38. As my friend Oscar correctly analysed in his very entertaining article worth reading, the primary consumer of blog articles like this one are already autonomous agents^39

From rich front-ends to machine-readable Markdown Traditional websites are optimised for visual appeal: multipage SPAs, heavy JavaScript bundles, hero images, and interactive widgets. None of this helps a language model. An AI-first site strips the presentation layer down to essentials—plain Markdown files linked through simple anchors, each document carrying the full context a model needs (title, purpose, example payloads, licence). The result is pages that load faster, require virtually no client-side resources, and can be parsed in a single pass by an LLM.

The future Web will probably not be built for people at all, but for the machines that speak on our behalf.

Performance and capability gains Because every byte counts when an agent is following hundreds of links a second, the Markdown-only pattern dramatically reduces latency and bandwidth. That efficiency compounds: agents that can fetch, interpret, and vector-index a page in milliseconds can chain far more sources together, producing answers that are richer than what even the best human search workflow can achieve.

Early adopters Some providers are already exposing their docs in exactly this form to advertise that they are AI-ready. A concise example is Vercel’s llms.txt, a single text file giving LLMs canonical instructions on how to navigate the company’s API surface^40. The file lives alongside conventional human-centric docs but is optimised for bots: no layout, no CSS, just structured prompts and endpoints.

Business upside

  • Faster on-boarding: An LLM integrating with your API does not need a month-long developer advocate programme—it just reads the Markdown and starts calling endpoints.
  • SEO for machines: When search traffic is driven by AI agents rather than humans, being “first page” means being parsed correctly, not being pixel-perfect.
  • Lower hosting costs: No video, no CSS frameworks—static text files served from the edge.

How to become AI-Web ready – Convert existing knowledge bases to Markdown, one file per topic. – Embed explicit usage examples, error cases, and licence terms so an agent never has to guess. – Publish an llms.txt or robots.txt-style manifest at the root of your domain that lists entry points, rate limits, and contact information for escalation. – Keep human-oriented pages, but treat them as a secondary rendering of the same canonical Markdown, not the other way around.

In short, an AI-first Web complements an AI-first development process: the code is written by machines and, increasingly, the documentation and discovery layer is also curated for machines. Companies that adapt early will find that the same content serves both audiences—just packaged so that one can be read by humans and the other can be understood by machines.

Building Your AI-First Organization

Cultural Transformation Requirements

Transitioning to AI-first development requires comprehensive cultural change beyond tool adoption. Organizations must shift from valuing lines of code written to features delivered, from individual expertise to AI-amplified team capability ^8.

Successful AI-first companies report that 94% plan to increase AI investment, with 40% willing to raise investment by 15% or more. This commitment reflects understanding that AI-first transformation is fundamental, not incremental ^36.

Tool Selection and Integration Strategy

The AI development tool landscape changes rapidly, requiring organizations to maintain flexibility while building core capabilities. Best practices include staying model and inference provider agnostic, experimenting with different architectures, and utilizing subject matter experts during experimentation phases ^14.

Integration strategies must account for the compound effect of AI tools working together. Documentation-as-code enables AI code generation, which feeds into automated testing, which enables autonomous deployment—each component amplifies the others' effectiveness.

Measuring Success with New Metrics

Traditional software metrics like lines of code per developer become irrelevant in AI-first development. New metrics focus on feature delivery velocity, autonomous development percentage, and AI-human collaboration effectiveness ^37.

Essential quality metrics include defect density reduction, automated test coverage, and mean time to repair (MTTR) for AI-generated code. Process metrics emphasize automation coverage, first-time pass rates, and the percentage of development tasks completed autonomously ^37. If your software uses AI in its business code, even more metrics should become important to you. AI systems behave chaotically, and it is important to monitor the AI system's behavior, performance, and quality. This includes monitoring the AI system's performance, the AI system's behavior, and the AI system's quality. Another AI system must be able to detect anomalies and unexpected behavior in real-time and fix them automatically. If you use a RAG in your business code, then metrics like Truthfulness, Relevance, Precision and Recall should be part of the quality gates and monitoring system. It is a whole new level of complexity, but the software developer (and CEO / CTO) of the future must be able to handle and understand it.

The Future of Software Engineering

One-Year Predictions

I think software engineering will be "an absolutely solved problem" within one year at some companies. This bold prediction reflects the accelerating pace of AI advancement and the exponential improvements in tools like Cursor, which has grown from startup to $2.5 billion valuation in under three years ^4.

The transformation parallels Martin Fowler's assessment that AI-first approaches could prove "as significant as the transition from assembly to high-level languages" ^1. We're witnessing the early stages of a fundamental shift in how software is conceived, created, and maintained.

Preparing Your Team for the Transition

Organizations must begin AI-first transformation immediately to avoid competitive disadvantage ^8. The window for gradual adoption is closing as AI-native companies achieve unprecedented efficiency and market responsiveness ^8.

Preparation involves technical infrastructure (AI-ready documentation, quality gates, automation pipelines) and human capital development (AI tool proficiency, LLM understanding, quality validation skills) ^2. The cost of delayed adoption increases exponentially as AI-first competitors establish market advantages.

Conclusion: Embracing the AI-First Future

The transition to AI-first development isn't optional—it's inevitable ^8. Organizations that master vibe coding, autonomous development, and AI-human partnership will achieve unprecedented productivity and innovation velocity ^2. Those that delay risk obsolescence in an increasingly AI-native competitive landscape.

The times we're living in are like something from a science fiction novel. The convergence of mature AI tools, proven methodologies, and exponential productivity curves creates opportunities for organizations ready to embrace fundamental transformation.

Success requires more than tool adoption—it demands reimagining software development from first principles, building AI-ready infrastructure, and cultivating AI-amplified human expertise. The companies that master this transition will define the next era of software innovation.

The journey from traditional to AI-first development represents the most significant transformation in software engineering since the advent of high-level programming languages. Those who act decisively will shape the future; those who hesitate will be shaped by it.

Disclaimer

IMHO; This is my very personal opinion as a Software Engineer and Consultant. I am not a financial advisor, and this is not financial advice. This article is for informational purposes only and does not constitute an endorsement of any specific tools or practices.

Connect with me on LinkedIn and drop me a message if you have any questions or want to discuss AI-first development further. I'm always happy to connect with fellow AI-enthusiast and share insights on this exciting transformation.

Thursday, March 3, 2016

[Android+Windows+GoogleCardboard+Skyrim]A breeze of what a Oculus Rift could feel like

In July 2016 we will have the Oculus Rift available on the market. Virtual reality glasses which will open a whole new experience for gamers, movie watchers and travelers all over the world. The current shipping price is 599$ in the pre-order shop.

If you want to have a breeze of that experience right now and don't want to wait, this guide is for you!

This will be not a classical Tasker guide, but a friend of mine pushed me to write about my experience so here it is:

What hardware do we need:
  • An Android Smartphone
  • A Windows computer (Propably also works on a MAC or on a LINUX machine)
  • A Google cardboard or something similar, look here: "Google Cardboard" at ebay.com (from 2$ with shipping) 
What software?
  • Android App Trinus VR lite and the Windows counterpart from the Trinus download page.
  • A software to make Skyrim (or any other game) stereoscopic, get the 14 day Trial version of TriDef here. Unfortunately I couldn't get Vireio Perception running, that would be great, as this software is for free.
  • Skyrim (Or propably any other game? Star Citizen, Call of Duty, Battlefield?)
Install all the needed software. The order doesn't matter as they don't interfere.

A few things to account for in Skyrim:
  • Mods are OK
  • Disable ENB

Start TriDef
Start Skyrim
Start Trinus VR lite and connect to your PC.
That's it!

Monday, July 27, 2015

[Tasker] Better battery save widget - "periodic internet": 1%/hr

It's been a while. But I'm back :) So sorry for not replying to all comments.

Many things changed... I updated my Note 3 to Lollipop (feels good, looks bad), bought a smartwatch (LG Watch R, great battery life due to the OLED display, but not really stable connection to the Google Watch software, but that should be Googles fault, still working on a fix for this). Lost my xposed framework functionality due to the new ART framework and my odexed official ROM, but thats off topic ^^

I really wonder, who needs a smartphone 7 mm thick with a battery life of 1 day, if one could have instead one, which is 1 cm thick, a little heavier, but a battery life of 3 days. I would hate it, if the new Samsung Galaxy Note 5 would come without an exchangeable battery..... Anyway, as thinner means "better" for customers (grrrr) we have to deal with it. Here is my newest battery saving widget!

I know, there are programs like "Juice defender" out there. But I don't like overloaded software I have not full control of, running in the background, using RAM and CPU time.

It is much more stable (can run for hours and hours) then my previous approaches and I lose approximately 1% of battery per hour.


What will you get:
A small widget on your home screen, you click on. It will:
  • START
  • Wait 1,5 minute
  • Activate flight mode (or only deactivate data and wifi)
  • Wait 15 minuts
  • Deactivate airplane mode (or turn data and wifi on)
  • GOTO START
Thats it... It works better, then the previous approaches, because we will use the Tasker Timer option for repeating the task. That means, that it doesn't block other Tasker tasks while running.

This is how it will look like, look at the icon in the lower left corner (oh and hover the screenshot):


Off
What do you need:
  • For the icons (optional): Ipack / Crystal Project HD and Ipack / Kyo-Tux Aeon HD
  • For turning airplane mode on and off (optional): Secure Settings if you have ROOT access (HowTo Root), if you don't have ROOT, you can still continue to read - instead of toggling airplane mode, you can toggle DATA and WIFI with Tasker, no need for Secure Settings, maybe you prefer this anyway, the benefit is, you can still be called while in energy saving mode.
  • Tasker
  • 20 minutes of life time (scroll down for direct downloads)
So lets start with the profile and the associated task:

Create a new profile in Tasker, call it "Periodic Internet Widget Off". This profile will be activated, if we click on the notification while the energy saving mode is running. It will deactivate the energy saving mode.

Profile: Periodic Internet Widget Off
 Event: Notification Click [ Owner Application:Tasker Title:Periodic internet Widget ]
 Enter: Periodic internet Widget Off
 Abort Existing Task

 A1: Stop [ With Error:Off Task:Periodic Internet ]
 A2: Secure Settings [ Configuration:Airplane Mode Disabled Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
 A3: Mobile Data [ Set:On ] If [ %MOBILDATA ~ 1 ]
 A4: WiFi [ Set:On ] If [ %WLANTMP ~ 1 ]
 A5: Notify Cancel [ Title:Periodic internet Widget Warn Not Exist:Off ]
 A6: Variable Set [ Name:%PERIRADIO To:0 Do Maths:Off Append:Off ]
 A7: Profile Status [ Name:Periodic Internet Widget Off Set:Off ]
 A8: Timer Widget Control [ Name:Periodic Internet Type:Reset ]
 A9: [X] Timer Widget Control [ Name:Periodic Internet Type:End ]
 A10: Set Widget Icon [ Name:Periodic Internet Icon:ipack:kyotuxaeonhd:network_offline_alt ]
 A11: Timer Widget Set [ Name:Periodic Internet Seconds:1 Minutes:0 Hours:0 Days:0 ] 


Now we nee a task to do the actual work. So create this task: 
Task name: Periodic internet Widget On
 Abort Existing Task

 A1: Variable Set [ Name:%PERIRADIO To:1 Do Maths:Off Append:Off ]
 A2: Variable Set [ Name:%MOBILDATA To:1 Do Maths:Off Append:Off ] If [ %AIR ~ off ]
 A3: Variable Set [ Name:%MOBILDATA To:0 Do Maths:Off Append:Off ] If [ %AIR !~ off ]
 A4: Variable Set [ Name:%WLANTMP To:1 Do Maths:Off Append:Off ] If [ %WIFII ~R CONNECTION ]
 A5: Variable Set [ Name:%WLANTMP To:0 Do Maths:Off Append:Off ] If [ %WIFII !~R CONNECTION ]
 A6: Variable Set [ Name:%noradio To:%MOBILDATA+%WLANTMP Do Maths:On Append:Off ]
 A7: If [ %noradio ~ 0 ]
 A8:   Stop [ With Error:Off Task: ]
 A9: End If
 A10: Timer Widget Set [ Name:Periodic Internet Seconds:0 Minutes:15 Hours:0 Days:0 ]
 A11: Timer Widget Control [ Name:Periodic Internet Type:Resume ] 


The last task looks like this:
Task name: Periodic Internet

 A1: Timer Widget Set [ Name:Periodic Internet Seconds:0 Minutes:15 Hours:0 Days:0 ]
 A2: Set Widget Icon [ Name:Periodic Internet Icon:android.resource://net.dinglisch.android.ipack.crystalhd/drawable/quick_restart ]
 A3: Notify [ Title:Periodic internet Widget Text: Icon:android.resource://net.dinglisch.android.ipack.crystalhd/drawable/quick_restart Number:%SCRON Permanent:On Priority:2 ]
 A4: Profile Status [ Name:Periodic Internet Widget Off Set:On ]
 A5: Secure Settings [ Configuration:Airplane Mode Disabled Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
 A6: Wait [ MS:0 Seconds:30 Minutes:0 Hours:0 Days:0 ]
 A7: WiFi [ Set:On ]
 A8: Mobile Data [ Set:On ]
 A9: Wait [ MS:0 Seconds:0 Minutes:1 Hours:0 Days:0 ]
 A10: Secure Settings [ Configuration:Airplane Mode Enabled Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ] 

Add the red lines only, if you have ROOT and want to toggle airplane mode.

You can download and import the tasks directly without the hassle here:

Profile: Periodic Internet Widget Off
Task name: Periodic internet Widget On
Task name: Periodic Internet

To see how to import them, skim this article: How to import Tasker projects, profiles, tasks and scenes 

Now we need to create the widget to actually start our "periodic internet" mode.

  1.  Add a "Tasker Timer Task" to your home screen.
  2. As the task to run select: "Periodic Internet".
  3. Set the countdown to 0:0:0:1 (One second) and activate Repeat ON
The periodic internet mode should start immediately. Don't forget, it will take 1,5 minutes, until the wifi/data or airplane mode is activated for the first time.
To deactivate the "periodic internet" mode, you should click on the permanent notification in the notification bar.

Hope it helps You :)
Leave your opinion in the comments!


Friday, August 2, 2013

[Tasker] Extreme battery saving profile

The battery life of an android phone is not impressive and we got used to charge our phones every day. Nevertheless it can happen that one finds himself in a situation with no charger in reach and no battery left. This profile will help you to avoid this situation. This profile will fire when your battery level will drop under 8% automatically. It is a drastic step, think twice before using it.
This task will:
  • Put your phone into flight mode (I warned you, drastical steps ;)
  • Set the display brightness to deep Darth Vader like darkness
Yes, you won't be reachable. But you can switch off the flight mode whenever you wish and still send or receive the important messages you would miss otherwise. In my opinion it's better then finding your phone completely drained without any options left. The phone should last minimum another hour in this mode.
You will need:

This is what my profile looks like:
Profile: Extreme battery save (28)
     State: Battery Level [ From:0 To:8 ]
Enter: Extreme battery save (3)
     A1: Auto Brightness [ Set:Off ]
     A2: Display Brightness [ Level:0 Disable Safeguard:Off Ignore Current Level:Off Immediate Effect:On ]
     A3: Load App [ App:Screen Filter Data: Exclude From Recent Apps:Off ]
     A4: Airplane Mode [ Set:On ]
     A5: Notify LED [ Title:Battery low Text:Battery under %BATT percent!
          Will switch to battery saving mode. Icon:ipack:crystalhd:cache Number:%BATT Colour:Red Rate:1000 Priority:3 ]
     A6: Zoom Visibility [ Element:Extreme battery save.w / StateON Set:On ]

The normal mode profile could look like this and be activated when a power source is connected:
Profile: Power source connected (11)
     State: Power [ Source:Any ]
Enter: Energy save (17)
     B1: Notify Cancel [ Title:Battery low Warn Not Exist:Off ]
     B2: Airplane Mode [ Set:Off ]
     B3: Display Brightness [ Level:128 Disable Safeguard:Off Ignore Current Level:Off Immediate Effect:On ]
     B4: Auto Brightness [ Set:On ]
     B5: Zoom Visibility [ Element:Extreme battery save.w / StateON Set:Off ]
     B6: Run Shell [ Command:am force-stop com.haxor Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]

The line B6 kills the screen filter app if it is running and will do nothing if it's not running. To create it go to Script -> Run shell -> and enter the command am force-stop com.haxor :) The downside of this powerful command is, it needs root. Maybe you can get the same result by setting up the action App -> Kill App -> Screen filter. No guarantee on this.
You should have problems with creating lines A6 and B5 yet, as there is no Zoom widget yet. So... stay with me after the commercial break....

...your ads here...


Off
Again there is a widget to switch this on and off from the home screen dynamically.
My widget looks like this, you will need two icon packs and the app Zoom to get the same result:

More information on Zoom and how to setup cool widgets can be found on google and here.
Import my Zoom profile by saving the following file as "Extreme_battery_save.w.ztl.xml" under sdcard/Zoom/templates. Then open Zoom and press menu key -> Browse Templates -> Import Directory -> Extreme_battery_save.w.ztl.xml. Now create this Zoom 1x1 widget on your home screen.
<class name="Template" index="">
 <backColour>#00000000</backColour>
 <borderColour>#FFFFFFFF</borderColour>
 <borderWidth>0</borderWidth>
 <cellData>180,187,0,0;186,130,0,0</cellData>
 <cellsHigh>1</cellsHigh>
 <cellsWide>1</cellsWide>
 <marginWidth>4</marginWidth>
 <name>Extreme battery save.w</name>
 <class name="Element" index="elements0">
  <elementType>Image</elementType>
  <heightLand>199</heightLand>
  <heightPort>178</heightPort>
  <name>StateOFF1</name>
  <visible>true</visible>
  <widthLand>159</widthLand>
  <widthPort>159</widthPort>
  <xLand>0</xLand>
  <xPort>0</xPort>
  <yLand>0</yLand>
  <yPort>0</yPort>
  <class name="ImageElement" index="state0">
   <alpha>255</alpha>
   <stateName></stateName>
   <uri>ipack://net.dinglisch.android.ipack.transparentglasshd/lightning2_sc48</uri>
  </class>
 </class>
 <class name="Element" index="elements1">
  <elementType>Image</elementType>
  <heightLand>199</heightLand>
  <heightPort>178</heightPort>
  <name>StateOFF</name>
  <visible>true</visible>
  <widthLand>159</widthLand>
  <widthPort>159</widthPort>
  <xLand>0</xLand>
  <xPort>0</xPort>
  <yLand>0</yLand>
  <yPort>0</yPort>
  <class name="ImageElement" index="state0">
   <alpha>255</alpha>
   <stateName></stateName>
   <uri>ipack://net.dinglisch.android.ipack.transparentglasshd/lightning2_sc48</uri>
   <class name="TaskAction" index="onClick0">
    <name>Extreme battery save</name>
   </class>
  </class>
 </class>
 <class name="Element" index="elements2">
  <elementType>Image</elementType>
  <heightLand>199</heightLand>
  <heightPort>178</heightPort>
  <name>StateON</name>
  <visible>false</visible>
  <widthLand>159</widthLand>
  <widthPort>159</widthPort>
  <xLand>0</xLand>
  <xPort>0</xPort>
  <yLand>0</yLand>
  <yPort>0</yPort>
  <class name="ImageElement" index="state0">
   <alpha>200</alpha>
   <stateName></stateName>
   <uri>ipack://net.dinglisch.android.ipack.crystalhd/cache</uri>
   <class name="TaskAction" index="onClick0">
    <name>Energy save</name>
   </class>
  </class>
 </class>
</class>

[Tasker] How to force a loud alarm on SMS / emergency SMS

If an SMS which contains (notice the "*") the text WAKEUP! comes in, your phone will alert you - no matter what. It's pretty hard to turn this alert off too ^^", you will have to stop the task.

The profile description:
Profile: Emergency SMS (72)
 Event: Received Text [ Type:Any Sender:* Content:*WAKEUP!* ]
Enter: Alarm! (71)
 Run Both Together
 A1: Play Ringtone [ Type:Alarm Sound:Ticktac alarm Stream:4 ]

Please notice the type when selecting the ringtone, the stream must be set to Alarm. Here the same as a profile to import directly:
<TaskerData sr="" dvi="1" tv="4.1u3m">
 <Profile sr="prof72" ve="2">
  <cdate>1353613002541</cdate>
  <clp>true</clp>
  <edate>1375490668033</edate>
  <id>72</id>
  <mid0>71</mid0>
  <nme>Emergency SMS</nme>
  <Event sr="con0" ve="2">
   <code>7</code>
   <pri>0</pri>
   <Int sr="arg0" val="0"/>
   <Str sr="arg1" ve="3"/>
   <Str sr="arg2" ve="3">WAKEUP!</Str>
  </Event>
 </Profile>
 <Task sr="task71">
  <cdate>1353612708197</cdate>
  <edate>1374917997002</edate>
  <id>71</id>
  <nme>Alarm!</nme>
  <pri>10</pri>
  <rty>2</rty>
  <Action sr="act0" ve="3">
   <code>192</code>
   <Int sr="arg0" val="0"/>
   <Str sr="arg1" ve="3">Ticktac alarm</Str>
   <Int sr="arg2" val="4"/>
  </Action>
 </Task>
</TaskerData>