I love automation—a lot! I don’t like doing things more than once, so I created flows that fill this blog with content based on various sources and integrations. Let’s get started!The process of generating posts on this WordPress blog is fully automated, integrating multiple technologies to gather, analyze, and publish content seamlessly.
1. Collecting Location Data
Location data is collected from various sources:
- Home Assistant gathers data from your phone, tablet, and car radio every 10 minutes.
- Photos taken include EXIF metadata with location details.
- The campervan’s router, equipped with GPS, transmits data over TCP every minute, which is processed via Node-RED and sent to Dawarich.
2. Centralized Travel Data Storage in Dawarich
Dawarich functions as a database for all travel-related information, aggregating data from:
- Home Assistant
- Immich
- Node-RED
Each trip created in Dawarich contains:
- Metadata (car type, accomodation etc)
- Excerpt
- Full description
This data is stored as JSON in the default Dawarich description field.
3. Node-RED: Logic for Content Processing
Node-RED is responsible for analyzing, processing, and preparing content for WordPress:
- Filtering images retrieved from Immich (excluding faces and including allowed tags).
- Uploading missing images and cover photos to WordPress.
- Generating post content, metadata of trips, maps, and photo galleries for WordPress.
- Publishing and updating posts via the WordPress API.
This automated system ensures that posts are generated dynamically in consistent form, combining location data, images, metadata, and travel routes into this blog content.