Outdoor Temperature Sensor

Can anyone suggest the best way to house an outdoor temperature sensor? I may want to add a light sensor at a later date as well.

I have one from the DBZoo shop, temperature-sensor, and was thinking of putting it in a old film case and putting in under the eaves.  Or perhaps just sealing it with hot glue inside the case to protect the legs from corrosion.

Any thought?  I know a few of you have them.

Thanks

 

Karl

Member for

16 years 5 months

BodgeIT

16 years 2 months ago

I use the stock 1-wire sensors from the dbzoo shop injected with ordinary kitchen silicon and located under the eves.

Must admit tho, Derek's options look much sexier!

Member for

16 years 5 months

BoxingOrange

16 years 2 months ago

Well that's good, I've already got one of those temp sensors, doesn't it rust though?  Have you changed the end connection to a stereo plug to connect it into the 1-wire circuit or done somethings else?

I was thinking I could use a length of CAT5, have both the temperature and light sensors in the same place and run their feeds back to the HAH along the same cable.  Then split the two feeds up, one to the HAH input and the other to the 1-wire.  I know you and BodgeIT were talking about voltages on the 1-wire at one point, will this be a consideration for me?  The cable length for these sensors is likely to be less than 10m.

 

Thanks

 

Karl

Member for

16 years 5 months

BodgeIT

16 years 2 months ago

Hi Derek, just wondering what that hack might look like?

Member for

17 years

derek

16 years 2 months ago

Well, my D/D unit is now sealed back up and I didn't take pics. However, it's simple enough to hack

The unit is mains powered and is sealed up with silicone and glue for outside use. It takes a little scraping away of the goo to get it to where the top can be removed. This exposes the circuitry.

There is a relay which switches on when dusk is detected. By default, the relay applies mains to a third wire from the unit - to drive a mains light fitting.

The hack is to take the mains away from the relay contacts. This requires cutting of PCB tracks. Once the relay contacts are completely isolated from the mains, solder on a length of twin core cable across the contacts of the relay. This can then be attached directly across a HAH input. N.B. you must be very sure that you have completely removed all tracking that routes mains to the relay contacts ... otherwise you risk blowing up the HAH microcontroller.

The unit can then be put back together and glued/silicon sealed to re-achieve the IP waterproofing rating.

Took me about half an hour to do.

Derek.

 

 

 

Member for

16 years 5 months

BodgeIT

15 years 11 months ago

Hi Derek,

Just bought one of these pre-potted sensors, after my 3rd home made outdoor sensor went up to the silicon valley in the sky.

Wondered if you could give me a heads up on the wiring.  I don't want to mess things up.

 

Cheers

Gary

Member for

16 years 5 months

BoxingOrange

15 years 11 months ago

.. unless it's a temperature sensor of course.  Here a few pics of one I've made, http://www.flickr.com/photos/55175464@N06/5247602986/.  It's not a brilliant picture, but good enough for you to get the idea I think.

Two key points :-

(1) Insulate the middle leg, (2) cut off the right hand part of the "gripper", this stops the right leg from shorting. 

Post back if you need any more help,

Karl

Member for

16 years 5 months

BodgeIT

15 years 11 months ago

Hi thanks for the help.  I got my sensor wired and fitted but find to my dismay that I'm still seeing "?" on Input and 1-wire.  I had thought it was the outdoor sensor I had connected.  This had gone kaput before and replacing it fixed the problem.  This time, it looks like something else has gone wrong.

Any suggestions on something to try?

Member for

17 years

derek

15 years 11 months ago

Hmm,

 

If you are seeing '?'s instead of the 'on'/'off' input values, then something is seriously wrong with the microcontroller on the HAH PCB or the MMJ to RJ11 connection cable to the HAH. If you reboot, is the LCD still showing the correct IP address?

I'm hoping that the new 1-wire sensor wasn't connected with the Gnd and 5V lines the wrong way round ... this could cause hardware failure.

Derek.

Member for

16 years 5 months

BodgeIT

15 years 11 months ago

This issue has been like this for a while.  It was working, then stopped.

I just thought it had tripped out during the rain or something(even though it was coated, had silicon in the end and was taped up)...

 

It's the only one on the run but the run is 10m.  I'll test the new sensor direct to the Hah.

Member for

16 years 5 months

BodgeIT

15 years 11 months ago

Hi Derek,

I tested my sensor directly connected and no diff.  I do get IP address on display as normal.

Everything else seems to work.  How annoying, 2 steps forward, 1 back.

Member for

16 years 10 months

brett

15 years 11 months ago

Derek spotted a problem with his basement temperature sensor in that after a while it would report '?'.  Restarting the xap-livebox process or rebooting the HAH got things working.

I investigated this and found a problem.

A constant 1wire temperature would erroneously be reported as '?' when timeout period, as set in the WEB GUI, expired.

Why was this?  Well as the xap-livebox process only get's notified by the additional hardware when the temperature changes if there was no change within the 1-wire timeout check period the xap-livebox process has no way to know the 1-wire device was still ok.  So it timed it out.

What I do now is 10 seconds before the timeout the xap-livebox process asks the external hardware to report the temperature of all 1wire devices.  If they are all still alive then each will report in, when this happens the xap-livebox process notices this and reset the timeout for each of them preventing it from becoming a '?' 10 seconds later when the 1wire timeout check occurs.

SO - If on the previous release < 278 you had the timeout check set low and/or the temperature was not changing in the timeout period you would see a '?' - This might have been contributing to your problem.

OR you just have dud hardware and your timeout check was 0 (disabled) anyway.

Brett

Member for

16 years 5 months

BodgeIT

15 years 11 months ago

Hi Brett, I haven't changed the timeout check.  I had gone from 3 sensors down to 1 and it was working fine.

Derek suggested I swap out the chip to see if the pin for 1-wire had fried, I have tried that and still no diff, so I expect I've boiled the livebox board somehow.