ESP32 send values to Rpi via BLE

Hi!
First of all, thank you Kyle for Mycodo!

I have a hydroponic system on my balcony. My problem is that my wifi does not reach there.
I’m running Mycodo inside my apartment on a Rpi zero W.
I’m trying to send temperature values from an ESP32 via BLE to my RPI using a modified version of this code:

Would it be possible to add this to a Python3 code input or am I wasting my time trying?

Yes, it’s possible. A Listener type Input should be created, like the MQTT Input, which basically just listens for a measurement being received for it to process and store the measurement in the database. The code you’re refencing is already Python, so you should be able to just drop it into an Input module.