Victor Smart Kill Integration Request #2

3 years ago I had asked if anyone knew of or could create an integration for HE for the Victor Smart Kill mouse and rat traps. @snell responded, but I couldn’t get any information off the trap aside from serial and IP address.

However, I just came across this which intercepts information through a browser. It works as I retrieved all my trap information from the Victor server.

Here’s a link to the simple page which authenticates and retrieves the info.
https://n-wach.github.io/victor-trap-monitor/

Is there some way to “easily” take this information and create a HE notification? I’m looking to integrate this into Echo Speaks to announce it through my house. Hopefully there’s something already out there that could allow me to plug in my credentials, look to a server and parse out the portion which is triggered and alert HE. Unfortunately, I’m clueless at coding for HE.

Background: I have a shed near woods as well as a Prius that mice keep getting into my LIon battery and blower motors (had to disassemble the car to get at them…) I’m also deathly allergic to these guys.

Here’s the info pulled from my login with redactions:

mousekiller

Last updated: 10/20/2024, 11:27:14 AM

Battery: 81%

Kills present: 1


Raw JSON

{
  "id": 136**,
  "url": "https://www.victorsmartkill.com/traps/136**/",
  "corruption_status": 0,
  "operator": null,
  "name": "mousekiller",
  "ssid": "****",
  "serial_number": "WM17****",
  "auto_upgrade": false,
  "status": 0,
  "location": "https://www.victorsmartkill.com/locations/*****/",
  "lat": "****",
  "long": "*****",
  "upgrade_firmware": null,
  "commercial_gateway": null,
  "commercial_monitor_mode_enabled": false,
  "lorawan_app_key": "****",
  "floor_plan_x": 0,
  "floor_plan_y": 0,
  "room": null,
  "trap_type": 2,
  "trap_type_verbose": "Mouse Trap",
  "alerts": 279614,
  "trapstatistics": {
    "id": 13600,
    "url": "https://www.victorsmartkill.com/trapstatistics/13600/",
    "trap": "https://www.victorsmartkill.com/traps/13600/",
    "trap_name": "mousekiller",
    "kills_present": 1,
    "install_date": "2024-08-21T20:09:10.499513Z",
    "owner_name": "*****",
    "owner_email": "****",
    "last_report_date": "2024-10-20T15:27:14.125903Z",
    "last_kill_date": "2024-10-20T07:27:47.051850Z",
    "temperature": 258,
    "battery_level": 81,
    "total_kills": 6,
    "total_escapes": null,
    "rx_power_level": -26,
    "firmware_version": "1.3.2",
    "trap_provisioned": true,
    "last_sequence_number": null,
    "total_retreats": null,
    "wireless_network_rssi": -26,
    "error_code": 0,
    "send_conn_lost_nt": true,
    "send_empty_trap_nt": false,
    "board_type": "WEMT",
    "last_maintenance_date": "No maintenance records exist.",
    "bait_level": null,
    "current_bait": null,
    "last_bait_quantity": null
  }
}

Also, it appears the person who originally figured out how to intercept this information built a Home Assistant version (I’m no longer running HA):

GitHub - toreamun/victorsmartkill-homeassistant: Home Assistant integration for Victor Smart-Kill WI-FI electronic mouse and rat traps from VictorPest.com.

Doesn’t look like it would be too hard to convert the JS to Groovy…

I didn’t want to post the converted code here (possibly too long) but would something like this AI converter or others work? What else needs to be done?

Never tried it, it might…. Would then need to put the app/driver base code in, but…

1 Like

I realize these things are never easy or straightforward. I was just hoping someone else on here happened to have one and knew how to more easily integrate it than I currently do. Perhaps if some spare time comes up in a few months from now, I’ll take a look at the coding examples and see if it’s something I can figure out.

My Victor Smart kill Wi-Fi Mouse Trap is no longer connecting. Post the other day on Reddit says Victor had shut down the servers for these mouse traps and they will just work as dumb tap now.

Would be great now more than ever if they could be integrated into Hubitat directly. Will probably be a lot of cheap traps being blown out soon.

That's not likely to happen, as the above is basically "acting like a browser" to basically reverse engineer the web conversation, then you would have HE talk to their cloud, and pull out the bits you want.

But...

It sounds like their cloud and servers are gone, there is nothing for HE to talk to anymore, and while you could do a MITM attack against the trap, your going to have to spoof their certificate, and stage a local DNS entry to replace their servers, and possibly hack the firmware on the device to load your own cert, or pull off the private keys - None of which is easy.

Your better off just bolting an esp32 onto the thing, tie into the few IO points involved (trap ID, trap set, trap triggered, battery level) - How much IO can this thing have.

It's clear the device is expecting to connect to your home WiFi from the install directions, and it wants to reach out to their cloud: https://www.victorpest.com/media/wysiwyg/vp/pdf/vp-us-manual_WiFi_Manual.pdf

Which apparently is no more. - It's not possible to do a direct connect via WiFi, and it doesn't support Matter, Zigbee or Zwave. And finally, it's not even that highly reviewed on [Amazon](https:// www.amazon.com/product-reviews/B07HR987YB/ref=acr_dpx_hist_1?ie=UTF8&filterByStar=one_star&reviewerType=all_reviews#reviews-filter-bar)

IMHO, You better off just instrumenting and tying a contact closure to a Shelly or Zooz17 on a SnapTrap - FYI, There is a reason this company gave up on these.. And at the $50 price, no one will morn their passing (versus the $3 SnapTrap)

1 Like

FWIW I've got ThirdReality vibration sensors glued to some (non-Victor) electronic traps and set on high sensitivity - works pretty well.

4 Likes

That's an incredible hack!

A little late to this game but I saw a notice that Victor was extending their server support. I'm not sure how long for, but my traps haven't been connecting anyways. I think @hubitrep might be on to something which is a much better solution.

I do wonder if there's a way to connect something like terminals on a sensor to intercept the lights which turn red when something is caught. I'm assuming the mouse completes a circuit which triggers the light. But I wouldn't even know where to begin with this.