Wifi gateway (one per house) | price (usd) | URL | note |
---|---|---|---|
wemos | 5.76 | https://wiki.wemos.cc/products:d1:d1_mini | |
Decent transciever | 5.12 | http://www.dx.com/p/nrf24l01-pa-lna-wireless-module-w-antenna-black-3-0-3-6v-222913 | |
WhareHaurora gateway shield | 5 | https://github.com/WhareHauora/wharehauora-pcb/blob/master/Whare%20Hauora%20Wemos%20r1.zip | print from oshpark |
total | 15.879999999999999 | ||
First sensor (one per room) | price (usd) | URL | note |
SenseBender | 18.21 | https://www.openhardware.io/view/1/Sensebender-Micro |
View gist:c3363d7390071418cce1
### Keybase proof | |
I hereby claim: | |
* I am br3nda on github. | |
* I am shiny (https://keybase.io/shiny) on keybase. | |
* I have a public key whose fingerprint is A708 E196 050F 2DBE 31CA 2A67 73AC 699F 10CB 7AE3 | |
To claim this, I am signing this object: |
View gist:bb7bccfeb95c21b40e4f
== On switch one == | |
Decimal: 1786417050 (32Bit) Binary: 01101010011110101000111110011010 Tri-State: not applicable PulseLength: 263 microseconds Protocol: 1 | |
Raw data: 8152,744,256,744,252,744,252,264,208,1280,48,464,60,1420,72,440,368,1020,332,1744,268,732,264,732,264,248,748,736,256,256,744,736,264,248,752,244,752,248,740,768,12,736,12,740,256,740,256,740,256,748,248,264,736,260,740,740,256,744,252,260,736,740,260,256,736, | |
Decimal: 1786417050 (32Bit) Binary: 01101010011110101000111110011010 Tri-State: not applicable PulseLength: 262 microseconds Protocol: 1 | |
Raw data: 8152,744,260,736,260,736,264,252,744,736,268,244,736,752,244,272,728,264,744,732,264,736,260,736,264,732,264,252,744,736,260,252,748,732,264,252,748,248,748,252,744,736,264,732,264,732,264,740,260,736,260,256,744,252,744,736,260,736,264,252,744,736,264,248,740, | |
Decimal: 1786417050 (32Bit) Binary: 01101010011110101000111110011010 Tri-State: not applicable PulseLength: 263 microseconds Protocol: 1 | |
Raw data: 8164,736,264,736,260,736,264,248,748, |
View gist:1573b59157dafa50b885
From the remote (works) | |
Decimal: 1786416795 (32Bit) Binary: 01101010011110101000111010011011 Tri-State: not applicable PulseLength: 262 microseconds Protocol: 1 | |
Raw data: 8148,744,252,740,264,732,268,244,744,744,256,256,712,2988,20,756,244,740,272,732,256,748,248,288,44,1424,20,264,728,748,252,260,736,740,260,256,740,260,736,260,736,744,252,748,248,744,252,260,740,736,264,248,752,248,748,732,264,732,264,256,736,744,252,744,244, | |
From my arduino (doesn't work) | |
Decimal: 1786416795 (32Bit) Binary: 01101010011110101000111010011011 Tri-State: not applicable PulseLength: 263 microseconds Protocol: 1 | |
Raw data: 8172,296,776,808,272,800,268,284,784,812,260,288,788,800,272,276,792,284,792,804,268,804,264,812,260,812,264,272,796,808,264,276,796,808,264,276,796,280,792,280,792,804,268,800,272,800,272,276,796,804,268,272,796,276,796,808,264,808,264,276,796,808,264,808,264, |
View gist:ca14adb86fce428ca78b796015d0fdbb
adb logcat | grep -i food | |
07-22 09:27:27.051 879 4013 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.myfoodbag.app/.ui.activities.SplashActivity} from uid 10243 on display 0 | |
07-22 09:27:27.199 879 3552 I ActivityManager: Start proc 22300:com.myfoodbag.app/u0a283 for activity com.myfoodbag.app/.ui.activities.SplashActivity | |
07-22 09:27:27.267 22300 22300 W System : ClassLoader referenced unknown path: /data/app/com.myfoodbag.app-1/lib/arm64 | |
07-22 09:27:28.093 879 976 I WindowManager: Screenshot max retries 4 of Token{490880e ActivityRecord{c802e09 u0 com.myfoodbag.app/.ui.activities.SplashActivity t249 f}} appWin=Window{598ae6 u0 Starting com.myfoodbag.app} drawState=4 | |
07-22 09:27:28.118 879 3256 I ActivityManager: START u0 {flg=0x10008000 cmp=com.myfoodbag.app/.ui.activities.MainActivity (has extras)} from uid 10283 on display 0 | |
07-22 09:27:28.817 879 1136 I ActivityManager: Displayed com.myfoodbag.app/.ui.activities.M |
View rspec_rails_cheetsheet.rb
#Model | |
@user.should have(1).error_on(:username) # Checks whether there is an error in username | |
@user.errors[:username].should include("can't be blank") # check for the error message | |
#Rendering | |
response.should render_template(:index) | |
#Redirecting | |
response.should redirect_to(movies_path) |
View Conflicted proposals
You may have received an email because are the holder of a .nz domain | |
name. They are encouraging you to say what you think of their proposal. You | |
could ignore it the email. | |
Your domain name is part of a "conflicted set". This is why DNC sent | |
you an email. | |
For example, all these may be registered to different people: | |
* anyname.co.nz | |
* anyname.net.nz |
View registrations_controller.rb
class Api::RegistrationsController < Api::BaseController | |
respond_to :json | |
def create | |
user = User.new(params[:user]) | |
if user.save | |
render :json=> user.as_json(:auth_token=>user.authentication_token, :email=>user.email), :status=>201 | |
return | |
else |
View heatpump
//#define MY_DEBUG | |
#define MY_RADIO_NRF24 | |
#define CHILD_ID_HVAC 10 | |
#define CHILD_ID_POWERFUL 0 | |
#include <MySensors.h> | |
#include <PanasonicCKPHeatpumpIR.h> | |
#include <PanasonicHeatpumpIR.h> | |
//Some global variables to hold the states |
View Parts list
Moved to: | |
https://gist.github.com/Br3nda/c52088c728b93ba1ae3055ab5e05e8e5 |
View wharehauora_partslist.md
OlderNewer