arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.16k stars 4.8k forks source link

How to set up the timer? #2883

Closed seanchs closed 6 years ago

seanchs commented 6 years ago

Apologize for posting this question here since I can't find an appropriate place for questions.

I understand the 5.14 can set up timer for Tasmota (I am using Sonoff Basic). However, I tried to set it up but it won't work. I looked through the wiki and release note but I am not very coding savy to figure it out. What I am trying to do: 1) Turn on the switch at 7:25am every morning 2) Turn off the switch after 30 minutes or at 7:55am

Highly appreciate any help in advance!

Lawrencezarb commented 6 years ago

When you set the timer you need to make sure you have the ARM box ticked. Also it is important that the Sonoff obtains the correct time from the NTP server.

Frogmore42 commented 6 years ago

Searched the problem in the discussion group (https://groups.google.com/d/forum/sonoffusers)

seanchs commented 6 years ago

Thanks Lawrencezarb and Frogmore42. I searched the discussion group but no luck. I'll post this question in the discuss group.

ascillato commented 6 years ago

Hi, seems to be a problem in your configuration.

Please provide the output of the status 0 command in the console, as the template asks. Also a screenshot of the timer configuration page.

Lawrencezarb commented 6 years ago

Are you sure that your unit has the correct time. "STATUS 7" in the console window will tell you what time/date your unit thinks it is.

seanchs commented 6 years ago

Hi Lawrencezarb,

My local time is: 4:17pm. With "STATUS 7", the console shows:

00:16:46 MQT: stat/SW-HotWater/STATUS7 = {"StatusTIM":{"UTC":"Fri Jun 01 23:16:46 2018","Local":"Sat Jun 02 00:16:46 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Sun Oct 28 03:00:00 2018","Timezone":1,"Sunrise":"04:50","Sunset":"20:46"}}

I guess my time is not right in Sonoff Basic. Would you mind sharing how to set the time of Sonoff Basic?

Thanks a lot,

Sean

On Fri, Jun 1, 2018 at 1:35 PM, Lawrencezarb notifications@github.com wrote:

Are you sure that your has the correct time. "STATUS 7" in the console window will tell you what time/date your unit thinks it is.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arendst/Sonoff-Tasmota/issues/2883#issuecomment-394001660, or mute the thread https://github.com/notifications/unsubscribe-auth/AjMUB4jSGuYTljsXfekWb6WuDOwbWuiJks5t4aWFgaJpZM4UWy9i .

ascillato commented 6 years ago

Hi,

You have to use timezonecommand, Please read the wiki(https://github.com/arendst/Sonoff-Tasmota/wiki/Commands)

seanchs commented 6 years ago

Hi Adrian,

Got it. I just set up the right timezone via Console. Looks like it works now. Thanks a lot.

Sean

On Fri, Jun 1, 2018 at 4:22 PM, Adrian Scillato notifications@github.com wrote:

Hi,

You have to use timezonecommand, Please read the wiki.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arendst/Sonoff-Tasmota/issues/2883#issuecomment-394033860, or mute the thread https://github.com/notifications/unsubscribe-auth/AjMUB6jMRWB8eUGW_SByqVslAUZIaG-5ks5t4cydgaJpZM4UWy9i .

ascillato commented 6 years ago

:+1:

BlackH137 commented 5 years ago

Thanx :heart: