Project

General

Profile

Actions

Action Item #604

closed

Implement "lights" command

Added by Hammel about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Command Processing
Target version:
Start date:
28 Jan 2018
Due date:
% Done:

100%

Estimated time:
Severity:
04 - Low

Description

This is simply recognizing a request to turn the lights on or off.

This request should be designed to recognize a light identifier that can be passed to PiBox. The identifier will default, initially, to the only lights PiBox knows about. Later I'll implement a mechanism for labeling IoT devices through PiBox.

Actions #1

Updated by Hammel almost 6 years ago

  • Priority changed from Normal to Urgent
  • Severity changed from 02 - High to 04 - Low
Actions #2

Updated by Hammel almost 6 years ago

  • Target version changed from 0.1.0 - Baby Steps to 0.5.0
Actions #3

Updated by Hammel over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

This is now implemented. It was more work than I originally scoped, mostly because of the effort in trying to AES encrypt/decrypt all messaging. But I can now tell Jarvis to turn the lights on or off in the "office" and it will:

  1. Find the monitor with the name
  2. Find any devices of that type (lights)
  3. Issue the state change via the monitor.

The monitor, in turn, will issue the request the specified device and that device toggles the state according to the request.

Processing is slow, probably due to poor Java code in Jarvis. But it works. Woohoo!

All changes committed and pushed. Closing issue.

Actions

Also available in: Atom PDF