Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 530 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 530 Bytes

Manual Tests

  1. Enable Broker
$ node broker.js
  1. 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
  1. 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>
  1. Send Simulated Event
$ mosquitto_pub -h localhost -t dt42/camera -m snapshot