Detect machine replacements in cantaloupe sync import #12

Closed
opened 2026-05-23 21:44:10 +00:00 by shawn · 0 comments
Owner

Added detect_replacements() function to the cantaloupe sync pipeline that identifies when a new Asset ID appears at the same customer + address as an existing live asset not in the current import.

Confidence levels:

  • high: exact address match
  • medium: same building_name or same street name

Results stored in diff_summary.replacements array for admin review in the Cantaloupe Sync UI.

Commit: 78f4b74

Added `detect_replacements()` function to the cantaloupe sync pipeline that identifies when a new Asset ID appears at the same customer + address as an existing live asset not in the current import. **Confidence levels:** - **high**: exact address match - **medium**: same building_name or same street name Results stored in `diff_summary.replacements` array for admin review in the Cantaloupe Sync UI. **Commit:** 78f4b74
shawn closed this issue 2026-05-23 21:44:10 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/canteen-admin-server#12