Olimex makes an esp32 with 2 small relays and ethernet (and canbus) it could easily be hidden inside the machine using the internal pins as cleanly as you could using the can+esp32. However, providing 24v just to trigger the machine is less than ideal, even hidden.
I would probably go the can route if the integration existed in home assistant but I need something soon.
If the ESP32 CAN stuff in ESPHome isn’t sufficient I will have a look at that. ESPHome is limited to a single packet, but that doesn’t look like an issue give the work done by “tinymicros”.
I’ll check out the Olimex part as well because that would work well for several things on my list.
I have the olimex board already, I didnt realize esphome had a can integration. If I have time tonight i’ll absolutely plug it in and mess around. That’s great intel.
What are our thoughts (gueses) on how much the 5v rail at the RJ45 can supply from the HD55? I dont have any way to measure the current the remote control is using, but obviously powering the esp would be ideal.
I have since realized that for my wood working and laser cutting purposes in my shop, relative humidity is not ideal for humidity control because the temperature can fluctuate from 60-95F indoors in summer. Targeting a specific relative humidty would only work for me if I had a roughly consistent indoor temp.
I need absolute humidty, so the internal controller the HD55 comes with is out for me, thus the canbus to esp32 option is dead too. I’ll be going the external control route…
Since I will not be using the oem canbus remote I purchased, I am willing to donate it to anyone who thinks it would assist them creating some typeof esphome or similar integration for home assistant.
Let me know if you’re that person, or you know who that person is.
Before giving up completely, have a look at Thermal Comfort, it will take temperature and RH and calculate the absolute humidity
This will output absolute humidity like this
I hate humidity year round. If you are packing it in I will eventually get to the CAN interface and would be interested in the remote. ESP32 and CAN interface are sitting in my desk. I live in a tight newer home and also monitor CO2 to open and close a motorized fresh air damper for the dehumidifier.
For my workshop I have the IKEA PM2.5 sensor with the D1mini in it to log air quality while I am cutting and sanding
I have the same humidifier and solved the automation issue by setting the humidity level on the unit to it’s lowest setting (36%), and just turn it on and off with a Shelly Plus wall plug. It uses about 440 watts when running. Nice thing about these Sentinel dehumidifiers is that they always turn on with the same setting even after the power is cut.
I use an Ambient weather station to get the outdoor temperature and indoor humidity. Since ideal indoor humidity is based on the outdoor temp, I only turn the switch on when the indoor humidity is above the target value based on the outdoor temp. I use Node Red to control the on/off cycles, making sure to only allow it to cycle once per hour. This beats having to manually adjust the units humidity setting manually as the outside temp changes.
My understanding is that there’s no issue with cutting the power off this way - the reason for the cool-down period is to evaporate the moisture from the coils so it doesn’t freeze up. By making sure it’s always off for at least one hour I’m sure it’s never going to freeze. When the humidity and temps are high it typically runs 50% of the time. It’s been going strong this way for over a year now with no issues. Coupled with a condensate pump there’s zero maintenance!
I have connected up an ESPHome with CANBUS to my dehumidifier, but I am not getting any information from the dehumidifier. Anyone poked around with this since the thread was started?
I assume you need to send a frame to get something back. Since the remote is an option the HD55 is likely just listening. I haven’t connected up yet but my approach would be cyclic sending of the remote telegram to see if each generates a response with the info you need.
My AlorAir HD55’s canbus is set to 125kbps. The unit was manufactured April 2023 and with serial starting with S38.
After sending any canbus message, the unit responds with the following
123 RHactual RHset Temp D3 Status D5 D6 D7
Temp is in celsius
Statusbit0 = 1 → Unit is on
Statusbit0 = 0 → Unit is off
(bit0 is Least Significant Bit)
To set humidity and turn on send message:
123 Humidity D1 Control D4 D5 D6 D7
To set Humidity, add 128 to desired humidity set point
Controlbit0 = 1 toggles machine on or off depending on current state
Set all other bytes to 0 (e.g. D1, D4, etc)
I have not completely decoded Status nor Control nor the other data bytes. Sending Controlbit4 to 1 (0x8) seems to turn on Cont Defrost and if Cont Defrost is on 0x3 in Control seems to turn it off.
These results seem much different than what tinymicros.com found and I have no explanation.
However, I can now control my HD55 from a Raspberry Pi 3B+ running python-can and a Waveshare CAN HAT.
Hope this helps someone avoid the many futile hours I spent sending canbus messages at 50kbps
Now I just need to send commands to it. I’m going to reread the Guy who sniffed off the remote control.
I emailed the company and they said they could not provide the CAN information. Send pdfs that were on their web site. I wish they could see if they were more open on their specs, it would encourage more product sales with DIYers.
Hi, trying to get my HD55 to report it’s status data to my HA. Can you share how you made the physical connections to the dehumidifier? I see you are using GPIO27 for TX and GPIO26 for RX, but what are they connected to on the dehumidifier unit?
I’m not having any luck getting my unit (HD35P) to respond to the send command from my Lilygo. Do you have any troubleshooting suggestions on where I may be going wrong?
[canbus:035]: send standard id=0x123 rtr=FALSE size=8
Notes:
I took the unit apart, and the RJ45 Pinout is the same as the Tinymicros example.(PIN 4,5)
ooooo I am finally coming back to this! excited people figured more out…I went deep on the Mitsubishi split unit controls for a while and back to this finally. Going to try out your work as I have 2 units and would love to control them.