<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Ergänzung: das zweite Problem mit dem sensornamen, das name Attribut für Sensoren hab ich gefunden, aber im DSS z.B. für Zustände werden in der Sensorenliste nicht die Namen sondern die types angezeigt. Wenn man also 5 verschiedene sensorwerte alle vom Typ 1 sendet wird in der Liste 5x innentemperatur angezeigt ohne dass man weiss welcher Sensor nun welcher ist.<div>Und es sieht so aus wenn man mehrere Sensoren vom gleichen Typ hat die Zustände dann nicht korrekt gesetzt werden. Sieht danach aus dass der String vom Sensortype verwendet wird und bei z.B 5 mal „innentemperatur“ wird dann immer der erste Sensor ausgewertet auch wenn man in der zustandsdefinition den dritten gewählt hatte.</div><div><br></div><div><br></div><div>Grüsse</div><div>Alex <br><div><br><br><br><div id="AppleMailSignature">Von meinem iPhone gesendet</div>Am 24.10.2017 um 09:54 schrieb Alexander <<a href="mailto:dss@knauer-alexander.de">dss@knauer-alexander.de</a>>:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Hallo</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69); min-height: 20.3px;"><span style="font-family: ".SFUIText"; font-size: 17pt;"></span><br></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">ich habe ein Frage zu den Sensortypes.</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69); min-height: 20.3px;"><span style="font-family: ".SFUIText"; font-size: 17pt;"></span><br></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Ich bin gerade dabei einen VDC für KLAFS Saunasteuerung zu schreiben. Funktioniert schon soweit alles.</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Aber über die API der Steuerung bekomm ich unter anderem neben den Temperaturwerten „aktuell“, „Ziel“ auch einen Wert boolean „zieltemperatur erreicht“. Gibt es für bool / binär einen geeigneten Sensortype und kann man die Bezeichnung vom Sensortype die dann im DSS angezeigt wird selber setzen?</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Find in der Doku keinen passenden Sensortype.</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69); min-height: 20.3px;"><span style="font-family: ".SFUIText"; font-size: 17pt;"></span><br></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Ziel ist später im DSS konfigurieren zu können „wenn zieltemperatur erreicht“ dann „Licht aus, Musik an, Sonos ansage“.</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69); min-height: 20.3px;"><span style="font-family: ".SFUIText"; font-size: 17pt;"></span><br></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Als Workaround würd mir nur einfallen für „zieltemperatur erreicht“ auch sensortype 1 Temperatur zu verwenden, diesen Wert auf 0 zu lassen und sobald von steuerungsapi true für diesen Wert kommt, den SensorWert „Zieltemp erreicht“ auf den „zieltemp wert“ den die Sauna API geliefert hat zu setzen und an DSS zu melden.</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">(Hab über die Steuerungs API aber auch noch diverse andere bool Sensordaten die ich nutzen möchte.)</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69); min-height: 20.3px;"><span style="font-family: ".SFUIText"; font-size: 17pt;"></span><br></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Nur den „Temperatur aktuell“ wert im DSS verfügbar zu machen und auszuwerten macht für Sauna keinen Sinn da der für jedes saunaprogramm unterschiedlich ist.</span></p><p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;"><br></span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">So wie man es bei Wetter macht „temp = 25 grad dann Markise / storen runter“ geht also nicht.</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69); min-height: 20.3px;"><span style="font-family: ".SFUIText"; font-size: 17pt;"></span><br></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Danke.</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69); min-height: 20.3px;"><span style="font-family: ".SFUIText"; font-size: 17pt;"></span><br></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Grüsse</span></p>
<p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: ".SF UI Text"; color: rgb(69, 69, 69);"><span style="font-family: ".SFUIText"; font-size: 17pt;">Alex</span></p></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>dss-developer mailing list</span><br><span><a href="mailto:dss-developer@forum.digitalstrom.org">dss-developer@forum.digitalstrom.org</a></span><br><span><a href="http://forum.digitalstrom.org/cgi-bin/mailman/listinfo/dss-developer">http://forum.digitalstrom.org/cgi-bin/mailman/listinfo/dss-developer</a></span><br></div></blockquote></div></body></html>