Also @cyclops , you can also get the 3D file of the 3D printed enclosure from @beegee . He always have these cool enclosures for his projects 
Let me think about sharing my precious designs 

Let me know if you want it.
Mounting of the sensor inside the water tank:
(still need to replace the screws to stainless or paint them)
Outside I use our Unify enclosure with solar panel for permanent usage without recharging:
The gland is used for cable exit and it is holding the sensor enclosure.
Working on an option for LoRa P2P as well.
No need for gateway and LoRaWAN server. Direct transmission to a Wisblock with display and buzzer for low level and overflow alerts.
hahaha! Oh wow guys! Thanks so much for the super quick responses.
I love that @beegee is using this at home. That’s really drinking your own Champain (hmm… maybe he should put that in his tank?!)
My application is exactly the same, and i have wired it up, but it’s not working so i need to double check things.
I’d love to get those 3d printed enclosures, given that i’m looking at an enter 3 next to me 
I did see the pads and that it would be ready to put a connector on there. Is this something we could do at home?
(it’s so cool to find people that need exactly the same thing!)
The connector is a FWF10002-6P from TXGA, but I think there are alternatives from other companies.
Thanks so much! will take a look tonight!
So, of course before i posted on the forum i tried it myself already and couldn’t get it to work. Turns out the cable that i used to connect the two is actually a twisted cable and i just had the points the wrong way around. I didn’t troubleshoot it properely yesterday evening and that’s why i posted. I guess it was late and i was sleepy 
Anyway - now connected properly and all is awesome as always with RAK 
I’m planning to build the final solution with the ESP32 as lora in my application isn’t going to work well (unfortunately, i like it a lot). Any tips for deep deep sleep?
The sensor is working surprisingly well. The condensed water on the surface doesn’t affect it.
I had two incidents with tank overflow (the cheap valve has a tendency to hang) and the sensor got complete flooded. But as it is not powered permanently, only for measurements, it survived and after drying up the PCB it worked again.
Here is my visualization:
I am planning to share the code, but I am still testing the P2P version.
For the ESP32, you can have a look on this (very old) DeepSleep code. It is not made for the RAK11200, but for the Adafruit ESP32 Huzzah. So for the LoRa part there will be some changes required in the initialization (actually it is easier with a RAK11200 + RAK13300).
There’s something to say for having lora, BT and WiFi on the board, but i’ll order the RAK11200 and see how that goes.
It’ sreally a shame that i cna’t do lora with this little project. It would be so much better suited for it imho…
I’d be interested in the lora p2p code 
Thanks for the help, this is great!
The LoRaWAN and the LoRa P2P code are the same.
You can setup the workmode with AT commands (I copied that from our RUI3 API) and use the same code for both.
The display part is not finished yet, I am trying to do some automatic pairing between the sensor and the display. The code is for RAK4631, but as I am using my WisBlock-API-V2, it should work the same way on the RAK11200.
Are you using ArduinoIDE or PlatformIO?
I’m on platformIO, i haven’t used the RUI3 stuff. I didn’t need it and i sort of like the low-level stuff 
Here’s my GPS tracker which is the most of my experience: GitHub - cyclops1982/RAKTracker: Example code that get's a distance measure and sends it via lora. First implementation. Very basic.
PIO is good. All my code is written with VSC and PIO.
Nice code.
How is your experience with the RAK11300? I don’t really like it. Not much support for low power yet.
I want to love the RAK11300, and haven’t played enough with it, but lack of good low power mode is a problem for me as well. The device is capable of it, but last time i checked that required super low-level programming (IE, not framework = arduino). Doing that brings lots of other libs that don’t work…
I guess it’s a “do you have enough time” problem, because if you had time to write all that code, it can be great…
Ordered the RAK11200 now, can’t wait 
(still, shipping to UK is painful
)
We have resellers in Europe, but you guys decided that EU is not good for you 
Following up on this topic. I was wondering if it’s doable to connect the wires to TX0 and RX0 on the baseboard mini?
Struggling to find the pin numbers… (as always…)
Ok, this was stupid. TX0 and RX0 are used for (i’m assuming) serial.println() stuff.
Can i use the SCL and SDA ports?
Yes, you can use them, if you do not have other I2C modules on the board.
All good and working!




