Author: koscis

I work as PHP developer as long as I remember:) I dreamed of doing something strange and Python + Raspberry Pi allows me to do funny things. My goal is to create home center and reintegrate old gadgets I already made like light control, human detection and car localizator.

Waveshare 5″ 800×480 HDMI with touch on RPi with Kivy

It arrived, LCD 5″ with HDMI and touch via GPIOs! Our goal is to use it with Kivy without the X server. We checked earlier and we know that it is possible with the image but what about the touch panel?
(TL/DR) Yes, it is but requires some configuration.

(more…)

IoT:1 protocol

Communication between nodes is based on a custom protocol. Its name is IoT:1. Maybe protocol is a too strong description, but sounds nice 😉

It takes a form o JSON encoded structure. It is not anything fancy but does its job. But there is one gotcha, it is not encrypted.
I have an implementation for both NodeMCU (in boilerplate) and Python (lib iot_protocol).

(more…)

Kivy

The problem with performance on ILI9486 is something that is making me unhappy. I need at least 1fps but it is far from it. We even have written a lib in C to improve performance, in case of GPIO, it was a blast but SPI not so much. I do not want to use X server because I want as much power as possible for my usage.
That’s why I focused on SPI and GPIO LCDs but I think I found another option.

(more…)

Google Assistant – intro

I have the Doton wired with NodeOne sensors, relay control included. But let’s do something more and use Google Assistant to get data from NodeOne sensors. The node gives us info about temperature, humidity, movement and light. It has also a relay to control upper socket but let’s ignore it for now.
So this time we will try and get some basic understanding of Google Assistant.

(more…)