-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
SHTC3 digital humidity sensor #5092
Comments
It might work with the SHT40 plugin we already have (P153) but it will require you to create a Custom build using VSCode as the development tooling, as we don't have a Climate or Collection F build for the ESP32-C6 available. Edit: Ah, I missed the differences in I2C addresses, so that's not going to work (or you could temporarily change that in the code...) |
i2c address is different, commands are not bytes but words : |
I've reserved Plugin ID |
@tonhuisman tranks! |
Well, it still has to be implemented, usually we keep issues open and close them automatically when the feature/fix is merged, so you will be notified 😸 |
@ilsicca I've created a PR to support this SHTC3 sensor, are you available to test? Builds are available from this GH Actions run |
Hi Ton! Perfect, I will test it.
…On Tue, Aug 27, 2024 at 4:24 PM Ton Huisman ***@***.***> wrote:
@ilsicca <https://github.com/ilsicca> I've created a PR to support this
SHTC3 sensor, are you available to test?
Builds are available from this GH Actions run
<https://github.com/letscontrolit/ESPEasy/actions/runs/10584507484>
—
Reply to this email directly, view it on GitHub
<#5092 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALFJ76L53IGREWHPDXEMCDDZTTG5NAVCNFSM6AAAAABLVGVFRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJTGMZTSNZTGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@tonhuisman , Can you add P173 in a ESP_Easy_mega_20240827_normal_ESP32c6_4M_316k_LittleFS_CDC_ETH.factory.bin release? because I'm using a FireBeetle 2 ESP32-C6 and it has only 4MB. |
Changing the Edit: Updated with I2C scanner to recognize the sensor-address. If there is anything from |
@tonhuisman perfect!! |
@ilsicca I've added the documentation for the plugin, and also added it to the default Custom build for ESP32-C6, so you can download the latest once this GH Actions run is completed. |
Hi @tonhuisman , I did other tests and when I unpluged the power supply of FireBeetle 2 ESP32-C6 and plug again (not reboot), the device set disabled automatically. When I reboot manually or web IU, this issue not present. Only when unpluged the power supply. When I enabled, work fine. |
There are 2 possible causes here:
The first cause can be verified by disabling the Tools/Advanced setting @ilsicca Can you try by un-checking that setting and replay your scenario? (The initial I2C check can also be disabled on a per-plugin basis, but that's a code-change) |
@tonhuisman I disabled the option: Check I2C devices when enabled but the problem continue. |
How do you enable the task? If you change it via the task settings page and then 'submit', then it will be saved (or giving the command |
@ilsicca Any update on this? |
@tonhuisman This is my task configuration for the sensor, I enable it with task settings: |
I received a SHTC3 this week, and wired it to an ESP32-C6 (4MB), installed a fresh Custom build of this PR (only difference it that it's using a somewhat newer version of the platform), and tested your scenario: SDA on GPIO19, SCL on GPIO20, default sensor pull-up resistors (10k), enabled task, Interval 5 sec, I2C device-check enabled (Tools/Advanced), let it run for some time (~10 minutes), unplug the ESP, wait a few seconds, re-plug the ESP, and watch the logging. It's starting just fine, right at boot, and keeps running fine, so far, even after multiple power off/on tests. This is my setup (sensor-cable is ca. 1 m): I assume you're running your sensor from 3.3V and not 5V? AFAICS, it's not really 5V tolerant (data sheet: VDD max 4.0V), and the GPIO pins of the ESP also don't work well/long when being pulled to 5V. The actual build I'm running is this one: can you please verify if this makes any difference? Edit/update: |
hi @tonhuisman I tried with your build and it works fine!! Thanks you! |
Hi!
I need to add a SHTC3 I2C sensor on ESP32 C6. ESPEasy dont' have a plugin for this sensor.
DFRobot SHTC3 Sensor
How I can add it?
I2C address: 0x70
Board: FireBeetle 2 ESP32-C6
Build: ESP_Easy_mega_20240729_normal_ESP32c6_4M316k_LittleFS_CDC Jul 29 2024 with ENVIRONMENT SENSORS
The text was updated successfully, but these errors were encountered: