Jump to content

Recommended Posts

Posted

Hallo ich würde gerne meine Solaranlage für den Pool mit einen Temperatur Sensor ausstatten dazu wird vermutlich ( Shelly Plus AddOn +1 DS18B20) benötigt !? Kann ich auch bei erreichen einer eingestellten Temperatur zum Beispiel 35 grad eine Pumpe einschalten? Oder ist sogar eine Schaltung über Temperatur Differenz wert (Pool / Solaranlage) möglich?

Wenn ja welche Bauteile benötige ich dafür und wie sind diese anzuschließen?

  • 1 month later...
Posted

Hier gab's das ähnliche Thema: https://www.smarthome-forum.eu/thread/26388-whirlpoolwasser-mit-heizmatte-heizen/?postID=276278&highlight=pool#post276278

Umgesetzt mit Shelly Plus 1 + Addon + 2(3) DS18820

Script vom User HighFive:

/// Temperature Control Whirlpool V1.3
////////////////////////////////////////////////////////////////////////////////////////////
///
/// Created by HighFive © 2024
///
////////////////////////////////////////////////////////////////////////////////////////////
let log = 1; // If no console log needed please set log to "0"
const tempPoolTarget = 38; // target temperature pool
////////////////////////////////////////////////////////////////////////////////////////////
function timerHandler() {
    ////////////////////////////////////////////////////////////////////////////////////////////
    let tempPoolWater = Shelly.getComponentStatus('Temperature', 100).tC; // temperatur pool water 
    let tempHeatingMatInput_RL = Shelly.getComponentStatus('Temperature', 101).tC; // temperatur heating mat input [RL]] 
    let tempHeatingMatOutput_VL = Shelly.getComponentStatus('Temperature', 102).tC; // temperatur heating mat output [VL]] 
    let statePump = Shelly.getComponentStatus('switch', 0).output;
    ////////////////////////////////////////////////////////////////////////////////////////////
    /// Control of pool heating
    ////////////////////////////////////////////////////////////////////////////////////////////    
    if (tempPoolWater > tempPoolTarget) {
        Shelly.call("Switch.set", {
            'id': 0,
            'on': false
        });
    } else {
        if (statePump) {
            Shelly.call("Switch.set", {
                'id': 0,
                'on': (((tempHeatingMatOutput_VL - 2) > tempPoolWater) && (tempPoolWater > 0) &&
                    (tempHeatingMatOutput_VL > 0) && (tempHeatingMatInput_RL > 0))
            });
        } else {
            Shelly.call("Switch.set", {
                'id': 0,
                'on': (((tempHeatingMatOutput_VL - 10) > tempPoolWater) && (tempPoolWater > 0) &&
                    (tempHeatingMatOutput_VL > 0) && (tempHeatingMatInput_RL > 0))
            });
        };
    };
    ////////////////////////////////////////////////////////////////////////////////////////////
    /// All 5 second print all temperatur sensors and state of the relay to the console window [log=1]
    //////////////////////////////////////////////////////////////////////////////////////////// 
    if (log != 0) {
        if (statePump) {
            pumpState = 'ON';
        } else {
            pumpState = 'OFF';
        };
        ///
        print('Poolwater: ', tempPoolWater.toFixed(1) + ' °C  // Input heater [RL]: ' + tempHeatingMatInput_RL.toFixed(1) +
            ' °C  // Output heater VL: ' + tempHeatingMatOutput_VL.toFixed(1) + ' °C  // Pump : ' + pumpState);
    };
};
////////////////////////////////////////////////////////////////////////////////////////////
/// 
//////////////////////////////////////////////////////////////////////////////////////////// 
Timer.set(5000, true, timerHandler, null);
////////////////////////////////////////////////////////////////////////////////////////////

 

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...