I’ve installed a temperature sensor in my refrigerator. First it didn’t work because a fridge is more or less a closed metal box that is blocking a substantial part of the radio signals. However, installing a repeater nearby solved this problem. It’s working now flawlessly.
What I’m trying to achieve is the following: as soon as temperature is below or above a certain threshold I want to make it visible on a separate display by using leds or something like that. Not using leds in the sensor itself in the fridge but by using a separate box outside the fridge. My question is: is it possible to use a NRF radio that makes a request every 5 minutes to the IoT server (interrogate the database?) to see if temperature has crossed a threshold?
I don’t expect a turnkey solution but maybe a hint which direction I should follow for the solution. Thank in advance.
HarryDutch wrote: I’ve installed a temperature sensor in my refrigerator. First it didn’t work because a fridge is more or less a closed metal box that is blocking a substantial part of the radio signals. However, installing a repeater nearby solved this problem. It’s working now flawlessly.
What I’m trying to achieve is the following: as soon as temperature is below or above a certain threshold I want to make it visible on a separate display by using leds or something like that. Not using leds in the sensor itself in the fridge but by using a separate box outside the fridge. My question is: is it possible to use a NRF radio that makes a request every 5 minutes to the IoT server (interrogate the database?) to see if temperature has crossed a threshold?
I don’t expect a turnkey solution but maybe a hint which direction I should follow for the solution. Thank in advance.
Harry
You can request value in sensor, but why constantly pool? EasyIoT server supports events and you can send value from one sensor to other in automation when value changed or some condition occurred. See ESP8266 thermostat example at the end you have automation script to send temperature from one sensor to thermostat display.
It's impossible for me to understand what's happening in this automation script. I need more examples to find out how it's working. Are you planning more tutorials on this subject?
I'm testing the node to node communication. I have 2 sketches. A sketch for the receiver (this is also a repeater with node id 7) and a sketch for the transmiiter with node id 3. When a message arrives for node 7 a led will blink for the2 seconds, just to check if a message arrives at node 7. Untill now this is not working. Can EasyIoT confirm that what I'm trying to achieve with both sketches is supported by EasyIoT?
I placed sensors in my fridge and freezer about a year ago and still going well with temp and humidity readings.
One thing to note is that batteries will not last very long in a cold environment as it slows the chemical reaction. My solution was to wire the sensors to the top outside of the units and there place the arduino/nrf24/powersupply. It works well and I have also added a 16x02 LCD in the door to show readings.