{
"patcher" : {
"fileversion" : 1,
"rect" : [ 25.0, 69.0, 640.0, 480.0 ],
"bglocked" : 0,
"defrect" : [ 25.0, 69.0, 640.0, 480.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 5.0, 5.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-14",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 252.0, 314.0, 252.0, 20.0 ],
"text" : "http://cycling74.com/toolbox/pachube-tools/"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-13",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 277.0, 90.0, 190.0, 20.0 ],
"text" : "read each line of the xml file"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-11",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 251.0, 295.0, 177.0, 20.0 ],
"text" : "text2regexp patcher by Nnimar "
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-9",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 281.0, 390.0, 63.0, 20.0 ],
"text" : "SENSOR"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-8",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 232.0, 390.0, 50.0, 20.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-6",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 116.0, 393.0, 49.0, 20.0 ],
"text" : "WATTS"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-5",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 141.0, 80.0, 35.0, 18.0 ],
"text" : "read"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 14.0,
"id" : "obj-12",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 67.0, 391.0, 50.0, 23.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 14.0,
"id" : "obj-61",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 4,
"outlettype" : [ "", "", "", "" ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 642.0, 44.0, 624.0, 446.0 ],
"bglocked" : 0,
"defrect" : [ 642.0, 44.0, 624.0, 446.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 14.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"comment" : "",
"id" : "obj-7",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 351.0, 371.0, 25.0, 25.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 14.0,
"id" : "obj-4",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 351.0, 327.0, 50.0, 21.0 ],
"text" : "1"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "" ],
"patching_rect" : [ 342.0, 259.0, 179.0, 20.0 ],
"text" : "regexp (.+?)"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 14.0,
"id" : "obj-50",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patcher" : {
"fileversion" : 1,
"rect" : [ 25.0, 69.0, 307.0, 392.0 ],
"bglocked" : 0,
"defrect" : [ 25.0, 69.0, 307.0, 392.0 ],
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
"openinpresentation" : 0,
"default_fontsize" : 14.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"boxes" : [ {
"box" : {
"fontname" : "Arial",
"fontsize" : 11.595187,
"id" : "obj-1",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 136.0, 178.0, 43.0, 20.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 14.0,
"id" : "obj-44",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 69.0, 246.0, 112.0, 21.0 ],
"text" : "12h40m31s"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 14.0,
"id" : "obj-42",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 49.0, 205.0, 184.0, 23.0 ],
"text" : "sprintf %.2ldh%.2ldm%.2lds"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 11.595187,
"id" : "obj-25",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 92.0, 178.0, 43.0, 20.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 11.595187,
"id" : "obj-26",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 48.0, 178.0, 43.0, 20.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 11.595187,
"id" : "obj-27",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "int", "int", "int" ],
"patching_rect" : [ 48.0, 152.0, 107.0, 20.0 ],
"text" : "unpack 0 0 0"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 11.595187,
"id" : "obj-28",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "list", "list", "int" ],
"patching_rect" : [ 48.0, 126.0, 42.0, 20.0 ],
"text" : "date"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 11.595187,
"id" : "obj-37",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 48.0, 98.0, 32.5, 18.0 ],
"text" : "time"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-45",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 48.0, 38.0, 25.0, 25.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-46",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 49.0, 318.0, 25.0, 25.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-42", 2 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-42", 1 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-42", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-26", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-27", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-25", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-27", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-26", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-27", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-27", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-28", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-28", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-37", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-44", 1 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-42", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-46", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-42", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-37", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-45", 0 ]
}
}
]
}
,
"patching_rect" : [ 29.0, 128.0, 49.0, 23.0 ],
"saved_object_attributes" : {
"fontface" : 0,
"default_fontface" : 0,
"fontsize" : 14.0,
"default_fontname" : "Arial",
"default_fontsize" : 14.0,
"fontname" : "Arial",
"globalpatchername" : ""
}
,
"text" : "p time"
}
}
, {
"box" : {
"id" : "obj-40",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 29.0, 101.0, 20.0, 20.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "" ],
"patching_rect" : [ 151.0, 105.0, 155.0, 20.0 ],
"text" : "regexp (.+?)"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 14.0,
"id" : "obj-6",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 217.0, 133.0, 50.0, 21.0 ],
"text" : "18.4"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "", "", "", "", "" ],
"patching_rect" : [ 99.0, 175.0, 163.0, 20.0 ],
"text" : "regexp (.+?)"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 14.0,
"id" : "obj-30",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 170.0, 207.0, 50.0, 21.0 ],
"text" : "61"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 14.0,
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 99.0, 55.0, 65.0, 23.0 ],
"text" : "route set"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-57",
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 99.0, 17.0, 25.0, 25.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-58",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 29.0, 160.0, 25.0, 25.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-59",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 135.0, 204.0, 25.0, 25.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-60",
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 185.0, 130.0, 25.0, 25.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-30", 1 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-59", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 1 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-2", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-60", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-2", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 1 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-3", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-3", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-50", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-40", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ 108.5, 89.0, 160.5, 89.0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"hidden" : 0,
"midpoints" : [ 108.5, 168.0, 351.5, 168.0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-40", 0 ],
"hidden" : 0,
"midpoints" : [ 108.5, 89.0, 38.5, 89.0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-58", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-50", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-57", 0 ]
}
}
]
}
,
"patching_rect" : [ 156.0, 293.0, 95.0, 23.0 ],
"saved_object_attributes" : {
"fontface" : 0,
"default_fontface" : 0,
"fontsize" : 14.0,
"default_fontname" : "Arial",
"default_fontsize" : 14.0,
"fontname" : "Arial",
"globalpatchername" : ""
}
,
"text" : "p text2regexp"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-3",
"maxclass" : "number",
"maximum" : 30,
"minimum" : 1,
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 225.0, 91.0, 50.0, 20.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-2",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 181.0, 120.0, 46.0, 18.0 ],
"text" : "line $1"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "bang", "int" ],
"patching_rect" : [ 161.0, 228.0, 46.0, 20.0 ],
"text" : "text"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-61", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"hidden" : 0,
"midpoints" : [ ],
"source" : [ "obj-61", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"hidden" : 0,
"midpoints" : [ 241.5, 377.5, 241.5, 377.5 ],
"source" : [ "obj-61", 3 ]
}
}
]
}
}