{
"callsign": "KSBW",
"date": "20131126",
"duration": 3600,
"isOffAir": false,
"isPclocked": 3,
"isPpv": false,
"isRecording": false,
"isVod": false,
"major": 8,
"minor": 65535,
"offset": 3157,
"programId": "11269591",
"rating": "No Rating",
"startTime": 1385485200,
"stationId": 3910459,
"status": {
"code": 200,
"commandResult": 0,
"msg": "OK.",
"query": "/tv/getTuned"
},
"title": "Today"
}| {"ledstripe.temp": ["19.820", 1392568932.927889], "diningroom.temperature": ["20.040", 1392568933.346824], "lamp.mainlightstat": ["0.000", 1392568932.920869], "lamp.colour_red": ["0.000", 1392568928.110235], "lamp.colour_blue": ["0.000", 1392568928.103455], "kitchen.fridgetemp": ["4.200", 1392568933.353668], "lamp.colour_green": ["0.000", 1392568928.117113], "kitchen.freezertemp": ["-25.740", 1392568933.36056]} And corresponding parsers are following: | Number Temp_Livingroom "Living room [%.1f]" <temperature> (IND_LivingRoom) { http="<[http://192.168.2.202:7777/views/helloworld/sensors_valid:5000:REGEX(.*?ledstripe.temp\": \\[\"(.*?)\",(.*))]" } | Number Temp_KitchenAmbient "Room [%.1f]" <temperature> (IND_Kitchen) { http="<[http://192.168.2.202:7777/views/helloworld/sensors_valid:5000:REGEX(.*?diningroom.temperature\": \\[\"(.*?)\",(.*))]" } | Number Temp_Fridge "Fridge [%.1f]" <temperature> (IND_Kitchen) { http="<[http://192.168.2.202:7777/views/helloworld/sensors_valid:5000:REGEX(.*?kitchen.fridgetemp\": \\[\"(.*?)\",(.*))]" } | Number Temp_Freezer "Freezer [%.1f]" <temperature> (IND_Kitchen) { http="<[http://192.168.2.202:7777/views/helloworld/sensors_valid:5000:REGEX(.*?kitchen.freezertemp\": \\[\"(.*?)\",(.*))]" } |
--
____________________ Sicher ist sicher! E-Mail-Verkehr nur noch verschluesselt (SSL)!
--For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/bdTDlK2GDNI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.