homebridge-shelly icon indicating copy to clipboard operation
homebridge-shelly copied to clipboard

Shelly temperature sensor addon for Shelly 1 / 1PM

Open Tins612 opened this issue 3 years ago • 101 comments

Hello, is the Shelly temperature sensor addon for Shelly 1 / 1PM planned? Currently, I can only evaluate the temperature using the Shelly Cloud app.

Tins612 avatar Dec 08 '20 10:12 Tins612

Yes, it's been requested multiple times before and is on the roadmap.

alexryd avatar Dec 14 '20 16:12 alexryd

Just checking on the roadmap progress ;) would it then support different type presented in HK for Shelly 1 as well?

rangerek avatar Jan 04 '21 11:01 rangerek

Intrested into this topic as I need the same implement!!!

simonfield76 avatar Jan 10 '21 16:01 simonfield76

Hi, first of all, thx a lot for this great shelly plugin! After I've several shelly 2.5 running for window covering, I'm also interested in the implementation of the shelly 1 temp-addon. Would like to use it as a room thermostat for an underfloor heating in HomeKit. Is there a chance to get this implemented soon?

BR,

homefuchs avatar Feb 22 '21 12:02 homefuchs

Hi,

I would be also very interested in this solution I have setup a Frost Guard in my Garage and it works in the Shelly.App it would be great to see the Temperatures of my 3 connected sensors via Hoobs in HomeKit

Thank you

AxelStamme avatar Mar 01 '21 06:03 AxelStamme

Same here interested into this one 👍🏼

PatriceRobert avatar Mar 04 '21 11:03 PatriceRobert

Same here, want to use it to monitor the temperature of my fish tank

bjornand1 avatar Apr 06 '21 16:04 bjornand1

I believe it is addressed and can be closed

rangerek avatar Apr 06 '21 18:04 rangerek

I believe it is addressed and can be closed

For me it is solved I moved away from Hoobs after the performance went dow with every Update

AxelStamme avatar Apr 06 '21 19:04 AxelStamme

Adressed as in it works, you mean? I cannot see the temperature readings in HomeKit.

bjornand1 avatar Apr 06 '21 19:04 bjornand1

@bjornand1 use eve or controller for HomeKit as your app and you will see

rangerek avatar Apr 06 '21 19:04 rangerek

@rangerek Sounds promising, but I just don’t see the temp readings, despite seeing them in the Shelly app

bjornand1 avatar Apr 06 '21 20:04 bjornand1

@rangerek I am getting this wrong, must I add the temp add-on as a separate device? I have so far believed the temperature sensor would appear as integrated with the Shelly 1 relay, but I don't see any measurements in either the Eve nor the Controller app.

bjornand1 avatar Apr 07 '21 04:04 bjornand1

Disregard my post 🤦🏻‍♂️ I mixed it with power consumption - overloaded with work - sorry for inconvenience- this feature is still missing

rangerek avatar Apr 07 '21 06:04 rangerek

@rangerek OK, thanks for the clarification. Hope this will be supported in the future.

bjornand1 avatar Apr 07 '21 07:04 bjornand1

Thanks @rangerek for the clarification, I could not find the temp in Controller either ;-) Definitely need the three temps in Homekit via homebridge to enable correct automations ! ;-)

PatriceRobert avatar Apr 07 '21 07:04 PatriceRobert

@alexryd , thanks for all your dev on shelly, really useful and pretty quick response on Homekit ;-) Regarding the temp sensor add-on on the Shelly1, do you have any update ? Thanks a lot, Patrice.

PatriceRobert avatar Aug 22 '21 19:08 PatriceRobert

@PatriceRobert Notice that this Homebridge plugin works with the add-on: https://github.com/metbosch/homebridge-http-temperature

bjornand1 avatar Aug 22 '21 19:08 bjornand1

@bjornand1 Thanks a lot, "field_name": "ext_temperature.0.tC" made my evening !!!!

PatriceRobert avatar Aug 22 '21 20:08 PatriceRobert

Great! I had got it working through several hoops and then got tipped about this plugin, which is so easy😄

bjornand1 avatar Aug 23 '21 04:08 bjornand1

@PatriceRobert @bjornand1 Checkout my fork/PR https://github.com/alexryd/homebridge-shelly/pull/336 added "temperatureSensor" or "thermostat" :)

tritter avatar Sep 04 '21 08:09 tritter

Try using Homebridge Http Temperature Plugin just config with "url": "http://192.168.x.xx/status?format=json", "http_method": "GET", "field_name": ".ext_temperature[0].tC", works flawlessly

oskarhart avatar Sep 06 '21 21:09 oskarhart

@PatriceRobert @bjornand1 Checkout my fork/PR #336 added "temperatureSensor" or "thermostat" :)

Hey @tritter , I wanted to give it a try but it does not find it ....yet: $ npm install tritter/homebridge-shellies npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/tritter/homebridge-shellies.git npm ERR! ERROR: Repository not found. npm ERR! fatal: Could not read from remote repository. npm ERR!

PatriceRobert avatar Sep 07 '21 10:09 PatriceRobert

@PatriceRobert my bad updated the guide. Repo should be of course "homebridge-shelly" So please use: sudo npm i -g homebridge-shelly@git+ssh://[email protected]/tritter/homebridge-shelly.git#master

tritter avatar Sep 07 '21 10:09 tritter

@PatriceRobert my bad updated the guide. Repo should be of course "homebridge-shelly" So please use: sudo npm i -g tritter/homebridge-shelly

;-)

$ npm install tritter/homebridge-shelly added 102 packages, and audited 103 packages in 15s `12 packages are looking for funding` ` run `npm fund` for details` found 0 vulnerabilities $

No time to test right now, will do that a bit later....

PatriceRobert avatar Sep 07 '21 10:09 PatriceRobert

Hey Thom,

I gave it a try with a Shelly1 with three temp sensors but even setting up with "sensors": 3 I can only see one temperature.

@tritter

PatriceRobert avatar Sep 08 '21 14:09 PatriceRobert

@PatriceRobert Fixed it, thanks for testing! I only have one temp sensor but forgot to add the case for multiple sensors.

You need to reinstall the package npm install tritter/homebridge-shelly#4ddbb7c, restart homebridge and probably re-add your device (admin interface 8181 > click remove and wait till it is added again)

Let me know if it works now!

tritter avatar Sep 09 '21 05:09 tritter

Hey @tritter , it works, I can now see the three temp sensors, good reaction time to update themselves individually. Perfect !! Now, another request ;-) : can we ALSO have the possibility to manage the shelly1 as a relay at the same time to turn on something (some fans in my example) so to have a 4th object published in homekit ?

PatriceRobert avatar Sep 09 '21 06:09 PatriceRobert

@PatriceRobert Yes I like the idea, but the type "temperatureSensor" makes no sense anymore. So instead if any number of sensors are defined you see them as temperatureSensors... In this way you can still assign different types to the relais. If the type thermostat is chosen there are no extra sensors as the relais and temperature is included inside the thermostat.

So please remove type "type": "temperatureSensors" and make sure to set sensors to 1..3

You need to reinstall the package npm install tritter/homebridge-shelly#554131e, restart homebridge and probably re-add your device (admin interface 8181 > click remove and wait till it is added again)

tritter avatar Sep 10 '21 06:09 tritter

@tritter - hey, look perfect, get the device as outlet (for example) and 3 temp sensors showing up, I'll give it more tests and automations later but looks gooooooooood ! ;-) -- Patrice.

PatriceRobert avatar Sep 10 '21 08:09 PatriceRobert