Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MQTT and Tasmota automation on Raspberry PI

Featured Replies

Short version of my automation - always wanted to post details but did not find time to do it properly.

Here a draft version, hope it helps some of you if you wanted to perform something similar.

 

Overview

  99% Off-grid with 23kwH Pylontech storage ; 3x Kodak OG Plus 5.48 Inverters and 8x Canadian 600w + 6x JA Solar 450w panels.

Inverter 1+2 = Parallel feeding home, stock firmware.

Inverter 3 = Borehole , pressure pump and irrigation (and generator charging).   Coulumb firmware and fans turned around.

 

January 2025 not a great start, but yearly usage as below.

image.thumb.png.3ed773eabc59d448e34284509ab78589.png

 

1. ICM Software - built-in automation as below.

1.1 Swimming Pool automation

Device:  Sonoff Basic R2, Tasmotized

image.thumb.png.7d7f212758149ac1111dfdf27c01bb79.png

 

1.2. Geyser automation (day)

Device: SONOFF POWR3, Tasmotized

image.thumb.png.2e0cc7f92643e7bdf76a635eede0e260.png

 

1.3. Geyser automation (early morning)

Same device as above, just additional heating time early mornings until SOC less than 44.

image.thumb.png.806caddeb30fa21e07b0b04f562c7e8d.png

 

2.  Geyser

  2.1  Solar geyser 300l  ->  Used for main bathroom, kitchen etc , mainly for kids showering early evenings.  

     Also has another SONOFF POWR3, but not scheduled  - plan to move this device.

  2.2 Solar geyser 150l  ->  With a Gas-gayser in series to ensure that if this geyser temp < 55 that Gas heats it up to 57 degrees.

   DewHot valve as follows - the TakeAlot version is expensive rather shop around for this one.

  

image.png.5d744b4d2f97e27a81438a7fb479b670.png

 

 Then a standard solar valve to ensure that output is consistent at 56 degrees, (by adding cold water)

 

image.thumb.jpeg.d7a7f501c87dba22f4c173d68e2e2ad6.jpeg

Pipe bottom right is coming from the 150l geyser.   

This setup ensures that I'm utilizing as much PV to always have warm water - and use gas ONLY when necessary. For at least 90% of all days gas is not used and geyser is heated up to 70 degrees using PV.

 

3. Timers and switches

3.1  Inverter 3 is managed by ESP8266 and auto-switched-off every day between 23h00 and 05.30.  This enables a 12v solenoid (with battery) to enable municipal water to ensure water during the night.   (Tasmotized)

3.2  Borehole is on timeswitch + floatswitch and only active between 08h30 and 17h30  (Standard 220v digital timer and float switch)

3.3  Another 2x ESP8266 devices with Timers to perform switch irrigation on and off.

3.4  Also installed a ESP8266 to open the gate.

 

4.  Scripting

4.1  Mosquitto-sub ; Check battery SOC every morning at 08h45 and if less than 44% it disables timers for irrigation.

 

 

image.png.2416bb30f372e9c4e08f099d576fe834.png

 

5. Concepts

5.1   When SOC less than 22 percent, Inverter 1 and 2 switch to Eskom

5.2  I try to never charge from Eskom, only PV charging

5.3  Inverter 3 is connected to 4kwH generator -> If batteries are less than 20 percent and Eskom down, this Inverter charges the battery and Inverter 1+2 runs as usual.

      Red Rhino Dual Fuel Inverter Generator RGLIV4500 -> connected to gas, I don't like storing petrol.  This is a proper inverter-based generator, I'm considering moving my older generator in this setup.

     This is still done manually - don't want to automate this as it is really exceptional cases.

5.4  Also running Gas oven and stove , also energy efficient LED and lights.

 

 

6. Most likely the best functionality - MQTT Dash app on my phone, can overwrite automation and check details as above.

 

 

image.png.88a5734b177697d735658f8b784f8e1e.png

 

image.png.a16a4d079070fdcc2d3f8048660f936c.png

 

 

image.png.bb563fd142e171b3da6ac5958252abe5.png

 

image.png.df01578d49e5b8c35a6fdbffc7695750.png

 

Edited by Marius2001
device names added

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.