mongoose-os-apps / shelly-homekit

Apple HomeKit firmware for Shelly's
Other
1.76k stars 128 forks source link

Shelly HT #186

Closed schemhad closed 1 month ago

schemhad commented 3 years ago

It would be very nice if we could support Shelly HT. Maybe this could be similar to the Power Measuring?

andyblac commented 3 years ago

It would be very nice if we could support Shelly HT. Maybe this could be similar to the Power Measuring?

is HT bluetooth ?

schemhad commented 3 years ago

It's an Shelly1 with Humidity and Temperature Sensor.

https://shelly.cloud/knowledge-base/devices/shelly-ht/

The Sensor could also bought seperate.

https://shop.shelly.cloud/temperature-sensor-addon-for-shelly-1-1pm-wifi-smart-home-automation#312

andyblac commented 3 years ago

ok, wifi, I can't see that battery lasting a week on HomeKit, as it will drain battery as it keep checking connectivity.

just look at Eufy cam's not connected to HomeKit they last 365days, on HomeKit, your lucky to get a month out of the batteries.

schemhad commented 3 years ago

But the AddOn Module could run on every Shelly 1 & PM or the retail H&T Module on USB.

andyblac commented 3 years ago

But the AddOn Module could run on every Shelly 1 & PM or the retail H&T Module on USB.

ye I was talking about H&T on battery.

rojer commented 3 years ago

yes, this can be done

rojer commented 3 years ago

HAP has accessories for temperature and humidity sensors, shouldn't be hard to add. ideally, we'd auto-detect the sensor on startup so no UI changes would be necessary.

MilanBacaCz commented 3 years ago

is there any documentation how to auto detect the temperature and other sensors?

Ludelag commented 3 years ago

yes, this can be done

Dear @rojer does it means will be done it?

rojer commented 3 years ago

eventually yes

Ludelag commented 3 years ago

eventually yes

that will be nice

rojer commented 3 years ago

looked into this. addon provides a 1-wire bus with output on gpio0 and input on gpio3 (uart0 rx). output is connected to input (via isolator). so this can be used for 1-wire sensors or simply as an extra input.

Pixel-Chris commented 3 years ago

Will this be usable for the second sensor for the opened position of the garage door opener with a Shelly 1? (Then I don’t need to power a Shelly 2.5 with an extra power supply)

rojer commented 3 years ago

@Pixel-Chris this is indeed possible. the add-on contains circuitry that provides proper isolation for the input.

Pixel-Chris commented 3 years ago

Ok I must order that addon 😉

Ludelag commented 3 years ago

I will for sure also order one and be ready for tasting

Ludelag commented 3 years ago

Thank you @andyblac, You already linked my issues in here nevertheless I will write them again to make it easier to read directly: @rojer and @andyblac I just wonder if there is a support to use the Shelly 1 together with Shelly H & T as thermostat which could appear as a thermostat in the Home app? It will enable controling the heating by schedules using automation. Thank you. 99046641-57e55680-2593-11eb-977d-04ea578d11d3

Ludelag commented 3 years ago

planning to add Shelly-Homekit the Add-on of shelly?

https://shop.shelly.cloud/temperature-sensor-addon-for-shelly-1-1pm-wifi-smart-home-automation#312

Thank you. 81262242_10220337751536450_1385881776282402816_n 82279151_10220337799137640_2205997702620119040_n

SilvioMigu commented 3 years ago

Hello

Temperature Sensor AddOn for Shelly 1/1PM, do you think you can do it soon? Thanks

rojer commented 3 years ago

sorry, no ETA.

SilvioMigu commented 3 years ago

Sorry, but what do you mean "no ETA"?

andyblac commented 3 years ago

"Estimated Time of Arrival", So no time frame.

SilvioMigu commented 3 years ago

This of being new, in this things, is what happens ... We are always learning.

andyblac commented 3 years ago

This of being new, in this things, is what happens ... We are always learning.

no one knows everything, the world would be a boring place to live.

SilvioMigu commented 3 years ago

I also like to share what I'm doing so that I can help each other ...

I have three temperature sensors here in my water cylinder. Maybe there is a better way to use shellys in this area

My problem here, is that the temperature sensor Addon from shelly, has 3 wires and the sensors that I have in the cylinder, are 2 wires. I'm still not sure how to connect the sensor ... IMG_4691 IMG_4688

Pixel-Chris commented 3 years ago

Some free timeslots left for this?

rojer commented 3 years ago

been thinking about this lately, actually. shouldn't b too difficult, it might just happen.

SilvioMigu commented 3 years ago

I am looking forward to seeing the final result...

Ludelag commented 3 years ago

What Will be interesting is to be able to make a thermostat with Shelly 1 and add on

bjornand1 commented 3 years ago

I would be very interested in support for the Temp Sensor Addon - the plan is to use the sensor to measure the water temperature in our fish tank and turn on/off the aquarium lights based on the temp.

Baddy-HIP commented 3 years ago

Hello to all and thanks for the great opportunity to integrate Shelly into HomeKit!!!

When will the addon be integrated? I am looking for a solution to control my sauna and some terrarium. Since I already control everything with Shelly switches, it would be great if I could measure and control the temperature as well.

bjornand1 commented 3 years ago

Hi, @Baddy-HIP ´, notice that this plugin, https://github.com/metbosch/homebridge-http-temperature#readme, actually works very well for the temp sensor!

Baddy-HIP commented 3 years ago

Thank you for your information! I tried using home bridge and had many issues. So I would prefer a solution to implement it directly in HomeKit

Pixel-Chris commented 3 years ago

I would use it for a second sensor for the garage door mode.

timoschilling commented 2 years ago

I removed Temperature AddOn from title because it's supported now.

markirb commented 2 years ago

I just noticed, in the meantime there was this commit for the driver :smile: so the way to supporting HT got shorter https://github.com/mongoose-os-libs/dht/commit/35a6ffc29152c7944b2552150f2039f44c142cfa

vrpt2022 commented 2 years ago

Good morning, I would like to know if support for add-on and Shelly 1 is just for sensor DS18B20 or DHT22 is also supported. I tried the shelly 1 with add-on and DHT22 (AM2302 sensor https://shellyparts.de/en/products/temperatur-und-feuchtesensor-dht-22 ) and neither through Web interface/home app I'm able to see any information regarding the add-on/sensor. (I can see both, humidity and temperature through native Shelly firmware...)

I case of anyone needing information about the electronics, the sensors has the following information on the back:

It has Black/Yellow/Red wires.

In the case of not being supported at the moment, do you think would it be possible to give support?

Thanks in advance for your help.

markirb commented 2 years ago

It is not supported currently, as written in the documentation. Otherwise this issue would not exist anymore :)

I have a HT at home now but little time...

vrpt2022 commented 2 years ago

It is not supported currently, as written in the documentation. Otherwise this issue would not exist anymore :)

I have a HT at home now but little time...

Thanks for the answer.... waiting for it :D

vrpt2022 commented 2 years ago

Good afternoon,

Any update regarding DHT22 (AM2302 sensor) support?

Thank you

markirb commented 2 years ago

sorry, not from me so far

vrpt2022 commented 1 year ago

Good morning,

Any update regarding the H&T sensor?

Thank you

markirb commented 1 year ago

Mhh, did some lines already, but not there yet. Have to finish my tax returns first unfortunately after that I hope I find some time.

vrpt2022 commented 1 year ago

Good afternoon, I’ve seen the PR advancements, but there is any update regarding this? Thank you!

markirb commented 1 year ago

Not yet, the two things mentioned in the PR still exist, and I haven't found a way around the first one. So If anyone can help, it would be much appreciated

vrpt2022 commented 1 year ago

Hi,

apologies if this is no appropriate, I have absolutely no idea about coding, but found in this project a reference about integration of DHT sensors in HomeKit, could this be of any help?

https://github.com/RavenSystem/esp-homekit-devices

https://github.com/RavenSystem/esp-homekit-devices/wiki/Temperature-and-Humidity-Sensors

markirb commented 1 year ago

There is no general issue, generally the implementation works already.

But somehow it has hiccups on startup. This needs an oscilloscope and time to debug...

But thanks anyways

pfeifix commented 1 year ago

I already bought my Shellys and Temperature Add-Ons because of the info on the mongoose main site hinting at the support of the DHT sensors and would like to replace my old room temperature controls in the wall sockets.

Any news on the firmware integration process? Being able to see the sensors in HomeKit would be fully sufficient in the first step so I can build my own control loop for the valves of my floor heating (by means of HomeKit automation rules).

Another feature request for a future release of the firmware would be to provide a built-in temperature control accessory that is able to heat/cool the room automatically based on the temperature readings of the sensor connected to the Shelly.

timoschilling commented 1 year ago

@pfeifix I think you misunderstood some things. What you wrote sound like you have a Shelly 1 or 1PM and now you expect that you can use it with a DHT? If so, we don’t support the DHT at the moment only the DS18B20. Where did you read that we support DHT, give me a link please. The second thing is this issue is about the Shelly HT and not about the DHT sensor. Support for the DHT sensor is in progress #1110 and the thermostat support you ask for is in #895 requested.

pfeifix commented 1 year ago

@timoschilling: Thanks for the update! Indeed I meant the DS18B20 (not the DHT) which is what I have bought. So you say the pure temperature sensor accessory is already built-in in the latest firmeware of the Shelly 1? That would be great.

I am looking forward to the release of the thermostat support as tracked by https://github.com/mongoose-os-apps/shelly-homekit/issues/895