A few weeks ago I stumbled upon the game engine Godot and I decided to give it a try by learning how to use it for creating a 2D platform game. This blog post contains a walk-through of the different parts of this endeavour. The source code for my game is completely free and is available from GitHub so just go ahead and download and experiment with it as you like.
This post describes how I have setup an RFXtrx433E device with a Raspberry Pi to transform data from inexpensive 433 MHz motion- and climate-sensors into MQTT messages on my local network. With the data available as MQTT messages I can store the data in InfluxDB for viewing in Grafana, show the data in Home Assistant and route the data to cloud services.
- Using the states in the React components for the game logic:
- Using Redux as state container:
Try them out, check out the code and see which version you prefer (you’re likely to not favour any of the versions, but anyway…). I prefer the Redux version as it made the game logic testable.
In my previous post I showed how a Philips Hue bridge can be integrated with Home Assistant for controlling lights with automation. The Philips Hue bridge has an easy-to-use REST API so you can make your own integration on any platform that supports http. In this post I will describe how I have created a React web application for controlling my lights via the Philips Hue api.
Philips Hue is a line of wireless light bulbs that are controlled with Zigbee signals from a LAN-attached Philips Hue bridge. With the Philips Hue app it is very easy to set up a new system and adding new light sources is a breeze. There is a large set of 3rd party apps that can be used for interacting with the Hue system, but as my home automation system is based on Home Assistant, I use HA as the main controller for Hue. In this post I will show how I have configured Home Assistant for controlling my Philips Hue lights with automation. In an upcoming post I will describe how you can make your own web app for interacting with the light sources via the Hue API.
Blynk is an IoT-platform that consists of a Blynk server, custom projects within an iOS/Android mobile app and custom hardware IoT-nodes (Arduinos etc) using a Blynk library. The mobile app communicates with the hardware via the Blynk server and you can use the mobile interface for displaying sensor data from the hardware nodes or control actuators on the nodes.
You can use the cloud version of the Blynk server or host your own instance. In this post, I will show how I have setup a Blynk server on a Raspberry Pi and how I am using it for mobile communication with an ESP32 board that is developed with PlatformIO for Atom.