I'm using #esp8266 #d1mini boards for weather stations and decided to add a 1wire DS18B20 probe to monitor my backyard pond temp yesterday. Got the code working and put the upgrades outside today... One reading and then nothing. OK, change parts -- one reading and nothing.
After much frustration, I finally figured out the problem. I'm using the internal pull-up resistor on D3 (GPIO2) for the probe, and apparently it only stays in pullup mode when you first boot. Run it continuously, no problem. Deep-sleep the device, and the pullup gets disabled. ARGGGG!
Luckily there is an easy fix. During setup, just pinMode(D3, INPUT_PULLUP) and it is re-enabled after each sleep period. Not something I had run into before, but glad I figured it out.
So now... pond water temp: 40.23F and slowly dropping since sunset. And next time it freezes over (not expected any time soon though), I can see if I need to worry about my fish.
I had a fun #ESPHome project today, creating an interior air quality monitor using an #SPS30 Particulate Matter Sensor and a #D1Mini. I added the sensor to #HomeAssistant, and the values look good based on ChatGPT analytics.
Next, I want to aggregate the results into a global air quality sensor with categories like perfect, healthy, average, bad, and terrible.
Of course, I need to wire this setup better.
Für alle meine #Renogy MPPT-Solar-Ladecontroller habe ich eine #esp8266 Platine, die mir die Daten als MQTT liefert (RNGBridge-Projekt von @enwi). Ein Controller hatte da immer wieder Aussetzer, bzw. die WebUI ließ sich nicht aufrufen oder nur sporadisch.
Langer Rede kurzer Sinn: Ein #Wemos #D1Mini kann auch "halb kaputt gehen".
Neuen ESP/D1Mini mit der Firmware geflasht und eingesetzt, läuft wieder.
I think this is the plan for monitoring the water temperature in the heating and hot water system with Dallas DS18B20s, but with 7 or 9 sensors attached to a single bus. Will need to swap out the 4.7k resistor for something with a lower resistance.
Next up: (not today) wiring loom
Future: how to strap these to copper pipes to get an accurate reading and keep them secure over time.
#ESPHome ❤️
Can I get away with a #D1Mini for this?
ich habe erfolgreich den code fuer unser rolltor ausgelesen und gespeichert. kann nun also das tor hochfahren lassen mit dem #flipper.
schön.
wie extrahiere ich dieses training nun um es auf beispielsweise einem #D1Mini esp oder zb einem #shelly #433MHz sender vom #homeassistant ausrollen zu lassen? beispielsweise wenn man die richtige nebenstelle der telefonanlage anruft oder so...