

There’s plenty of information on wikipedia about different functions and algorithms. Also check out Numberphile on youtube, they have several videos about the topic.
Or wait for someone who actually knows their math to explain it on here, I’m not one of them.
I would consider also the case where something goes wrong. Maybe the whole thing crashes, maybe you misconfigure something, maybe there’s a power outage or something else happens and you lose the connectivity. Is there someone on site who can do anything to your hardware as you can’t easily just go and figure it out by yourself?
If the answer is ‘no’ then I would strongy reconsider the whole approach. On a worst case scenario the system goes down before you’re even back home from the trip and then your hardware is just gathering dust.