quadpunk / ShellyTibberScript

Ett script för shelly gen 2 enheter som körs direkt i enheten och tar in aktuellt pris var 10e minut och slår av eller på enheten om priset är över eller under att nivå.
3 stars 1 forks source link

Add Emergency #1

Closed Sn0w3y closed 5 months ago

Sn0w3y commented 5 months ago

Improved Energy Price Monitoring with Emergency Mode

Description

This pull request introduces an enhancement to the existing energy price monitoring script, providing a new emergency mode feature. This feature ensures that high electricity prices trigger a temporary mode to reduce energy usage. The modifications include:

New Features:

Changes:

Other Updates:

Motivation

This update aims to automate power usage reduction by triggering emergency mode only when consecutive high prices occur, helping users save energy and cost.

How to Use

  1. Update the configuration with the appropriate Tibber API credentials and thresholds.
  2. Deploy the updated script to the Shelly device.
  3. Observe the device automatically entering emergency mode based on high energy prices.