Victor Smart-Kill Wifi traps

https://github.com/toreamun/victorsmartkill-homeassistant is an integration for Victor Smart-Kill WI-FI electronic mouse and rat traps from VictorPest.com.

Help is currently needed to add translations files. . Please feel free to contribute if your native language is not supported (English, Norwegian and Swedish is supported).

2 Likes

Thanks. Not working after 2022.7 update?
UPDATE: Now fixed. Thank you!

Seems to have stopped working today. Thanks in advance:

Logger: custom_components.victorsmartkill
Source: helpers/update_coordinator.py:201
Integration: Victor Smart-Kill (documentation, issues)
First occurred: 4:41:49 PM (7 occurrences)
Last logged: 4:46:11 PM

Error fetching victorsmartkill data: {0: {‘trapstatistics’: {‘current_bait’: [‘Unknown field.’], ‘bait_level’: [‘Unknown field.’], ‘last_bait_quantity’: [‘Unknown field.’]}}, 1: {‘trapstatistics’: {‘current_bait’: [‘Unknown field.’], ‘bait_level’: [‘Unknown field.’], ‘last_bait_quantity’: [‘Unknown field.’]}}, 2: {‘trapstatistics’: {‘current_bait’: [‘Unknown field.’], ‘bait_level’: [‘Unknown field.’], ‘last_bait_quantity’: [‘Unknown field.’]}}, 3: {‘trapstatistics’: {‘current_bait’: [‘Unknown field.’], ‘bait_level’: [‘Unknown field.’], ‘last_bait_quantity’: [‘Unknown field.’]}}, 4: {‘trapstatistics’: {‘current_bait’: [‘Unknown field.’], ‘bait_level’: [‘Unknown field.’], ‘last_bait_quantity’: [‘Unknown field.’]}}}

I know that @toreamun has made a schema update since you wrote your post (version 1.1.1?); please retry

Also, I found that the typeguard lib shoots victorsmartkill-homeassistant in the foot; posted a quick manifest that keeps victorsmartkill-homeassistant safe from breaking change, and it’s working for me today. See Update to conflict with breaking typeguard changes by chickenandpork · Pull Request #39 · toreamun/victorsmartkill-homeassistant · GitHub