My Trail Camera

Popis

My Trail Camera is growing — and moving to its own home.

We’ve decided to give the project its own space at mytrailcamera.pro — a standalone web app with more flexibility than a WordPress plugin can offer: faster updates, no WordPress required, and room to grow well beyond what fits inside wp-admin. This plugin will keep working for existing installations but will not receive further updates.

Kompletný systém správy a ochrany fotopascí pre WordPress.

Whether you have a handful of trail cameras or a whole fleet, My Trail Camera keeps everything organized — models, locations, battery status, accessories, and total investment. And if a trail camera goes missing, the built-in honeypot trap gives you a real chance to get it back.

Trail Camera Management

  • Registrácia fotopascí s modelom, lokalitou, GPS súradnicami, dátumom nasadenia a príslušenstvom
  • 80+ built-in trail camera profiles (Browning, Bushnell, Reconyx, Spypoint, Stealth Cam, Wachman, OXE, and 20+ more brands) with autocomplete search
  • Battery life estimation based on trail camera profile, power type (lithium, solar panel, external), trigger count, recording mode (photo/video), and video resolution (480p–4K)
  • Accessories per trail camera — batteries, SD cards, locks, metal boxes, GPS trackers (AirTag, Tile, Samsung SmartTag), SIM cards — with total gear value in €
  • Trail camera status: active, stored, stolen (with date), tested, recovered, police reported
  • Počítadlo dní v teréne s plánovanou dĺžkou nasadenia a indikátorom priebehu
  • Widget na WordPress dashboarde s počtami aktívnych/odcudzených, upozorneniami na nízku batériu a súhrnom detekcií za 24 hodín
  • Rýchly prístup v admin lište s odznakom počtu nedávnych detekcií
  • Import/export all trail camera data and settings as JSON backup

Ochrana proti krádeži: Honeypot návnada na vašej SD karte

Krádež fotopascí je reálny problém. My Trail Camera bojuje späť — umiestnite skryté HTML súbory na vaše SD karty a keď zlodej otvoria na počítači alebo telefóne, získate jeho IP adresu, GPS polohu a odtlačok zariadenia. Dôkazy, ktoré môžete odovzdať priamo polícii.

  • Funguje s akoukovek fotopaskou, ktorá používa SD karty — nie je potrebný špeciálny hardvér
  • Generate a ZIP with trap files that mimic real trail camera file naming (manufacturer-specific)
  • Zachytené údaje: IP adresa, GPS súradnice s presnosťou, odtlačok prehliadača (OS, rozlíšenie obrazovky, časové pásmo, počet jadier CPU)
  • E-mailové upozornenia v reálnom čase pre viacerých príjemcov — okamžité upozornenie pri každej detekcii
  • Skóre šance na vrátenie (0–100%) na základe presnosti GPS, údajov IP, časového faktora a odtlačku zariadenia — s odporúčanými ďalšími krokmi
  • Theft detection dashboard with per-trail-camera filtering, detection history, and device analysis
  • Režim testu vlastníka — otvorte súbor návnady sami, aby ste overili, že funguje pred nasadením

Recenzie lokalít a hodnotenie

  • Ohodnoťte lokality vašich fotopascí po každom nasadení (aktivita, záujem zveri, ľudské rušenie, spokojnosť)
  • Automatický algoritmus hodnotenia: A (75+), B (50–75), C (25–50), D (pod 25)
  • Interaktívna mapa Leaflet s farebnými značkami — nájdite svoje najlepšie miesta na prvý pohľad
  • Štatistiky: celkový počet recenzií, priemerné skóre, celkový počet dní monitorovania, celkový počet záznamov

Nastavenia a nástroje

  • Konfigurácia e-mailových upozornení s viacerými príjemcami
  • Výber zdroja IP: priame, Cloudflare (CF-Connecting-IP) alebo reverzná proxy (X-Forwarded-For)
  • Public widget visibility controls — choose exactly which fields to show for stolen trail cameras
  • Automatický príspevok k zásadám ochrany osobných údajov — automaticky pridá informáciu o zbere údajov do zásad ochrany osobných údajov vášho webu
  • Nástroje údržby: čistenie osirelených záznamov, manuálne mazanie údajov, optimalizácia databázy
  • Import/export trail cameras, settings, and location reviews as JSON
  • Kontrolný zoznam pre prvé nastavenie
  • KML export pre Google Earth

Súkromie

This plugin connects to external services only when specific features are used. See the FAQ section „Does this plugin use any external services?“ for details including links to service terms and privacy policies. No data is collected from your website visitors.

Externé služby

Tento plugin sa pripája k nasledujúcim službám tretích strán za určitých okolností:

Google Maps

GPS coordinate links. When a trail camera has GPS coordinates, the plugin displays a „Open in Map“ link that opens Google Maps at that location. No data is sent automatically — the link is only followed when the admin clicks it.

OpenStreetMap

Map tiles for location reviews. Trail camera GPS coordinates are displayed on interactive maps using Leaflet.js with OpenStreetMap tile layers.

Freemius

Platforma pre licencovanie softvéru a analytiku používaná na voliteľné aktualizácie pluginu a správu upgradu. Zabezpečuje overovanie licencií a poskytuje cestu upgradu na verziu Pro.

Obrázky

  • Dashboard — trail camera inventory with status, battery estimation, days in field, theft damage overview, and quick actions.
  • Trail camera detail — specifications from built-in profile database, dates & statistics, security features, and visual timeline history.
  • Location reviews — map overview with score comparison, review statistics, and detailed rating for each monitored location.
  • Settings — advanced configuration with tabs for security, public widgets, custom models, integration, maintenance, and email import.

Inštalácia

  1. Nahrajte priečinok pluginu do adresára /wp-content/plugins/
  2. Aktivujte plugin cez menu „Pluginy“ vo WordPresse
  3. Prejdite do menu vo vašom admin paneli
  4. Add your first trail camera and configure notification settings

Časté otázky

Ako fungujú súbory návnad?

The plugin generates HTML files that you place on your trail camera SD cards. If someone steals the trail camera and opens these files on their computer, the files silently report the thief’s location and device information back to your WordPress site.

Funguje to s akoukoľvek fotopaskou?

Áno, funguje s akoukoľvek fotopaskou, ktorá používa SD karty. Súbory návnad sú štandardné HTML súbory, ktoré fungujú na akomkoľvek počítači alebo telefóne s webovým prehliadačom.

Je sledovanie GPS presné?

Presnosť GPS závisí od prehliadača a zariadenia zlodeja. Moderné prehliadače môžu poskytnúť presnosť v rozsahu 10–500 metrov, keď používateľ povolí prístup k polohe. Systém tiež zachytáva polohu na základe IP ako záložný zdroj.

Aké údaje zbierajú súbory návnad a od koho?

Bait files collect IP address, browser fingerprint (user agent, screen resolution, timezone, OS), and optionally GPS coordinates — only when someone opens the HTML file from a stolen SD card. No data is collected from your website visitors. The trail camera owner can also open the bait file to verify it works, which marks the trail camera as „tested“ using their own IP. All collected data is stored in your site database and can be deleted at any time. Data is automatically deleted after 90 days.

Používa tento plugin nejaké externé služby?

Áno. Všetky externé služby sú plne zdokumentované v sekcii „Externé služby“ nižšie. Zhrnutie:

  1. Google Maps — odkazy na GPS súradnice (iniciované používateľom, žiadny automatický prenos údajov).
  2. OpenStreetMap — mapové dlaždice pre zobrazenie lokalít. Odosiela súradnice zobrazovanej oblasti.
  3. Freemius — správa licencií a voliteľná analytika. Voliteľné.

Od návštevníkov vášho webu sa nezbierajú žiadne údaje. Všetky služby sú zdokumentované s odkazmi na podmienky používania a zásady ochrany osobných údajov v sekcii „Externé služby“.

Poznámka: Plugin generuje KML súbory pre export do Google Earth. Odkaz na KML XML namespace (opengis.net/kml) je štandardný identifikátor XML schémy — na túto doménu sa neposielajú žiadne údaje.

Recenzie

Pre tento plugin nie sú žiadne recenzie.

Prispievatelia a vývojári

“My Trail Camera” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

„My Trail Camera“ bol preložený do 1 jazyka. Ďakujeme prekladateľom za ich príspevky.

Preložiť „My Trail Camera“ do vašho jazyka.

Máte záujem o vývoj?

Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.

Zoznam zmien

8.2.6

  • Maintenance Export: backup JSON now covers every table the user can populate — added detections, file tokens (bait-file authentication for already-deployed SD cards), and 32 additional settings (notifications, IP source, all 21 public-widget visibility toggles, plus the email-import config block under PRO)
  • Detection records are exported and re-imported with their original IDs preserved so the captured-phone foreign key (log_id) remains valid round-trip
  • Location review import now preserves the per-review weather snapshot, the stored score/rating, and (PRO) the technical-issue flag — re-calculating these on a different site without the original weather data would otherwise change the result
  • Fixed: Maintenance Export wrote an empty custom_text field because it read the wrong option key. The export now reads mtcam_email_custom_text so the email „custom text“ survives the round trip

8.2.5

  • Notice: My Trail Camera is growing and moving to its own home — a standalone web app at https://mytrailcamera.pro/. This plugin will keep working for existing installations but will not receive further updates. A dismissible admin notice points users to the new home.
  • Add Camera form: power type selector now visible (previously only on Edit form, so newly added cameras silently defaulted to lithium even when the chosen profile was solar-only)
  • Add Camera form: power-type options filtered live from the picked trail camera profile (e.g. a solar-only camera no longer offers Lithium)

8.2.4

  • Battery model dropdown on Edit Camera — 25 real products grouped by format (AA, AAA, 18650, 21700, built-in packs): Energizer Ultimate L91, Varta Professional Lithium, GP Extra, Fujitsu Premium, Panasonic NCR18650B/GA, Samsung 35E/30Q/50E/40T, LG MJ1/HG2, Molicel M35A/P42A, Sony VTC6, plus generic fallbacks
  • New „Number of cells“ field — selected battery × cell count replaces the old profile-level capacity default; live capacity preview in the form
  • Chemistry-aware temperature factor: LiFeS₂ primaries hold 90–97 % capacity down to -20 °C (matches Energizer L91 datasheet), Li-ion keeps the conservative curve. Previous calc underestimated winter runtime on AA lithium cameras by ~30–40 %
  • Self-discharge now modelled — Li-ion packs lose 2 %/month passively, LiFeS₂ ~1 %/year
  • One-time migration backfills battery_preset / cell_count from each profile’s battery_type string
  • Alkaline batteries removed from power-type options (lithium is the only sensible choice); existing cameras with power_type=’alkaline‘ migrated to ‚lithium‘ on upgrade
  • Edit form Price & Accessories consolidation — Security and GPS Trackers merged into one priced list; total value adds prices of every ticked item
  • New price fields for security layers (Metal Box, Cable Lock, Padlock, Password, Monitored by another trail camera) and GPS trackers (AirTag, Tile, SmartTag, Other)
  • Removed duplicate accessory entries that overlapped with Security/GPS items (Lock, Metal Box, GPS Tracker); one-time migration copies their values into the canonical fields
  • Add Camera handler reuses the shared process_camera_fields() helper — single source of truth with the edit handler
  • Fixed: acc_metalbox checkbox from the Add Camera form was silently dropped on save
  • Power-type icons deduplicated via new mtcam_get_power_icon() helper in labels.php
  • Fixed: owner-test detection falsely matched IPv6 (or any non-IPv4) addresses — strrpos($ip, ‚.‘) returned false, collapsing both subnets to empty strings so any two non-IPv4 IPs with identical user-agent were treated as the same network. Subnet match is now guarded by FILTER_FLAG_IPV4 and skipped for IPv6/unknown addresses; exact IP+UA match is unchanged
  • Fixed: mtcam_camera_exists() cached its result in object cache but the cache was never invalidated on save/delete — within a single request a check-then-add flow could see a stale false. mtcam_invalidate_cameras_cache() now optionally takes a camera ID and clears the per-camera existence cache

8.2.3

  • Renamed trail camera status „stored“ to „at home“ across all code, comments, and UI
  • CSS class renamed from mtcam-status-stored to mtcam-status-home
  • „At Home“ state cleanup: deployment data (location, GPS, deploy date/time, battery, solar, recording settings, terrain, last check) is cleared when a trail camera goes home, via a central helper used by End Monitoring and edit form
  • Trail camera detail: Battery & Solar section and GPS map link hidden when camera is at home
  • Edit form: GPS, Deploy date/time, Planned stay, Recording Settings and Battery Status hidden when camera is at home
  • Dashboard: battery bar no longer shown for cameras at home
  • IMEI row hidden for trail cameras without SIM (non-4G models)
  • Check button (record servicing visit) now available in the free version
  • Fixed: Check action no longer shows a silent blank page when the trail camera no longer exists — redirects back with an error notice
  • Locations page: new Score Comparison bar chart; derived metrics Vid/day, Notable %, People/day; date range shown under days count
  • Locations page: new technical issue flag — monitoring that failed for technical reasons (dead batteries, bad SD card) can be kept in history but excluded from score averages and chart
  • Locations page: edit existing location reviews — change any field and toggle the technical issue flag retroactively
  • Locations page: flagged reviews shown dimmed with ⚠️ badge in the table, grey marker with dashed border on the map
  • Locations page: fixed weather summary not counting cloudy days
  • Slovak translations for all new strings

8.2.2

  • Security: file token verification — each generated trap file gets a unique token stored in DB, REST API verifies token before recording detection
  • Security: backward compatible — old trap files without token still work
  • Fixed raw cURL error messages shown when weather API is unavailable — now shows user-friendly message
  • Weather API errors cached for 5 minutes to prevent repeated timeouts slowing down the dashboard
  • Weather API timeout reduced from 10s to 5s
  • Tested trail cameras no longer get false recovered_date when unmarking stolen status
  • Existing recovered_date cleared automatically when editing a tested trail camera
  • Fixed „End Monitoring“ form not saving — nonce mismatch prevented location review from being created
  • Fixed „Quick Check“ form silently failing due to same nonce routing issue
  • Fixed location map not rendering — Leaflet loaded in header before inline map script was attached
  • Fixed weather detail toggle not responding to clicks on Locations page

8.2.1

  • Trail camera profiles: 80+ built-in models (Wachman, OXE, Spypoint, Browning, Bushnell, Stealth Cam, Tactacam, Moultrie, Reconyx, GardePro, and 20+ more brands)
  • Profily rozdelené do súborov podľa výrobcu (includes/profiles/*.php) — jednoduché pridávanie nových modelov
  • Automatické dopĺňanie profilu: textový vstup s okamžitým filtrovaním podľa výrobcu/modelu, zoskupené podľa výrobcu s počtom modelov
  • Video resolution setting: per-trail-camera select populated from profile (480p–4K), affects battery estimation
  • Vylepšenia odhadu batérie: používa kapacitu batérie z profilu, spotrebu v pohotovostnom režime, spotrebu 4G a spotrebu na fotku namiesto pevne zadaných konštánt
  • Výpočet batérie v režime foto: realistická spotreba na udalosť z profilu (drain_photo × 1.8 pre noc/IR)
  • Faktor spotreby podľa rozlíšenia: vyššie rozlíšenie = proporčne vyššia spotreba videa (1080p=1.0, 2K=1.15, 4K=1.30)
  • Spotreba nočného videa aktualizovaná zo 600 na 750 mA (realistickejšie pre IR nasvietenie + spracovanie)
  • Trail camera detail: new „Trail Camera Profile“ section showing specs (FOV, battery, video, features, drain values, tip)
  • SIM card accessory and IMEI field hidden for trail cameras without 4G capability (profile-aware)
  • Kovový box pridaný k príslušenstvu so sledovaním ceny; aktualizovaný názov sekcie Bezpečnosť
  • Edit form: trail camera model displayed as readonly text (not editable — model is physical)
  • Presunuté thor_get_camera_total_value() a thor_battery_color() z cameras-battery.php do core-helpers.php
  • Opravy údajov profilov: overené FOV (objektív vs PIR), kapacita batérie, rozlíšenia videa, SIM/WiFi/solárne príznaky pre všetky modely
  • Slovenské preklady: 1059 položiek — všetky tipy profilov, typy batérií a reťazce UI preložené
  • Aktualizovaný skompilovaný .mo súbor prekladov
  • Pridaná dokumentácia externých služieb do readme
  • Inline script/style tagy nahradené za wp_add_inline_script a wp_add_inline_style
  • Opravená konfigurácia Freemius SDK pre súlad s WordPress.org

8.2.0

  • Vylepšené escapovanie výstupov pre úplný súlad s WordPress kódovacími štandardmi
  • Opravená kompatibilita s PHP 7.4 (str_contains nahradené za strpos)
  • Priama sanitizácia superglobálov $_SERVER
  • Enhanced battery estimation and trail camera management

8.1.1

  • Zjednotený prefix na thor_ pre súlad s WordPress.org
  • Automatická migrácia z predchádzajúcich verzií
  • Posílenie bezpečnosti: escapovanie, pripravené dotazy, kontroly oprávnení
  • Vylepšená hlavička pluginu s povinnými poľami

8.1.0

  • Database-backed trail camera storage (migrated from wp_options)
  • Systém hodnotenia lokalít s interaktívnou mapou
  • Odhad batérie
  • Overovanie HMAC podpisu pre komunikáciu súborov návnad
  • Obmedzenie rýchlosti a ochrana nonce