If you had read your own information you’d have known that those pages tell you everything you need to know.
The light sensor is connected to a digital pin:
const int ledPin=12; //Connect the LED Grove module to Pin12, Digital 12
The temperature & humidity sensor is simply a DHT11 for which there are several topics on this forum:
It utilizes a DHT11 sensor.
Try this topic, but keep in mind that this is the blocking code: https://community.spark.io/t/dht22-dht11-and-similar-blocking-version/998
There is also some work being done on the non-blocking version here: https://community.spark.io/t/non-blocking-interrupt-driven-dht22-library/3673/30
The moisture sensor seems to be connected to an analog pin, as is shown from the first line of code on the page…
int sensorPin = A0; // select the input pin for the potentiometer
The tank level sensor I’m not so sure about. Aliexpress doesn’t really provide any documentation. The thing seems to have two wires, which I assume go to + and -. You then connect your device somewhere in between, and that floating ball thingy will act as a switch which will close the circuit as soon as the water level has risen enough. From the specs that are mentioned, I believe this to be a standalone unit, since they speak of a switching load, and a voltage of over 200V, which isn’t really Spark compatible. Just my idea, I could be mistaken…
Reading the documentation that comes with the products you intent to use will get you a long way. The information above, I found by only clicking your links. There are no rules as to which wires goes where, it all depends on how you program it (exceptions aside, I2C etc.)
The sensors couldn’t care less if you were to put them on pin D5 instead of D6, as long as you adjust for that in your code.
I hope this was somewhat useful.
Ps.: Volgende keer bij voorkeur geen Nederlandse links plaatsen, niet iedereen hier begrijpt die…