David Kebler
3868505d3e
0.3.0 bump version for 3-2020 deployment of light code, update deps
2020-03-15 16:17:40 -07:00
David Kebler
279112d360
0.2.26
2020-02-07 09:30:51 -08:00
David Kebler
610aa53a93
0.2.25 refactor makefunc in multiple to properly combine results from single interrupt calls
2020-01-23 22:53:50 -08:00
David Kebler
48b6680585
0.2.24
...
interrupts:
better integration with single interrupt methods via common function
better event bubble up from single interrupt
allow access to methods via a socket if enabled (same with single)
allow consumer reply access to reset method (same with single)
Interrupt:
improve handling of interval reset with new method
2020-01-06 23:26:37 -08:00
David Kebler
216bd6b98d
0.2.23 Rework interrupts - remove listen methods and automatically send and emit on any one individual interrupt/reset emit
...
alos bubble up connection events from individual interrupts
Improved/updated examples , remote example can connect to single or mutliple interrupt example
2019-12-23 14:21:12 -08:00
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
dbd8ef3347
0.2.19 update base dep which has better socket error handling
2019-04-28 10:35:06 -07: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
f132b1d271
0.2.16
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
e210c404e0
0.2.15 update of uci-socket
...
switched from here to using consumer to send instead of socket push to mcp process
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
2516bea92a
0.2.13
2019-03-11 09:31:21 -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
d0d8af7f28
0.2.9 dependency changes
2019-02-15 08:50:28 -08:00
David Kebler
3f49a3f8b5
0.2.2
2019-01-25 20:34:19 -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
ed76c3e83a
update
2017-06-23 11:12:34 -07:00
David Kebler
8303cc3cc8
bit of cleanup and documentation
2017-05-29 22:12:32 -07:00
David Kebler
e85378168e
total refactoring using pigpio library instead of epoll
2017-05-20 22:21:07 -07:00
David Kebler
80c59b7ba8
initial pigpio adoption commit
2017-05-16 12:36:52 -07:00
David Kebler
38a6c0bd5c
update packages to registry from git
2017-05-16 12:36:52 -07:00
David Kebler
e13f232a0f
update packages to registry from git
2017-05-15 12:42:48 -07:00
David Kebler
86699e347c
add documentation
2017-05-15 11:03:27 -07:00
David Kebler
948a7b84f3
return promise
2017-02-21 21:41:21 -08:00
David Kebler
efd1834d14
fully working control example with interrupts
2017-02-02 01:42:21 -08:00
David Kebler
4485f981a5
working interrupt with both ports
2017-01-31 23:28:46 -08:00
David Kebler
846979a48f
set "both" as default so on or off triggers
2017-01-25 14:14:46 -08:00
David Kebler
19ea1f88ff
added custom pullup command line option with RPI as default
2017-01-25 11:41:30 -08:00
David Kebler
d8172b092b
working out promise sequence of init tasks
2017-01-25 11:41:30 -08:00
David Kebler
65e02f4fc6
working on interrupt init
2017-01-25 11:41:30 -08:00
David Kebler
ff72b670ab
minor changes
2017-01-22 17:37:40 -08:00
David Kebler
87fdcd0df8
interrupt working with debounce
2017-01-21 23:48:42 -08:00
David Kebler
e6735ed883
updates
2017-01-21 23:48:42 -08:00
David Kebler
2e05b40eda
adjusting packages
2017-01-21 23:48:42 -08:00
David Kebler
8bede72304
refactoring for new interrupt class
2017-01-21 16:13:53 -08:00
David Kebler
5b6c97e2b1
updating ignored
2017-01-21 16:13:53 -08:00
David Kebler
66034b09cb
add try catch to init
2017-01-21 16:13:53 -08:00