Tech Info
Information about technology
New Page
I have 2 Shelly 1 (SHSW-1) is Gen1 with three temperature sensors
- (Name: t1t2t3) Shelly 1 (SHSW-1) (T1, T2, T3)
- (Name: t4t5t6) Shelly 1 (SHSW-1) (T4, T5, T6)
And 2 Shelly Pro 4PM V1 (SPSW-004PE16EU)
- (Name: kos) Shelly Pro 4PM (Relay1: Pump Kos, Relay2: Solar Pump, Relay3: Valve Boiler, Relay4: Valve Kos)
- (Name: Gon) Shelly Pro 4PM (Relay1: Pump Gon, Relay2: Valve Gon, Relay3: Valve Solar Bypass, Relay4: Empty not used)
I want when the below functions (Control logic) with scripts
- I want a variable with a name 'heat' that i can change it from true to false, so if this 'heat=true' or 'heat=false' then we will use this variable as a logic to control the (Name: kos) Relay3: Valve Boiler
- I want another variable with the name 'znx' that i can change it from true to false, so if this 'znx=true' or 'znx=false' then we will use this variable also as a logic to control the (Name: kos) Relay3: Valve Boiler
- Control logic when (Name: kos) Shelly 4PM (Relay3: Valve Boiler) is OFF and when (Name: t1t2t3) Shelly1 (T1) equal or greater than 8 Celsius than (Name: t4t5t6) Shelly1 (T4). Then to turn ON (Name: kos) Shelly 4PM (Relay2: Solar Pump).
- When (Name: Kos) Shelly 4PM (Relay3: Valve Boiler) is ON and when (Name: t1t2t3) Shelly1 (T1) equal or greater than 8 Celsius than (Name: t1t2t3) Shelly1 (T2). Then to turn ON (Name: kos) Shelly 4PM (Relay2: Solar Pump).
Example:
(Scenario a) Relay3: Valve Boiler is OFF and T1 is 67 and T2 is 60 then Relay2: Solar Pump switch OFF. (Only if it is ON)
(Scenario b) When Relay3: Valve Boiler is OFF and T1 is 68 and T2 is 60 then Relay2: Solar Pump switch ON. (Only if it is OFF) - When (Name: kos) Shelly 4PM (Relay3: Valve Boiler) is OFF and when (Name: t4t5t6) Shelly1 (T5) equal or greater than 60 Celsius than switch ON Relay3: Valve Boiler. (Only if it is OFF)
- When (Name: kos) Shelly 4PM (Relay3: Valve Boiler) is ON and when (Name: t1t2t3) Shelly1 (T3) equal or greater than 60 Celsius Then to turn ON (Name: kos) Shelly 4PM (Relay1: Pump Kos, Relay4: Valve Kos) Then after 10 minutes Turn OFF Relay4: Valve Kos and after 13 minutes Turn OFF Relay1: Pump Kos)
Example:
(Scenario a) Relay3: Valve Boiler is ON and T3 is 59.9 Celsius then switch OFF Relay4: Valve Kos and Relay1: Pump Kos (Only if they are ON)
(Scenario b) Relay3: Valve Boiler is ON and T3 is 60 Celsius then switch ON Relay4: Valve Kos and Relay1: Pump Kos (Only if they are OFF). Explanation lets say you Turn ON the Relay4: Valve Kos and Relay1: Pump Kos at 11:00 then at 10:10 you will Turn OFF Relay4: Valve Kos and at 10:13 you will Turn OFF Relay1: Pump Kos.
Tell if this is possible with this devices and if YES then make code of what i ask you and also make me step by step instructions how i will do it.
Notice that Shelly 1 (SHSW-1) is Gen1 and Shelly Pro 4PM V1 (SPSW-004PE16EU)
Proxifly's free proxy list
🌎 Proxifly's Free Proxy List
Every 5 minutes, Proxifly fetches fresh proxies including HTTP, HTTPS, SOCKS4, and SOCKS5 proxies from around the web.
Proxifly found 2495 working proxies from 114 countries in the latest update (Jul 05, 2026, 12:13 AM UTC).
Site | NPM Module | GitHub Repo
🦄 Features
- ⚡ Extremely fast
- 📝 Validated every 5 minutes
- 📓 Sorted into HTTP, HTTPS, SOCKS4, and SOCKS5
- 🌎 Contains proxies from 114 countries
- 📦 Available in .json, .txt, and .csv formats
- 🔐 Supports HTTPS connection
- 😊 No duplicates
📦 How do I use the proxies?
You have a few different options for getting the proxies.
Please follow the GitHub Acceptable Use Policy when using this project. Use these proxies responsibly, without abuse, and without illegal activity.
👑 Download from the website
💎 Download in the free proxy scraper software
🔗 Direct download links
Click on your preferred file format to get the updated list.
| Type | Count | .json | .txt | .csv |
|---|---|---|---|---|
| All Proxies | 2495 | JSON File | Text File | CSV File |
| HTTP Proxies | 671 | JSON File | Text File | CSV File |
| HTTPS Proxies | 1122 | JSON File | Text File | CSV File |
| SOCKS4 Proxies | 373 | JSON File | Text File | CSV File |
| SOCKS5 Proxies | 329 | JSON File | Text File | CSV File |
| U.S. Proxies | 696 | JSON File | Text File | CSV File |
🙌 Use the Proxifly NPM module
Easily fetch updated proxies in your application with the official Proxifly NPM module.
npm install proxifly
// ESM
import Proxifly from 'proxifly';
// CommonJS
const Proxifly = require('proxifly');
const proxifly = new Proxifly({
// Optional, but having one removes limits
apiKey: 'your-api-key'
});
proxifly.getProxy({
protocol: 'http', // http | socks4 | socks5
anonymity: 'elite', // transparent | anonymous | elite
country: 'US', // ISO country code
https: true, // true | false
format: 'json', // json | text
quantity: 1 // 1 - 20
})
.then(proxy => {
console.log('Proxies:', proxy);
})
.catch(e => {
console.error(e);
});
🔑 Fetch with cURL
Fetch the latest proxy list with the following commands:
All proxies
curl -sL https://cdn.jsdelivr.net/gh/proxifly/free-proxy-list@main/proxies/all/data.txt -o all.txt
HTTP proxies
curl -sL https://cdn.jsdelivr.net/gh/proxifly/free-proxy-list@main/proxies/protocols/http/data.txt -o http.txt
SOCKS4 proxies
curl -sL https://cdn.jsdelivr.net/gh/proxifly/free-proxy-list@main/proxies/protocols/socks4/data.txt -o socks4.txt
SOCKS5 proxies
curl -sL https://cdn.jsdelivr.net/gh/proxifly/free-proxy-list@main/proxies/protocols/socks5/data.txt -o socks5.txt
U.S. proxies
curl -sL https://cdn.jsdelivr.net/gh/proxifly/free-proxy-list@main/proxies/countries/US/data.txt -o us.txt