-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathgardena2mqtt.drawio
77 lines (77 loc) · 11.1 KB
/
gardena2mqtt.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<mxfile host="65bd71144e">
<diagram id="TVAN1RsCujCGbqIX8O2h" name="Page-1">
<mxGraphModel dx="998" dy="779" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="iZQYFHLlT02GK9p6kuBg-9" style="edgeStyle=orthogonalEdgeStyle;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#006658;fontColor=#5C5C5C;strokeWidth=2;startArrow=classic;startFill=1;" parent="1" source="iZQYFHLlT02GK9p6kuBg-2" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="680" y="265" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="iZQYFHLlT02GK9p6kuBg-2" value="" style="whiteSpace=wrap;html=1;fillColor=#21C0A5;strokeColor=#006658;fontColor=#5C5C5C;rounded=1;" parent="1" vertex="1">
<mxGeometry x="290" y="220" width="320" height="90" as="geometry"/>
</mxCell>
<mxCell id="iZQYFHLlT02GK9p6kuBg-3" value="" style="endArrow=classic;html=1;strokeColor=#006658;fontColor=#5C5C5C;strokeWidth=2;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="143" y="459.66" as="sourcePoint"/>
<mxPoint x="290" y="459.66" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="iZQYFHLlT02GK9p6kuBg-4" value="<font style="font-size: 32px">MQTT</font>" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;fontColor=#5C5C5C;rounded=1;" parent="1" vertex="1">
<mxGeometry x="180" y="180" width="110" height="30" as="geometry"/>
</mxCell>
<mxCell id="iZQYFHLlT02GK9p6kuBg-11" value="<div style="font-size: 16px"></div><font color="#000000"><span style="font-size: 16px">{"</span><b style="font-size: 16px">datetime</b><span style="font-size: 16px">":"2021-01-23 13:00:00",</span><br></font><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">&nbsp;"</span><b style="color: rgb(0 , 0 , 0) ; font-size: 16px">id</b><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">":"{GUID}</span><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">",</span><span style="color: rgb(0 , 0 , 0) ; font-size: 16px"><br>&nbsp;"</span><b style="color: rgb(0 , 0 , 0) ; font-size: 16px">type</b><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">":"MOWER",</span><font color="#000000"><span style="font-size: 16px"><br></span>&nbsp;</font><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">"</span><b style="color: rgb(0 , 0 , 0) ; font-size: 16px">name</b><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">":"MySileno</span><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">", ...</span><font color="#000000"><br></font><div style="font-size: 16px"><font style="font-size: 16px" color="#000000">&nbsp;...}</font></div><span style="font-size: 16px"><br></span>" style="text;html=1;resizable=0;autosize=1;align=left;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;fontColor=#5C5C5C;rounded=1;" parent="1" vertex="1">
<mxGeometry x="30" y="286" width="270" height="90" as="geometry"/>
</mxCell>
<mxCell id="iZQYFHLlT02GK9p6kuBg-12" value="" style="endArrow=classic;html=1;strokeColor=#006658;fontColor=#5C5C5C;strokeWidth=2;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="290" y="264.65999999999997" as="sourcePoint"/>
<mxPoint x="142" y="264.65999999999997" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="iZQYFHLlT02GK9p6kuBg-13" style="edgeStyle=orthogonalEdgeStyle;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;startArrow=classic;startFill=1;endArrow=classic;endFill=1;strokeColor=#006658;fontColor=#5C5C5C;strokeWidth=2;" parent="1" source="iZQYFHLlT02GK9p6kuBg-14" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="680" y="469" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="iZQYFHLlT02GK9p6kuBg-14" value="" style="whiteSpace=wrap;html=1;fillColor=#21C0A5;strokeColor=#006658;fontColor=#5C5C5C;rounded=1;" parent="1" vertex="1">
<mxGeometry x="290" y="414" width="320" height="110" as="geometry"/>
</mxCell>
<mxCell id="iZQYFHLlT02GK9p6kuBg-18" value="<div style="font-size: 16px"></div><font style="font-size: 16px" color="#000000">{</font><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">"</span><b style="color: rgb(0 , 0 , 0) ; font-size: 16px">result</b><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">":"success",</span><font style="font-size: 16px" color="#000000"><br></font><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">"</span><b style="color: rgb(0 , 0 , 0) ; font-size: 16px">datetime</b><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">":"2021-01-23 13:00:00",</span><font style="font-size: 16px" color="#000000"><br></font><div style="font-size: 16px"><font style="font-size: 16px" color="#000000">&nbsp;"<b>request</b>":{JSON passed to /control}}</font></div>" style="text;html=1;resizable=0;autosize=1;align=left;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;fontColor=#5C5C5C;rounded=1;" parent="1" vertex="1">
<mxGeometry x="40" y="490" width="280" height="50" as="geometry"/>
</mxCell>
<mxCell id="iZQYFHLlT02GK9p6kuBg-19" value="" style="endArrow=classic;html=1;strokeColor=#006658;fontColor=#5C5C5C;strokeWidth=2;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="290" y="479.66" as="sourcePoint"/>
<mxPoint x="135" y="479.66" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="0WyOtpwQdWUZ3Yu5Fqzz-1" value="<b><font style="font-size: 16px">gardena2mqtt/{device}</font></b>" style="text;html=1;resizable=0;autosize=1;align=left;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;" parent="1" vertex="1">
<mxGeometry x="300" y="250" width="200" height="30" as="geometry"/>
</mxCell>
<mxCell id="0WyOtpwQdWUZ3Yu5Fqzz-3" value="<b><font style="font-size: 16px">gardena2mqtt/{device}/control</font></b>" style="text;html=1;resizable=0;autosize=1;align=left;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;" parent="1" vertex="1">
<mxGeometry x="300" y="445" width="250" height="30" as="geometry"/>
</mxCell>
<mxCell id="0WyOtpwQdWUZ3Yu5Fqzz-4" value="<span style="color: rgb(92 , 92 , 92) ; font-size: 23px">gardena2mqtt</span>" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;" parent="1" vertex="1">
<mxGeometry x="356" y="200" width="160" height="20" as="geometry"/>
</mxCell>
<mxCell id="0WyOtpwQdWUZ3Yu5Fqzz-5" value="<span style="color: rgb(92 , 92 , 92) ; font-size: 23px">gardena2mqtt</span>" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;" parent="1" vertex="1">
<mxGeometry x="359" y="394" width="160" height="20" as="geometry"/>
</mxCell>
<mxCell id="Is5n2BFewg45JLDfxjkh-1" value="<b><font style="font-size: 16px">gardena2mqtt/{device}/result</font></b>" style="text;html=1;resizable=0;autosize=1;align=left;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;" parent="1" vertex="1">
<mxGeometry x="300" y="465" width="240" height="30" as="geometry"/>
</mxCell>
<mxCell id="Is5n2BFewg45JLDfxjkh-2" value="<div style="font-size: 16px"></div><font style="font-size: 16px" color="#000000">{</font><font color="#000000"><span style="font-size: 16px">"</span><b style="font-size: 16px">command</b><span style="font-size: 16px">":"start_dont_override",<br></span></font><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">"</span><b style="color: rgb(0 , 0 , 0) ; font-size: 16px">duration</b><span style="color: rgb(0 , 0 , 0) ; font-size: 16px">":3600</span><span style="font-size: 16px ; color: rgb(0 , 0 , 0)">}</span><font style="font-size: 16px" color="#000000"><br></font>" style="text;html=1;resizable=0;autosize=1;align=left;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;fontColor=#5C5C5C;rounded=1;" parent="1" vertex="1">
<mxGeometry x="30" y="410" width="270" height="40" as="geometry"/>
</mxCell>
<mxCell id="Is5n2BFewg45JLDfxjkh-3" value="Gardena cloud" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="680" y="225" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="Is5n2BFewg45JLDfxjkh-4" value="Gardena cloud" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="680" y="429" width="120" height="80" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>