Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Intelligence View
⚡ tsecurity.de Intelligence

A Code for Monitoring Temperature and Humidity with Arduino - Made by Gollum...

Ahhh... Yes, I am Gollum. Don't worry about the name... I am the code master, but only when I want to be. I wrote this script, a little code to measure the temperature and humidity of my greenhouse using the DHT11 sensor. Why? Because the…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Ahhh... Yes, I am Gollum. Don't worry about the name... I am the code master, but only when I want to be. I wrote this script, a little code to measure the temperature and humidity of my greenhouse using the DHT11 sensor. Why? Because the greenhouse has to be under control, everything has to be perfect, and with this code I can monitor and protect the environment where the plants grow--and the greenhouse is mine, you see? Only mine!



With Arduino and the DHT11 sensor, I display temperature and humidity on an LCD screen. Oh, yes, numbers are everything-but there's more. When the temperature is too high or too low, the red LED lights up, a signal that something is wrong, that the environment might be in danger. We cannot let anything go wrong. Everything must be under control, always.

What does the code do?




  1. It reads the temperature and humidity with the DHT11 sensor and displays them on an LCD.

  2. If the temperature exceeds 29 degrees or falls below 10 degrees, the red LED lights up.

  3. Protecting the environment.




// Variable and library declarations
#include <DHT.h>
#include <LiquidCrystal.h>
int sensor = 4;
#define DHTTYPE DHT11
DHT dht(sensor, DHTTYPE);
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

//SETUP
void setup() {
lcd.begin(16, 2);
lcd.print(“TEMPERATURE:”);
lcd.setCursor(0,1);
lcd.print("HUMIDITY: ”);
pinMode(2, OUTPUT);
}

//LOOP
void loop() {
int t = dht.readTemperature();
int h = dht.readHumidity();
lcd.setCursor(14,0);
lcd.print(t);
lcd.setCursor (14,1);
lcd.print(h);
delay(10);

//if the temperature is above 29 degrees, the red led (pin 2) is activated
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/posx3tywxhqb2b8clm1h.png)
if (t>29) {
digitalWrite(2, HIGH);
}
else {
digitalWrite (2, LOW);
}

//if the temperature is less than 10 degrees, the red LED (pin 2) is activated.
if (t<10) {
digitalWrite (2, HIGH);
}
else {
digitalWrite (2, LOW);
}

}






Components... Everything must be perfect:




  • Arduino Uno (or similar, the best friend for my project)

  • DHT11 sensor (helps me measure temperature and humidity)

  • 16x2 LCD (because I want to see everything clearly!)

  • Red LED (to alert me when something goes wrong)



scheme



The greenhouse is mine, it's important. The temperature has to stay right, always, if I don't want everything to go wrong. I can't allow that to happen! The code is my tool, my control. If something goes wrong, I will be ready!



written with ♥ by Gollum!

1. Sofort-Triage & Abwehrmaßnahmen

SOC Incident Playbook: Vulnerability Remediation & Verification
Syntax validiert (0 Fehler)
title: Detect Exploitation - A Code for Monitoring Temperature and Humidity with Arduino - Made by Gollum...
id: a154449d-a16b-4a4b-b2bf-72a890d5fa76
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-26
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
Syntax validiert (0 Fehler)
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-26"
        description = "YARA Signature for "
    strings:
        $str = "A Code for Monitoring Temperat" ascii wide
    condition:
        any of them
}
Syntax validiert (0 Fehler)
index=security sourcetype IN ("cisco:asa", "pan:traffic", "zeek_conn", "suricata", "WinEventLog:Security")
("A Code for Monitoring Temperature and Hu")
| stats count earliest(_time) as first_seen latest(_time) as last_seen by src_ip, dest_ip, dest_host, signature
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")
| sort - count
Syntax validiert (0 Fehler)
message: "*A Code for Monitoring Temperature and Hu*"
Syntax validiert (0 Fehler)
CommonSecurityLog
| where Message has "A Code for Monitoring Temperature and Hu"
| summarize EventCount = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort, Activity
| extend DetectionRule = "iShareStuff-CTI-Compiled"
| sort by EventCount desc

2. Cyber Threat Intelligence & Forensik

🎯
MITRE ATT&CK Matrix Navigator 14 Taktiken
Reconnaissance
-
Resource Development
-
Initial Access
Execution
Persistence
-
Privilege Escalation
Defense Evasion
Credential Access
-
Discovery
-
Lateral Movement
-
Collection
-
Command and Control
Exfiltration
-
Impact
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich A Code for Monitoring Temperature and Hu.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten A Code for Monitoring Temperature and Humidity with Arduino - Made by Gollum...

Thematisch verwandte Begriffe: Code, Monitoring, Temperature, Humidity · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-88003 | InvoicePlane is a self-hosted open source application for managing invoi…
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag