Used – Jeffrey Pine Hein https://jphein.com Just plain helpful. Wed, 04 Nov 2026 15:39:49 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 https://jphein.com/wp-content/uploads/2020/08/jphein-logo-cropped-100x100.png Used – Jeffrey Pine Hein https://jphein.com 32 32 109828812 Social Services in Nevada County for People with Low Income https://jphein.com/social-services-in-nevada-county-for-people-with-low-income/ https://jphein.com/social-services-in-nevada-county-for-people-with-low-income/#respond Fri, 13 Jan 2023 09:38:00 +0000 https://blog.jphein.com/?p=3592 A Non-exhaustive List

Federal Level:

  • Supplemental Nutrition Assistance Program (SNAP) (previously known as Food Stamps)
  • Temporary Assistance for Needy Families (TANF)
  • Medicaid
  • Housing Choice Voucher Program (Section 8)
  • Low-Income Home Energy Assistance Program (LIHEAP)
  • Supplemental Security Income (SSI)
  • Child Care and Development Fund (CCDF)
  • National School Lunch Program (NSLP)
  • Women, Infants, and Children (WIC) Program
  • Earned Income Tax Credit (EITC)
  • Community Services Block Grant (CSBG)
  • Head Start
  • Older Americans Act (OAA) Programs
  • Supplemental Nutrition Program for Women, Infants, and Children (WIC)
  • Children’s Health Insurance Program (CHIP)
  • Social Services Block Grant (SSBG)

State of California:

  • CalWORKs (California Work Opportunity and Responsibility to Kids)
  • California Food Assistance Program (CFAP)
  • CalFresh (California’s Supplemental Nutrition Assistance Program)
  • In-Home Supportive Services (IHSS)
  • California Emergency Assistance and Rapid Transition to Housing (CEART)
  • Energy Assistance Fund (EAF)
  • Low-Income Home Energy Assistance Program (LIHEAP)
  • Women, Infants, and Children (WIC) Program
  • School Breakfast and Lunch Programs
  • Medicaid (Medi-Cal)
  • Health Care for Kids and Families (HCKF)
  • Child Care Assistance
  • Earned Income Tax Credit (EITC)
  • Section 8 Housing Choice Voucher Program
  • Community Services Block Grant (CSBG)
  • Social Services Block Grant (SSBG)
  • Head Start
  • Older Americans Act (OAA) Programs

Nevada County, California:

  • Nevada County Food Bank
  • Interfaith Food Bank
  • Nevada County Health and Human Services Agency
  • Western Sierra Medical Clinic
  • Chapa De Clinic
  • Hospitality House
  • The Salvation Army of Nevada County

Nonprofit services in Nevada County, California

  • Hospitality House
  • The Salvation Army of Nevada County
  • Community Legal Services of Empowerment
  • Interfaith Food Ministry
  • Nevada County Free Clinic
  • The Resource Connection
  • Hospice of the Foothills
  • Sierraservice Corps
  • Western Sierra Medical Clinic
  • Women’s Health Specialists
  • Nevada County Nurtured Heart Approach
  • Sierra Senior Services
  • Boys and Girls Club of Western Nevada County
  • Grass Valley Food Co-op
  • Nevada County Volunteer Center
  • Friends of Nevada County Libraries
  • Sierra Nevada Memorial Hospital Foundation

Note: This is not an exhaustive list, and program names, eligibility criteria, and benefits may vary by state.

My experience

I’m consistently amazed at the level of assistant you can get from government, and non-profit organizations if you make less than 21K-40K a year. Here are programs I’ve had personal experience with. Also, some extra money saving tips.

For a comprehensive list of services (Dial 211 or visit  www.dial211.com) I feel like their website is very hard to navigate. If it was better than there would be no need for this blog post.

Bottom Line: Minimize buying, but when you do, buy used and buy locally. For instance: Gold Country Craigslist, Nevada County Swap Shop Facebook group, thrift stores, yard sales, and sort by distance on eBay.

Cash Aid

  • Calworks
  • Unemployment
  • Disability or Paid family leave
  • Business grants
  • Supportive Services

Food

We are incredibly lucky. We have an immense good food network. I only eat organic, non-GMO, no sugar and local meat.

  • Food banks (Staples, as well as organic, local produce)
    • Interfaith Food Ministry – open every Mon, Wed, and Fri. You can go every two weeks. Bring your social security card your first visit. Be sure to return any food you do not want before you leave. http://www.interfaithfoodministry.org/
    • NC food bank – Open once a month, view calendar here: Calendar
  • Food stamps (EBT or Calfresh) Sign up online – 1-877-847-3663. I get around $200/month.
    • TIP: If you’re in a hurry, at Natural Selections you can buy locally premade Way Yum sushi, Theresita’s Haute Tamales, or Warehouse deli sandwiches with your EBT card!
    • TIP: You can use EBT at the Nevada City Farmers Market
    • TIP: You can use EBT to mail order food from Amazon or Walmart.
  • Markets: Nevada City farmers Market, EBT, and $25 free voucher.
  • Stores: Grocery outlet (Pick out the organic food), Natural Selections (Clearance shelves)
  • Free School Lunch Program
  • WIC if you are pregnant or have a child you can get food and a free breast pump. They also provide tokens for the Nevada City farmers’ market.

TIP: Save your vegetable scraps and meet scraps in the freezer to make vegetable and bone sock respectively.
TIP: Eat your food in the order that it will perish. Regularly eat all the food in your fridge.
TIP: Save your bacon grease. Cook with it, or make soap.
TIP: Nut/seed/grain milk is super easy to make. Kefir/Yogurt. Kombucha/jun. SaurKraut/Kimchi, Sprouts.
More info here: http://211nevadacounty.org/resources/food/

Housing

Federal Subsidized housing
Grass Valley First Time Home Buyer Program
Nevada County Habitat For Humanity Homeownership Program
Nevada County weatherization program Project Go  call 1-800-655-7705
PGE Weatherization program
Habit for humanity REstore
Regional Housing Authority of Sutter and Nevada County

Utilities

PG&E Care program – Gives a discount on Electricity and Natural Gas
Project Go For Energy Assistance, please call 1-888-524-5705 – Will pay your PG&E for a year, and/or will provide vouchers for wood, or propane.
Ferrelgas w/ neighborhood association or refurbished tank.
TIP: Composting toilet
TIP: Dryer lint and tp rolls for firestarters
TIP: Dry your clothes on a line!
TIP: Use cold water to wash your clothes.
TIP: If you use the dryer, add a dry towel with your wet clothes to speed up drying, or use wool dryer balls.

Phone and cellphone

California and Federal Lifeline programs – A free cellphone and service, or a discount on your landline. For more info check out my article here: The Cell Phone Guru blog post
(Sprint) Freedompop – 200 Voice Minutes 500 Text Messages 500MB 3G/4G Data with $99 phone +$10 s/, OR activate your own Sprint phone for $20. Not limited to low income users.
Google Voice with Hangouts and dailer- free wifi calling for your smart phones or computers. Not limited to low income users.
MVNO’s: Republic Wireless (Sprint, Verizon, Wifi), Pageplus (Verizon), Airvoice (ATT) Not limited to low income users.

Internet

More info here: http://www.cheapinternet.com/low-income-internet
(Sprint) Freedompop – 500MB/month 4G connection free with $30 + $10 s/h hotspot purchase. Not limited to low income users.
(Sprint) Netzero – 200MB/month for a year.$76.90 for device and s/h.  Not limited to low income users.
(T-mobile) http://basic-internet.com/everyoneoncampaign/ – $10/month hotspot for $62.51 1.2GB at 4G speed, then unlimited at 3G for month.
(Comcast) http://www.internetessentials.com/ – Most have a child that qualifies for some school lunch program. Actually you have tons of options if you qualify for school lunch programs.
(Sprint) https://yourkarma.com/
(ATT) Sonic – semi-local DSL company

Gas

TIP: Gasbuddy
scooter
electric bicycle
bicycle

Medical

Medi-cal @ Western Sierra Medical Center General and dentist, vision dr. moon, equine therapy
Women’s health specialist w/ qwest and fee waiver

Vehicle Insurance

Minimum insurance or
Pay as you go: Metromile

Banking

FirstUS Credit Union – Free checking and savings
River Valley Community Bank – Free checking and savings

School

Sierra College: FAFSA, Governor Fee Waiver

Business

Nevada City Small Business Loans and Grant
David Nelson – Nevada City CDBG Program Manager
http://nevadacityca.gov/sites/all/modules/tinytinymce/tinymce/jscripts/tiny_mce/plugins/filemanager/files/admin/EconomicDevel.pdf
Sierra commons
Kickstarter Indiegogo, etc…

Website hosting

HangLeft Hosting

Software:

Ubuntu
Open source software

Sundries

Use white vinegar to clean everything
Make your toothpaste
Use soap nuts for soap or make it
Use apple cider vinegar and baking soda to wash hair, coconut oil to condition
coconut oil for all lotion, moistorizer, sunblock
Use reusable toilet rags instead of toilet paper
Petfood: Animalsave program or make your own.
Make cloth bags for bulk items and produce
Store vegetables in cloth bags or dish towels

More resources

These are the programs that I personally use. A resourced, single, white male living in Western Nevada County. If you are a person without reliable transportation, a person without a permanent home, a person with two X chromosomes, a person with children, a person with a disability, a person suffering from chronic illness, a person who has suffered violence, a person suffering from addiction, a person that has served in the military, a person with more than 65 years under your belt, of you live in Eastern Nevada County, check out the site below where you will find even more services.

Nevada County Community Resource Directory (available 24 hours a day)
Emergency Assistance Coalition (EAC)
877-847-0499 (Dial 211 / www.dial211.com)

You can view Nevada County’s 2014-2015 Cummunity Action Plan (CAP) that was created so that we could receive the $1.6M Federal CSBG* grant that helps fund these services here: CAP. Note: Each non-profit that applied and was approved got $60K/year for 2 years.

*The Community Services Block Grant (CSBG), administered by the states, provides core funding to local agencies to reduce poverty, revitalize low-income communities and to empower low-income families to become self-sufficient.

]]>
https://jphein.com/social-services-in-nevada-county-for-people-with-low-income/feed/ 0 3592
The status of short (3 character) .org domain names in 2023. What’s available? (Updated!) https://jphein.com/the-status-of-short-domain-names-in-2016/ https://jphein.com/the-status-of-short-domain-names-in-2016/#respond Tue, 03 Jan 2023 17:24:01 +0000 https://blog.jphein.com/?p=4035 Domain names

A domain name can contain all 26 letters, 10 numbers, and a hyphen (-). You cannot start or end a domain name with a hyphen. Domain names are not case sensitive, so you can use upper and lower case letters interchangeably. A domain name can be up to 67 characters long — including the 4 characters used to identify the Top Level Domain (.net, .com or .org).

A little known fact is that you CAN have multiple dashes right next to each other. (e.g. domain--names.com) Opened up a few more possibilities? There is one restriction: Double Hyphens in the third and fourth position are not allowed. e.g. XX--XXXXXXXX.com. This allows for IDNs and other encodings.

Results

All three letter .com domains are taken. However, there are still 3 character .net and .org domain names.

.com – All three character .com names are registered.

.net – All three letter, or all 3 number names are taken. All LLN (Letter Letter Number) or anything with a hyphen is taken.

.org – All three letter, or all three 3 number names are taken NNN.org, and LLL.org. All L-L.org domains are taken. Checked the N-L.org, L-N.org, and N-N.org. Looks like there are a number of hyphenated 3 charactor .org domains left, but they all contain numbers.

I just wrote and ran a bash scripts to check all three character .org domains.

#!/bin/bash
#All three character .org domains with a hyphen in the middle
for x in {0..9} {a..z}; do
	for y in "-"; do
		for z in {0..9} {a..z}; do
			domnf=""
			domnf=$(whois $x$y$z.org|grep "Domain not found.")
			if [ "$domnf" == "Domain not found." ]; then
				echo $x$y$z.org
			fi
			domnf=""
			sleep 1
		done
	done
done

Complete list of available hyphenated three character .org (N/L-N/L.org) domain names:

0-5.org
0-8.org
0-c.org
0-e.org
0-h.org
0-i.org
0-j.org
0-l.org
0-m.org
0-q.org
0-s.org
0-t.org
0-u.org
0-v.org
0-w.org
0-y.org
0-z.org
1-d.org
1-e.org
1-f.org
1-l.org
1-n.org
1-p.org
1-r.org
1-s.org
1-u.org
1-y.org
2-8.org
2-9.org
2-e.org
2-f.org
2-i.org
2-j.org
2-l.org
2-m.org
2-n.org
2-p.org
2-w.org
2-x.org
2-z.org
3-1.org
3-j.org
3-n.org
3-o.org
3-t.org
3-u.org
3-z.org
4-1.org
4-b.org
4-f.org
4-g.org
4-n.org
4-o.org
4-v.org
4-x.org
4-z.org
5-0.org
5-8.org
5-9.org
5-c.org
5-e.org
5-f.org
5-j.org
5-l.org
5-n.org
5-o.org
5-q.org
5-s.org
5-t.org
5-u.org
5-w.org
5-x.org
5-y.org
5-z.org
6-2.org
6-8.org
6-a.org
6-b.org
6-c.org
6-d.org
6-f.org
6-g.org
6-h.org
6-i.org
6-j.org
6-k.org
6-l.org
6-m.org
6-n.org
6-o.org
6-p.org
6-q.org
6-r.org
6-s.org
6-u.org
6-w.org
6-x.org
6-y.org
6-z.org
7-2.org
7-b.org
7-e.org
7-h.org
7-j.org
7-l.org
7-n.org
7-o.org
7-p.org
7-s.org
7-u.org
7-v.org
7-w.org
7-y.org
8-1.org
8-4.org
8-7.org
8-a.org
8-c.org
8-e.org
8-f.org
8-g.org
8-j.org
8-l.org
8-m.org
8-n.org
8-r.org
8-t.org
8-u.org
8-v.org
8-w.org
8-x.org
8-y.org
8-z.org
9-1.org
9-8.org
9-c.org
9-e.org
9-f.org
9-g.org
9-i.org
9-j.org
9-k.org
9-l.org
9-m.org
9-n.org
9-o.org
9-p.org
9-q.org
9-r.org
9-s.org
9-t.org
9-u.org
9-v.org
9-y.org
9-z.org
a-6.org
b-5.org
b-6.org
b-8.org
c-2.org
c-7.org
c-9.org
d-0.org
d-4.org
d-5.org
e-0.org
e-6.org
f-0.org
f-6.org
f-7.org
f-8.org
f-9.org
g-6.org
g-7.org
g-9.org
h-0.org
i-6.org
j-0.org
j-7.org
j-9.org
k-0.org
l-4.org
l-5.org
l-9.org
m-0.org
n-0.org
n-4.org
o-3.org
o-5.org
o-9.org
p-0.org
p-2.org
p-4.org
p-6.org
p-7.org
q-0.org
q-2.org
q-3.org
q-6.org
r-0.org
r-7.org
r-8.org
r-9.org
s-6.org
s-8.org
t-5.org
t-8.org
t-9.org
u-0.org
u-3.org
u-5.org
v-0.org
v-1.org
v-3.org
v-7.org
w-1.org
w-4.org
w-7.org
x-6.org
x-8.org
y-0.org
y-1.org
y-8.org
y-9.org
z-0.org
z-3.org
z-4.org
z-5.org

Looks like there are still LNL LLN and NLL .org domains left as well.

#!/bin/bash
#All three character .org domain names with numbers and letters.
for x in {0..9} {a..z}; do
	for y in {0..9} {a..z}; do
		for z in {0..9} {a..z}; do
			dom=""
			dom=$(whois $x$y$z.org|grep "Domain not found.")
			if [ "$dom" == "Domain not found." ]; then
				echo $x$y$z.org >> domainlist.txt
			fi
			dom=""
			sleep 1
		done
	done
done

inComplete list of available non-hyphenated three character .org domain names: closed my laptop after the letter n.

Resources

Here is a report of cost of 3 character domain names for .com .net .org, etc.. http://www.3character.com/price-guide.html

Here is an OK search tool: http://www.namestall.com/3-4-letter-domains

]]>
https://jphein.com/the-status-of-short-domain-names-in-2016/feed/ 0 4035
Unlimited Data on the new AT&T LTE Band 14 Network for Rural Work at Home Broadband Internet https://jphein.com/unlimited-data-on-the-new-att-lte-band-14-network-for-rural-work-at-home-broadband-internet/ https://jphein.com/unlimited-data-on-the-new-att-lte-band-14-network-for-rural-work-at-home-broadband-internet/#respond Thu, 01 Apr 2021 19:40:41 +0000 https://blog.jphein.com/?p=8984 NOTE: LTE Band 14 no longer offers any increased throughput in my area. =[

Broadband: 25Mbps down, 3Mbps up, and less than 100ms latency.

Neither fiber nor cable is available where I live. All the fixed wireless providers in Nevada County don’t serve my property. AT&T will provide me a DSL line running at the insanely slow speed of 768kbps. That’s around 90 Kilobytes per second download, and don’t get me started on upload. Although, better than a 56K modem, it’s not fast enough for my needs. Geosynchronous satellite’s latency is too high for real time interaction. Low earth satellite is not available yet. AT&T is the only cellular provider with adequate coverage, however only on the new LTE band 14, all the other bands are spotty. FirstNet LTE Band 14 has been installed all over the Country by AT&T funded by a giant grant from the Federal government. My options are really quite limited. Luckily, I did eventually find something that works. Check out all the internet options in Nevada County here:
https://jphein.com/internet-options-in-nevada-county/
Here is a list of phones that have this LTE band 14:
https://www.firstnet.com/devices/phones.html
A complete list of devices is here:
https://www.firstnet.com/content/dam/firstnet/white-papers/firstnet-certified-devices.pdf

AT&T does not offer an inexpensive unlimited plan (<$100/month). Thus began my search for someone that did. I started out searching the Wiki article of all the MVNOs. (Mobile Virtual Network Operators) All the folks that resell time on the 4 major USA networks.  I sorted it by the network column so I could filter all the AT&T MVNOs: https://en.wikipedia.org/wiki/List_of_United_States_mobile_virtual_network_operators

Then I found the article below,
https://www.rvmobileinternet.com/gear/att-unlimited-rental-plans/
which pointed me to:
https://www.cgcellular.com/
Which provides unlimited data on AT&T for $60. Definitely the least expensive I’ve found. *No longer offering this. Instead check out how to get unlimted data for free here: jphein.com/lifeline

All AT&T Wireless unlimited plans supposedly deprioritize your data if your local cell tower is congested after 22GB. I don’t think it happens much in rural areas.

I purchase the Netgear Nighthawk M1 (MR1100) directly from my local AT&T store. Although, now you can buy one used on eBay.

Be sure to get the MR1100-2A1NAS model. The first consumer model does not support band 14. Read about it here: https://community.netgear.com/t5/Mobile-Routers-Hotspots-Modems/Pre-April-Nighthawk-and-band-14-and-46/m-p/1555303#M5746

It supports all LTE bands that AT&T uses. It was ~$270 with tax purchased outright. I put it on the $10/month for 100MB BYOD business plan. They waived any activation fee. I was able to unlock it after 60 days, and discontinued the original $10 plan.
https://www.att.com/deviceunlock/unlockstep1
Although, not necessary to unlock it for any AT&T reseller. I unlocked it in case in the future I need to use it with T-mobile, or Verizon.

Although currently locked to AT&T, I can use it with any AT&T MVNO by changing the APN setting from the web gui.

http://attwifimanager/
Netgear hotspot admin page, Cellular settings with LTE Band 14 selected and the APN list
For ATT use broadband. For Safelink on the ATT network use tfdata, reseller, or ereseller.

By plugging in the USB to my computer, and telnetting into the M1. I played around with the different LTE bands around my home, and various combinations using carrier aggregation.

#Open a terminal
telnet 192.168.1.1 5510

Edited the band selection dropdown:

https://mt-tech.fi/en/enable-manual-band-selection-on-netgear-mr1100/
Basic Guide
AT!gstatus?
AT!band=?
AT!BAND=03,"LTE B2 (1900 MHz PCS)",           0,  2
AT!BAND=04,"LTE B4 (1700/2100 MHz AWS)",      0,  8
AT!BAND=05,"LTE B12 (700 MHz Lower B/C/A)",   0,  800
AT!BAND=06,"LTE B14 (FirstNet / 700 PS)",     0,  2000
AT!BAND=07,"LTE B30 (2300 MHz WCS)",          0,  20000000
AT!BAND=08,"LTE B66 (AWS-3)",                 0,  0,          2
AT!BAND=09,"LTE CA (B2+B4+B12+B14+B30)",      0,  2000280a

You need to reboot the router before the changes show up in the web gui.

I connected to each band individually, and ran a speed test. I then ran a speed test with all bands aggregated. Carrier aggregation with Band 14 doesn’t seem to work. Also, the builtin All LTE option doesn’t seem to choose Band 14. However, when I choose it manually, I get a great connection. Simply locking the device to use Band 14 gave me the best speeds.

LTE Band 14 with WiFi turned off sitting on my desk.

Speedtest result on LTE Band 14 with the hotspot indoors on the desk

Much better than 0.768Mbps DSL, but not quite broadband.

I took it outside and set it facing the direction of the tower.

Speedtest result with the hotspot outdoors, facing the tower: broadband speeds

Sweet! Broadband Internet. I’ll make an enclosure for it, and run power and ethernet out to it.

I will order a pair of yagis. A type of directional antenna. For even faster speeds. FirstNet public safety LTE in the United States occupies two 10-MHz-wide blocks of spectrum at 758 MHz to 768 MHz (download), and at 788 MHz to 798 MHz (upload). So, I’ll be sure The antennas support those frequencies. The M1 has two external TS9 antenna ports.

4G LTE 700 MHz outdoor directional Yagi antenna with its SMA cable
I ordered two of these from eBay for $20 a piece.

Technical Specification

Frequency Range698 – 894 MHz
Gain8dBi
Front to Back Ratiobigger than 15dB
Impedance50 ohms
VSWRLess than 1.5
Cable Loss0.075 dB
Vertical Plane72°F ± 5°F
Horizontal Plane76°F ± 5°F
Polarization TypeVertical or Horizontal
Connector TypeSMA Male
Number Of Element4
Length without Cable37 cm
Weight0.7 Kg
Rated Wind Velocity150 Mile per Hour
Working temperature-40°F ~ +140°F

I had to order some SMA ends to shorten the antenna cable. You lose signal for every inch long your antenna cable is. I also ordered SMA to TS9 pigtails, and an outdoor enclosure.

I’ll set them up 90 degrees offset pointing at the same tower.  I found my tower location using Opensignal app, then I used Google earth to find the heading. Which was for me 38 magnetic degrees from my house to the tower. I then used a compass app, or google maps to know where to point the antennas. I’m sure it will take some fine tuning. This is a great guide for doing line of sight with Google earth:
https://startyourownisp.com/posts/guide-to-google-earth/

{Speedtest}

There are three ways to use the M1 as a modem. You can connect via ethernet, USB, or WiFi. I found the best performance was wither USB or Ethernet with WiFi off.

#Check IMEI

ati

#Restore corrupted IMEI

To unlock your NV:
https://github.com/bkerler/SierraWirelessGen

Installation

  • Get python >=3.6 64-Bit~>
  • git clone https://github.com/bkerler/edl/ ~>
  • chmod +x edl/modem/sierrakeygen.py ~>
  • cd edl/modem
  • pip3 install -r requirements.txt
at!openlock?
./sierrakeygen.py -l <challenge> -d MDM9x40
AT!OPENLOCK="<generatedresponse>"
at!nvimeiunlock
#at!nvmeidunlock
at!nvencryptimei=xx,xx,xx,xx,xx,xx,xx,x0
#at!nvencryptmeid=xx,xx,xx,xx,xx,xx,xx
ati

]]>
https://jphein.com/unlimited-data-on-the-new-att-lte-band-14-network-for-rural-work-at-home-broadband-internet/feed/ 0 8984
Least Expensive, Quality, 720p@60fps or 1080p@30fps “Webcam” You Can Buy Right Now at $40 https://jphein.com/least-expensive-quality-720p60fps-or-1080p30fps-webcam-you-can-buy-right-now-at-40/ https://jphein.com/least-expensive-quality-720p60fps-or-1080p30fps-webcam-you-can-buy-right-now-at-40/#respond Thu, 13 Aug 2020 23:17:45 +0000 https://blog.jphein.com/?p=9153 GoPro Hero 3 White + HDMI to Micro HDMI (D) Cable + HDMI to USB 2.0 Capture Card

Right now there is a serious shortage of inexpensive quality Webcams. So, we have to get a bit creative. This setup works great in Linux for OBS, Duo, and Google Meets. It also works for Windows and MacOS. You can always buy a HDMI, OR USB extension cable if you need a longer cable. This setup can also do 1080p at 30fps. I would have loved to have the capture card use USB 3.0, but couldn’t find one for this low price. You can stream from the GoPro Wirelessly, but it adds too much latency for live streaming.

  • $25 – Used GoPro Hero 3 White
    https://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&toolid=11800&pub=5575164288&campid=5337848787&mpre=https%3A%2F%2Fwww.ebay.com%2Fitm%2FUsed-GoPro-HERO-3-White-1080P-5MP-HD-Sport-Action-Digital-Camera-Camcorder-WiFi%2F333445833543%3Fhash%3Ditem4da2eba347%253Ag%253AFdMAAOSwp2Vd%257EYg9%26LH_BIN%3D1%26autorefresh%3Dtrue
  • $5 – HDMI to Micro HDMI (D) Cable
    https://amzn.to/33IPZzN
  • $10 – HDMI to USB 2.0 Capture Card
    https://amzn.to/33KJDA2
GoPro Hero 3 camera, front view

Pros:
Great quality
Wide angle lens
Price

Cons:
There is a very slight delay. Maybe 20-40ms?
There are two cables coming from your Webcam (USB power & HDMI.)

Capture Card Info and Reviews

USB ID: 534d:2109
Chip: MacroSilicon MS2109 ASIC
https://www.cnx-software.com/2020/06/05/11-hdmi-to-usb-2-0-video-capture-dongle-supports-up-to-1080p30-grabbing/
OBS Settings:
https://bigl.es/friday-fun-10-hdmi-to-usb-capture/

]]>
https://jphein.com/least-expensive-quality-720p60fps-or-1080p30fps-webcam-you-can-buy-right-now-at-40/feed/ 0 9153
How to set up a Secure Cloud Gateway using OpenWRT, Wireguard, Adguard, Tor & Ubuntu 20.04 https://jphein.com/how-to-set-up-a-secure-internet-gateway-using-wireguard-tor-and-adguard-home-on-ubuntu-20-04/ https://jphein.com/how-to-set-up-a-secure-internet-gateway-using-wireguard-tor-and-adguard-home-on-ubuntu-20-04/#respond Sat, 18 Jul 2020 21:57:14 +0000 https://blog.jphein.com/?p=9031 Diagram: you, through an OpenWrt router and your ISP, to an Ubuntu cloud gateway with AdGuard DNS and Tor, then the rest of the internet

Inspired by this portable secure gateway, I set up my own secure cloud gateway.

https://www.kickstarter.com/projects/glinet/brume-w-pocket-sized-wireless-gateway-for-edge-computing

Using these three services, Wireguard VPN, Adguard Home, and Tor Anonymizing Proxy. Although TOR doesn’t recommend using TOR in conjunction with VPN’s or proxies, I like this setup the best. For this to work you need a router that can support Wireguard. I use a Netgear r6220 with the Linux based open source router OS, Openwrt. You can easily use any computer that runs Ubuntu instead.
The router I used: https://openwrt.org/toh/netgear/netgear_r6220

Configure your local router

Flash OpenWRT
Set Password
Set LAN subnet
Set Static DHCP lease for desktop
Set name and password for both Wifi Networks
Set Adguard DNS: 176.103.130.130, 176.103.130.131 on wan interface.

AdGuard test page in a browser showing AdGuard DNS running

Update software lists..
Install nano, curl, ca-bundle, wireguard, etc..

opkg update
opkg install nano curl ca-bundle luci-app-wireguard
reboot

Wireguard

Set up Wireguard on your router with the below guide:

https://www.azirevpn.com/support/guides/router/openwrt/wireguard

Ignore the AzireVPN specific parts.

Time

From: https://forum.openwrt.org/t/initiate-wireguard-after-ntp-success/14751/52

A the end of the guide it says you have to sync the time with the browser after every reboot, because the router does not have a real time clock (RTC). Wireguard needs the time to connect to the other endpoint. However, I found that if you leave the OpenWRT time in UTC, then it shouldn’t need you to do that.

MTU

After making all these changes my upload speeds were terribly slow. To fix this I had to change the MTU of Wireguard interface to 1360. Stop the interface before changing the MTU I think Maybe because I use AT&T 4G which I think has a MTU of 1420.

QOS (SQM – Smart Queue management)

From: https://openwrt.org/docs/guide-user/network/traffic-shaping/sqm

Even if you have nice low latency, low jitter, and high bandwitch up and down you can still experience slow internet. Especially if you do any uploading. Some people call this “buffer bloat”. SQM can mitigate that by managing your traffic to not saturate your upload or download.
You can test your buffer bloat here: http://www.dslreports.com/speedtest

opkg update && opkg install luci-app-sqm
reboot

Play with Download and Upload values until you get good speeds with no buffer bloat.

OpenWrt Smart Queue Management settings: interface wg, download 27000 and upload 9000 kbit/s
OpenWrt SQM Queue Discipline tab with cake and piece_of_cake.qos selected

Configure your cloud server

I used Ubuntu 20.04 for my cloud server.

Follow the above guide.

DSLReports speed test result over the VPN with SQM enabled

Results: Over VPN with SQM.


The below needs more testing and fleshing out…

AdGuardHome (Optional)

Just using the AdGuard DNS is sufficient for most people, but if you’d like more control over your block lists, you can also install Adguard Home to either the Router, or the cloud gateway.

Gateway: For the gateway it can be done by using the below instructions, but I didnt have luck with the snap. This should let you configure the DNS lists locally.

https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#installation

sudo snap install adguard-home

Or,

Router: https://forum.openwrt.org/t/howto-running-adguard-home-on-openwrt/51678

Adding Tor to the Cloud gateway, or the local router.

To be continued…

https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy

https://www.linuxuprising.com/2018/10/how-to-install-and-use-tor-as-proxy-in.html

]]>
https://jphein.com/how-to-set-up-a-secure-internet-gateway-using-wireguard-tor-and-adguard-home-on-ubuntu-20-04/feed/ 0 9031
Smart Home Series – The Smart Tub https://jphein.com/smart-home-series-the-smart-tub/ https://jphein.com/smart-home-series-the-smart-tub/#respond Wed, 15 Jul 2020 04:48:26 +0000 https://blog.jphein.com/?p=6052 Source: https://atwing.net/home%20automation/shell-commands-assistant/
I’d like thank ANTHONY NGUYEN @ https://atwing.net for the above article. It really widened my perspective with what could be done with voice commands and smart devices. =] That is where I was introduced to IFTTT, MQTT, and Home Assistant. By connecting them to Google Assistant, you can do ANYTHING with your voice. Like execute bash commands. Adding Discord into the mix you can have all responses read back to you. This allows you to have complete hands free control.

However, The following article is about a simpler way of controlling smart devices. Specifically, a waterproof thermometer, and a smart plug.

I purchased the Unibot WS1 Wireless sensor. Thus creating my own smart weather station that can automatically react to temperature, humidity, ambient light and vibration. The optional UbiBot DS18B20 waterproof sensor allows you to monitor the temperature of liquids as well. If we add a few smart plugs and relays in the mix it will then be able to turn on and off heaters (120v, 240v, 24v, or old millivolt systems), fans, AC, humidifiers, lights, and anything else that can be plugged in. I purchased the https://amzn.to/36YCCdX. Simply because it was the least expensive smart plug on Amazon that was rated for 13 amps, and also supported IFTTT.

In my case, I’d like to use it to monitor my softub, and turn it off when it reaches a certain temperature. Normally this is accomplished by the integrated circuit of the hot tub. However, I had to bypass all that and wire the the 120v AC directly to the heat pump when my circuit boards kept burning out. This also allows me to create other conditions like only heat it during non-peak hours. I have PGE EV rates so it makes a HUGE difference when you use your power.

PG&E EV2-A electric vehicle rate plan chart with peak and off-peak hours

To accomplish all this I had to install the Ubitbot app, the smart life app. Then configure the two below cloud services:

If This Then That

IFTTT is the free way to do more with hundreds of the apps and devices you love, including Twitter, Dropbox, Evernote, Nest, Fitbit, Amazon Alexa, and Google Assistant.

https://ifttt.com/

Apilio

To extend IFTTT you may need to use this.

https://hackernoon.com/what-smart-home-iot-platform-should-you-use-2554ea213df1

We start with a local Ubuntu computer running homemate-bridge to connect to the MQTT broker. We will use Cloud MQTT as a broker to connect our plugs to our Home Assistant. We will be installing Home Assistant on an Ubuntu Google Cloud micro instance. We set up rules @ IFTTT.com to connect it all to Google assistant. A Google home mini is used to accept voice commands. Optionally, we can extend this setup to run any Linux bash command on the local machine. For example turning computers on using wake-on-lan, and off using SSH.

Yonomi

The simple smart home integration platform.

Yonomi makes it easy for innovators to build great apps and devices that connect with the smart home.

https://www.yonomi.co/

DIY

PlatformIO

Tasmota – ESP8266 firmware
https://github.com/arendst/Tasmota

https://cloud4rpi.io/

https://www.domoticz.com/

Jeedom
INNOVATIVE HOME AUTOMATION
GET JEEDOM

Losant

RemoteMe

Control and collect data from IoT devices from anywhere around the worldUsing web pages hosted for free and mobile applications fully customisable

Howto for ESP8266

https://remoteme.org/

EasyIOT Cloud

Our goal is to create secure, reliable and cheap platform for Internet of Things at your home. We will provide DIY tutorials to build IoT using components like Raspbery Pi, Arduino, NRF24L01+, ESP8266 and our EasyIoT Cloud. With help of EasyIoT community we will make IoT world Easy Internet of Things world (EasyIoT) .

EasyIoT framework is not home automation. Of course you can build home automation system, but you can build much more. Do you need advanced alarm system, remote plant irrigation system, solar cell charger control, SMS controlled heater,  door opener, hydroponic system or even automation process control system. All this you can easily build with EasyIoT framework.BlynkEasyIoT framework is not home automation. Of course you can build home automation system, but you can build much more. Do you need advanced alarm system, remote plant irrigation system, solar cell charger control, SMS controlled heater,  door opener, hydroponic system or even automation process control system. All this you can easily build with EasyIoT framework.

https://easyiot-cloud.com/

gBridge

gBridge.io: Control anything with voice commands
gBridge’s open interface allows you to integrate Google Home™ and Alexa easily in your Smart Home.

gBridge is…
…an application, that provides a Bridge between Google Assistant smart home devices and MQTT, an open and available messaging protocol that is supported by many smart home applications and devices.

https://about.gbridge.io/

CloudMQTT

Hosted message broker for the Internet of Things
Perfectly configured and optimized message queues for IoT, ready in seconds.

https://www.cloudmqtt.com/

Adafruit IOBlynkAdafruit IO

The internet of things for everyoneThe easiest way to stream, log, and interact with your data. We play nice with any device. Our simple client libraries work with the most popular devices such as the Adafruit Feather Huzzah, ESP8266, Raspberry Pi, Arduino, and more.

https://io.adafruit.com/

Selfhosted

Blynk

OpenHAB

Home Assistant

Scrypted

All product links are affiliate links.

]]>
https://jphein.com/smart-home-series-the-smart-tub/feed/ 0 6052
How to Stream Games in 720p from the Cloud on a 3Mbps DSL Line using Parsec https://jphein.com/how-to-stream-games-in-720p-from-the-cloud-on-a-3mbps-dsl-line-using-parsec/ https://jphein.com/how-to-stream-games-in-720p-from-the-cloud-on-a-3mbps-dsl-line-using-parsec/#respond Thu, 25 Jun 2020 20:28:36 +0000 https://blog.jphein.com/?p=8887 There are three main hosted services I’ve tried. Geforce Now, Google Stadia, and Microsoft Xbox Live. The two self hosted options I’ve tried are Parsec, and Steam Remote Play. They all work to some degree amazingly enough, although not really playable on my slow connection with default settings.

Parsec is the only option that allows you to play ANY Windows game. You can then stream Geforce Now, Google Stadia, Steam, Epic Games, Origins, and any other standalone windows game. You can also use it as performant remote desktop for CAD or other graphics heavy programs.

It allows you to reduce the framerate to 30fps, the resolution to 1280×720, and the bitrate to 1Mbps. Even though I have “3Mbps” DSL, in the real word it’s more like 2.5Mbps. When I set the bitrate to 2Mbps it saturates my bandwidth sometimes. I found the best was to set bitrate to 1Mbps or 2Mbps depending on the time of day, or if there was anyone else using it.

Create your cloud virtual machine in Azure, and install parsec

From: https://medium.com/azure-cloud/a-killer-guide-for-cloud-gaming-on-azure-march-2020-1aa56d13fba3

  • Connecting to the VM with TeamViewer, open a prompt as admin (Start Menu -> search for “cmd” -> right click on command prompt and select Run as Administrator).
  • Go to the C:\Program Files\NVIDIA Corporation\NVSMI folder, and run nvidia-smi. This will get you a table that gives you both what mode your Tesla is set to (which will be TCC by default, check under the heading TCC/WDDM), and the GPU_ID, which is the thing under the Bus-Id heading.
  • Run nvidia-smi -g {GPU_ID} -dm {0|1} with your Bus-Id and 0 to set it to WDDM, like so (the GPU_ID may differ):

nvidia-smi -g 1:00:00.0 -dm 0

Instead of Teamviewer you can use the open source DWService: https://www.dwservice.net/

If using a different cloud provider, check out:
https://github.com/parsec-cloud/Parsec-Cloud-Preparation-Tool

My parsec config:

# All configuration settings must appear on a new line.
# All whitespace, besides the newline character '\n', is ignored.
# All settings passed via the command line take precedence.
# The configuration file will be overwritten by Parsec when changing settings,
#   so if you edit this file while Parsec is running, make sure to save this file
#   and restart Parsec immediately so your changes are preserved.

# Example:
# encoder_bitrate = 10

app_run_level = 3
app_discord = 0
client_vsync = 0
client_decoder_index = 2
client_decoder_h265 = true
server_resolution_x = 1280
server_resolution_y = 720
encoder_bitrate = 2
encoder_fps = 30
encoder_fps_1 = 30

I installed parsec from: https://parsecgaming.com/downloads/

I use Ubuntu 20.04 and and Nvidia Geforce 1050ti video card. I had to install this tweak to get Parsec to do hardware decoding using libva-vdpau vaapi. I borrowed it from the moonlight project snap.

I got this error when running vainfo to verify the VAAPI-VDPAU wrapper.

vainfo
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

My solution was to borrow nvidia_drv_video.so from moonlight, I have not idea why this was not installed with the proprietor nvidia drivers.

sudo snap install moonlight
sudo ln -s /snap/moonlight/current/usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so

It used to be part of the vdpau-va-driver package, but that is no longer available on 20.04. It’s replaced by the mesa-va-driver, which does not contain it.

Parsec Shortcuts

From: https://support.parsecgaming.com/hc/en-us/articles/115003632451-Parsec-Shortcuts

CLIENT MENU OPTIONS

  • Interact with chat – ctrl + shift + c
  • Toggle menu – ctrl + shift + m
  • Toggle windowed mode – ctrl + shift + w
  • Detach mouse – ctrl + alt + z
  • Immersive mode – ctrl + shift + i

EXITING THE STREAM

  • Quitting the Mac Application – command + Q or command + W
  • Quitting the Windows Application – alt + F4
  • Quitting the Raspberry Pi Application – ctrl + alt + ~
  • Quitting the Linux Application – ctrl + alt + ~

FRIEND SHORTCUTS

  • Allowing access to a friend trying to make a connection who doesn’t have admin access – ctrl + F1 when they try to connect
  • Kick everyone from the stream all at once (the panic button!) – ctrl + F3

IMMERSIVE MODE

  • Toggling the Windows hotkey passthroughs – ctrl + shift + i
    • This allows you to send data to the host when you use ctrl + alt + delete, the Windows button, alt + tab
]]>
https://jphein.com/how-to-stream-games-in-720p-from-the-cloud-on-a-3mbps-dsl-line-using-parsec/feed/ 0 8887
Wireless VR (Virtual Reality) on a Budget https://jphein.com/wireless-vr-virtual-reality-on-a-budget/ https://jphein.com/wireless-vr-virtual-reality-on-a-budget/#respond Fri, 17 Apr 2020 19:21:55 +0000 https://blog.jphein.com/?p=8722 UPDATE: The Quest 2 is now in stock for $299 on oculus.com

The Oculus Quest is not available in the US, and even if/when it becomes available again it’s still over $400. Plus it’s limited to the Oculus store games, unless you use a USB 3.0 10ft link cable. That is why I needed an alternative setup to run virtual reality programs such as:

Skyrim VR seen through the headset, the player's hands in view
  • Skyrim VR
  • Asgards Rath
  • Moss
  • Hellblade: Senua’s Sacrifice
  • Vanishing Realms
  • Blade and Sorcery
  • Super Hot
  • Beat Saber
  • VRChat (Multiplayer)
  • Google Earth VR

The following guide is primarily for people that have no VR hardware, besides a google cardboard like phone headset, but it is still useful if you already own Gear VR, Daydream, Oculus GoQuest, etc.. I will show you how to wirelessly stream SteamVR, and Oculus titles. As well as add head, body and feet trackers. Also, play non-VR games in pseudo VR.

I will present two guides below. One for the minimum setup you’ll need, and another for a fully immersive body tracking setup.

Minimum Setup to Play VR Games

Budget VR kit: a phone in a headset case next to a red game controller on a cutting mat

3 Degrees of Freedom (3DoF) Head Mounted Display (HMD) w/ Gamepad

This setup will allow you to look around in a VR game with orientation tracking (3 degrees of freedom), and control your movement etc with a gamepad. You can use a keyboard and mouse if you don’t have a controller. The game will not track the position of your body, just the orientation of your HMD. (Yaw, Pitch, and Roll)

It’s smart to start with this setup to test the video streaming software, etc…

Unfortunately you will still need:

Hardware

  • Windows 10 computer with a Nvidia Geforce 1050ti or better.
  • 5GHz WiFi AP. I use the Netgear R6220. $20 on eBay.
  • An Internet connection. I use 1.5Mbps DSL.
  • A smartphone. I use the LG G5. $50 on eBay.
  • VR Goggle Headset like the Google Cardboard for your phone. I found mine the VR Shinecon at a thrift store for $2. You can of course use the Gear VR, Daydream, Vive Focus, Oculus Go/Quest, PSVR, etc..
  • PlayStation or Xbox controller. I use a $5 PS3 Dualshock. Or, an extra android phone. I did end up buying a GearVR controller for $7 on eBay. With the added bonus of being able to use it to control my mouse on my linux desktop with this sweet little package: https://github.com/rdady/gear-vr-controller-linux
    NOTE: You can use a keyboard and/or mouse instead. My goal however, was to play wirelessly.

Game Software

You will to download and install all of theses to your Windows 10 computer.

Headset (HMD) Software

You will need to download and install ONE of the below pieces of software to your smartphone. Also, the server portion of the package to your computer. iVRy is good to start with because if it’s ease of use, and unlimited free version in black and white. If you have a Samsung Gear VR, or an Oculus Go/Quest, use ALVR. If you have an iPhone 5s or newer you might want to try out KinoVR. I use Riftcat/Vridge.

iVRy – $8
Free to try in color for 10 minutes, and black and white after. Easy to use.
Server (Steam plugin): https://store.steampowered.com/app/992490/iVRy_Driver_for_SteamVR/
Android Client: https://play.google.com/store/apps/details?id=com.mediator_software.ivry&hl=en_US
iOS Client: https://apps.apple.com/us/app/ivry/id1210129937

Riftcat/Vridge – $15 (Complete review pending…)
Server: https://riftcat.com/vridge
Android client: https://play.google.com/store/apps/details?id=com.riftcat.vridge2&hl=en_US
iOS client: https://apps.apple.com/us/app/vridge/id1458108034
Pros: Free to try for 10 minutes at a time. Can use Moonlight and ARcore. ARCore is experimental. Using phone as controller is $5. Has play non VR games in VR addon for $10 (Gamewarp). Can use Opentrack for positional tracking. Good support.
Cons: Cannot use ARCore and Moonlight at same time. Cannot use Gamewarp and Moonlight at the same time. Cannot use GearVR controller and Moonlight at the same time.

ALVR – FREE & Open Source! GearVR & Oculus Go/Quest only. Can use ARcore for positional tracking. The developer doesn’t seem to be doing anything for the last year.
Server: https://github.com/polygraphene/ALVR/releases
Client: https://github.com/polygraphene/ALVRClient/releases
Newer Quest fork: https://github.com/JackD83/ALVR

Trinus Cardboard VR – $10
Server: https://www.trinusvirtualreality.com/trinus-cardboard/#downloadtrinus
Android client: https://play.google.com/store/apps/details?id=com.loxai.trinus.test&referrer=utm_source%3Dtweb
iOS client: https://apps.apple.com/us/app/trinusvr/id1101683353
Using phone as controller is free. Can use some LED tracking with your webcam for Positional data, can also use Freepie. You can play non VR games in VR. UI in non-intuitive.

KinoVR – Claims to have 6DoF for it’s iOS version. Maybe using ARKit? Android & iOS. I don’t know anything about this project.

Intugame (No longer being developed)
https://www.quarkxr.com/past-work

Gamepad

If you want to use a PS3 Dualshock controller wirelessly over bluetooth, you’ll need to install this driver:
PS3 Dualshock Controller – https://github.com/nefarius/ScpToolkit
If you install the bluetooth driver, you will not be able to use other bluetooth devices until you remove the driver. To remove the driver follow this guide: https://forums.vigem.org/topic/250/scptoolkit-removal-guide

Xbox Controller’s should work out of the box I think.

VR Controller Software

If you don’t have a wireless gamepad lying around, but you do have an extra android phone. Turn it into a wireless controller.

Turn your Anroid phone into a 3DoF VR controller.

VR Controller Hardware

Riftcat/Vridge supports one GearVr, Oculus Go, Daydream, or Vive Focus controller. However, you have be using the GearVR, Daydream, or Vive Focus HMD respectively.

Driver4VR supports one or two PS Move, Joycon, Wii remote/nunchuck, Daydream, and GearVR controllers without any corresponding HMD. Also Leap Motion, Kinect & NoloVR. You can also use a generic bluetooth VR controller. This includes the option of virtualized hand tracking using the orientation of the controller.
GearVR driver: https://github.com/gb2111/Access-GearVR-Controller-from-PC
https://www.driver4vr.com/forums/topic/2-gear-vr-controllers-w10/

I was confused by Rucio’s reference to “IKN”, but here is how I got both controllers to work in 1909. I’m assuming he meant “IRK”. Heads up, this will mess with your computer’s registry and has the potential to break windows if done incorrectly. No one except yourself is responsible for anything that may go wrong.

* Connect one of the Gear VR controllers to Windows via the Bluetooth menu. Make a note of what the device name is, specifically the 4 letters and numbers inside the parenthesis. This should work without error.

* Regedit.exe as Administrator, navigate to ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesBTHPORTParametersKeys. On the left, there will be a subkey (folder) under “Keys”, the name of this folder will be specific to each computer. Expand that folder with the downwards arrow. Now you should see a folder with the last 4 characters in the name matching the 4 characters in the Bluetooth menu. Open this folder.

* There is a entry with the name “IRK”. Click that and you’ll see the the attached screen. Replace the 01 at the start of each line with 02.

* Close out of Regedit and restart your computer.

You should now be able to pair the second controller without issues. You don’t need to worry about changing that value back, but you may need to remove both devices and repeat this process if you ever need to repair the controller.
See below for verification.

Full Immersive Room Scale Setup w/ 6DoF

6DoF HMD w/ two 6DoF Contollers (position emulated) two 6DoF Foot trackers w/ Virtual hip tracker. For this setup, you will need to use Riftcat/Vridge software for it’s integration with Opentrack. Unless you use Driver4VR for all body tracking. In which case you can use whichever HMD streaming package you like.

There are a number of different ways to get positional data of your HMD. Here are the ones I’ve discovered.

  • ARCore (Requires ARCore compatible phone. Check here: https://developers.google.com/ar/discover/supported-devices, or a rooted phone with the Magisk ARCore/Playground Patcher module) This is the most desirable option because it uses the camera from your phone. You will need VR goggles without a front cover, or you’ll need to make a hole for the camera. I’ve heard a messy room is better. I also read you can add stickers of some kind to your walls to improve tracking. Only seems to work when you use the default streaming options, and not Moonlight. It didn’t work very well with my LG G5.
    How to enable ARCore in Riftcat:
    Go to RiftCat/Config folder and edit your VRidge.cfg file. Find “ArcoreTrackingEnabled” and change its value to “true”. My config was stored at: C:Program Files (x86)Riftcat 2Configvridge.cfg. How you know it is working is when your vridge app requests permission to use the camera.
  • PS Eye with Aruco Markers via Opentrack (This is the one I chose since I already owned a PS Eye Camera, and a laser printer)
  • PS Eye with IR LED’s via Opentrack with IR filter over lens
  • Kinect skeleton mode via opentrackkinect + Opentrack OR Immotion OR Driver4VR
  • Kinect with color LED markers via Driver4VR

Aruco Marker Requirements:

  • A printer, or some graph paper and black pen.
  • Cardboard, paper, glue.
  • A hat, and some sandals.
  • A webcam like the PS Eye $7 X 2. Or the Xbox Kinect $10.
  • Two controllers of some kind, I used GearVR controller, and another android phone with the Google Daydream Controller Emulator.
  • Driver4VR software for body tracking.

Open Track Head Tracking Software

If you are not ARCore, you’ll need to use either a PS Eye or Kinect camera to track your head. Oculus Go/Quest already does this. Probably using lasers.

To enable headtracking in Riftcat you’ll need to download and install:

Opentrack: https://github.com/opentrack/opentrack

If using Kinect download and install Kinect to Opentrack – https://github.com/sheepsskullcity/opentrackkinect

Hip + Feet Tracking Software

Driver4VR – https://www.driver4vr.com/download/

https://www.driver4vr.com/forums/topic/driver4vr-body-tracking-with-camera-markers-alpha-relase-1/
Manual Calibration of Feet Trackers

Drivers

PS Eye Driver – https://github.com/jkevin/PS3EyeDirectShow (Supports multiple camera’s at once, but they are name the same, so you must initialize them in succession.)

Kinect for xbox 360 / v1:
-SDK https://www.microsoft.com/en-us/download/details.aspx?id=40278
-Runtime https://www.microsoft.com/en-au/download/details.aspx?id=40277

Kinect for xbox one / v2
– SDK https://www.microsoft.com/en-us/download/details.aspx?id=44561
– Runtime https://www.microsoft.com/en-us/download/details.aspx?id=44559

Troubleshooting Kinect 360 Download Kinect Developer Toolkit, start Kinect Tookit Browser and try Skeleton Basics application and Color Basics application – You may also run the Kinect Explorer-D2D after a computer restart to get further information from the console window that you can share screenshot https://www.microsoft.com/en-us/download/details.aspx?id=40276
Kinect for xbox one / v2: – Use Kinect Verifier https://developer.microsoft.com/en-us/windows/kinect/hardware-setup

Play non VR games in VR

Riftcat Gamewarp w/ Reshade

https://support.riftcat.com/hc/en-us/articles/360015646579

Trinus

With Reshade or VorpX

VorpX (Full review pending…)

With Moonlight, Opentrack, and OpenPIE MIU, Or Riftcat/Vridge

Reshade

With Moonlight, Opentrack, and OpenPIE MIU, Or Riftcat/Vridge
https://www.reddit.com/r/EliteDangerous/comments/4cfo37/google_cardboard_and_moonlight/

https://reshade.me/

https://github.com/BlueSkyDefender/Depth3D

3D vision

With Moonlight, Opentrack, and OpenPIE MIU, Or Riftcat/Vridge

https://www.reddit.com/r/oculus/comments/7zp9hx/3d_vision_sbs_3d_for_flatscreen_games_with_the/

Cinema Mode

Nero GameVR Will just display any game in big screen mode within VR, but not actually convert game to VR.

Steam will also do this “Play in Theater”.

Also, for GearVR Oculus Go/Quest you can use the Remote Desktop app.
https://www.vrdesktop.net/

Create profile QR code for your VR Goggles

https://wwgc.firebaseapp.com/

Vridge Commands

Alt+Ctrl+Shift+R – Recenter – By default it’s Alt+Ctrl+Shift+R, but it can be changed in RiftCat settings -> VRidge -> Tracking Options.

Game Specific Help for Vridge

Skyrim

https://youtu.be/Y7hRKgfAgUw – VRidge Basic Tutorial http://go.riftcat.com/SkyrimSharpness – Improve Skyrim image quality. http://go.riftcat.com/SkyrimMods – Learn how to install

Aruco Marker Generator

http://chev.me/arucogen/

Turn you non Galaxy device into Gear VR compatible. Not sure if this works yet. Probably not

https://forum.xda-developers.com/mobile-vr/gear-vr/port-gear-vr-software-to-android-device-t3540402

Further Reading About Smartphone VR

https://github.com/ChristophGeske/ARCoreInsideOutTrackingGearVr/blob/master/README.md

]]>
https://jphein.com/wireless-vr-virtual-reality-on-a-budget/feed/ 0 8722
How to Root the LG G5 T-Mobile H830 H83030C 8.0.0 Oreo Complete Guide https://jphein.com/how-to-root-the-lg-g5-t-mobile-h830-h83030c-8-0-0-oreo-complete-guide/ https://jphein.com/how-to-root-the-lg-g5-t-mobile-h830-h83030c-8-0-0-oreo-complete-guide/#respond Sat, 11 Apr 2020 17:46:21 +0000 https://blog.jphein.com/?p=6306 WARNING: This will completely wipe all your data multiple times. =]

You will need a USB-C to USB-A cable, and a computer. Most of it can be done on Linux, or MacOS, but the initial downgrade of the OS can only done on Windows. Unless you can run LGUP and Uppercut in WINE or a Virtual Machine.

Plus all these files:

  1. ADB
    https://dl.google.com/android/repository/platform-tools-latest-windows.zip
  2. LG drivers
    http://downloads.codefi.re/autoprime/LG/LG_G5/LGMobileDriver_WHQL_Ver_4.1.1.exe
  3. LGUP
    http://downloads.codefi.re/autoprime/LG/LG_G5/LGUP/LGUP_Store_Frame_Ver_1_14_3.msi
  4. Uppercut
    http://downloads.codefi.re/autoprime/LG/LG_G5/LGUP/UPPERCUT_1.0.0.0.zip
  5. Downgrade rom
    http://downloads.codefi.re/autoprime/LG/LG_G5/H830/H83020a/H83020a_00_1107.kdz
  6. TWRP recovery
    https://dl.twrp.me/h830/
  7. Easy Recowvery (Download entire folder)
    https://github.com/yantis/EasyRecowvery
  8. Noverity disable forced encryption
    https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-6.1.zip
  9. Latest ROM
    http://downloads.codefi.re/autoprime/LG/LG_G5/H830/H83030c/LG-H83030c.ARB01.TMO.US.COMPLETE.FLASHABLE.zip
  10. Magisk
    https://github.com/topjohnwu/Magisk/releases

Unlock Bootloader (This will delete all your data!)

  1. Enable Developer mode and USB debugging
  2. Enable OEM unlock in the Developer options under device Settings, if present.
  3. Connect the device to your PC via USB.
  4. On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
    1. adb reboot bootloader You can also boot into fastboot mode via a key combination: With the device powered off, hold Volume Up + Power.
  5. Once the device is in fastboot mode, verify your PC finds it by typing:
    1. fastboot devices TIP: If you see no permissions fastboot while on Linux or macOS, try running fastboot as root.
  6. Now type the following command to unlock the bootloader:
    1. fastboot oem unlock
    2. fastboot reboot
  7. Go through set up wizard

Downgrade to H83020A.
I used a Windows 10 machine to perform the following:

  1. Install LG drivers.
  2. Install LGUP
  3. Install Uppercut
  4. Flash .KDZ

Install TWRP custom recovery. I ran this is an Ubuntu terminal after making sure I had adb installed. You can use WSL (Windows Subsystem for Linux), or Windows cmd.

  1. Go through phone wizards and reenable developer and debugging on phone.
  2. Install adb: `sudo apt install adb`
  3. Download TWRP
    1. wget url
  4. Push to phone:
    1. adb push ~/Downloads/twrp-blahblah /sdcard/recovery.img
  5. Download and unzip “recowvery”. Open a terminal and change into the recowvery directory.
  6. Run the below commands:
#LINUX
TARGET=/data/local/tmp
adb shell rm -rf $TARGET/recowvery
adb shell mkdir $TARGET/recowvery
adb push dirtycow $TARGET/recowvery/
adb push recowvery.sh $TARGET/recowvery/
adb push recowvery-app_process64 $TARGET/recowvery/
adb push recowvery-applypatch $TARGET/recowvery/
adb push recowvery-run-as $TARGET/recowvery/
adb shell sh $TARGET/recowvery/recowvery.sh

Or

rem WINDOWS
set TARGET=/data/local/tmp
adb shell rm -rf %TARGET%/recowvery
adb shell mkdir %TARGET%/recowvery
adb push dirtycow %TARGET%/recowvery/
adb push recowvery.sh %TARGET%/recowvery/
adb push recowvery-app_process64 %TARGET%/recowvery/
adb push recowvery-applypatch %TARGET%/recowvery/
adb push recowvery-run-as %TARGET%/recowvery/
adb shell sh %TARGET%/recowvery/recowvery.sh

Wait for it to reboot. Disconnect and reconnect the USB cable.

adb shell sh $TARGET/recowvery/recowvery.sh --stage1 --nohash
adb shell sh $TARGET/recowvery/recowvery.sh --stage2 --nohash
adb reboot recovery

Wait for recovery

Install Decryption

adb push no-verity-opt-encrypt-6.1.zip /cache/recovery/
adb shell twrp install /cache/recovery/no-verity-opt-encrypt-6.1.zip
adb shell twrp wipe cache 

Install H83030C

  1. Download and install H83030C zip
    1. wget url
    2. adb push LG-H83030c.ARB01.TMO.US.COMPLETE.FLASHABLE.zip /sdcard
    3. adb shell twrp install /sdcard/H83030c.ARB01.TMO.US.COMPLETE.FLASHABLE.zip
  2. Install and wipe cache

Install Magisk (Root)

  1. Sideload Magisk
    1. download: wget url
    2. enable sideload under advanced in TWRP
    3. adb sideload Magisk-v20.1.zip
    1. reboot –> system

Done!


How to restore back to stock 8.0.0 Oreo H83030C

  1. Flash .KDZ
]]>
https://jphein.com/how-to-root-the-lg-g5-t-mobile-h830-h83030c-8-0-0-oreo-complete-guide/feed/ 0 6306
How to hide sponsored items and ranged prices when searching eBay https://jphein.com/how-to-hide-sponsored-items-and-ranged-prices-when-searching-ebay/ https://jphein.com/how-to-hide-sponsored-items-and-ranged-prices-when-searching-ebay/#respond Sun, 17 Nov 2019 01:52:49 +0000 https://blog.jphein.com/?p=6064 I finally stumbled across someone who has solved an issue I’ve grappling with for a while. Bogus ranged prices listings, and sponsored products messing up my searches when I sort by lowest price first.

They created a posted some bookmarklets here:

https://berserkerplanet.altervista.org/code/bookmarklets/

Thank you so much!

Saving bookmarklets to your browser:
Drag and Drop chosen bookmarklet to your browser bookmarks toolbar or bookmarks menu, or right click on the bookmark link
and choose “bookmark this link”. It can then be used as needed to perform whatever specific function that bookmarklet addresses.

eBayRPandSLresultsFilter0.4

eBay search results for an LG G5 with sponsored items and ranged prices hidden by the filter bookmarklet
]]>
https://jphein.com/how-to-hide-sponsored-items-and-ranged-prices-when-searching-ebay/feed/ 0 6064
How to Build a 12v Lithium Battery from old Laptop Cells. Then put inside a UPS to charge from home, or a Solar panel. In order to run your 120vAC, 12vDC, and 5vDC devices off-grid. https://jphein.com/how-to-build-a-12v-lithium-battery-from-old-laptop-cells-then-put-inside-a-ups-to-charge-from-home-or-a-solar-panel-in-order-to-run-your-120vac-12vdc-and-5vdc-devices-off-grid/ https://jphein.com/how-to-build-a-12v-lithium-battery-from-old-laptop-cells-then-put-inside-a-ups-to-charge-from-home-or-a-solar-panel-in-order-to-run-your-120vac-12vdc-and-5vdc-devices-off-grid/#respond Sun, 08 Sep 2019 21:31:28 +0000 https://blog.jphein.com/?p=5982 Building a 3S5P (3 in series, 5 in parallel) 12v Lithium battery pack from old 18650 laptop battery cells. 

To put in an old UPS, and use as a solar charger and inverter to run 5v, 12v, 24v, and 120v devices.  Charging either with 120v AC, or a 15v-21v solar panel.  

A 12-volt lithium battery pack built from laptop cells on a bench, a multimeter reading 12.00 volts

Ingredients:

  • 15x 18650 cells
  • 30x cell holders
  • 4x copper bus bars
  • 30ga copper wire 
  • Doublestick smartphone stuff
  • 1x 3S BMS board
  • 2x spade battery connector male
  • 2x 4” of 16 AWG solid copper wire
  • 1x 4 wire connector with wires (JST-XH or Dupont for balance charging)

Optional:

  • UPS for AC charging, and powering 120v AC devices.
  • Cigarette jacks for 12v and 24v devices.
  • USB jack for 5v devices.
  • DC 5.5mmX2.1mm jack for 12v devices, and charging from solar.
  • MPPT controller for solar charging lithium 3s battery
  • Solar panel with output of 18v?-21v

Tools:

  • Heat shrink tubing
  • High temp soldering iron with large tip (I used 800 F temp setting)
  • Non corrosive flux no clean
  • Rosin core lead free solder
  • 18650 cell charger or holders for the Imax B6 (For charging the cells)
  • Lithium Charger/discharger/balancer (Imax B6)
  • Flush Cutters
  • Wire strippers
  • Heat gun (For shrink tubing)
  • Glue gun and glue 

Find, test, and sort cells

  1. Visually inspect for damage. Corrosion, punctures, deformed, and insulating sleeve damage. 
    1. Rewrap, or recycle damaged ones.
  2. Check voltages. > 3v is ok to charge
    1. Recondition, or recycle low voltage ones 
  3. Charge, and see if they get hot. > 100F
    1. Recycle hot ones.
  4. After full charge check voltages. Should be ~4.16v. 
    1. Discharge recharge again, or recycle low voltage ones.
  5. Wait 1-4 weeks, and test voltage again. Should not be lower than ~4v. 
    1. Discharge recharge again, or recycle low voltage ones.
  6. Discharge and check capacity. 
    1. Sort into 3 groups ( Low: < 1000 mah Mid: 1001-2000mah high: > 2000mah ) Highest you’ll find is around 3500mahs
    2. Choose the 15 you’ll use in this 12v battery. I chose 12x 1200mah@5v and 3x 1550mah @ 5v.  
  7. Sort those 15 cells by capacity using http://repackr.com
  8. Calculate capacity of finished battery. i.e. (Amp hours @ 12v), and KWHs (Kilowatt hours)
    1. The final pack configuration is designated as 
    2. “3S5P pack” with a final specification of 
    3. 11.1V nominal and 
    4. ~8.4v-12.6v output range
    5. ~5000mAhs @ 12v (loosely based on 15x 1200mah 3.7v cells) and 
    6. 60 Watt hours. 
    7. 0.06 kWh pack

Connect cells and BMS

  1. Install cells in cell holders
  2. Flux and Tin every battery positive and negative terminal.
  3. Cut bus bars to length
  4. Doublestick busbars to battery
  5. Flux and tin every busbar in 5 spots 
  6. Solder each cell to the busbars. 
  7. Solder power pigtail to BMS
  8. Solder bus bars to BMS
  9. Solder balance wires to BMS

Thank you!:

https://www.instructables.com/id/DIY-Professional-18650-Battery-Pack/

https://www.youtube.com/watch?v=lqChusdXw_A
]]>
https://jphein.com/how-to-build-a-12v-lithium-battery-from-old-laptop-cells-then-put-inside-a-ups-to-charge-from-home-or-a-solar-panel-in-order-to-run-your-120vac-12vdc-and-5vdc-devices-off-grid/feed/ 0 5982
How to Install & Run Windows Server (Desktop Experience) under KVM on Ubuntu. With High Performance networking, hard drive, and display drivers. Then Configure for Remote Desktop Thin Clients with USB, Sound, and Microphone Forwarding. https://jphein.com/how-to-install-run-windows-2016-server-desktop-experience-under-kvm-on-ubuntu-with-high-performance-networking-hard-drive-and-display-drivers-then-configure-for-remote-desktop-thin-clients-wit/ https://jphein.com/how-to-install-run-windows-2016-server-desktop-experience-under-kvm-on-ubuntu-with-high-performance-networking-hard-drive-and-display-drivers-then-configure-for-remote-desktop-thin-clients-wit/#respond Sat, 20 Apr 2019 20:39:09 +0000 https://blog.jphein.com/?p=5547 I used Windows Server 2012r2 on Ubuntu 18.04 Bionic. Windows Server 2016 and Ubuntu 19.10 seems to work as well.

  • Change BIOS to boot when power comes back up.
  • Install Ubuntu Desktop
    https://ltsp.github.io/docs/installation/
  • Install LTSP
    https://ltsp.github.io/docs/installation/
  • Create interface bridge:
    https://netplan.io/examples#configuring-network-bridges

Example bridge config.

sudo nano -w /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).

network:
  version: 2
  renderer: networkd
  ethernets:
    eno1:
      dhcp4: no
  bridges:
    br0:
      addresses:
        - 10.0.16.25/24
      gateway4: 10.0.16.1
      nameservers:
          search: [mydomain, otherdomain]
          addresses: [10.0.16.1, 1.1.1.1]
      interfaces:
        - eno1
  • Install KVM
sudo apt install virt-manager 

Install Windows VM

  1. Download Windows
  2. Create QEMU/KVM Virtual Machine.
    1. Be sure to Disk bus under Disk  hard drive  type to VirtIO.
    2. Be sure to change NIC device model to “virtio”
      1. Be sure to select the bridge you set up.
    3.  Confirm There is a “Display Spice” and “Video QXL”
  3. Attach both Windows 2016 ISO and the VIRTIO driver ISO downloaded from here:
    https://fedorapeople.org

Install FreeRDP nightly
https://ci.freerdp.com/job/freerdp-nightly-binaries/

  1. /groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
  2. Install Windows server, and choose custom to choose the Win2k16 version. Select the CD-rom drive the was attached and navigate to the prospective folders.
    1. Balloon
    2. NetKVM
    3. vioserial
    4. Viostor
  3. Install networking driver from iso. Install virtio serial, and virtio balloon driver. If not done in the above step by simple going to device manager, and right clicking to choose update driver. Choose browse my computer and point it to the iso. be sure to click include sub directories.
  4. Install Display driver QXL by going to Device mananger Display update driver
  5. Install QEMU “guest-agent” from iso
  6. Install spice-guest-tools from:
    https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe

Configure VM for remote desktop

  1. Change serial, and activate Windows 2016
  2. Enable Windows Audio service and set to automatic.
  3. Rename Computer.
  4. Set static IP.
  5. Allow remote desktop through firewall.
  6. Connect to existing Domain for User Authentication, or set up a new one:
    https://social.technet.microsoft.com/wiki/contents/articles/22622.building-your-first-domain-controller-on-2012-r2.aspx
  7. Install Remote Desktop Services
    https://community.spiceworks.com/how_to/122824-install-terminal-services-on-windows-server-2012-r2
  8. Install Remote Desktop Licenses
    https://social.technet.microsoft.com/wiki/contents/articles/37408.setup-rd-licensing-role-on-windows-server-2012-r2.aspx
  9. Add Users.

Configure thin client

  1. Setup the RDP client
    https://github.com/ltsp/community/wiki/xfreerdp
]]>
https://jphein.com/how-to-install-run-windows-2016-server-desktop-experience-under-kvm-on-ubuntu-with-high-performance-networking-hard-drive-and-display-drivers-then-configure-for-remote-desktop-thin-clients-wit/feed/ 0 5547