This is a simple configuration.yaml
script that connects your home assistant to Awair in LAN mode.
In order to get it working, you'll need to :
- Enable Awair's Local Sensor Mode
- Find the IP address that your router gave to your sensor by looking up your Awair's mac address on your router's home page
- Preferably switch that devices IP address to a static one from your router's home page/settings
- Copy the configurations from the example script in this repo into your
<config_dir>/configuration.yaml
file on your Home Assistant
bpowers made a built-in version of this that would come ready made in hass.io. It serves the same purpose and it would be readily available in Hassio once they approve of their code.