staromeste / homebridge-http-advanced-accessory

Supports all devices on HomeBridge Platform / Bridges devices to http
Apache License 2.0
65 stars 22 forks source link

Connect Shelly 1 with Temperature Add-on? #32

Open bjornand1 opened 3 years ago

bjornand1 commented 3 years ago

Hi, I am trying to find a way to expose temperature measurements from a Shelly 1 relay with a connected Temperature Add-on to HomeKit. Does anyone know if this plugin can be used for that? If so, which URLs should be used in the config?

Grountex commented 2 years ago

Hello,

I am trying to do the same thing, but however this plugin does not make request to the URL if the service is set to "Temperature Sensor" (not sure why)

So I ended up using this one: https://github.com/metbosch/homebridge-http-temperature With the following configuration:

{
            "accessory": "HttpTemperature",
            "name": "Balcony Temperature",
            "url": "http://{your Shelly 1/1PM IP}/status",
            "http_method": "GET",
            "field_name": "ext_temperature.0.tC"
}

Where 0 in "ext_temperature.0.tC" is the external sensor that you want to read.

I hope this is helpful for you

bjornand1 commented 2 years ago

Thanks for the tip, @Grountex, I will try that!

bjornand1 commented 2 years ago

Great tip, worked perfectly! Now I can remove the very complex iobroker solution I set up.