
π¬π§ Introducing the "Price Corrector" β When the Community Shapes the Architecture. π"CM Relay"
How it all started: the voice of the community
When building open, community-driven tools, the best features are often the ones that emerge directly from real user needs. Shortly after we published the latest CM Relay architecture overview, a community member reached out on Reddit with a very concrete question:
What if I pay 15% commission on Booking but only 3% on Airbnb? Do I have to manually recalculate prices in my local CM for every unit, or can CM Relay automatically add the difference before sending it out?community member, r/CM_Ecosystem
That short comment was enough to add the CM Relay Price Corrector to the architecture β a small but effective module inside the price-push data cycle.
What is the Price Corrector and how does it work?
The local Channel Manager installation remains the single source of truth for base prices and availability. But every external channel (OTA) charges a different commission. Instead of burdening the local CM with per-channel price math, that job is handled by the Price Corrector inside the CM Relay layer.
Main features (today):
1. A percentage corrector per connection β each mapping (unit + channel) can have its own signed percentage (e.g. Booking.com: +15%, Airbnb: +3%, direct bookings: 0%). The same unit sold on two channels can have two different correctors. 2. Real-time recalculation β when the local CM triggers a price change, the outbox worker sends the base price to CM Relay. Relay multiplies it by that mapping's corrector right before calling the adapter. 3. CM stays untouched β the locally stored price is never modified; the correction happens only on the way out, right before it's pushed to the channel.

[Local CM] -> (Base price: β¬100)
β
βΌ
[CM Relay Outbox Worker]
β
βββΊ [Price Corrector] βββΊ Recalculated per mapping
β ββ Booking (+15%) βββΊ β¬115
β ββ Airbnb (+3%) βββΊ β¬103
βΌ
[ChannexAdapter / Providers] βββΊ Prices updated on external channels
Verified on a real system
This didn't stay theoretical β it was tested against a real Channex sandbox: a base price of β¬100.00 with a +12% corrector correctly landed as β¬112.00 on the target, while every other, unrelated price on the same property stayed untouched.
The power of open development
This addition shows that CM Relay isn't a static piece of code, but a living platform that adapts to real needs on the ground. Special thanks to the Reddit user who suggested it!