Hi,
I used this piece of code to show me my floor heating temp in, temp out and room temp,
{my $lderr = ReadingsVal($name,"LWT","unknown") eq "Online"?"10px-kreis-gruen":"10px-kreis-rot";;
my $floor = ReadingsVal($name,"DS18B20-2_Temperature","unknown") < 19?"sani_floor_heating_neutral@#0000FF":"sani_floor_heating_neutral@#ffa500";;
my $temp = ReadingsVal($name,"DS18B20-2_Temperature","unknown");;
my $temp1 = ReadingsVal($name,"DS18B20-1_Temperature","unknown");;
my $temp2 = ReadingsVal($name,"DS18B20-3_Temperature","unknown");;
FW_makeImage($lderr)."<a href=\"/fhem?cmd.dummy=set $name toggle&XHR=1\">".FW_makeImage($floor)."</a><div>Temperatuur: $temp °C / Temp in: $temp1 °C / Temp uit: $temp2 °C </div>"}
But now the info shows 6 times under eachother, do i miss some error in the code?
This sometimes happens, when there's also a multiline stateFormat attribute.
Pls. show the entire device (best: as RAW definition) in case of further questions on this.
OH WOW, thanks so much, that worked like a charm!
Yes next time i will include the RAW code, sry.
You are welcome!
Would you mind mark the thread as [solved] ? (Edit the title in the first message).