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

轮询时间修改 #2296

Open
rugal7699 opened this issue Jan 10, 2025 · 2 comments
Open

轮询时间修改 #2296

rugal7699 opened this issue Jan 10, 2025 · 2 comments

Comments

@rugal7699
Copy link

由于缩短轮询时间可能会造成设备负载过高,是否有action可以用于修改轮询时间,方便设定自动化让设备在作动时和闲置时设定不同的轮询时间,减少设备负担。

@al-one
Copy link
Owner

al-one commented Jan 11, 2025

  1. 暂无动作(服务)可以修改轮训,也无计划支持
  2. 可通过自定义选项interval_seconds增加设备默认的轮询时长
  3. 再通过自动化更新指定的属性,参考 (Ainice三体场景传感器 ainice.sensor_occupy.3b 实时触发 #1558)
  4. v1版本支持通过自定义选项chunk_coordinators实现分组轮询
# configuration.yaml
xiaomi_miot:
  device_customizes:
    brand.device.model: # 设备型号
      chunk_coordinators:
        - interval: 30 #
          props: on,mode
        - interval: 60
          props: temperature,humidity

@baobaobuku1210
Copy link

  1. 暂无动作(服务)可以修改轮训,也无计划支持
  2. 可通过自定义选项interval_seconds增加设备默认的轮询时长
  3. 再通过自动化更新指定的属性,参考 (Ainice三体场景传感器 ainice.sensor_occupy.3b 实时触发 #1558)
  4. v1版本支持通过自定义选项chunk_coordinators实现分组轮询
# configuration.yaml
xiaomi_miot:
  device_customizes:
    brand.device.model: # 设备型号
      chunk_coordinators:
        - interval: 30 #
          props: on,mode
        - interval: 60
          props: temperature,humidity

请问大佬,v1版本怎么自定义不需要的实体?

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

No branches or pull requests

3 participants