Page 1 of 1

Serial MCU controlled switch?

Posted: 02 Jan 2021, 22:14
by uxhamby
I have a couple of ESP01 8266's that run a custom version of the EE firmware, to accommodate a relay board via a 'DEVICE' listed as "Serial MCU controlled switch". The issue was a non standard relay board from EBAY.

Build 20102 - Mega (ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3))
GIT version xuryV0.1

I still see these boards listed on EBAY but I don't see the device listed in the 'DEVICE' offerings of current versions of EE I have running.

What's the current story on this?

Thanks,

Brian H.

Re: Serial MCU controlled switch?

Posted: 02 Jan 2021, 22:31
by TD-er
Is it the same as supported in P091 ? https://espeasy.readthedocs.io/en/lates ... #p091-page

Re: Serial MCU controlled switch?

Posted: 03 Jan 2021, 00:34
by uxhamby
Is it the same as supported in P091 ?
Looks similar but can't say for sure.

Re: Serial MCU controlled switch?

Posted: 09 Jan 2021, 20:58
by uxhamby
I believe the relay board in question, is one of these:

Image

Image

Looks like lots of work was done but I don't see a resolution emerge. I'm still left wondering: do any contemporary stock builds support this device out of the box?

Thanks

Re: Serial MCU controlled switch?

Posted: 11 Jan 2021, 18:03
by enesbcs
uxhamby wrote: 02 Jan 2021, 22:14 Build 20102 - Mega (ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3))
GIT version xuryV0.1
xury just compiled its own version from github sources, i guess it is the same as the old ones with Core 2.4.1:
viewtopic.php?p=42226#p42226

In theory it will also work with the current P091 plugin that is part of TESTING binaries.

The only question is: Are there the serial commands intact on the secondary MCU? Most of them works in the same way, except some bad batch with messed ASCII command codes as i know.

Re: Serial MCU controlled switch?

Posted: 25 Mar 2021, 09:56
by emence
I followed the Youtube video from nygma (topic 138). I managed to flash the ESP8266-01 and the log indicates the the vonnection is working. In the log file of the LCTech i read the folowing:

29161598 : WD : Uptime 486 ConnectFailures 2 FreeMem 13336
29173276 : SYS : -41.00
29177276 : SYS : 486.00
29191598 : WD : Uptime 487 ConnectFailures 1 FreeMem 13336
29221598 : WD : Uptime 487 ConnectFailures 0 FreeMem 13336
29233276 : SYS : -40.00
29237276 : SYS : 487.00
29251598 : WD : Uptime 488 ConnectFailures 0 FreeMem 13336
29281599 : WD : Uptime 488 ConnectFailures 0 FreeMem 13336
29293748 : SYS : -40.00
29297748 : SYS : 488.00
29299810 : SerSW : SetSwitch r0:1
29300822 : SerSW : SetSwitch r0:0
29301834 : SerSW : SetSwitch r1:1
29302846 : SerSW : SetSwitch r1:0

but the relays don't switch
Has anyone any ideas why?

Re: Serial MCU controlled switch?

Posted: 25 Mar 2021, 11:11
by Ath
How have you configured your serial port settings?