From f5e844a92238ada76ec3a7c3c75ff3ec35915f08 Mon Sep 17 00:00:00 2001
From: "de@itstall.de" <de@itstall.de>
Date: Tue, 4 Feb 2020 18:58:56 +0100
Subject: [PATCH] Fixed bug with inhouse humidity

---
 Wetterstation/Form1.cs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Wetterstation/Form1.cs b/Wetterstation/Form1.cs
index 9fafc36..964b2cd 100644
--- a/Wetterstation/Form1.cs
+++ b/Wetterstation/Form1.cs
@@ -154,8 +154,6 @@ namespace Wetterstation
         {
             // Handle message received
             var message = System.Text.Encoding.Default.GetString(e.Message);
-            //System.Console.WriteLine("Message received: " + message);
-            Console.WriteLine("With Topic: " + e.Topic);
 
             if (e.Topic.Equals(WeatherstationSettings.mqtt_topic_frontend + WeatherstationSettings.frontendId + "/weather"))
             {
@@ -341,7 +339,7 @@ namespace Wetterstation
                     lbTempInMin.Invoke(new Action(() => { lbTempInMin.Text = node1In.tempMin + " °C"; }));
                     lbTempInMax.Invoke(new Action(() => { lbTempInMax.Text = node1In.tempMax + " °C"; }));
                 }
-                if (weatherData[0]["client"] == WeatherstationSettings.node1Id && weatherData[0]["sensor"] == WeatherstationSettings.node1Innen && weatherData[0]["himidity"] != null)
+                if (weatherData[0]["client"] == WeatherstationSettings.node1Id && weatherData[0]["sensor"] == WeatherstationSettings.node1Innen && weatherData[0]["humidity"] != null)
                 {
                     node1In.humidity = true;
                     lbLuftFeuchtInnen.Invoke(new Action(() => { lbLuftFeuchtInnen.Text = weatherData[0]["humidity"] + " %"; }));
-- 
GitLab