Joolee / nl.joolee.homey.espeasy

ESP Easy is a firmware for ESP8266 boards like the WeMos D1 and NodeMCU. It allows you to quickly make custom devices with switches, sensors and other hardware. This app adds support to Homey for connecting with ESP Easy units.
GNU General Public License v3.0
6 stars 5 forks source link

[Request] add enviroment for SHT31 (/SHT30/SHT35) #32

Open caseda opened 2 years ago

caseda commented 2 years ago

I really like your app, but I would like to request an additional environment sensor, namely the SHT31 (temperature and humidity). I know it is currently in their test branch (Test A) but it does work (already).

Here is the JSON output for the sensor:

{
  "TaskValues": [
    {
      "ValueNumber":1,
      "Name":"Temperature",
      "NrDecimals":2,
      "Value":19.05
    },
    {
      "ValueNumber":2,
      "Name":"Humidity",
      "NrDecimals":2,
      "Value":39.92
    }
  ],
  "DataAcquisition": [
    {
      "Controller":1,
      "IDX":4,
      "Enabled":"true"
    },
    {
      "Controller":2,
      "IDX":0,
      "Enabled":"false"
    },
    {
      "Controller":3,
      "IDX":0,
      "Enabled":"false"
    }
  ],
  "TaskInterval":60,
  "Type":"Environment - SHT30/31/35 [TESTING]",
  "TaskName":"SHT31",
  "TaskDeviceNumber":68,
  "TaskEnabled":"true",
  "TaskNumber":4
}

If you need any more information let me know

Joolee commented 2 years ago

Can you test the modification I made? It would also confirm the effect of commit 4640634d81b10a9e49d54ca92dc369be9aed2f7c for me.

Joolee commented 2 years ago

I published the change to testing for ease of testing :) https://homey.app/a/nl.joolee.homey.espeasy/test/

caseda commented 2 years ago

It is already discovered so that sounds promising.

I can't fully test it yet as I removed the IDX temporarily as I'm still in the process of testing some stuff (and wanted to save some load). Creating an home made weather sensor (Weather resistant SHT31 (calculated dewpoint), BME280 (additional pressure), analog UV sensor, and BH1750 (lux sensor)). And soon additional optical rain sensor (tipping bucket mode). Gotta love ESP easy (with Homey integration).

The ESP8266 is getting a bit of a bottle neck though (especially the single analog input sux), getting an Wemos ESP32 S2 today 😄

Joolee commented 2 years ago

As long as it's discovered, that's enough for me. I don't doubt the rest ;)

The ESP is noticeably faster, I don't use the 8266 any more. For a weather station, I wanted to go with a complete package in the form of the Weatherflow Tempest it seems to be sold out in Europe at the moment :(

caseda commented 2 years ago

As long as it's discovered, that's enough for me. I don't doubt the rest ;)

Hate to say it, but it isn't working report wise 😛 the values stay null (-), though the heartbeat does get updated. So it is most likely something pretty generic.

timestamp(?) in the logs of esp-easy: 171406923 log value: EVENT: SHT31#Humidity=64.44

log code from Homey: 031f3660-35c5-4f12-938e-614bf3b29066

If you need anything more let me know 😄