Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base MSR-2 Configuration Invalid For ESPHome Device Builder Version 2025.2.0 #23

Closed
compmodder26 opened this issue Feb 19, 2025 · 8 comments · Fixed by #24
Closed

Base MSR-2 Configuration Invalid For ESPHome Device Builder Version 2025.2.0 #23

compmodder26 opened this issue Feb 19, 2025 · 8 comments · Fixed by #24
Assignees

Comments

@compmodder26
Copy link

compmodder26 commented Feb 19, 2025

I just installed the latest version of ESPHome Device Builder (2025.2.0). I attempted to edit the friendly name of one of my MSR-2 sensors. When I attempted to install the updated configuration this error was thrown:

INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/apollo-msr-2-aa1bc0.yaml...
Failed config

light.esp32_rmt_led_strip: [source /data/packages/9a51d7a7/Integrations/ESPHome/MSR-2.yaml:497]
  platform: esp32_rmt_led_strip
  id: rgb_light
  name: RGB Light
  pin: GPIO3
  
  This feature is not available for the IDF framework version 5.
  rmt_channel: 0
  default_transition_length: 0s
  chipset: WS2812
  num_leds: 3
  rgb_order: grb
  effects: 
    - pulse: 
        name: Slow Pulse

This error is coming from the base configuration as this is all I have in place for the configuration of the device:

substitutions:
  name: apollo-msr-2-aa1bc0
  friendly_name: Office Presence Sensor
packages:
  ApolloAutomation.MSR-2: github://ApolloAutomation/MSR-2/Integrations/ESPHome/MSR-2.yaml
esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
api:
  encryption:
    key: ***************************


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

sensor:
  - platform: scd4x
    id: !extend scd40 
    temperature:
      name: "SCD40 Temperature"
    humidity:
      name: "SCD40 Humidity"

Looking at the documentation, it appears that rmt_channel is an Arduino configuration variable and may not be compatible with esp-idf.

@lumper5
Copy link

lumper5 commented Feb 19, 2025

I get the same error when I try to update any of my Apollo Sensors using HA's ESPHome Builder. I just upgraded to the Feb 2025 (2025.2.0) release and any attempt to upgrade fails.

@TrevorSchirmer
Copy link
Member

Thanks for letting us know, we really need to set up weekly builds to catch these faster.

It is a change in the newest ESPHome update, the sensors should function just fine without updating. I'm working on the fix for them right now though.

@h3ss
Copy link
Contributor

h3ss commented Feb 19, 2025

I created a PR that should resolve the problem if you're interested. It's tested and working on my own MSR-2s

@compmodder26
Copy link
Author

I created a PR that should resolve the problem if you're interested. It's tested and working on my own MSR-2s

Confirmed working here too

@TrevorSchirmer TrevorSchirmer linked a pull request Feb 21, 2025 that will close this issue
2 tasks
@TrevorSchirmer
Copy link
Member

Fixed in #24 Thanks!!

@lumper5
Copy link

lumper5 commented Feb 21, 2025

I'm still seeing

INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/apollo-msr-2-bf864c.yaml...
Failed config

light.esp32_rmt_led_strip: [source /data/packages/9a51d7a7/Integrations/ESPHome/MSR-2.yaml:497]
platform: esp32_rmt_led_strip
id: rgb_light
name: RGB Light
pin: GPIO3

This feature is not available for the IDF framework version 5.
rmt_channel: 0
default_transition_length: 0s
chipset: WS2812
num_leds: 3
rgb_order: grb
effects:
- pulse:
name: Slow Pulse

When either doing a clean build or upgrade.

My plant sensors updated, but not my msr-2s.

@DKFrederik
Copy link

I'm also still seeing the same error.
I colud switch til the msr-2_ble.yaml and install that, but msr-2.yaml still shows the same error.

@lumper5
Copy link

lumper5 commented Feb 21, 2025

Update: Upgrades are now succeeding on all devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants