naofireblade / homebridge-weather-plus

A comprehensive weather plugin for homebridge.
MIT License
313 stars 63 forks source link

Cannot make automation on temperature sensor #118

Closed santheman-nl closed 4 years ago

santheman-nl commented 4 years ago

I have implemented this plugin and it shows my Weather Underground info, such as temperature etc. 2 things I can't seem to figure out:

  1. Once I want to make an automation, I don't see the temperature sensor (only the others like wind direction etc.) But I want an automation based on temperature.
  2. I don't understand the thresholds. What is their purpose and what do I fill in?

Thank you for your help.

naofireblade commented 4 years ago

Hi,

  1. The apple home app is incapable of creating automations based on temperature sensors. You need to use a 3rd party homekit app like "Eve" for that.
  2. The apple home app is incabable of showing other sensors then temperature/humidity. So if you set compatibility to "home", the plugin adds occupancy sensors for the other values as a workaround. The treshold defines at which value the sensor will change from off to on. You can use that state in automations.
santheman-nl commented 4 years ago

The treshold defines at which value the sensor will change from off to on. You can use that state in automations But there is no scale? So I don't know what to fill in?

Thanks for your reply

naofireblade commented 4 years ago

You can define the tresholds in your config file or with config-ui-x.

In homekit rules you just check if the sensor is on or off.

santheman-nl commented 4 years ago

I know where to define them, but I wonder what the values are. For example cloud cover, is that in percentages? Or a 0 to 5 value?

naofireblade commented 4 years ago

I understand. I will add that in the documentation. Cloudcover ist 0 - 100%.

santheman-nl commented 4 years ago

Thank you for your help!

naofireblade commented 4 years ago

I added the explanation in the readme: https://github.com/naofireblade/homebridge-weather-plus#advanced-configuration

santheman-nl commented 4 years ago

Great! Thanks