Znaleziono 82 wyniki

autor: gaurav
pt lip 13, 2018 7:07 am
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

I updated to "supla_input_cfg[0].type = INPUT_TYPE_BTN_BISTABLE;" and "#define CFG_BTN_PRESS_COUNT 5".Still it takes 10 presses to enter config mode.
On fifth press the indication led blink slowly for two to three time if I press continuously then on tenth press it enters enter the config mode
autor: gaurav
czw lip 12, 2018 11:15 am
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

It is showing error

error: 'INPUT_TYPE_BTN_BISTABLE' undeclared(first use in this function)
supla_input_cfg[0].type = INPUT_TYPE_BTN_BISTABLE;
autor: gaurav
czw lip 12, 2018 10:45 am
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

I am sorry but I am unable to understand which config? BTW I was trying to achieve the Switch input on Sonoff basic. So I changed "supla_input_cfg[0].type = INPUT_TYPE_BUTTON;" to "supla_input_cfg[0].type = INPUT_TYPE_SWITCH;" and Switch input was achieved but now I am stucked at enabling the config...
autor: gaurav
czw lip 12, 2018 9:09 am
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

How do I check it if BTN is BISTABLE?
autor: gaurav
czw lip 12, 2018 8:32 am
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

I have changed #define CFG_BTN_PRESS_COUNT 10 to #define CFG_BTN_PRESS_COUNT 5 still it takes 10 press to enter config mode. What could be the reason?
autor: gaurav
pt cze 22, 2018 1:50 pm
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

I want to integrate wall switch to the devices like sonoff so that I can control fans and lights from supla application as well as from wall switch.
autor: gaurav
pt cze 22, 2018 1:43 pm
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

Not like using sonoff button. But using live or neutral wire connection from the wall switch to sonoff. I have seen some devices which provide live wire input switch so that we can use the existing switches. Like this device.
autor: gaurav
pt cze 22, 2018 1:08 pm
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

I didn't checked the console. But I flashed firmware next day and it worked. I don't know what happened but it worked.

Can you tell me that is there anyway to integrate the wall switch to sonoff so that I can control it locally.
Is there anyway?
autor: gaurav
pn cze 04, 2018 11:53 am
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

The firmware which I am flashing is built from IoTSDK. I have installed the latest SDK still the firmware is getting flashed with proper configuration as discussed earlier but doesn't works.
Kindly help.
autor: gaurav
czw maja 31, 2018 11:12 am
Forum: General discussion
Temat: SONOFF
Odpowiedzi: 56
Odsłony: 32020

Re: SONOFF

I flashed firmware from your link and it worked but firmware from the IoT SDK is not working. What could be the reason?