I've this line in .config/sxmo/hooks/start of my #postmarketos #sxmo #pinephone to set the background to some #EarthPorn
wget -O - -q reddit.com/r/earthporn/top.json | jq '.data.children[] |.data.url' | grep jpg | head -1 | xargs wget -O /home/jan/background.jpg
Got this idea after reading https://prithu.dev/posts/unix-pipeline/
BTW, Happy 2022! :-)
Today, I had some fun connecting a #MCP23008 I/O expander to the #pogopins of my #pinephone.
https://www.janwagemakers.be/jekyll/pinephone/2021/12/30/pinephone-mcp23009.html
Last week I've got a new toy, a #M5Paper #ESP32 Development kit with 4.7" #eInk display.
https://shop.m5stack.com/products/m5paper-esp32-development-kit-960x540-4-7-eink-display-235-ppi
I had some fun playing around with it.
I've created a reference card for myself for the #pinephone #flex #break-out #board https://pine64.com/product/pinephone-flex-break-out-board/
Maybe it's useful for someone else? Hopefully there are no mistakes ;)
Today I made a bike ride of 73 km with a regular (not electric) bicycle. Not bad for a 50+ guy ;-)
I really like my pinephone, but there are occasions that having access to an
android phone can be handy. So, I followed this 'ifixit' guide
https://nl.ifixit.com/Guide/Motorola+Moto+X+Pure+Edition+Vervanging+van+de+batterij/61746
to replace the battery of my broken Motorola Moto X Style/Pure.
It's charging now... hopefully everything works alright...
Today, I've successfully connected a #microchip #TC74 temperature sensor to the #I2C bus of my #pinephone.
braveheart:~# echo -n "Temp in °C = " ; Thex=`/usr/sbin/i2cget -y 3 0x4a 0 b | cut -d"x" -f2 | tr '[:lower:]' '[:upper:]'` ; echo "ibase=16 ; $Thex" | bc
Temp in °C = 20
Not working today, the sun is shining. Nice weather to sit outside on a bench and play with the #pinephone and #megapixels.
I've created a little userscript on my #pinephone & #sxmo to create screenshots.
http://www.janwagemakers.be/jekyll/pinephone/2020/06/10/pinephone-sxmo-screenshot.html
Writing userscripts for my #pinephone with #sxmo is fun!
https://gitlab.com/jan.wagemakers/sxmo_userscripts/-/blob/master/Weer
It's nice weather. I'm outside making a long bicycle ride. So, let`s test if I can take a photo with my #pinephone & #sxmo