ovos-i2c-detection
July 31, 2026 ยท View on GitHub
This repo holds auto-detection scripts for I2C devices used by OpenVoiceOS.
Each function probes the I2C bus (or a serial port, for the Mark 1) and returns
True or False for the presence of a specific device.
Install
pip install ovos-i2c-detection
Usage
from ovos_i2c_detection import is_sj201_v6, is_wm8960, is_mark_1
if is_sj201_v6():
print("sj201 v6 dev kit detected")
The package provides these detection functions:
- Mycroft sj201 sound card
is_sj201_v6- v6 dev kitis_sj201_v10- v10 production unit
is_texas_tas5806- Texas Instruments TAS5806 audio amp (used for sj201_v10 detection)is_wm8960- WM8960 devices, including the ReSpeaker 2mic and the Adafruit 2micis_respeaker_4mic- ReSpeaker 4micis_respeaker_6mic- ReSpeaker 6micis_adafruit_amp- Adafruit audio ampis_mark_1- Mycroft Mark 1 deviceis_hifiberry_dac_pro- HiFiBerry DAC Pro
Related projects
- OpenVoiceOS/ovos-PHAL - hardware abstraction layer that uses this package for device detection
- OpenVoiceOS/ovos-PHAL-plugin-mk1 - Mark 1 enclosure plugin
- OpenVoiceOS/ovos-PHAL-plugin-dotstar - DotStar LED plugin
- OpenVoiceOS/ovos-PHAL-plugin-mk2-v6-fan-control - Mark 2 v6 fan control plugin
- OpenVoiceOS/ovos-skill-mark1-ctrl - Mark 1 control skill