You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LyraT board, unable to release pin 18 for I2C (temperature usermod) #216
Hi, I've just received a LyraT board to access the line in, attempting to configure as below.
The temperature user mod is disabled but am unable to select pin 18 for I2C, shows as unavailable and associated with Temperature. Temperate user mod is disabled, tried to set Temperature usermod to undefined, seems to hang when saving, same when selecting other unused pins.
Pinmanager shows Temp as enabled = false.
Using the V14.5.0 beta
Type: ES8388
Pin I2S SD: 35
Pin I2S WS: 25
Pin I2S SCK: 5
Pin I2S MCLK: 0
Pin I2C: 18
Pin I2C SCL: 23
Squelch: 5
Gain: 20
AGC: Normal
To Reproduce Bug
Attempt to select pin for I2C, shows unavailable and associated with the Temperature user mod which is disabled.
Expected Behavior
I expected to be able to select pin 18 once having disabled temperature.
Install Method
From MoonModules Release Page
What version/release of MM WLED?
build 2412180 WLEDMM esp32_4MB_M.bon
Which microcontroller/board are you seeing the problem on?
changed the title [-]LyraT board, unable to release pin 19[/-][+]LyraT board, unable to release pin 18 for I2C (temperature usermod)[/+]on Oct 23, 2025
Unfortunately usermods always "grab" PINs that are configured for them, even when the usermod is disabled. WLED-MM has inherited this behaviour from upstream. We have worked around this "pin stealing" problem in some cases, but did not succeed for all usermods. The safest solution is to change problematic usermod pins either to "-1" (unassigned) or to an unused pin, then reboot.
I2C pins have an additional problem - the I2C driver can be started but it cannot be stopped by our software. So to re-assign I2C pins, a reboot is needed after changing the pin assignment. The same could be true for the temperature sensor pin, which is driven by external library called "onewire".
Activity
netmindz commentedon Sep 20, 2025
Just assign temperature to a different pin
[-]LyraT board, unable to release pin 19[/-][+]LyraT board, unable to release pin 18 for I2C (temperature usermod)[/+]softhack007 commentedon Oct 23, 2025
Unfortunately usermods always "grab" PINs that are configured for them, even when the usermod is disabled. WLED-MM has inherited this behaviour from upstream. We have worked around this "pin stealing" problem in some cases, but did not succeed for all usermods. The safest solution is to change problematic usermod pins either to "-1" (unassigned) or to an unused pin, then reboot.
I2C pins have an additional problem - the I2C driver can be started but it cannot be stopped by our software. So to re-assign I2C pins, a reboot is needed after changing the pin assignment. The same could be true for the temperature sensor pin, which is driven by external library called "onewire".