Skip to content

Commit

Permalink
technical debt
Browse files Browse the repository at this point in the history
  • Loading branch information
e154 committed Jan 4, 2024
1 parent b434320 commit bc93e22
Show file tree
Hide file tree
Showing 112 changed files with 474 additions and 97 deletions.
6 changes: 6 additions & 0 deletions doc/content/en/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ The documentation includes the following sections:
 

 

{{< figure src="/smart-home/img/smart-home-network.svg" >}}

&nbsp;

&nbsp;
28 changes: 28 additions & 0 deletions doc/content/en/docs/dashboard/automation/tasks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

---
title: "Tasks"
linkTitle: "Tasks"
date: 2024-01-04
description: >

---

{{< figure src="/smart-home/tasks_window1.png" >}}

&nbsp;

&nbsp;

Unfinished article

### Configuration:


### Commands:
* Arbitrary set

### Attributes:
* Arbitrary set

### Status:
* Arbitrary set
12 changes: 6 additions & 6 deletions doc/content/en/docs/dashboard/automation/triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

---

{{< figure src="/smart-home/trigger_window1.png" >}}
{{< figure src="/smart-home/triggers_window1.png" >}}

&nbsp;

Expand All @@ -20,7 +20,7 @@ Here are examples of different types of triggers and their respective handlers:
1. `TriggerAlexa`:
```coffeescript
automationTriggerAlexa = (msg) ->
p = unmarshal msg.payload
p = msg.payload
Done p
return false
```
Expand All @@ -30,7 +30,7 @@ The `automationTriggerAlexa` handler is invoked in response to a trigger from Am
```coffeescript
automationTriggerStateChanged = (msg) ->
print '---trigger---'
p = unmarshal msg.payload
p = msg.payload
Done p.new_state.state.name
return false
```
Expand All @@ -39,7 +39,7 @@ The `automationTriggerStateChanged` handler is called when the state of a device
3. `TriggerSystem`:
```coffeescript
automationTriggerSystem = (msg) ->
p = unmarshal msg.payload
p = msg.payload
Done p.event
return false
```
Expand All @@ -48,7 +48,7 @@ The `automationTriggerSystem` handler is invoked in response to system events. I
4. `TriggerTime`:
```coffeescript
automationTriggerTime = (msg) ->
p = unmarshal msg.payload
p = msg.payload
Done p
return false
```
Expand All @@ -61,7 +61,7 @@ Example implementation:
```coffeescript
automationTriggerStateChanged = (msg) ->
#print '---trigger---'
p = unmarshal msg.payload
p = msg.payload
if !p.new_state || !p.new_state.state
return false
return msg.new_state.state.name == 'DOUBLE_CLICK'
Expand Down
22 changes: 22 additions & 0 deletions doc/content/en/docs/dashboard/gate/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

---
title: "Gate"
linkTitle: "Gate"
date: 2024-01-04
description: >

---

Unfinished article

### Configuration:


### Commands:
* Arbitrary set

### Attributes:
* Arbitrary set

### Status:
* Arbitrary set
22 changes: 22 additions & 0 deletions doc/content/en/docs/dashboard/gate/client.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

---
title: "Gate client"
linkTitle: "Client"
date: 2024-01-04
description: >

---

Unfinished article

### Configuration:


### Commands:
* Arbitrary set

### Attributes:
* Arbitrary set

### Status:
* Arbitrary set
22 changes: 22 additions & 0 deletions doc/content/en/docs/dashboard/gate/server.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

---
title: "Gate server"
linkTitle: "Server"
date: 2024-01-04
description: >

---

Unfinished article

### Configuration:


### Commands:
* Arbitrary set

### Attributes:
* Arbitrary set

### Status:
* Arbitrary set
2 changes: 1 addition & 1 deletion doc/content/en/docs/plugins/cpuspeed.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

---

{{< figure src="/smart-home/cpuspeed1.png" >}}
{{< figure src="/smart-home/cpuspeed1.png" width="300" >}}

&nbsp;

Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/plugins/hdd.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

---

{{< figure src="/smart-home/hdd1.png" >}}
{{< figure src="/smart-home/hdd1.png" width="300" >}}

&nbsp;

Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/plugins/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

---

{{< figure src="/smart-home/ram1.png" >}}
{{< figure src="/smart-home/ram1.png" width="300" >}}

&nbsp;

Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/plugins/memory_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

---

{{< figure src="/smart-home/memory_app.png" >}}
{{< figure src="/smart-home/memory_app.png" width="300" >}}

&nbsp;

Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/plugins/moon.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

---

{{< figure src="/smart-home/moon1.png" >}}
{{< figure src="/smart-home/moon1.png" width="300" >}}

&nbsp;

Expand Down
22 changes: 22 additions & 0 deletions doc/content/en/docs/plugins/mqtt_bridge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

---
title: "MQTT bridge"
linkTitle: "mqtt_bridge"
date: 2024-01-04
description: >

---

Unfinished article

### Configuration:


### Commands:
* Arbitrary set

### Attributes:
* Arbitrary set

### Status:
* Arbitrary set
22 changes: 22 additions & 0 deletions doc/content/en/docs/plugins/notify/email.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

---
title: "EMAIL"
linkTitle: "email"
date: 2024-01-04
description: >

---

Unfinished article

### Configuration:


### Commands:
* Arbitrary set

### Attributes:
* Arbitrary set

### Status:
* Arbitrary set
22 changes: 22 additions & 0 deletions doc/content/en/docs/plugins/onvif.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

---
title: "Onvif"
linkTitle: "onvif"
date: 2024-01-04
description: >

---

Unfinished article

### Configuration:


### Commands:
* Arbitrary set

### Attributes:
* Arbitrary set

### Status:
* Arbitrary set
22 changes: 22 additions & 0 deletions doc/content/en/docs/plugins/speedtest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

---
title: "Speedtest"
linkTitle: "speedtest"
date: 2024-01-04
description: >

---

Unfinished article

### Configuration:


### Commands:
* Arbitrary set

### Attributes:
* Arbitrary set

### Status:
* Arbitrary set
2 changes: 1 addition & 1 deletion doc/content/en/docs/plugins/sun.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

---

{{< figure src="/smart-home/sun1.png" >}}
{{< figure src="/smart-home/sun1.png" width="300" >}}

&nbsp;

Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/plugins/uptime.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

---

{{< figure src="/smart-home/uptime1.png" >}}
{{< figure src="/smart-home/uptime1.png" width="300" >}}

&nbsp;

Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/plugins/weather/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >

---

{{< figure src="/smart-home/weather1.png" >}}
{{< figure src="/smart-home/weather1.png" width="300" >}}

&nbsp;

Expand Down
7 changes: 7 additions & 0 deletions doc/content/ru/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ menu:
&nbsp;

&nbsp;


{{< figure src="/smart-home/img/smart-home-network.svg" >}}

&nbsp;

&nbsp;
28 changes: 28 additions & 0 deletions doc/content/ru/docs/dashboard/automation/tasks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

---
title: "Tasks"
linkTitle: "Tasks"
date: 2024-01-04
description: >

---

{{< figure src="/smart-home/tasks_window1.png" >}}

&nbsp;

&nbsp;

Unfinished article

### Configuration:


### Commands:
* Arbitrary set

### Attributes:
* Arbitrary set

### Status:
* Arbitrary set
Loading

0 comments on commit bc93e22

Please sign in to comment.