Feature #579
closedPair Button support
100%
Description
When pressed it toggles the state of pairing with IoT devices.
Should also show state (re: mode) via LEDs.
Updated by Hammel over 7 years ago
- Project changed from Sensors to Monitor
- Category deleted (
Software)
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.
Updated by Hammel over 6 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.