Generic serial device question
Posted: Sat Jan 10, 2009 1:31 pm
Sorry if this has been answered but have looked through all and either have missed it or just too old, lol.
I have built a sensor using temp/humidty and microcontroler to provide serical interface. Used the generica serial module and defined "t" and "h" as commands. All works well, I get the expected results. I then created 2 null devices to hold the value of the received data commands and created 2 task based on timers to update the null devices. The problem is, when the temp null device updates, the humidity null device updates also. The problem also happens to the humidity task runs, both null devices update, even though the task is only set to update the one in "focus".
Thanks in advance for your help. When I get this sorted out, I would like to add a CO2 sensor to the microcontroller to provide more data to HB.
This is all towards automating a small greenhouse using HB and a few Insteon appliance swtiches for now.
MGBDude
I have built a sensor using temp/humidty and microcontroler to provide serical interface. Used the generica serial module and defined "t" and "h" as commands. All works well, I get the expected results. I then created 2 null devices to hold the value of the received data commands and created 2 task based on timers to update the null devices. The problem is, when the temp null device updates, the humidity null device updates also. The problem also happens to the humidity task runs, both null devices update, even though the task is only set to update the one in "focus".
Thanks in advance for your help. When I get this sorted out, I would like to add a CO2 sensor to the microcontroller to provide more data to HB.
This is all towards automating a small greenhouse using HB and a few Insteon appliance swtiches for now.
MGBDude