Casamia: self check-in and home automation for a short-term rental

An app, a website and a small in-house server that let guests in on their own and kept the air conditioners under control.

Guests let themselves in without calling, and the air conditioners stayed within limits with no manual intervention.

Client
Casamia, Bologna
My role
Concept, design and development of the entire system
Duration
2024–2026, completed
Industry
Short-term rental hospitality

From arrival to an open door

  1. Step 1The guest opens the app or the website
  2. Step 2The website checks that the booking is active
  3. Step 3Codes and controls appear only during the stay
  4. Step 4The command reaches the in-house mini server
  5. Step 5The front door opens

The context

Casamia was a short-term rental apartment in Bologna, listed on Airbnb and Booking.com. Getting in meant a street door, an inner door, a keypad lock and a key safe, and guests were often foreigners on their first visit, sometimes arriving at short notice.

Two things were needed: letting them in on their own, without anyone from the house being there, and preventing extreme air-conditioner settings, like 16 degrees with 35 outside. The project ended when the rental activity closed, in December 2026.

What I did

  • A guest app for iOS and Android. It opens the building’s two doors with a swipe gesture, shows the lock code, the safe code and the Wi-Fi password only during the booking, and guides the arrival with photos of each step, in Italian, English and Polish.
  • The website as control center and backup plan. It checks bookings and manages accounts; guests who didn’t want to install the app could open the doors from the browser, with the same credentials.
  • An in-house mini server wired to the doors. It receives the command and triggers the door openers; a private network allows secure remote administration.
  • Air conditioners under control. The units had no public interface: I worked out the protocol to talk to them over the local network. A service checks them every minute and automatically corrects out-of-range settings, without disturbing the guest.

The results

  • 0calls needed to get in, after the check-in guide was redesigned
  • 98automatic air-conditioner corrections in the first three weeks
  • 14app versions published on the App Store and Google Play, in three languages

How I worked

I handled everything, from the initial need to day-to-day operation: app, website, hardware, network and security. Every decision came from real use: I redesigned the check-in guide with a progress counter, and from then on guests got in without calling. The later updates I carried out with AI assistants, keeping choices, review and validation with me.

The method

Have a project with similar needs?

Tell me about your project

Technical details

Architecture

  • Flutter app for iOS and Android: checks the active booking on WordPress, then sends the open command over HTTPS directly to the mini server.
  • WordPress as API server: custom REST endpoints for bookings and codes, JWT authentication, guest and admin roles with the same credentials for app and website.
  • Tokens stored in the operating system’s encrypted storage: Keychain on iOS, Keystore on Android.
  • Raspberry Pi with a relay board for the door openers; self-hosted WireGuard VPN in split tunnel, with SSH and FTP closed to the internet.

Air conditioners with no public API

  • Local-network integration of two Olimpia Splendid units through the Midea V3 protocol and the msmart-ng library.
  • Asynchronous Python service running as a systemd daemon: checks every 60 seconds, thresholds calibrated on behavior observed in the logs, beep muted and display turned off after each correction.
  • Startup independent of the manufacturer’s cloud thanks to a local token cache, with automatic fallback.
  • Time synchronization over HTTP with htpdate, on a line that blocks NTP and on hardware with no RTC clock.

Release and maintenance

14 versions published on the App Store and Google Play between 2024 and 2026, up to the Android 16 target required by Google Play in 2026. Every library update was assessed so as not to invalidate credentials already saved on devices. Interface and guides in three languages: Polish was added with a new translation file, without touching the screens.

Technologies

  • Flutter
  • Dart
  • PHP
  • WordPress
  • Python
  • Raspberry Pi
  • Debian
  • systemd
  • WireGuard
  • JWT