Jump to content

Dimitar

Administrators
  • Posts

    391
  • Joined

  • Last visited

  • Days Won

    109

Dimitar last won the day on May 18

Dimitar had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dimitar's Achievements

Proficient

Proficient (10/14)

  • One Year In
  • Very Popular Rare
  • Well Followed Rare
  • Reacting Well
  • Collaborator

Recent Badges

500

Reputation

  1. @Kristian Todorov can you help there ?
  2. In 2-3 weeks Zendure will be supported in Shelly APP same as other Shelly devices. Then you can have scene which do exactly as you want.
  3. Example how to read data from 3 Pro EM meters measuring the consumption on the 3 different zones and script which is run on Pro3EM with ADD-ON to EV Charger which disconnects (EV charging) for 30 min if the total power (represented by the consuming value on the right of the picture) is above a certain value. A JScript which can do that: // Configuration var deviceIPs = ['192.168.3.102', '192.168.3.246', '192.168.0.240']; // Add your device IPs here const switchOff = 2000 ; // Total power in W above this device will switch off output // Function to read data from a single Shelly Pro3EM function readEMData(ip, callback) { Shelly.call( "http.get", { url: "http://" + ip + "/rpc/EM.GetStatus?id=0" }, function (response, error_code, error_message) { if (response && response.message && response.code === 200) { var data = JSON.parse(response.body); var total_power = Math.round(data.total_aprt_power); callback(null, total_power); // Pass the total power to the callback } else { callback("Error: " + response.message, null); } } ); } // Function to calculate the total power from multiple devices function calculateTotalPower(ips) { var totalPower = 0; var count = 0; ips.forEach(function(ip) { readEMData(ip, function(err, power) { if (err) { print(err); // Handle the error, for example by logging it } else { totalPower += power; } count++; // Check if all requests are processed if (count === ips.length) { print("Total power: " + totalPower + " W"); if (totalPower > switchOff) { Shelly.call("Switch.set", {'id': 100, 'on': false}); print("Switch OFF!"); } } }); }); } // Execution: Timer.set(5000 /* ms */, true /* repeating */, function () { calculateTotalPower(deviceIPs); } ); Then you need to set Auto-ON in the Add-on relay: As a last step do not forget to set a script to start when device boot. With firmware 1.4, All pro devices will support virtual components. This will allow to monitor total consumption from the Shelly App and control the max power. I will update this script when this new feature are available.
  4. Update your device to fw 1.30 and then try again.
  5. With firmware 1.3+ we open a new world of possible integration. Now with Gen3 devices (Mini and soon Plus/Pro) you can control any 3th party device if they have API using Virtual components and JScripts. You can have local and cloud scenes based on Virtual devices values and changes. As example I can control and automate my EV charger with Virtual devices and JScript executed on Shelly Mini PM. Charging power are balanced based of Pro 3EM data for the house consumption. Soon we will add also allow historical data to be stored in the cloud.
  6. until
    Shelly X - the next step!
  7. You will have it to end of the months! We just finish testing them.
  8. In next firmware release we implement a filtering which solve such a problems. You will have it in 2 weeks.
  9. There is a way using BLU H&T and scripting. This will work without internet, but need more experience and not easy to be maintenanced.
  10. No you can't execute NETCAT command inside a Shelly Dimmer.
  11. All Gen3 devices are based on Shelly-C3F8 MCU. The Shelly-C38F are fully compatible with ESP32-C3, but with build-in more Flash and RAM which allow to save space into devices and give us possibility to add more features.
  12. Thart's should be easy with chatGPT, just paste one example and ask him to create it.
  13. We working on that and soon such a option will be added.
  14. Dimitar

    Something went wrong!

    Hello, this is outdated information, we have fix this problem already.
  15. Hello, Google do not support Gas Sensors yet. This is the reason to not see as a part of your devices in Google Home.
×
×
  • Create New...