Sonoff NSPanel how to use other GPIO pins & is the relay only for 230V?

Hey there.

I search a lot but cant find and old post or image where a user add a motion sensor to his nspanel (not pro, the esp32 based one).
My plan is not to add the motion sensor but I want to use some gpio to trigger some events from external inputs. In my case a doorbell.

I searched a lot but was not able to find something to this two points. I would love to get some answers.
At the moment I am running tasmota on my nspanel. There is this template setup:

{"NAME":"NSPanel","GPIO":[0,0,0,0,3872,0,0,0,0,0,32,0,0,0,0,225,0,480,224,1,0,0,0,33,0,0,0,0,0,0,0,0,0,0,4736,0],"FLAG":0,"BASE":1}

I think my other chance would be to use this, not final, repo to use esphome instead of tasmota:

About the relay’s:
And another question I need to know is: Can I use the two build in relays to control two 12 VAC?

You could modify the power board, but you would always need 220V to power the electronics.

  • cut the red circled jumper wire at the relay side, and connect the open wire end to 220V
  • put the green lead to the other 220V lead
  • yellow lead will be the 12V input
  • other 2 are the two relay outputs

Not tested, so take your own precautions.

IF YOU’RE NOT FAMILIAR WITH 220V ELECTRONICS,
DO NOT (repeat: NOT) MAKE THESE CHANGES !!!