Home automation with Docker and Domoticz

Intro I’ve decided it’s about time to finish my Domoticz setup and connect all my devices to it. I just did it and this post is about the setup. I currently have several sensor boards with ESP8266 that I made for measuring mostly the temperature and also several ESPurna– based Sonoff switches ( controlling boilers, water pumps, and heating ), which I wanted to connect in one app and have an overview, control from mobile, etc. I have an all-time

Continue Reading

Measuring temperature, humidity, pressure with ESP8266, BMP180/BME280 on a rechargeable battery

I recently started playing with ESP8266 and really like it. So I decided to make a simple OpenSenseMap temperature and pressure ( and humidity with BME280 ) stand-alone device. The idea was to have it run off battery for a long period of time and if needed, to charge it via solar panel(s). I decided to go with ESP-12S, which is bare-bone ESP and does not have usb input or any other schematics like Wemos D1 or similar. That’s the

Continue Reading

Simple iOS On/Off app for SonOff

I had some time, so I decided to make an on/off program for my SonOff switch that I want to use to turn on / off the boiler heating at my house ( I use the stronger one, that has support for 16A load). My SonOff is pre-configured already with ESPEasy and rules. What I will be making is a very simple iOS app that has a toggle button on it. First, some basics: Reading the current state: http://192.168.88.171/control?cmd=status,gpio,12 Changing the

Continue Reading

Controlling Sonoff devices from Domoticz

It’s very easy to control Sonoff power switch devices that were updated with ESPEasy firmware. You can practically control them with commands like these ( explained and configured in the previous post ): On action: http://192.168.88.20/control?cmd=event,TurnOn Off action: http://192.168.88.20/control?cmd=event,TurnOff   So, to control them from Domoticz, all you need to do is add a virtual device, type switch: and configure it’s on / off actions like this: Now, when you press the icon, the Sonoff will switch On or Off. You

Continue Reading

Reading Data from HC-12 on Raspberry Pi and sending it to Domoticz

Hardware. Okay, to read data from HC-12 to the Raspberry PI is practically very easy :). All you need to do is hook it up and power from RPi. VIN – Connect to RPi 5V (PIN 4) GND – Connect to RPi GND (PIN 6) RX – Connect to RPi GPIO14 (PIN 8, UART0_TXD) TX – Connect to RPi GPIO15 (PIN 10, UART0_RXD) I “stole” that image from Internet, so you can see which pins exactly are those that we need: Software. Simple

Continue Reading

Site Footer