Commit Graph

45 Commits (691ddf26666a487eda7fa7e74f37142e80a86362)

Author SHA1 Message Date
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
David Kebler 9b1173f007 adding separate interrupt module 2017-01-18 22:35:55 -08:00
David Kebler 3d8fd587ba git subrepo push uci-interrupt
subrepo:
  subdir:   "uci-interrupt"
  merged:   "87cb9d1"
upstream:
  origin:   "https://git.kebler.net/uCOMmandIt/uci-interrupt.git"
  branch:   "master"
  commit:   "87cb9d1"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "b645cc9"
2017-01-18 22:35:55 -08:00
David Kebler ee7af6730e adding interrupt class for gpio pins on RPi and the like 2017-01-18 22:35:55 -08:00
David Kebler 87cb9d1a75 adding interrupt class for gpio pins on RPi and the like 2017-01-18 21:05:15 -08:00
David Kebler 6366815b03 initial commit 2017-01-11 15:56:25 -08:00