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
#!/bin/bash
# First, let's look at the issue to understand what it's about
gh issue view 5643 --repo wled/WLED
echo "---"
# Search for open PRs mentioning platformio_override.sample.ini
gh pr list --repo wled/WLED --state open --search "platformio_override.sample.ini" --json number,title,url,createdAt
echo "---"
# Also search for PRs that might reference issue `#5643`
gh pr list --repo wled/WLED --state open --search "5643" --json number,title,url,createdAt
echo "---"
# Search for any PRs (open or closed) that touch platformio_override.sample.ini
gh pr list --repo wled/WLED --state all --search "platformio_override.sample.ini" --json number,title,url,state,createdAt --limit 10
#!/bin/bash
# Get the full diff of PR `#5190`
gh pr diff 5190 --repo wled/WLED | head -200
echo "=== SEARCH FOR DALLAS IN PR DIFF ==="
gh pr diff 5190 --repo wled/WLED | grep -i "dallas\|DALLASTEMPERATURE\|Temperature\|custom_usermods" || echo "No matches found"
Length of output: 6150
@DedeHai, based on my search, there is no open PR that specifically fixes the -D USERMOD_DALLASTEMPERATURE issue described in this ticket.
The closest open PR is #5190 "platformio sample cleanup" by @netmindz, which does modify platformio_override.sample.ini, but its scope is limited to removing legacy/bespoke board configurations — it does not address the incorrect USERMOD_DALLASTEMPERATURE build flag. You've already approved that PR, but the Dallas Temperature fix still needs to be applied separately.
The fix would involve replacing occurrences of -D USERMOD_DALLASTEMPERATURE in platformio_override.sample.ini with the correct custom_usermods approach:
custom_usermods = ${env:esp32dev.custom_usermods}
Temperature
Would you like me to open a new issue to track this fix, or would you prefer to handle it directly?
Activity
DedeHai commentedon May 23, 2026
@coderabbitai is there an open PR that updates platformio_override.sample.ini to fix this?
coderabbitai commentedon May 23, 2026
🧩 Analysis chain
🏁 Script executed:
Length of output: 5276
🏁 Script executed:
Length of output: 999
🏁 Script executed:
Length of output: 6150
@DedeHai, based on my search, there is no open PR that specifically fixes the-D USERMOD_DALLASTEMPERATUREissue described in this ticket.The closest open PR is
#5190"platformio sample cleanup" by@netmindz, which does modifyplatformio_override.sample.ini, but its scope is limited to removing legacy/bespoke board configurations — it does not address the incorrectUSERMOD_DALLASTEMPERATUREbuild flag. You've already approved that PR, but the Dallas Temperature fix still needs to be applied separately.The fix would involve replacing occurrences of
-D USERMOD_DALLASTEMPERATUREinplatformio_override.sample.iniwith the correctcustom_usermodsapproach:custom_usermods = ${env:esp32dev.custom_usermods} TemperatureWould you like me to open a new issue to track this fix, or would you prefer to handle it directly?