File: README.md

package info (click to toggle)
berrynet 3.10.2-2
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,572 kB
  • sloc: python: 6,286; javascript: 2,373; xml: 1,094; sh: 738; makefile: 33
file content (32 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (2)
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
# Manual Tests

1. Enable Broker

```
$ node broker.js
```

2. Enable IP Camera Agent

Camera agent gets (HTTP Get) a snapshot from IP camera, and publishes
the received body to event notifier.

```
$ node camera.js
```

3. Enable Event Notifier

Event notifier gets the latest camera snapshots and sends a
notification (via email) to user.

```
$ node mail.js <sender-mail-address> <sender-mail-password> \
    <receiver-mail-address>
```

4. Send Simulated Event

```
$ mosquitto_pub -h localhost -t dt42/camera -m snapshot
```