Three way switch and Sonoff ZBMINI-L

Hello

Ned help.

Try to explain this.

Can anyone help me understand what I’m not getting right.

Box A HAS two switches. Both 3 way for different things one for stairs and one for dining room.

Box a has 1 live wire coming in and split between two different light switches.
Also has wire going to light in the box.
Also has 3 wire romex that is r,b,w. (The black wire from box b is tied into live wire in box a )

I’m trying to install a sonoff mini l

I have it alarmist working but when I flip the switch in box b I loose power.

Now I see my black wire in box b is live.

Could I connect the black and white on box b to give the sonoff relay steady power?

I'm a visual kinda guy... can you post a picture or sketch?

I actually got the previous switch to work

Now I’m having trouble wi to a new one.

This switch is drawn out like this I believe how would I wire the mini extreme

Not letting me upload my photo

Click the link and join the owners group. Then you should be able to post pictures.

https://community.hubitat.com/g/owners