3.5.2 • Published 3 years ago

homebridge-philips-air v3.5.2

Weekly downloads
35
License
BSD-2-Clause
Repository
github
Last release
3 years ago

homebridge-philips-air

npm npm verified-by-homebridge

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 and `line 91` change `timeout` from `5` to `60`,
    `line 145` from `5` to `60` and `line 174` and `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"
    }]
}]
FieldsDescriptionRequired
platformMust always be philipsAir.Yes
nameFor logging purposes.No
timeout_secondsNumber of seconds to wait for a response from the purifier. (Default: 5)No
devicesArray of Philips air purifiers (multiple supported).Yes
- nameName of your device.No
- ipIP address of your device.Yes
- protocolProtocol used by your device: http (default), plain_coap, coapNo
- sleep_speedDoes this device support 'sleep' speed?No
- light_controlExpose device lights as lightbulbs.No
- allergic_funcDoes this device support 'allergic' function?No
- temperature_sensorExpose device temperature as temperature sensor.No
- humidity_sensorExpose device humidity as humidity sensor.No
- pollingAdding a refresh time for the all sensors in seconds.No
- humidifierAdding humidified support.No
- loggerGetting data from humidity and temp sensors and save value into txt file.No
3.5.2

3 years ago

3.5.1

3 years ago

3.5.0

3 years ago

3.3.7

3 years ago

3.3.6

3 years ago

3.3.5

3 years ago

3.3.4

3 years ago

3.3.3

3 years ago

3.3.2

3 years ago

3.2.7

3 years ago

3.3.1

3 years ago

3.3.0

3 years ago

3.2.6

3 years ago

3.2.5

3 years ago

3.2.4

3 years ago

3.2.3

3 years ago

3.2.2

3 years ago

3.2.1

3 years ago

3.2.0

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.9

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.3.4

3 years ago

2.3.3

3 years ago

2.3.0

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.10

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago