Search found 5 matches

by FabianHD
Wednesday 05 August 2020 12:33
Forum: Switches and Scenes
Topic: Sonoff Touch T1 EU 3 Channel, physical button not working
Replies: 2
Views: 1543

Sonoff Touch T1 EU 3 Channel, physical button not working

Hello,

I am having some issues with my Sonoff Touch T1 EU 3 Channel and was wondering if someone would find the issue.

My setup:
Hardware:
1x Sonoff Touch T1 EU 3 Channel
1x Sonoff Touch T1 EU 1 Channel

All a running Tasmota 8.4.0 with MQTT

I have not setup a light connected to channel 1 of ...
by FabianHD
Sunday 10 March 2019 12:07
Forum: LUA
Topic: Energy Consumption based activites
Replies: 6
Views: 1450

Re: Energy Consumption based activites

thank you, now I fully understood the script!
by FabianHD
Saturday 09 March 2019 0:05
Forum: LUA
Topic: Energy Consumption based activites
Replies: 6
Views: 1450

Re: Energy Consumption based activites

thank you very much, your scrip looks really great and it works perfectly!

One question for further understanding:

local USAGE_SwitchTimeOutMinutes = {
['Wasmachine'] = 5, -- Here you define how long no power is used per device.
['Wasdroger'] = 6, -- The period is in minutes.
['Airco'] = 3 ...
by FabianHD
Wednesday 06 March 2019 21:37
Forum: LUA
Topic: Energy Consumption based activites
Replies: 6
Views: 1450

Re: Energy Consumption based activites

thanks for your feedback, I am using a Sonoff Pow to measure my power with.

Describing in simple words:

If Dishwasher is turned on and Energy-Consumption Dishwasher is < 10 Watt for more than 10 min then
Turnoff Dishwasher
by FabianHD
Wednesday 06 March 2019 19:47
Forum: LUA
Topic: Energy Consumption based activites
Replies: 6
Views: 1450

Energy Consumption based activites

Hello everyone,

After reading https://www.domoticz.com/wiki/Capturing_Energy_Usage_with_Lua_Scripts , I am trying to implement an energy based action in Lua, but unfortunately I struggle to get the right commands for the current and the duration into Lua.

My idea behind is the following:
Once ...