sonoff s20 rules - showin my igorance

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
grumpy
New user
Posts: 5
Joined: 16 Mar 2018, 12:59

sonoff s20 rules - showin my igorance

#1 Post by grumpy » 16 Mar 2018, 17:36

I just started foolin with espeasy a couple of days ago. I got a sonoff 20 yesterday, flashed the chip, and most things work as advertised. I seem to be stuck when it comes to rules. I am using ESP_Easy_mega-20180313_normal_ESP8266_1024.bin. All I what to do right now is program the button to control the relay. Nothing I do seems to work so I tried the most simple

On System#Boot do
gpio,12,1
endon

The log shows
Mar 16 11:16:18 sonoff_s20_1 EspEasy: EVENT: System#Boot
Mar 16 11:16:18 sonoff_s20_1 EspEasy: ACT : gpio,12,1
Mar 16 11:16:18 sonoff_s20_1 EspEasy: EVENT: System#Boot Processing time:25 milliSeconds

But the relay still does not turn on.
I can control the relay from Tools->Command just fine.
I can control it from the command line but not a rule.
Attachments
sonoff_devices.jpg
sonoff_devices.jpg (76.76 KiB) Viewed 2746 times

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: sonoff s20 rules - showin my igorance

#2 Post by grovkillen » 16 Mar 2018, 17:55

Just for a test, try :

Code: Select all

On System#Boot do
Delay,5000
gpio,12,1
endon
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

grumpy
New user
Posts: 5
Joined: 16 Mar 2018, 12:59

Re: sonoff s20 rules - showin my igorance

#3 Post by grumpy » 16 Mar 2018, 18:13

The relay still does not fire.

Mar 16 12:10:43 sonoff_s20_1 EspEasy: EVENT: System#Boot
Mar 16 12:10:43 sonoff_s20_1 EspEasy: ACT : Delay,5000
Mar 16 12:10:48 sonoff_s20_1 EspEasy: ACT : gpio,12,1
Mar 16 12:10:48 sonoff_s20_1 EspEasy: EVENT: System#Boot Processing time:5029 milliSeconds

grumpy
New user
Posts: 5
Joined: 16 Mar 2018, 12:59

Re: sonoff s20 rules - showin my igorance

#4 Post by grumpy » 16 Mar 2018, 20:51

As I initially said I was just showin my ignorance. I update to ESP_Easy_mega-20180316_normal_ESP8285_1024.bin and all appears well. Rules work as expected. As an aside, this is an "S20 US V1.3". I see no way to remove the board without destroying the enclosure so I can not see any of the chips. In Tools->Info I see ESP Chip ID 10796065 (0xA4BC21) and Flash Chip ID Vendor: 0x5E Device: 0x4014. Can this version be updated over the air?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 102 guests