当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

homebridge-philips-air

授权协议 BSD-2-Clause License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 万浩淼
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

homebridge-philips-air

Homeridge Plugin for Philips Air Purifiers

�� Foreword ��

This plugin is now using py-air-control directly to enable support for newer Philips connected air purifier models.

�� Installation ��

  1. Install Homebridge using the official instructions.
  2. Install this plugin using sudo npm install -g homebridge-philips-air --unsafe-perm.
  3. Run command in your console sudo chmod -R 777 /usr/lib/node_modules/homebridge-philips-air/sensor.
  4. Update your configuration file. See configuration sample below.

If you're using HTTP protocol:

  1. Install pip and git using sudo apt install python3-pip git.
  2. Install py-air-control using sudo pip3 install py-air-control.

If you're using CoAP protocol:

  1. Install pip and git using sudo apt install python3-pip git.

  2. Install py-air-control using sudo pip3 install py-air-control.

  3. Update CoAPthon3 using sudo pip3 install -U git+https://github.com/Tanganelli/CoAPthon3@89d5173.

    For new firmware version

    (Who get error Unexpected error:'NoneType' object has no attribute "payload")

    1. Found coap_client.py path using sudo find / -name *coap_client.py.
    2. Open file coap_client.py in line 91 change timeout to 60,line 145 same and line 174 add timeout=60 after encrypted_payload
    3. Change in plugin settings Timeout Seconds to 30 or 60.

If you're using Plain CoAP protocol:

  1. Install pip and git using sudo apt install python3-pip git.
  2. Install py-air-control using sudo pip3 install py-air-control.
  3. Update CoAPthon3 using sudo pip3 install -U git+https://github.com/Tanganelli/CoAPthon3@89d5173.
  4. Allow non-root to send pings using echo "net.ipv4.ping_group_range=0 1000" | sudo tee -a /etc/sysctl.conf.
  5. Update running sysctl configuration using sudo sysctl -p.

�� Configuration ��

Edit your config.json accordingly. Configuration sample:

"platforms": [{
    "platform": "philipsAir",
    "devices": [{
        "name": "Living Room Purifier",
        "ip": "10.0.1.16",
        "protocol": "http"
    }]
}]
Fields Description Required
platform Must always be philipsAir. Yes
name For logging purposes. No
timeout_seconds Number of seconds to wait for a response from the purifier. (Default: 5) No
devices Array of Philips air purifiers (multiple supported). Yes
- name Name of your device. No
- ip IP address of your device. Yes
- protocol Protocol used by your device: http (default), plain_coap, coap No
- sleep_speed Does this device support 'sleep' speed? No
- light_control Expose device lights as lightbulbs. No
- allergic_func Does this device support 'allergic' function? No
- temperature_sensor Expose device temperature as temperature sensor. No
- humidity_sensor Expose device humidity as humidity sensor. No
- polling Adding a refresh time for the all sensors in seconds. No
- humidifier Adding humidified support. No
- logger Getting data from humidity and temp sensors and save value into txt file. No
 相关资料
  • homebridge-mi-philips-light XiaoMi Philips light plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), Zzm317, all other developer and test

  • homebridge-airrohr HomeBridge module for the DIY luftdaten.info air particulates sensor from OpenData Stuttgart. It can be used to see the status of your own sensor in HomeKit. You can also use it to

  • homebridge-airmega Control and monitor your Airmega purifier with HomeKit. Functionality Control power, fan speed, and lights Toggle between manual and auto mode Reports the current air quality Report

  • homebridge-airport Homebridge plugin for Apple AirPort base stations. Currently only supports monitoring Wi-Fi clients. # From registry.npmjs.comnpm install --global homebridge-airport# From npm.pkg.g

  • Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。

  • homebridge-mi-airpurifier XiaoMi air purifier plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), licuhui, superszy, all other developer