Project

General

Profile

Actions

Feature #579

closed

Pair Button support

Added by Hammel over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
Software
Target version:
Start date:
28 Jul 2017
Due date:
% Done:

100%

Estimated time:
Severity:
04 - Low

Description

When pressed it toggles the state of pairing with IoT devices.
Should also show state (re: mode) via LEDs.

Actions #1

Updated by Hammel over 7 years ago

  • Project changed from Sensors to Monitor
  • Category deleted (Software)
Actions #2

Updated by Hammel over 7 years ago

  • Category set to Software
Actions #3

Updated by Hammel over 7 years ago

  • Status changed from New to In Progress
  • Priority changed from Normal to Immediate
  • % Done changed from 0 to 50
  • Severity changed from 03 - Medium to 04 - Low

There is now a utility, imgpio that will read and write to arbitrary GPIO pins using sysfs. This is sufficient to check if a button is pressed or to set/reset an LED if called from a script. It could also be called from a C program via system() or similar.

This utility is built into it's own opkg and must be included in the (TBD) new metabuild for IronMan.

This utility still needs to be tested against real hardware, re: a real push button and LEDs.

Actions #4

Updated by Hammel almost 7 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

This is essentially implemented as a combination of the pair button hardware, the imgpio package that supports the pair button on boot and the imwww package that now includes both a PHP server for configuring the monitor and a REST server (written in nodejs w/restify) that supports both Jarvis voice command and pairing with the IoT devices.

These implementations are still buggy but the basic structure is now in place enough where this issue can be closed. Bugs in the various packages will be tracked separately.

Actions

Also available in: Atom PDF