profile
viewpoint

balvig/spyke 572

Interact with REST services in an ActiveRecord-like manner

balvig/chili 221

The spicy feature toggle framework for Rails

balvig/motion-hybrid 36

RubyMotion framework for easily making hybrid webview-centric iOS apps

balvig/i18n_toolbox 19

Provides a set of convenient helpers and active model additions for working with multiple languages

balvig/pt-flow 12

Our workflow, gemified.

balvig/connections 11

A simple set of helpers allowing you to easily add follow/like/watch/stalk capabilities to any ActiveRecord model

balvig/fiesta 8

Celebrate releases!

balvig/gitlicious 4

Tool for tracking code quality and making suggestions for improvements

balvig/esha 3

Simple wrapper for ESHA nutrition database api (http://developer.esha.com/)

balvig/.dotfiles 2

My precious dotfiles

push eventbalvig/bricks

Jens Balvig

commit sha 39db49cd6745c947409000ad355ea8aa5f852443

add dash button Brick

view details

push time in a day

push eventbalvig/bricks

Jens Balvig

commit sha fb03fd5a8029d7038cbff1927813c125e518842e

add dash button Brick

view details

push time in a day

push eventbalvig/bricks

Jens Balvig

commit sha bd119168ca99058a7e6ccc6b91d97cb511ec8661

add dash button Brick

view details

push time in a day

push eventbalvig/bricks

Jens Balvig

commit sha 556d7e635a71bae6dcd8112f4216334c8c1eb176

add dash button Brick

view details

push time in a day

PR opened balvig/bricks

add dash button Brick
+32 -1

0 comment

4 changed files

pr created time in a day

create barnchbalvig/bricks

branch : jb/add-dash-button-brick

created branch time in a day

push eventbalvig/bricks

Jens Balvig

commit sha 699b3244196dad1e49478f6489980eb58739a79d

new subflows that DRYs up mac addresses

view details

push time in a day

push eventbalvig/bricks

Jens Balvig

commit sha 6b55f1175b3439759d14f135393539c3ba5096aa

new subflows that DRYs up mac addresses

view details

push time in a day

push eventbalvig/bricks

Jens Balvig

commit sha 024e2be453adac88bd2eb0be1883245e3d3bc698

trickier than hoped

view details

push time in 2 days

push eventbalvig/bricks

Jens Balvig

commit sha 71ce23bd9e8ea727bca21fd224c3b13f271042fb

maybe don't need this

view details

push time in 2 days

push eventbalvig/bricks

Jens Balvig

commit sha 172c2afa7ac438719053a0a71636315149ba735d

Richer ack responses (#17)

view details

push time in 2 days

delete branch balvig/bricks

delete branch : jb/richer-ack-responses

delete time in 2 days

PR merged balvig/bricks

Richer ack responses

Instead of an skill, all skills now respond with ack:skillName. Set response in callback methods to include data with the ack response

+81 -94

0 comment

26 changed files

balvig

pr closed time in 2 days

push eventbalvig/bricks

Jens Balvig

commit sha da48d03204caa438591e8b824da8bfca6bed9a1b

allow opt-out of ack

view details

push time in 2 days

push eventbalvig/bricks

Jens Balvig

commit sha cf9f37f4596fe5355b8791a3accf43bff1f373f7

debug gateway crashes

view details

Jens Balvig

commit sha e8ce10a0ec57ed2d0c89e17d31261696f28bec30

found some hints

view details

Jens Balvig

commit sha 9f7e6d5fed0f79b9bb0d165a5fe0d76996a39e68

pubsubclient supports qos <=1 - https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels/ - https://github.com/knolleary/pubsubclient#limitations

view details

Jens Balvig

commit sha a286292b6dbc83816ad775a405d52b7d021855ce

delay seems to stabilize ESP32 gateway

view details

Jens Balvig

commit sha 07fc4e7ef61d8e686ea915b0055b3ae92bf562b5

update node-red flows

view details

Jens Balvig

commit sha 2be3cf9ea0e27604df4f80239af813645cbd2a36

try out ESP8266 as gateway

view details

Jens Balvig

commit sha da59a536868824706dc42526ef2e8f806c4dad06

debug gateway crashes

view details

Jens Balvig

commit sha 2260f55c9c68e26d0cee63de6ca79ac98e2351a9

Richer ack responses

view details

Jens Balvig

commit sha 70abfec1347a23a09c07787eaee07e0efdf459ac

manual ack

view details

Jens Balvig

commit sha cd4a6a45f404af4bf9d8bb96ec93e3417dbac460

make it optional/part of the callback

view details

Jens Balvig

commit sha 71eab8757285553ecbf7ed29af029c1f19db3c34

allow opt-out of ack

view details

push time in 2 days

push eventbalvig/bricks

Jens Balvig

commit sha 2be3cf9ea0e27604df4f80239af813645cbd2a36

try out ESP8266 as gateway

view details

push time in 2 days

push eventbalvig/bricks

Jens Balvig

commit sha 07fc4e7ef61d8e686ea915b0055b3ae92bf562b5

update node-red flows

view details

push time in 2 days

push eventbalvig/bricks

Jens Balvig

commit sha a286292b6dbc83816ad775a405d52b7d021855ce

delay seems to stabilize ESP32 gateway

view details

push time in 2 days

push eventbalvig/bricks

Jens Balvig

commit sha 9f7e6d5fed0f79b9bb0d165a5fe0d76996a39e68

pubsubclient supports qos <=1 - https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels/ - https://github.com/knolleary/pubsubclient#limitations

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha e8ce10a0ec57ed2d0c89e17d31261696f28bec30

found some hints

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha cf9f37f4596fe5355b8791a3accf43bff1f373f7

debug gateway crashes

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 15703dda17497bcdbefa46e0feb540b8737b79ef

debug gateway crashes

view details

Jens Balvig

commit sha f167f749388a0577bb5d2b82f61dea1ef7209b10

Richer ack responses

view details

Jens Balvig

commit sha 50ffaca4c6ede320b7d8cbd65dc2bbd93602ebf4

manual ack

view details

Jens Balvig

commit sha 9cf1fe36959bf5630dba2dbb3e206c1479c1cb63

make it optional/part of the callback

view details

Jens Balvig

commit sha bb26c8b70c72f877a0a056c5580d5c4098e7bb5f

allow opt-out of ack

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 15703dda17497bcdbefa46e0feb540b8737b79ef

debug gateway crashes

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha ef80833dc758b478deb65b96b2e8260f9387fccd

allow opt-out of ack

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 2ca9c3e2190f4610f85eff41c05948993d57129e

allow opt-out of ack

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 174dcdb0874404442360efc55781bd998aaa3406

make it optional/part of the callback

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha b13d4fd9100c39fa6d72b19fb31d71ea1fcb14b1

make it optional/part of the callback

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha a82e86f3087db6a39099d6c61b9ea0ed3481de46

make it optional/part of the callback

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 1160e624c4c8f40f8ce336ac107f0d906c0409c2

make it optional/part of the callback

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 54b306a373c5ebf24af159a959592f4325a62c3e

make it optional/part of the callback

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 3fd7d5b993c1655246bbe2ebee4e6cb8558ccb53

make it optional/part of the callback

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 446aa8b23ace07d90d610a0ea1e4f06da7ec19e9

manual ack

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha ab0f1cae34640f0a38c4a97b4b4b653704aaca73

fix tests

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 73a8783371ce61f51fcd0a858c27ee13c4d16587

manual ack

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 06b303ebf9b127126c79e63e34487f32df298ec1

add hibernate mode (#16)

view details

Jens Balvig

commit sha ab0f1cae34640f0a38c4a97b4b4b653704aaca73

fix tests

view details

Jens Balvig

commit sha e3ba759ab645a62503df89445d7f8750441a52fb

Richer ack responses

view details

Jens Balvig

commit sha 2a5e52be9599fa0a51b3a9a267ebb157c4e0eb4e

manual ack

view details

push time in 3 days

push eventbalvig/bricks

Jens Balvig

commit sha 06b303ebf9b127126c79e63e34487f32df298ec1

add hibernate mode (#16)

view details

push time in 4 days

delete branch balvig/bricks

delete branch : jb/add-hibernate-mode

delete time in 4 days

PR merged balvig/bricks

add hibernate mode

Instead of sleeping for one cycle of a set length, setSleep instead starts the Brick sleeping in indefinite cycles. Every time it wakes up it will stay awake for 2 seconds, then go back to sleep unless stopped with a setSleep:0.

+95 -27

0 comment

10 changed files

balvig

pr closed time in 4 days

push eventbalvig/bricks

Jens Balvig

commit sha 8aa5e256434fc445f262c205b770d9f580a253ae

fix LEDs lighting up on reset

view details

Jens Balvig

commit sha f3406d4997ee8c100572ba30630cf6abc3be2fb9

esp32 support

view details

push time in 4 days

push eventbalvig/bricks

Jens Balvig

commit sha 4813aa576b2af1686b150288f2cc27871a02fed3

remember to loop

view details

push time in 4 days

push eventbalvig/bricks

Jens Balvig

commit sha ae54abaf5312c9202216a516307b7cc166b5f9c4

remember to loop

view details

push time in 4 days

push eventbalvig/bricks

Jens Balvig

commit sha 74f40a088334f2f9653300027e3676dd8845b11c

remember to loop

view details

push time in 4 days

PR opened balvig/bricks

Richer ack responses
+18 -4

0 comment

3 changed files

pr created time in 4 days

create barnchbalvig/bricks

branch : jb/richer-ack-responses

created branch time in 4 days

push eventbalvig/bricks

Jens Balvig

commit sha 7ffee5f14424180a4b0d239527bc89d50bce98c8

another idea

view details

push time in 5 days

delete branch balvig/bricks

delete branch : jb/consolidate-mqtt-espnow-actions

delete time in 5 days

PR closed balvig/bricks

consolidate mqtt/espnow actions

Gateway can't send message via ESPNOW to itself so will need to find a different approach.

+53 -41

0 comment

6 changed files

balvig

pr closed time in 5 days

push eventbalvig/bricks

Jens Balvig

commit sha 534de1f59e2602e3bedd9b799690aa603df6011d

add hibernate mode

view details

push time in 5 days

PR opened balvig/bricks

add hibernate mode
+24 -5

0 comment

2 changed files

pr created time in 5 days

create barnchbalvig/bricks

branch : jb/add-hibernate-mode

created branch time in 5 days

push eventbalvig/bricks

Jens Balvig

commit sha 498f3a9e052671f62068ce3a52407f6b96365057

idea

view details

push time in 5 days

push eventbalvig/bricks

Jens Balvig

commit sha 8f099e4e40cc8dfff8e45d03cc2fef46057d0c6e

test travisCI

view details

push time in 5 days

create barnchbalvig/bricks

branch : jb/travis

created branch time in 5 days

push eventbalvig/bricks

Jens Balvig

commit sha 9fb732ea3be39a845295bf9ab4c6ab59b4f05c08

rename actions to skills (#15)

view details

push time in 5 days

delete branch balvig/bricks

delete branch : jb/rename-actions-to-skills

delete time in 5 days

PR merged balvig/bricks

rename actions to skills
+150 -151

0 comment

31 changed files

balvig

pr closed time in 5 days

push eventbalvig/bricks

Jens Balvig

commit sha 7266f0f1f5ca1c8214e96a4655e487db2de53874

rename actions to skills

view details

push time in 5 days

push eventbalvig/bricks

Jens Balvig

commit sha 0ef90dfe9294be47d270a2b2a03b3c3ef53b0b06

rename actions to skills

view details

push time in 5 days

PR opened balvig/bricks

rename actions to skills
+109 -110

0 comment

27 changed files

pr created time in 5 days

push eventbalvig/bricks

Jens Balvig

commit sha 70b22d3bf501443d69aacf14be6bae5a6ee88b97

add name to LED RGB brick

view details

Jens Balvig

commit sha 19438b484cb0355de5ce8398bde75ba8bbaf26ce

fix dependency load error

view details

Jens Balvig

commit sha 5ba5f506c606e89d5e56947080282448e59524a6

log a few more todos

view details

push time in 6 days

push eventbalvig/bricks

Jens Balvig

commit sha 6717635691c7abf2e1050feb776671d3a5f9f72e

brighter LEDs

view details

Jens Balvig

commit sha 6bb39537b80aa3c7422d4fc9cb7fbdff0c6954ee

todo update

view details

push time in 6 days

push eventbalvig/bricks

Jens Balvig

commit sha ff498216c47de480675fd15ae50b6f22c1920b7b

ensure ACKs are sent before reacting

view details

push time in 12 days

delete branch cookpad/global-style-guides

delete branch : ds/follow-consistent-erb-indent-style

delete time in 13 days

push eventcookpad/global-style-guides

David Stosik

commit sha 379ddec187f7a0168b8db9083370e23bcbaff3a9

Follow consistent ERB indent style (#168)

view details

push time in 13 days

PR merged cookpad/global-style-guides

Reviewers
Follow consistent ERB indent style

In addition to setting up ERB-lint, these rules will need to be looked after manually, for now.

image

+39 -7

5 comments

1 changed file

davidstosik

pr closed time in 13 days

pull request commentcookpad/global-style-guides

Follow consistent ERB indent style

Well merge this on @davidstosik's behalf

davidstosik

comment created time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha e022b9ab37de764979944762ff37782279d8c151

Node-RED flow for listing up Bricks

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha cd8b1c702e6d6e1e0813316942cd4e43eb489ce4

one more todo

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha a739f0c6e27cc35526f2f31fbcb265b24dba01b7

tweak button debouncing

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha 9645d49e960c1a74a1cf9137b0a4964db30e6f33

still works

view details

Jens Balvig

commit sha 02cb6acfa139ad1f24c6da4bdaaa1181e138e1d4

log idea

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha 7a05621e92d0ee06c10a73b08a0ab0410ce59999

use more common example

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha f6b6f24bdc14a6933c3542c195d828801b6c8019

use more common example

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha 8b71f7ee091466a35af2642debf49089d1e24e5f

Replace scan/pairing etc with hardcoded gateway MAC (#14)

view details

push time in 13 days

delete branch balvig/bricks

delete branch : jb/hardcode

delete time in 13 days

PR merged balvig/bricks

Replace scan/pairing etc with hardcoded gateway MAC

Updating the gateway MAC is a fairly rare occurrence (at least at the moment), and OTA updates makes it fairly simple to reflash a brick when needed.

+108 -250

0 comment

30 changed files

balvig

pr closed time in 13 days

PR opened balvig/bricks

Replace scan/pairing etc with hardcoded gateway MAC

Updating the gateway MAC is a fairly rare occurrence (at least at the moment), and OTA updates makes it fairly simple to reflash a brick when needed.

+108 -250

0 comment

30 changed files

pr created time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha a57dfeb082fdc7c90b0bea38d63ccfc4d5efa4bd

replace pong action with sleep/awake

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha 3fd22057ed63dbf775f543310b75a55317d92c10

replace pong action with sleep/awake

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha d589778847c5eb308ef35aa849d9321a746598c9

replace pong action with sleep/awake

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha 5d067ee6438d6d820ca30afeee0b1068700d7821

replace pong action with sleep/awake

view details

push time in 13 days

push eventbalvig/bricks

Jens Balvig

commit sha 8aef99ba20048453d9b01e2008ed489d92a806aa

simplify things by setting gateway mac at flash

view details

push time in 14 days

push eventbalvig/bricks

Jens Balvig

commit sha 860b8d4c803ca3f760e496b7e956fdb347668e09

simplify things by setting gateway mac at flash

view details

push time in 14 days

push eventbalvig/bricks

Jens Balvig

commit sha b1c03978217901da3b7f082e04dd8d9bf8e57299

simplify things by setting gateway mac at flash

view details

push time in 14 days

push eventbalvig/bricks

Jens Balvig

commit sha ea9dd0bc1dd3f4bdf9c0495dc6d8560b4088e4d2

simplify things by setting gateway mac at flash

view details

push time in 14 days

push eventbalvig/bricks

Jens Balvig

commit sha 19113b2a5eafeb489b80de515523d75e60f3e414

simplify things by setting gateway mac at flash

view details

push time in 14 days

push eventbalvig/bricks

Jens Balvig

commit sha 9b41840b059a6b82cefde4637182b2d552f03ff5

simplify things by setting gateway mac at flash

view details

push time in 14 days

push eventbalvig/bricks

Jens Balvig

commit sha b5d0035369e04a9aca96d8b3c0e4697edaea44e7

simplify things by setting gateway mac at flash

view details

push time in 14 days

create barnchbalvig/bricks

branch : jb/hardcode

created branch time in 15 days

push eventbalvig/bricks

Jens Balvig

commit sha a831e0458bf6a2aa90b051c778adca04b788ab08

start working on "claim" approach

view details

push time in 16 days

create barnchbalvig/bricks

branch : jb/claim

created branch time in 16 days

push eventbalvig/bricks

Jens Balvig

commit sha 8b0e523af66fad769f9796bbb3ec6aa3380b797d

add another idea

view details

push time in 16 days

push eventbalvig/bricks

Jens Balvig

commit sha ff48835f82998d72d7307ba8833c389ef8a1e283

add another idea

view details

push time in 16 days

push eventbalvig/bricks

Jens Balvig

commit sha 5f48fa45344e4ed53a9e768a9d84db587c3df604

Give all bricks OTA updates and try out loop() on inbox (#13)

view details

push time in 16 days

delete branch balvig/bricks

delete branch : jb/loop

delete time in 16 days

PR merged balvig/bricks

Give all bricks OTA updates and try out loop() on inbox
+34 -28

0 comment

14 changed files

balvig

pr closed time in 16 days

PR opened balvig/bricks

Give all bricks OTA updates and try out loop() on inbox
+34 -28

0 comment

14 changed files

pr created time in 16 days

push eventbalvig/bricks

Jens Balvig

commit sha b5036ed3f1e3679ca0f3035f858d11b9e57f64da

try out loop() on inbox

view details

push time in 16 days

push eventbalvig/bricks

Jens Balvig

commit sha 1885a907f778fa052858d65c8d8098510a13bf60

try out loop() on inbox

view details

push time in 16 days

push eventbalvig/bricks

Jens Balvig

commit sha 61a46cece6f5d351e0c9074cf73edad458b37da8

try out loop() on inbox

view details

push time in 16 days

push eventbalvig/bricks

Jens Balvig

commit sha cc048dc00a4a15f74cca9c8549a15f0f617b0de1

Passes in verbose, error is possibly bug in pio? https://community.platformio.org/t/pio-check-fails-when-running-verbose-checks-are-passed/13896/3

view details

push time in 16 days

more