Broadlink A1

Hi all,
I am a real newbie to HASS and clearly I’m missing something, I don’t what.
So I installed HASS by the HASSIO image on the SD card with a Pi 3.

after configuring some stuff, I’ve tried to conect HASS with my broadlink A1. So as instructed in the component’s page i addes the following to configuration.yaml:

# Broadlink 
  - platform: broadlink
    update_interval: 60
    host: 192.168.1.10
    mac: 'xx-xx-xx-xx-xx-xx'
    monitored_conditions:
      - temperature
      - humidity
      - air_quality
      - light
      - noise

Now what? how can I check on the values? how can I even know if it is “installed”?
this may be a stupid question, but I really think I’m missing something basic. maybe as on the general way of installing components.
I’ve read about installing libraries etc does this have anything to do with this? how do I do that?

(Maybe this post should be in the 3rd party category but I don’t if I just don’t know how to propperly install a component so I posted here)

Thanks in advance.

Errrm from the docs an A1 needs to be setup as a sensor…

sensor:
  - platform: broadlink
    update_interval: 60
    host: IP_ADDRESS
    mac: 'MAC_ADDRESS'
    monitored_conditions:
      - temperature
      - humidity
      - air_quality
      - light
      - noise

If it works correctly the sensors will show up as a badge at the top of the frontend (provided you haven’t set a default view)

oh ofcourse. I should have put all the the above statments

sensor:

    # Weather prediction
  - platform: yr

# Broadlink 
  - platform: broadlink
    update_interval: 60
    host: 192.168.1.10
    mac: 'xx-xx-xx-xx-xx-xx'
    monitored_conditions:
      - temperature
      - humidity
      - air_quality
      - light
      - noise

OK, that looks good, are there any errors in the log?

I haven’t noticed yet but there are 2.

The first is:

Timer got out of sync. Resetting

but this probably is not related.

the second:

Error while setting up platform broadlink
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 171, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/broadlink.py", line 55, in setup_platform
    mac_addr = binascii.unhexlify(mac)
binascii.Error: Odd-length string

What version of HA are you running I think it won’t work with windows. I’m on Hass.io 0.61.1 and it works OK - for the Broadlink RM Pro. I don’t have an A1.

ok FIXED IT.

mac adress was written in: xx-xx-xx-xx-xx-xx

changed it to :xxxxxxxxxxxx.

working now :smiley:

1 Like

Hehe I was just about to post that the mac addrs should look like ‘XX:43:XX:CA:BD:XX’

1 Like

I’m kinda new to HA so please be nice. :slight_smile:

I have HA up and running with Hass_io and have added the Broadlink A1. It was properly recognized and I can already see the environmental conditions (temp, humidity, noise, etc.) on the HA dashboard.

Consequently, I can now see the sensor listed in Alexa under Smart Home (Screenshot: https://i.imgur.com/oVcibYY.jpg?1), being hosted by HA. My goal is to have Alexa read me the environmental condition(s) when I ask her.

My questions are:

  1. Is there already an inherent trigger word or command for Alexa to tell me the environmental conditions? Like, “Alexa, what’s the temperature in the living room?”, etc.
  2. If #1 is not an out-of-the-box feature, what should I do to achieve my end goal?

Thanks!

Hi,

Is there a way to replace 0 and 1 by Silent, Dark, Excelent?
I’m refering to Noise, Light and Air Quality.

Thank you for your effort!!

Someone? Please?