• 04
      Dec - 2019

      Home Automation, Raspberry Pi
      5 min | 3145

      #Raspberry Pi: Controlling Philips HUE Lights (ZigBee & CC2531)

      Home Automation, Raspberry Pi | 5 min | 3145


      cc2531
      docker
      home assistant
      home automation
      mqtt
      philips hue
      zigbee

      This 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:

      lights_cc2351-min.png
      Fig. 1: Hass.io: Philips HUE Lightstrip.

      In Zigbee: Xiaomi Sensors using Raspberry Pi (...), I...

    • 01
      Dec - 2019

      Analytics, Cloud Platforms
      4 min | 405

      #Portainer: Managing Docker Engines remotely over TCP socket (TLS)

      Analytics, Cloud Platforms | 4 min | 405


      analytics
      docker
      docker engine
      docker enviroments
      docker management
      google cloud platform
      portainer
      raspberry pi

      This 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 - 2019

      Raspberry Pi, Single-board Computers
      4 min | 898

      #Raspberry Pi: Encrypt (and save) Docker credentials

      Raspberry Pi, Single-board Computers | 4 min | 898


      credentials
      docker enviroments
      docker hub
      docker registry
      embedded systems
      encryption
      go
      raspberry pi

      Usually, 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 - 2019

      Deals
      1 min | 358

      #Elfter im Elften: Singles’ Day Deals (11.11 > single)

      Deals | 1 min | 358


      banggood
      deals
      discounts
      shopping day

      Today 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 - 2019

      Raspberry Pi
      6 min | 3341

      #Raspberry Pi 4B: Sometimes it's cool to be hot -or warm, to be exact ;)-

      Raspberry Pi | 6 min | 3341


      heatsink
      ice tower cooler
      n-queens problem
      performance
      raspberry pi 4b
      temperature test

      This 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:

      1. The first article is about comparing the Raspberry Pi 4B and 3B+ performances:
      2. The second article compares the Raspberry Pi 4B running standard and Preempt-RT kernels.
    • 05
      Nov - 2019

      Product Reviews
      5 min | 1478

      #Xiaomi CMSXJ11A: an IP-Camera with built-in battery

      Product Reviews | 5 min | 1478


      camera
      ip camera
      product review
      security
      xiaomi
      xiaomi ecosystem

      This 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 - 2019

      Product Reviews, Single-board Computers
      5 min | 7591

      #Orange Pi Zero LTS: An 'upgraded' alternative to the old Raspberry Pis

      Product Reviews, Single-board Computers | 5 min | 7591


      armbian buster
      benchmark
      development boards
      n-queens problem
      performance
      raspberry pi

      The 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 - 2019

      Product Reviews, Single-board Computers
      6 min | 3996

      #Rock Pi S: a tinier version of the Raspberry Pi with Alexa functionalities

      Product Reviews, Single-board Computers | 6 min | 3996


      Alexa functionalities
      debian stretch
      development boards
      OS image
      performance
      Radxy
      Rock Pi S

      Radxy, 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 - 2019

      MicroPython
      6 min | 5038

      #MicroPython: Taking photos with an ESP32

      MicroPython | 6 min | 5038


      camera
      esp32
      esp32 projects
      esp32-cam
      micropython
      micropython extensions

      Last 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 - 2019

      Raspberry Pi, Real Time Systems
      7 min | 9699

      #Raspberry Pi 4B: Real-Time System using Preempt-RT (kernel 4.19.y)

      Raspberry Pi, Real Time Systems | 7 min | 9699


      performance
      preempt-rt kernel
      raspberry pi 4b
      raspbian buster
      real time system

      The 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...

    • 04
      Sep - 2019

      Deals
      3 min | 1099

      #Banggood 13th Anniversary: be ready for the BIG Sales!

      Deals | 3 min | 1099


      deals
      discounts
      e-ink display
      electronics
      esp32

      Banggood is celebrating its 13th anniversary by launching a grand sales that takes place between the dates August 27th and September 18th (my birthday! :)).

      Fig. 1: Banggood's 13th anniversary image on an E-ink screen (tutorial)

      Banggood, founded in 2006 and located in Guangzhou, is the fourth largest international e-commerce retailer in China. By running its website www.banggood.com and smartphone applications, Banggood sells more than 500,000 types of products to the United States, Great Britain, Germany, France, Spain, Italy, Australia, Russia, Japan and ma...

    • 03
      Sep - 2019

      Cloud Platforms
      7 min | 4162

      #GCP: Running OpenProject almost FREE

      Cloud Platforms | 7 min | 4162


      docker
      docker-compose
      google cloud platform
      management software
      nginx
      openproject

      The last days, I was looking for an online project management tool with bug tracking system. The best platform that I know is Jira from Atlassian. Jira offers a bug tracking and agile project management, however, it costs between $8.33 and $10 (annual/monthly payment) for the standard version with under 10 accounts. We use Jira in Finealyze and I am very happy with it, but I was looking for a free alternative for myself. Then, I found OpenProject, which describes itself as "the leading open source project management software".

      OpenProject is offered in three different ways: Community, Cloud an...

    • 27
      Aug - 2019

      Deals, Raspberry Pi
      3 min | 10062

      #Raspberry Pi: Displaying images on an E-Ink screen

      Deals, Raspberry Pi | 3 min | 10062


      anniversary
      banggood
      deals
      e-ink display
      python
      raspberry pi

      Last week, I published an article about the Raspberry Pi and an e-ink display:

      This time, this tutorial is about processing and displaying images on the 7.5" e-ink screen as shown in Fig. 1b.

      Waveshare® 7.5" E-ink Screen connected to a Raspberry Pi
      Fig. 1a: E-ink Screen connected to a RPi
      running ePaperWidgets
      Fig. 1b: Banggood's 13th anniversary
      original image here

      Hardware & Software

      You find here a list of hardware and software that you could use for this tutorial:

      E-ink Screen
      • Waveshare® ...
    • 25
      Aug - 2019

      Raspberry Pi
      4 min | 7270

      #Raspberry Pi 4B: How much faster is the new CPU?

      Raspberry Pi | 4 min | 7270


      benchmark
      buster
      jupyter
      n-queens problem
      performance
      raspberry pi 3 B plus
      raspberry pi 4b
      raspbian

      On July 4th, I ordered a Raspberry Pi 4B from Reichelt. On July 17th, I received the board, but it was broken, and a month later, finally I received a new board that seems to work OK :).

      The new Raspberry Pi 4B has a lot of upgrades and one of the most important ones is the RAM: You can choose between three models (1GB, 2GB and 4GB). But, another main change is the CPU and the RAM bus: they changed from a Cortex-A53 64-bit (3B+/3A+) to a Cortex-A72 64-bit, both ARMv8, and from LPDDR2 SDRAM to LPDDR4 SDRAM. Thus, the CPU clock was increased to 1.5GHz (0.1GHz more) and the memory frequency to 2...

    • 21
      Aug - 2019

      Raspberry Pi
      7 min | 11572

      #Raspberry Pi: an E-Paper display with Widgets

      Raspberry Pi | 7 min | 11572


      e-ink display
      google apis
      google calendar
      raspberry pi
      raspberry pi zero
      waveshare

      E-paper or e-ink displays are becoming more common in recent days. You can find them e.g. on readers, clocks and sensors. Thus, I looked for an e-ink display for the Raspberry Pi and I found the Waveshare® 7.5" E-ink Screen.

      There are many projects with an e-ink display and the Raspberry Pi, but I first tried with an ESP32 and MicroPython. That solution didn't work (something was not working with the reset voltage - too much signal noise). So, that remains a work in progress and I will use this board. But now, in this tutorial, I uploaded a solution for the Raspberry Pi.

       Waveshare® 7.5" E-ink Screen connected to a Raspberry Pi
      Fig. 1: Wa...