Code: Select all
{
"entity_id": "input_text.reminders",
"state": "reminder text 1, reminder text 2, reminder text 3, reminder text 4",
"attributes": {
"editable": true,
"min": 0,
"max": 9999999,
"pattern": null,
"mode": "text",
"icon": "mdi:checkbox-marked-circle-auto-outline",
"friendly_name": "Reminders"
}
}
Code: Select all
[MeasureParent]
Measure=WebParser
URL=https://some.url
UpdateRate=300
RegExp="\"state\":\"([^\"]+)\""
[MeasureItem1]
Measure=WebParser
URL=[MeasureParent]
StringIndex=1
RegExpSubstitute=1
Substitute="([^,]+).*":"\1"
Substitute=#Substitute#
[MeasureItem2]
Measure=WebParser
URL=[MeasureParent]
StringIndex=1
RegExpSubstitute=1
Substitute="[^,]+,\s*([^,]+).*":"\1"
Substitute=#Substitute#
[MeasureItem3]
Measure=WebParser
URL=[MeasureParent]
StringIndex=1
RegExpSubstitute=1
Substitute="[^,]+,\s*[^,]+,\s*([^,]+).*":"\1"
Substitute=#Substitute#
[MeasureItem4]
Measure=WebParser
URL=[MeasureParent]
StringIndex=1
RegExpSubstitute=1
Substitute="[^,]+,\s*[^,]+,\s*[^,]+,\s*([^,]+).*":"\1"
Substitute=#Substitute#
[MeasureItem5]
Measure=WebParser
URL=[MeasureParent]
StringIndex=1
RegExpSubstitute=1
Substitute="[^,]+,\s*[^,]+,\s*[^,]+,\s*[^,]+,\s*([^,]+).*":"\1"
Substitute=#Substitute#
;[METERS]==========================
[Item1Box]
Meter=Shape
Shape=Rectangle 0,3,13,13,2 | Fill Color 255,255,255,0 | StrokeWidth 2 | Stroke Color 255,255,255
[Item1]
Meter=STRING
MeasureName=MeasureItem1
X=22
Y=0
MeterStyle=standaardFont
[Item1Separator]
Meter=IMAGE
MeterStyle=Separator
[Item2Box]
Meter=Shape
Shape=Rectangle 0,40,13,13,2 | Fill Color 255,255,255,0 | StrokeWidth 2 | Stroke Color 255,255,255
[Item2]
Meter=STRING
MeasureName=MeasureItem2
X=22
Y=37
MeterStyle=standaardFont
[Item2Separator]
Meter=IMAGE
MeterStyle=Separator
[Item3Box]
Meter=Shape
Shape=Rectangle 0,80,13,13,2 | Fill Color 255,255,255,0 | StrokeWidth 2 | Stroke Color 255,255,255
[Item3]
Meter=STRING
MeasureName=MeasureItem3
X=22
Y=77
MeterStyle=standaardFont
[Item3Separator]
Meter=IMAGE
MeterStyle=Separator
[Item4Box]
Meter=Shape
Shape=Rectangle 0,120,13,13,2 | Fill Color 255,255,255,0 | StrokeWidth 2 | Stroke Color 255,255,255
[Item4]
Meter=STRING
MeasureName=MeasureItem4
MeasureName2=MeasureItem1
X=22
Y=117
MeterStyle=standaardFont
ClipString=1
[Item4Separator]
Meter=IMAGE
MeterStyle=Separator
[Item5Box]
Meter=Shape
Shape=Rectangle 0,160,13,13,2 | Fill Color 255,255,255,0 | StrokeWidth 2 | Stroke Color 255,255,255
[Item5]
Meter=STRING
MeasureName=MeasureItem5
MeasureName2=MeasureItem1
X=22
Y=157
MeterStyle=standaardFont
ClipString=1
[Item5Separator]
Meter=IMAGE
MeterStyle=Separator