Hello Angelo,
From time to time my AM2302 sensor seem to be wanish from the system. When I reboot the system the sensor come back. With this sensor I control two relays, for the ventilation of the greenhouse. One for the temperature and one for the humidity. Now how can I be alerted by the system is a sensor is missing ? Is it possible ?
Oh by the way I tried to replace the sensor with a new one but the problem come back with the new sensor.
Pierre
Hello,
yes, you can connect the other sensor to one of the GPIO pin, for example you can use the GPIO18 on the board.
For the configuration, you need to go to the Hardwaresetting page.
Normally the GPIO18 is assigned to the relay2 in the default configuration, so first you have to remove the row which uses the PIN 18. Click the "edit table" button and see the "PIN" column, the row that have the PIN value set to 18 should be removed, click the "del" button of the row, and then click "Confirm and Save" at the bottom of the page.
Wait some seconds, now you can click again the "edit" button, The first row has the "add" button, in this row you have to set all the field as already done in the "temperature_serre" row, except for the "name" which should be different and the PIN field which should be set to "18" (instead of 24).
Then click "add" and click the "Confirm and Save" at the bottom of the page.
Now if you go to setting page, you can see there is another sensor and you can test the reading.
Let me know.
Angelo