Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShellyPlus.groovy - No Temp or Humidity Support for Add-On with DHT22 Sensor #25

Open
bluecrystaldex opened this issue Oct 23, 2023 · 5 comments

Comments

@bluecrystaldex
Copy link

Sys.GetConfig returns "addon_type": "sensor," but this doesn't appear to have support for the SensorAddon.GetPeripherals API to identify the device attached to the Add-On module and the ID values of its component sensors, or the Temperature.GetStatus?id={} and Humidity.GetStatus?id={} APIs to identify the current reading of those sensors - temperature and humidity, in this case. Looks like there was support with the Gen 1 APIs, but those appear to have been omitted here for some reason.

@ShellyUSA
Copy link
Owner

Hello!

Gen2 (RPC based) is not backwards compatible with Gen1 though some of the most common calls are still supported.

https://shelly-api-docs.shelly.cloud/gen2/Addons/ShellySensorAddon

@bluecrystaldex
Copy link
Author

The problem I'm trying to point out here is that there's zero support for the Shelly Plus Add-On in the ShellyPlus (Gen2) Hubitat driver. The original (Gen1) Shelly-as-a-Switch driver supports external temperature and humidity attributes from external sensors (see change 3.0.7), but there's no analogous functionality with the ShellyPlus (Gen2) driver.

I have a Shelly Plus 2PM with a Shelly Plus Add-On and DHT22 temp/humidity sensor connected, but the Add-On and DHT22 sensor are invisible to Hubitat with the current Gen2 driver.

@sgrayban
Copy link
Contributor

sgrayban commented Nov 1, 2023

That's because I was the only coder for the hubitat drivers and when I retired last year no one wanted to take over. I had 3 strokes and simply cannot do this work anymore. So that's the scoop.... sorry.

@ShellyUSA
Copy link
Owner

Hi Scott - I hope you're feeling better!

Hi Travis, nice to e-meet you - I'm looking for community developers to assist with the drivers, but there have been no takers yet.

@sgrayban
Copy link
Contributor

sgrayban commented Nov 3, 2023

Hi Scott - I hope you're feeling better!

I'm doing much better... leaving the US for Germany soon. Going back to my hometown to live out he rest of my life.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants