Left to Right
M0 => GND
M1 => GND
RXD (MOSI_PIN) => TX2 (GPIO23) D23
TXD (MISO_PIN) => RX2 (GPIO19) D19
AUX => N/C (optional for status)
VCC => ESP32 3.3v
GND => ESP32 GND
The good news is it compiles, the bad news is it fails with no clear indication why. I wasn’t expecting it to get a signal without some hunting, but I was hoping it would run.
There’s a lot to read in here, I don’t think this was suggested.
Going back to a non-contact sensor idea that connects to dry contacts… Functional Devices makes a variety of them. I use one around the hot to the outlet my sump pump plugs in to measure operation and count cycles. I use a yolink contact sensor to read it and trigger the related automation, but obviously anything that reads dry contacts will work
Not sure if you’re in the US, but Granger will walk through your requirements and suggest a match from FD, I did that as well.
I’m not saying the board you bought won’t work - I just wasn’t sure so avoided it. If you look at the board I linked and my config you can see what pins I wired to which ESP pins.
I used a piece of solid core wire 78mm long as my antenna for now. I almost ordered one of the combo devices but didn’t want to buy one and then learn it didn’t have a pin I needed exposed between the sx1276 and ESP. I had already tried making this with a CC1101 but the one I bought, while the listing said it would work for 915Mhz, has hardware filters that lock it to 433Mhz - so I didn’t want to buy another module that wouldn’t work.