David Kebler
01d2ebd3a1
0.2.22
...
interrupts class
extends base on interrupts class
change collection of individual interrupts to a Map
method: listenReset, for setting handler for emitted reset of each single interrupt
method: addInterSocket, to add identical consumer socket to each interrupt
interrupt class
add resetEnabled option
switch default edge to 'both'
refactor status method
refactor reset method
No hook by default, registerHook without argument sets the default hook
refactored examples
update deps
2019-11-21 10:06:24 -08:00
David Kebler
378dd51ad1
0.2.18 remove old options processing
...
add on interval reset option
add reconnect listener for sending a reset on reconnect
clean up logging
2019-04-26 11:15:33 -07:00
David Kebler
8f22017fd1
0.2.17 enble reset on reconnect. change resetTimeout to resetInterval for timed reset enable
2019-04-23 07:48:00 -07:00
David Kebler
691ddf2666
add reset and status of interrupt commands
...
for interrupts add methods so add socket to each interrupt and also listener common function for 'interrupt' event on all interrupts
2019-04-23 07:48:00 -07:00
David Kebler
e22c21823c
0.2.14 refactor to using on/off with epoll, retiring pigipo. Readme now has some explanation on getting hardware prepared
2019-03-14 10:43:25 -07:00
David Kebler
c0964d1f1d
0.2.12 refactored hook registration
2019-03-08 09:05:32 -08:00
David Kebler
be68921eac
0.2.11 fix issue where pin is string, cast to number
2019-03-07 12:54:35 -08:00
David Kebler
d656af443e
0.2.10
...
if opts .port/.path/.topic/.wport are base number/name to which pin number is added/appended (default being 9000,9100,'interrupt')
for specific port number pass itrt.port,itrn.path,itrm.topic,itrw.port which override if others are present
2019-03-06 16:42:14 -08:00
David Kebler
55092303e8
little cleanup - update dependencies
2019-01-01 20:02:16 -08:00
David Kebler
e196083d5e
add conPacket to each socket using the resetCmd option for the command and included the pin: key so the port can be looked up
2018-08-01 07:22:47 -07:00
David Kebler
cc75908894
add single push command for multiple interrupts
2018-07-31 10:05:13 -07:00
David Kebler
03c3ac8747
add client example for interrupt sockect server example. Bump version.
2018-07-01 16:02:30 -07:00
David Kebler
2a044c67aa
add in other two transports (mqtt/websockets) available with base. Dynamic load pigpio/pigpio-mock
2018-07-01 00:25:15 -07:00
David Kebler
12143f58e4
upgrade to esm from @std/esm
2018-05-16 07:12:14 -07:00
David Kebler
002ad9edbb
added interrupts class as multiple extension of Interrupt
...
Added single and multiple example
2018-03-04 15:10:34 -08:00
David Kebler
709fd35adf
add hook
2018-03-02 08:32:37 -08:00
David Kebler
bba5bb85ca
refactoring to single interrupt with it's own socket/port and separate module for multiple interrupts
...
Added optional debounce
2018-02-27 08:45:18 -08:00
David Kebler
6680fd3ad9
working rpi gpio interrupt with packet socket
2018-02-23 21:32:13 -08:00
David Kebler
8303cc3cc8
bit of cleanup and documentation
2017-05-29 22:12:32 -07:00