Timbo69 Der Taupunkt wird mit der aktuellen Firmware automatisch angezeigt
Beiträge von Chaot
-
-
Kontrolliere mal ob Logging abgeschaltet ist (Einstellung - Logging-Serial Log auf 0).
Ansonsten eventuell SCL und SDA tauschen.
Ich kenne den S20 leider nicht auswendig, aber hast du keine andere Möglichkeit als die ausgerechnet TX und RX zu verwenden? Andere GPIOs wäre deutlich besser. Zumindest mit der SDA Leitung.
-
Danke dir.
Zumindest ein Rulespeicher freigeräumt. Ich fürchte den werde ich noch brauchen.
-
Hallo allerseits.
Wie dieÜberschrift schon sagt benötige ich eine kleine Hilfe bei den Rules.
Dabei handelt es sich um einen Wemos D1 Mini mit RFID Modul das 6 Karten lesen soll.
Das habe ich jetzt in 3 Rules realisiert.
Aber ich werde einfach das blöde Gefühl nicht los das ich das mal wieder viel zu umständlich gemacht habe.
Kann das sich mal jemand anschauen und mir vielleicht helfen die Rules zusammenzufassen?
Coderule1 on EVENT#PN532_DATA=Bernhard do backlog power1 on;power2 on;publish Bernhard 1; ruletimer1 1 endon on rules#timer=1 do power1 off;power2 off endon on EVENT#PN532_DATA=Julia do backlog power1 on;power2 on;publish Julia 1; ruletimer1 1 endon on rules#timer=1 do power1 off;power2 off endon rule2 on EVENT#PN532_DATA=Karte1 do backlog power1 on;power2 on;ruletimer1 1 endon on rules#timer=1 do backlog power1 off;power2 off; endon on EVENT#PN532_DATA=Karte2 do backlog power1 on;power2 on;publish Karte2 1; ruletimer1 1 endon on rules#timer=1 do power1 off;power2 off endon rule3 on EVENT#PN532_DATA=Martin do backlog power1 on;power2 on;publish Martin 1; ruletimer1 1 endon on rules#timer=1 do power1 off;power2 off endon on EVENT#PN532_DATA=GABI do backlog power1 on;power2 on;publish Gabi 1; ruletimer1 1 endon on rules#timer=1 do power1 off;power2 off endon
Ach, der Ruletimer ist Absicht mit 1 Sekunde.
-
Ich denke mal ich werde das Teil demnächst austauschen.
Von insgesamt 17 verbauten Sonoffs ist das der Einzige der sich so seltsam verhalten hat.
Das bei einem Sonoff das Netzteil kaputt geht hatte ich ja schon. Ich vermute hier auch das sich irgendwie ein Defekt ankündigt.
Also fliegt der erst mal raus und bleibt in der Testumgebung bis er sich in Rauch auflöst.
-
Danke für den hinweis.
Setoption 19 ist allerdings aus.
Aber dadurch bin ich auf die richtige Spur gekommen.
Bei den MQTT Einstellungen war in dem letzen Bereich "full topic" die Reihenfolge verdreht. Dort geändert und alles läuft wieder.
Ich kann mir aber beim besten Willen nicht erklären warum das passiert ist. Die letzten Daten kamen am 8.10. und ich habe das erst gestern gemerkt weil ich nach dem Firmwareupdate kontrolliert habe ob alles korrekt kommt.
Ich hatte um die Zeit mal einen Stromausfall im Haus, aber sonst habe ich an dem Sensor seit fast 6 Monaten keine Änderung mehr vorgenommen.
-
Seit ein paar Tagen funktioniert mein Außensensor nicht mehr richtig.
Als ich mir das dann heute mal angeschaut habe bin ich auf 2 Sachen gestoßen:
1. zeitserver hat nicht funktioniert - gelöst
2. Irgendwie scheint der über MQTT totalen Quatsch zu versenden, bzw. die Reihenfolge des Telegramms ist irgendwie verkehrt.
Ich habe in der konsole diese Daten:
Code22:06:33 MQT: %topic%/tele/STATE = {"Time":"2019-10-28T22:06:33","Uptime":"0T00:00:17","UptimeSec":17,"Heap":26,"SleepMode":"Dynamic","Sleep":150,"LoadAvg":5,"MqttCount":1,"POWER":"ON","Wifi":{"AP":1,"SSId":"****","BSSId":"78:8A:**:**:**:3E","Channel":11,"RSSI":100,"LinkCount":1,"Downtime":"0T00:00:06"}} 22:06:33 MQT: %topic%/tele/SENSOR = {"Time":"2019-10-28T22:06:33","Switch2":"ON","BME280":{"Temperature":6.46,"Humidity":79.29,"Pressure":991.29},"PressureUnit":"hPa","TempUnit":"C"}
Auf einem anderen Sonoff (der funktioniert kiommen die Dtaen so:
Code21:53:05 MQT: tele/%topic%/STATE = {"Time":"2019-10-28T21:53:05","Uptime":"3T03:20:22","UptimeSec":271222,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":184,"POWER":"OFF","Wifi":{"AP":1,"SSId":"****","BSSId":"78:8A:20:**:**:**","Channel":11,"RSSI":88,"LinkCount":1,"Downtime":"0T00:00:05"}} 21:53:05 MQT: tele/%topic%/SENSOR = {"Time":"2019-10-28T21:53:05","Switch1":"OFF"}
Ich meine den Anfang der Sendung:
MQT: tele/%topic%/XXX
und auf dem "Falschen":
MQT: %topic%/tele/XXX
Wie kann ich das wieder drehen?
-
Danke für die Info.
Ich bin überrascht das das so brauchbar funktioniert.
Dann werde ich doch mal den Sensor an unserem Altöltank verbauen.
-
DHT22 ist in der Auswahlliste der AM2301
Siehe hier:
https://github.com/arendst/Sonoff…y-&-Temperature
Tasmota Control kenne ich zwar nicht, aber der DHT22 an den Sonoffs ist vollkommen Problemlos.
Es kann sein das du die Auflösung einstellen möchtest. Das machst du dann über "TempRes":
P.S. Warum soll der DHT11 nicht unter 0° messen können? Klar kann er das. Aber er ist etwas ungenauer als der DHT22. Das stimmt.
-
Ich bin aktuell noch an einem anderen Projekt das ich dringend vorziehen musste.
-
-
So,
ich war mal dumpf am Copy&Paste und habe mir mal eine Testskala für 72LEDs zusammengezimmert.
Die sollte jetzt eigentlich von dunkelblau über grün nach gelb bis orange und rot laufen:
Code
Alles anzeigenon dht#temp do if [dht#temp]>-25 and [dht#temp]<-24 NeoPixel,1,0,0,139 endif if [dht#temp]>-24 and [dht#temp]<-23 NeoPixel,2,0,0,139 endif if [dht#temp]>-23 and [dht#temp]<-22 NeoPixel,3,0,0,139 endif if [dht#temp]>-22 and [dht#temp]<-21 NeoPixel,4,0,0,139 endif if [dht#temp]>-21 and [dht#temp]<-20 NeoPixel,5,0,0,205 endif if [dht#temp]>-20 and [dht#temp]<-19 NeoPixel,6,0,0,205 endif if [dht#temp]>-19 and [dht#temp]<-18 NeoPixel,7,0,0,205 endif if [dht#temp]>-18 and [dht#temp]<-17 NeoPixel,8,0,0,205 endif if [dht#temp]>-17 and [dht#temp]<-16 NeoPixel,9,0,0,238 endif if [dht#temp]>-16 and [dht#temp]<-15 NeoPixel,10,0,0,238 endif if [dht#temp]>-15 and [dht#temp]<-14 NeoPixel,11,0,0,238 endif if [dht#temp]>-14 and [dht#temp]<-13 NeoPixel,12,0,0,238 endif if [dht#temp]>-13 and [dht#temp]<-12 NeoPixel,13,0,0,255 endif if [dht#temp]>-12 and [dht#temp]<-11 NeoPixel,14,0,0,255 endif if [dht#temp]>-11 and [dht#temp]<-10 NeoPixel,15,0,0,255 endif if [dht#temp]>-10 and [dht#temp]<-9 NeoPixel,16,0,0,255 endif if [dht#temp]>-9 and [dht#temp]<-8 NeoPixel,17,39,64,139 endif if [dht#temp]>-8 and [dht#temp]<-7 NeoPixel,18,39,64,139 endif if [dht#temp]>-7 and [dht#temp]<-6 NeoPixel,19,39,64,139 endif if [dht#temp]>-6 and [dht#temp]<-5 NeoPixel,20,39,64,139 endif if [dht#temp]>-5 and [dht#temp]<-4 NeoPixel,21,58,95,205 endif if [dif [dht#temp]>-4 and [dht#temp]<-3 NeoPixel,22,58,95,205 endif if [dht#temp]>-3 and [dht#temp]<-2 NeoPixel,23,58,95,205 endif if [dht#temp]>-2 and [dht#temp]<-1 NeoPixel,24,58,95,205 endif if [dht#temp]>-1 and [dht#temp]<0 NeoPixel,25,72,118,255 endif if [dht#temp]>0 and [dht#temp]<-1 NeoPixel,26,72,118,255 endif if [dht#temp]>1 and [dht#temp]<-2 NeoPixel,27,72,118,255 endif if [dht#temp]>2 and [dht#temp]<3 NeoPixel,28,72,118,255 endif if [dht#temp]>3 and [dht#temp]<4 NeoPixel,29,0,139,139 endif if [dht#temp]>4 and [dht#temp]<5 NeoPixel,30,0,139,139 endif if [dht#temp]>5 and [dht#temp]<6 NeoPixel,31,0,139,139 endif if [dht#temp]>6 and [dht#temp]<7 NeoPixel,32,0,139,139 endif if [dht#temp]>7 and [dht#temp]<8 NeoPixel,33,0,205,205 endif if [dht#temp]>8 and [dht#temp]<9 NeoPixel,34,0,205,205 endif if [dht#temp]>9 and [dht#temp]<10 NeoPixel,35,0,205,205 endif if [dht#temp]>10 and [dht#temp]<11 NeoPixel,36,0,205,205 endif if [dht#temp]>11 and [dht#temp]<12 NeoPixel,37,0,238,238 endif if [dht#temp]>12 and [dht#temp]<13 NeoPixel,38,0,238,238 endif if [dht#temp]>13 and [dht#temp]<14 NeoPixel,40,0,238,238 endif if [dht#temp]>14 and [dht#temp]<15 NeoPixel,41,0,238,238 endif if [dht#temp]>15 and [dht#temp]<16 NeoPixel,42,0,255,255 endif if [dht#temp]>16 and [dht#temp]<17 NeoPixel,43,0,255,255 endif if [dht#temp]>17 and [dht#temp]<18 NeoPixel,44,0,255,255 endif if [dht#temp]>18 and [dht#temp]<19 NeoPixel,45,0,255,255 endif if [dht#temp]>19 and [dht#temp]<20 NeoPixel,46,50,205,50 endif if [dht#temp]>20 and [dht#temp]<21 NeoPixel,47,50,205,50 endif if [dht#temp]>21 and [dht#temp]<22 NeoPixel,48,50,205,50 endif if [dht#temp]>22 and [dht#temp]<23 NeoPixel,49,50,205,50 endif if [dht#temp]>23 and [dht#temp]<24 NeoPixel,50,50,205,50 endif if [dht#temp]>24 and [dht#temp]<25 NeoPixel,51,173,255,47 endif if [dht#temp]>25 and [dht#temp]<26 NeoPixel,52,173,255,47 endif if [dht#temp]>26 and [dht#temp]<27 NeoPixel,53,173,255,47 endif if [dht#temp]>27 and [dht#temp]<28 NeoPixel,54,173,255,47 endif if [dht#temp]>28 and [dht#temp]<29 NeoPixel,55,255,255,0 endif if [dht#temp]>29 and [dht#temp]<30 NeoPixel,56,255,255,0 endif if [dht#temp]>30 and [dht#temp]<31 NeoPixel,57,255,255,0 endif if [dht#temp]>31 and [dht#temp]<32 NeoPixel,58,255,255,0 endif if [dht#temp]>32 and [dht#temp]<33 NeoPixel,59,238,173,14 endif if [dht#temp]>33 and [dht#temp]<34 NeoPixel,60,238,173,14 endif if [dht#temp]>34 and [dht#temp]<35 NeoPixel,61,238,173,14 endif if [dht#temp]>35 and [dht#temp]<36 NeoPixel,62,238,173,14 endif if [dht#temp]>36 and [dht#temp]<37 NeoPixel,63,255,69,0 endif if [dht#temp]>37 and [dht#temp]<38 NeoPixel,64,255,69,0 endif if [dht#temp]>38 and [dht#temp]<39 NeoPixel,65,255,69,0 endif if [dht#temp]>39 and [dht#temp]<40 NeoPixel,66,255,69,0 endif if [dht#temp]>40 and [dht#temp]<41 NeoPixel,67,238,64,0 endif if [dht#temp]>41 and [dht#temp]<42 NeoPixel,68,238,64,0 endif if [dht#temp]>42 and [dht#temp]<43 NeoPixel,69,255,0,0 endif if [dht#temp]>43 and [dht#temp]<44 NeoPixel,70,255,0,0 endif if [dht#temp]>44 and [dht#temp]<45 NeoPixel,71,255,0,0 endif if [dht#temp] < -25 NeoPixel,1,0,0,128 endif if [dht#temp] > 45 NeoPixel,72,255,0,0 endif endon
Ich hoffe das das mal so funktioniert und es jemandem anderen auch weiterhelfen kann.
-
Ok, das ESP easy muss ich mir noch kurz anschauen. Aber soweit ich das verstehe scheint das genau das zu sein was mir so vorschwebt.
Ich muss also die erste Schleife (>25 <28) für alle Temperaturen wiederholen bis ich durch die ganze Skala bin und die letzten beiden Blöcke geben mir dann den Anfangs- und Endpixel an.
Im Grunde ist es mir egal ob das Ding jetzt mit Tasmota oder sonstwas läuft. Das habe ich ja auch nicht vor in die Haussteuerung einzubinden. Das ist nur eine kleine Spielerei die ich mir beim Blick aus dem Fenster gönnen möchte.
-
oh, danke.
Das wäre klasse!
-
Ich habe hier einen WS2812 Streifen liegen den ich gerne als Temperaturanzeige einsetzen würde.
Jetzt stellt sich die Frage ob es möglich ist über Rules die Anzeige zu realisieren oder ob ich das über den ioBroker umsetzen muss.
Meine Vorstellung wäre ein Streifen mit 120 LEDs um einen Temperaturbereich von -25°C bis 45°C abzudecken
Dabei sollten immer 2 LEDs an sein und eventuell auch in der entsprechenden Farbe leuchten.
Also bei -20°C beispielsweise LED # 12 und 13 in blau oder bei 40°C LED # 110 und 111 in rot.
Kann sowas mit Rules funktionieren?
-
Ich bin mit meinem Latein am Ende und finde keine Lösung für ein Problem das eigentlich gar nicht so groß sein kann.
Folgende Ausgangssituation:
Ich nutze eine kleine Zeiterfassung:
Dort ist eine Webseite dabei auf der sich über einen Touchscreen die Personen an- und abmelden können.
Jetzt wollte ich auf der Seite oben oder unten die Aktuelle Uhrzeit und das Datum anzeigen lassen. Aber irgendwie schaffe ich das nicht bzw. kenne ich mich dazu viel zu wenig aus.
Ich hoffe es findet sich hier jemand der mir weiterhelfen kann.
Das ist übrigens nicht kommerziell gedacht sondern für einen Kinderhort an den Spiel-/Hausaufgabenzimmern als Anwesenheitsmeldung der Kinder. So nebenbei kann man dann auch auswerten wie die Zeitaufteilung der Kids abläuft
-
Sorry, aber Kind und Basteln am Strom ist eher keine gute Idee.
Ich würde da eher eine Funksteckdose mit zwei Funkschaltern nehmen. Den einen am Bett verbaut zum Einschalten un den anderen eben in der Küche wenn sie eingeschlafen ist.
-
Wenn du das gleich am Anfang geschrieben hättest hätten sich die Hälfte der Diskussionsteilnehmer hier die Herztabletten sparen können und du hättest eine einzige Antwort bekommen.
-
Ich persönlich kenne kein kostenloses VPN das in irgendeiner Form eine vernünftige Geschwindigkeit liefert.
Ob da meine Daten in Gefahr sind?
Ehrlich gesagt sind die vermutlich genauso in Gefahr wie bei allen anderen. Wenn einer der Administratoren eine Lücke offen lässt sind sie einfach gefährdet. Ob ich dafür bezahle oder nicht.
Aber gib mal Bescheid wenn du einen freien gefunden hast der nicht einschläft.
-