Do you still have a broken SmartDry device? If so, it would be great to get pictures of the internals. I’m curious how they’ve built it, and maybe an intrepid maker would potentially be able to create a DIY version
I got mine working again. I have an older unit and after closely inspecting it saw that a battery replacement had bent one of the small pins underneath the battery (negative) instead of being on the positive side. Once I fixed that the sensor started working again.
It’s basically just a temp, humidity, motion sensor. It’s open at the bottom (which is where the magnets are to adhere it into the drum) so so it could be built using any sensor that you can get raw values from. The trick is making sure you have sufficient signal since it’s inside a metal drum, inside a metal box. They use Bluetooth but the receiver has to be with in 10’.
Gotcha. I started exploring the ability to make this on my own but I wasn’t sure about hardening it to prevent it from failing while the dryer was running, so I ended up picking up one of these sensors. The instructions above work great, thanks for hacking away at this!
Just got mine all working, outputting the ‘dryness’ via a template sensor… then using that as a trigger in the automation (with the dryer plug being on as a condition). then finally turning off the dryer plug once it hits that ‘dry’ level.
Works quite well! thanks for everyone in this thread
what did you use for “dry” level?
Dryness = -1.03 * Humidity + 100
If Dryness above 83. Works really well!
I came back to this thread to share that for anyone who hadn’t noticed, SmartDry now offers SmartThings integration. I set this up in HA and it appears to be working well. It even includes a binary “wet” sensor. Now seeing here how someone found a simple URL that returns all the necessary data, I may switch. But everything appears to be working great with SmartThings so I may just leave it as-is for now.
Can you give some details on how you set this up and how you created the binary sensor?
This has been an interesting read of the life of this mini-project! It seems like it wouldn’t be too terribly difficult to build this out with ESPHome with a device in a small project box (or custom 3D printed case) with some magnets on the bottom and sensors for temperature, humidity and motion. I’m not sure how the wifi of the ESP would hold up, but I would think you could deep sleep the device until the motion sensor triggers to save the battery. Kind of intriguing, I might have to tinker with this idea.
I just added SmartDry in the Smart Things app and then added the Smart Things integration to HA. I will say that the binary sensor doesn’t seem particularly useful for me. It doesn’t seem change to dry until well after the clothes are dry.
I haven’t been able to get mine to add to the smart things app, well the plug hub that is, looks like I have a mk110 plug rather then the one mentioned in their documentation for setting up smart things.
So I have some esphome code. I fully intend to replace it with something home-rolled later, but I made the mistake of buying the SmartDry, I might as well use it. The device simply announces it’s data over BLE, so:
esp32_ble_tracker:
on_ble_manufacturer_data_advertise:
- manufacturer_id: "01AE"
then:
- lambda: |-
id(raw_sensor).publish_state(format_hex(x));
uint32_t hum = x[0] + (x[1] << 8) + (x[2] << 16) + (x[3] << 24);
uint32_t temp = x[4] + (x[5] << 8) + (x[6] << 16) + (x[7] << 24);
uint16_t shake = x[8] + (x[9] << 8);
uint8_t batt = x[10];
uint8_t wake = x[11];
id(hum_sensor).publish_state(hum);
id(temp_sensor).publish_state(temp);
id(shake_sensor).publish_state(shake);
id(batt_sensor).publish_state(batt);
id(wake_sensor).publish_state(wake);
sensor:
- platform: template
name: "SmartDry Temperature"
device_class: 'temperature'
accuracy_decimals: 4
id: temp_sensor
- platform: template
name: "SmartDry Humidity"
device_class: 'humidity'
accuracy_decimals: 4
id: hum_sensor
- platform: template
name: "SmartDry Shake"
id: shake_sensor
- platform: template
name: "SmartDry Battery"
id: batt_sensor
- platform: template
name: "SmartDry Awake"
id: wake_sensor
text_sensor:
- platform: template
name: "SmartDry Raw"
id: raw_sensor
I can’t for the life of me figure out how the temp and humidity relate to real world measurements (I’m not even sure I haven’t swapped them), but the shake one seems to be correct, so I just monitor that and when it drops below 10 I have Alexa make an announcement.
Edit:
Ignore my comment below. It took me a little learning and asking around for help but I got this to work, and it works as same as the app. Thanks to the original poster for providing the calculation. You need to create a sensor template and pull in the data from the humidity reading and perform the calculation within the same sensor template.
I’m also pulling in some additional attributes to try and determine the battery is low or if, what I assume, is a concerning level of high heat. Not sure yet what the numbers are as all are at 0 right now, but I plan to monitor it over the coming months. If anyone can speak to the expected values for these in the meantime, I’d appreciate it.
notifyLowBat
notifyLowBatShd
notifyHighHeat
notifyHighHeatShd
Original comment:
Has anyone else tried this method with any luck? I’m able to see the json attributes in the SmartDry entity thanks to the above AWS integration but I don’t know how to create a variable called “Dryness” in YAML and perform this calculation. I’m guessing once I have the Dryness variable populated I could create an automation that says if “Dryness” > 83, then stop the dryer (via a smart plug) and send a notification.
Can someone confirm if this has worked for them or how to go about getting the variable into HA and calculation performed? Still new to HA (as a non-Dev) and this is the first time I’ve ever performed a calculation or created a variable so struggling to comprehend what to do here.
Well it seems as if another one bites the dust…just got this email:
It is with sadness and disappointment that we are announcing the closure of Connected Life Labs and discontinuing our SmartDry products. Effective immediately, Connected Life Labs will no longer be selling or supporting the SmartDry devices. We have secured cloud operations for all existing units to remain active until September 30th 2022, at which point the cloud services will cease operations and the product apps will no longer be supported.
We thank all our customers and those who supported our mission to create innovative and energy-saving smart home devices along the way.
Dang. I haven’t received that email yet, thanks for sharing. This is one of my favorite automations stopping the dryer via switchbot button press when clothes are dry and Google broadcast letting the house know
Live by the cloud, die by the cloud
What a bunch of money grabbing a’holes.
With SmartDry closing and cutting off their cloud, your solution may be our only hope.
Just took my SmartDry “hub” apart, since after September 2022, they won’t care.
It’s a ESP32-WROOM-32 board soldered to USB A power supply. Here is the datasheet:
I don’t really have any experience with ESP32 natively, so curious if the stock SmartDry can be re-purposed and joined to HA natively. That would mean everyone with one, could just re-program it out of SmartDry’s cloud and use the above configurations to make it work locally.
You don’t even need the hub. @DieKatzchen has published the esphome code. You can use any esp32.
It is probably possible to reprogamme the hub. Can you show some pics of the interior?
Saying I “published the code” implies it’s more useable than it is. I can get the raw numbers out, and I can turn some of raw numbers into useable numbers. I still have absolutely no clue how the numbers I pull out relate to the actual temperature or humidity, although if anyone wants to play around with them and try to get some sort of real-world values, be my guest. I’m fairly confident I at least am breaking it into the right size variables, because I looked at the raw hex values and paid attention to how rapidly each byte changed.