-
-
04
Dec - 2019Home Automation, Raspberry Pi | 5 min | 3345
#Raspberry Pi: Controlling Philips HUE Lights (ZigBee & CC2531)
Home Automation, Raspberry Pi | 5 min | 3345
cc2531dockerhome assistanthome automationmqttphilips huezigbeeThis article extends the tutorial about Hass.io and the Xiaomi Aqara Sensors that I've published months ago. That tutorial is part of the series of articles about Zigbee and the Rasbperry Pi using the CC2531 USB dongle. Here are the links:
- Zigbee: Xiaomi Sensors using Raspberry Pi (without Gateway!)
- Zigbee: Flashing a CC2531 dongle using a Raspberry Pi
- Raspberry Pi: Xiaomi Sensors & Home Assistant (Hass.io)
- Zigbee: Reading Xiaomi Sensors with a Raspberry Pi (no Xiaomi gateway needed!)
Fig. 1: Hass.io: Philips HUE Lightstrip. -
01
Dec - 2019Analytics, Cloud Platforms | 4 min | 433
#Portainer: Managing Docker Engines remotely over TCP socket (TLS)
Analytics, Cloud Platforms | 4 min | 433
analyticsdockerdocker enginedocker enviromentsdocker managementgoogle cloud platformportainerraspberry piThis tutorial is about managing a Docker Engine remotely using Portainer connected to the protected Docker daemon socket (
TCP port 2376
). By default, you can manage Docker locally through a non-networked UNIX socket (option-v /var/run/docker.sock:/var/run/docker.sock
while running Portainer). But, if you want the Docker Engine to be reachable through the network in a safe manner, you need to enable TLS by specifying the--tlsverify
flag and pointing Docker’s--tlscacert
flag to a CA certificate. Then, the daemon only accepts connections from clients that are authenticated by a certificate si... -
14
Nov - 2019Raspberry Pi, Single-board Computers | 4 min | 954
#Raspberry Pi: Encrypt (and save) Docker credentials
Raspberry Pi, Single-board Computers | 4 min | 954
credentialsdocker enviromentsdocker hubdocker registryembedded systemsencryptiongoraspberry piUsually, I login to different Docker registries (local, Docker Hub, etc.) with a computer running Ubuntu. I execute once
docker login
, then I enter the username and password, and after restarting the system, the access data is still available. That means, I write the credentials only once. But, on the Raspberry Pi, it was different until today: I needed to write the login credentials every time I booted the board.This article helps you to install the needed tools to save Docker login credentials on the Raspberry Pi, but not as plain text, so that the next time that you reboot the Raspberry t...
-
10
Nov - 2019Deals | 1 min | 378
#Elfter im Elften: Singles’ Day Deals (11.11 > single)
Deals | 1 min | 378
banggooddealsdiscountsshopping dayToday is Singles' Day or "Guanggun Jie" in Chinese, which is a popular shopping festival among young Chinese people, who celebrate their pride of being single! Thus, I got some discount codes from Banggood for Today and I'm publishing them here:
This section is new in LeMaRiva|Tech and I will update it every day with new discount codes! I receive a list every day with new codes and I will use some analytics to select the best offers for you and automatically publish them there. Stay tuned!
I cannot guarantee that all codes I published on this list work. I analyze the data (p... -
10
Nov - 2019Raspberry Pi | 6 min | 3453
#Raspberry Pi 4B: Sometimes it's cool to be hot -or warm, to be exact ;)-
Raspberry Pi | 6 min | 3453
heatsinkice tower coolern-queens problemperformanceraspberry pi 4btemperature testThis article is the last in a series of three articles that evaluates the performance of the Raspberry Pi 4B. This time the performance of Raspbian with standard kernel (4.19.y) will be evaluated with and without active cooling using two types of heatsinks. The other articles in the series are the following:
- The first article is about comparing the Raspberry Pi 4B and 3B+ performances:
- The second article compares the Raspberry Pi 4B running standard and Preempt-RT kernels.
-
05
Nov - 2019Product Reviews | 5 min | 1604
#Xiaomi CMSXJ11A: an IP-Camera with built-in battery
Product Reviews | 5 min | 1604
cameraip cameraproduct reviewsecurityxiaomixiaomi ecosystemThis article evaluates three low budget Wi-Fi cameras that I buy from e.g. banggood.com and aliexpress.com but I will focus most of the analysis on my last acquisition the XIAOMI Mijia CMSXJ11A.
All cameras in this review are Xiaomi (not exactly built by Xiaomi) and can be connected to the application Mi Home (apple/android). Moreover, you need to select the region to China (Mainland) in the application, otherwise you are not going to find the devices. This has a main disadvantage: the servers are in China Mainland. The documentation is also still in Chinese, and sometimes the cameras talk to ...
-
16
Oct - 2019Product Reviews, Single-board Computers | 5 min | 7751
#Orange Pi Zero LTS: An 'upgraded' alternative to the old Raspberry Pis
Product Reviews, Single-board Computers | 5 min | 7751
armbian busterbenchmarkdevelopment boardsn-queens problemperformanceraspberry piThe Allwinner H2+, which integrates four ARM-Cortex A7 cores that can clock up to 1.2GHz, is powering the Orange Pi Zero LTS. The tiny board, which measures just 52 x 46 mm, features 802.11 b/g/n Wi-Fi, Ethernet, up to 512 MB of RAM, USB 2.0 Type-A and a microSD card slot. There is also a 26-pin unpopulated GPIO header along with a 13-pin header for a headphone, USB 2.0, TV-out, microphone and IR signals.
This board is the next generation of the Orange Pi Zero that was first launched in November 2016 for $7 and up. It should solve various issues with the Allwinner XR819 WiFi module that many ...
-
23
Sep - 2019Product Reviews, Single-board Computers | 6 min | 4056
#Rock Pi S: a tinier version of the Raspberry Pi with Alexa functionalities
Product Reviews, Single-board Computers | 6 min | 4056
Alexa functionalitiesdebian stretchdevelopment boardsOS imageperformanceRadxyRock Pi SRadxy, the company behind the Rock Pi 4 is back! A couple of days ago, I've received the Rock Pi S (see Fig. 1), a miniature developer board that measures just 38 x 38 mm. The board is powered by the Rockchip RK3308 SoC, which integrates four 64-bit ARM Cortex-A35 cores (Ultra-High-Efficiency). Each of the cores reaches up to 1.3 GHz. The SoC also has a built-in voice activity detector (VAD) for use with IoT and smart voice applications.
Despite its tiny size, the Rock Pi S includes a 26-pin GPIO header along with a 26-pin audio/voice header and a microSD card reader. Additionally, the Rock P...
-
15
Sep - 2019MicroPython | 6 min | 5182
#MicroPython: Taking photos with an ESP32
MicroPython | 6 min | 5182
cameraesp32esp32 projectsesp32-cammicropythonmicropython extensionsLast year, I bought an ESP32-CAM board from Banggood and I wanted to use it with MicroPython. The board has an OV2640 without any chip (buffer) between the ESP32 and the camera. There are many implementation for Arduino or directly using Espressif, but I wanted to use MicroPython. Thus, the only solution was to use the I2S interface, but I didn't have time to write the driver. Thus, I put the project on hold. However, last week I was searching between the ESP32 boards that I have, I found the board again, and I also found that tsaarni has written the driver for MicroPython.
This tutorial is a...
-
06
Sep - 2019Raspberry Pi, Real Time Systems | 7 min | 9942
#Raspberry Pi 4B: Real-Time System using Preempt-RT (kernel 4.19.y)
Raspberry Pi, Real Time Systems | 7 min | 9942
performancepreempt-rt kernelraspberry pi 4braspbian busterreal time systemThe Preempt-RT patching article is one of the most visited articles in my blog. However, that article needed a small update: Raspberry Pi 4B is out there and with Raspbian Buster, a new version of kernel is available: 4.19.y.
I also uploaded the compiled and patched kernel to lemariva/RT-Tools-RPi. You can follow all these steps and compile the kernel by yourself or you can download the files from the repository and deploy the kernel on your Raspberry Pi 4B.
This tutorial is the second of a series of three that evaluate the performance of the Raspberry Pi 4B. This time the performance of the s...
-