0.34:全新的遥控器组件、WebSocket、Sonarr,以及 GPSLogger

来吧……0.34。我们就叫它“圣诞老人”发布吧。鲁道夫比预期跑得更快,雪橇上装满了各种好东西。当然,还有 @pvizeli@balloob 在异步编程上的更多工作、新组件、新平台、重大改进,以及更多内容。

GPSLogger

借助 @dainok 的工作,你可以在 Android 设备上启用地理定位功能,并通过 GPSLogger 应用使用 GPS 或 WiFi 网络进行位置追踪。GPSLogger 支持多种定位来源:被动模式会直接使用 Android 最近一次已知位置,不会主动启用 GPS 传感器,也不会扫描 WiFi 网络。

遥控器组件

@iandday 打造的全新 remote 组件,将简化各种遥控控制单元的集成。这个发布已经包含了首个 Harmony 平台。

HomeMatic

HomeMatic 组件迎来了一些值得一提的更新:

  • 新增服务
    • reconnect:无需重启 Home Assistant,即可重新连接到你的 CCU/Homegear。
    • set_dev_value:即使某个设备尚未被 Home Assistant 原生支持,也可以手动控制。
  • 支持多个 HomeMatic 主机
  • 支持 HomeMatic Wired(大多数设备)和 HomeMatic IP(部分设备)
  • 各种改进与修复,尤其是 HM-Sec-Key(KeyMatic)相关内容

支持多主机是因为现在允许将无线、有线和 IP 设备进行混合配置。这一变化的代价是此次更新会带来不兼容变更(同时 set_value 服务也已重命名)。不过,新增的能力和可能性是值得的。

WebSocket API

这个发布包含了由 @balloob 开发的全新 websockets API,为下一代 Home Assistant 前端提供基础支持。当前前端已经部分迁移到该 API,未来还会继续推进。

All changes

发布 0.34.1 - December 4

This 发布 has a bunch of bug fixes including a big one: emulated_hue will now work with Google Home! We usually reserve patch releases for small bug fixes but we considered this more impactful bug fix so important that we're including it now instead of having people wait two weeks.

To make the fix backwards compatible (it is a patch 发布 after all) you will have to add two new 配置 option to emulated_hue to have it work with Google Home:

emulated_hue:
  type: google_home
  # This is important. Sadly, Google Home will not work with other ports.
  listen_port: 80

We are working on a better solution for 0.35.

发布 0.34.2 - December 5

  • Fix Nest interpreting Celsius as Fahrenheit and converting it (@balloob)
  • Fix Nest 传感器 platforms throwing 错误 (@technicalpickles)
  • 前端 will now always show persistent_notification and configurator 实体 even if not part of the active view (@balloob)
  • Fixed media player 卡片 taking up unnecessary space (@balloob)

发布 0.34.3 - December 6

  • Fix Hook connections (@dasos)
  • Fix random websocket connections (@balloob)
  • Fix Google Home sometimes not finding our emulated_hue (@jawilson)
  • Fix EnOcean config validation (@rubund)

发布 0.34.4 - December 7

  • Fix InfluxDB without 认证 (@balloob)
  • Fix Kodi without 认证 (@balloob)
  • Fix incorrect caching of /api/error_log (@armills)
  • Fix incorrect ordering of 服务 calls which could cause delays between turning on multiple 实体 (@balloob)
  • Fix Nest 温控 temperature issues (@technicalpickles)

发布 0.34.5 - December 12

Backward-incompatible changes

  • The HomeMatic component now uses a different syntax for hosts and the set_value 服务 has been renamed.
  • All RFXtrx 传感器 will get a new 实体 ID.
  • The 前端 now uses websockets. If you run a server in front of Home Assistant, you will have to 更新 your config (example nginx)
  • Nest contains changes which will require your attention.

If you need help...

...don't hesitate to use our Forum or join us for a little chat. The 发布 notes have comments enabled but it's preferred if you use these communication channels. Thanks.

Reporting Issues

Experiencing issues introduced by this 发布? Please report them in our issue tracker. Make sure to fill in all fields of the issue 模板.