I was recently in need of a PWM controller to use with my home automation system for some of my LED strips.
Here’s what I built…
Download: Board design (EAGLE)
ESP8266: WiFi + MQTT
ATtiny85: High frequency (1kHz) PWM modulation
In Home Assistant sensors added to the platform without any further configuration appear in the top bar as rounded icons which can be annoying and not desired at times.
To change such behaviour and have them being displayed as cards it’s sufficient to add those to a group like so:
This is an Arduino routine to check if a button is pressed using the Arduino SDK.
In this tutorial a demo project will be explained, communication is established between PHP and Arduino using a simple intermediate C program which runs as a Linux daemon.
The concept used here is Unix local Sockets, a fast and effective way to perform IPC (or Inter-Process Communication) on Unix based systems.
Basically It’s a weather monitor based on Yahoo! APIs, the Raspberry Pi downloads today weather and the forecast for tomorrow from Yahoo!, this is nicely done through a python script.