Ebay Wifi Relay boards

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Ebay Wifi Relay boards

#51 Post by Shardan » 24 May 2017, 13:55

Dylantje wrote: 23 May 2017, 22:13 Did swap... [ not with my wife :-( ]
No luck..
To get it straight:
"No luck" says it's the same circuit with another sensor going crazy?
The most strange thing.

I did a test setup..
Works for weeks... [ in my garage ]
After a hard reset because i set something wrong..
This strange thing is happening..
How did you hard reset? Tx/Rx shortened? Sent a "Reset"?

Regards
Shardan
Regards
Shardan

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Ebay Wifi Relay boards

#52 Post by Dylantje » 24 May 2017, 14:16

Shardan wrote: 24 May 2017, 13:55
Dylantje wrote: 23 May 2017, 22:13 Did swap... [ not with my wife :-( ]
No luck..
To get it straight:
"No luck" says it's the same circuit with another sensor going crazy?
The most strange thing.

I did a test setup..
Works for weeks... [ in my garage ]
After a hard reset because i set something wrong..


This strange thing is happening..
How did you hard reset? Tx/Rx shortened? Sent a "Reset"?

Regards
Shardan
Everything the same on the outside
And try different/ other pir. use 1 pir that works on the working system...
tx/rx connected...

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Ebay Wifi Relay boards

#53 Post by toffel969 » 24 May 2017, 15:31

Dylantje wrote: 24 May 2017, 14:16
Shardan wrote: 24 May 2017, 13:55
Dylantje wrote: 23 May 2017, 22:13 Did swap... [ not with my wife :-( ]
No luck..
To get it straight:
"No luck" says it's the same circuit with another sensor going crazy?


The most strange thing.

I did a test setup..
Works for weeks... [ in my garage ]
After a hard reset because i set something wrong..


This strange thing is happening..
How did you hard reset? Tx/Rx shortened? Sent a "Reset"?

Regards
Shardan
Everything the same on the outside
And try different/ other pir. use 1 pir that works on the working system...
tx/rx connected...
Direct sunlight?
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Ebay Wifi Relay boards

#54 Post by Dylantje » 24 May 2017, 19:56

Direct sunlight?
That is the only thing different...

mmm that's shoeld be nasty.....

1 pir have dig a cable to the door for this pir...
GGRRRRR

Perhaps with a 10K between..


The strange part. test works great...

luisfcosta
New user
Posts: 8
Joined: 20 May 2017, 07:23

Re: Ebay Wifi Relay boards

#55 Post by luisfcosta » 24 May 2017, 22:49

I wanted to provide a follow up and closure to my previous plea for help

Situation: Espeasy R120 not stable, causing nodelink R8 to reboot every 10 secs. Espeasy loaded with Arduino source code. Board was also not reacting on MQTT commands.

Solution:

Upgraded to 147 RC8 using the flash.cmd method.

I can now control my relays using one of the following:

mosquitto_pub -t "{devicename}/gpio/16" -m "1" [or "0"].
mosquitto_pub -t "{devicename}/cmd" -m "GPIO,16,1"
mosquitto_pub -t "{devicename}/cmd/gpio/16" -m "1"

My MQTT broker receives the same message, so I am able to keep track of what is ON of OFF and bridge this to other systems (in my case, SmartThings)

At least the board is able to listen to the broker and the board is now stable.
I had some hiccups with Openhab MQTT mode, where the board would loose connection with the broker, but so far great.

Now my next challenge is to send a more user-friendly command such as:
mosquitto_pub -t "{devicename}/LivingRoomLight/switch" -m "1" [or "0"].

I just don't want to deal with the GPIO mapping!

Any hints?
The documentation is not rich on this matter. I am sure others have the same struggle.

Thanks!

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Ebay Wifi Relay boards

#56 Post by Shardan » 24 May 2017, 23:46

Hello,

sorry i have to pass on that one... i'm not using MQTT at all.

Regards
Shardan
Regards
Shardan

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests