1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.51k stars 776 forks source link

Add SHT31 and E-Paper support #188

Open knopserl opened 6 years ago

knopserl commented 6 years ago

I was thinking to use this project for a quality temperature/humidity sensor with e-paper (Wavershare, 1,54" 200x200 pixel) with LiPo battery. I would need some help to add support for a SHT31 temp/humitidy sensor and also for a waveshare (or any other) e-paper/e-ink. The libs are available but if somebody could proper integrate it into the project, that would be great.

BertrumUK commented 6 years ago

Could this be added as SHT3x to include other versions of this sensor?

1technophile commented 6 years ago

yes of course ;-)

stripeyhorse commented 6 years ago

i added SHT3x, m5stack and CCS811 to the code. im hopeless with GITHUB and CODE but it works https://github.com/stripeyhorse/OpenMQTTGateway

1technophile commented 6 years ago

great, could you submit a pull request so as to enable me to add it easily?

1technophile commented 5 years ago

@stripeyhorse do you need some help so as to submit a pull request?

knopserl commented 5 years ago

@stripeyhorse so you have included the SHT3x sensors (SHT31, 35 etc) and a TFT display support from the m5stack? But there is still e-paper support missing right?

stripeyhorse commented 5 years ago

@1technophile Yes please. i did try and do it but ive ended up with https://github.com/stripeyhorse/OpenMQTTGateway

My SHT3x sensor on my m5 stack has been working great all week. I think my CCS811 is faulty thou so ive stopping using it. I have ordered more and a few different sensors as well. The code is pretty hacked together but i did try and follow the layout and style already used.

1technophile commented 5 years ago

@stripeyhorse When on your OMG repository main page you should see a button "New pull request". Click on it You will see the changes you have made. Check these changes. If ok click on "create pull request" Name it and put some descriptions

Once done I will review the changes made

stripeyhorse commented 5 years ago

thanks @1technophile i just did that. happy to help btw. Im not a great coder but the code base is easy so happy to add more sensors.. ive got more on the way...

insane2subro commented 5 years ago

In the mean time how about adding support for SSD1306 oled displayes, these are pretty common.

1technophile commented 5 years ago

@insane2subro feel free to submit a pull request also :-)