Since the powerfailure that caused problems for the weatherstation computer ritchie and the conclusion that even after the bios upgrade the serial ports kept failing there was no 'inside the shed' temperature. But this week I needed a better view of the temperature inside the shed as we're using it to keep some meat cool. So I heated up the soldering iron and the heatshrink gun and made a cable with two DS18B20 sensors in it. I decided that if I started on measuring temperatures inside the shed I also wanted the temperature near the roof. The interesting bit was adding the two sensors to the w1retap configuration. It seems the whole 1820 family of temperature sensors needs to be set up as a 'DS1820' and w1retap will find out how to read it. Resulting configuration:28F24C5602000054:DS1820:Tempinside:TEMP0:⁰C:: 286B545602000031:DS1820:Temproof:TEMP0:⁰C::and now I have logging of the temperatures:2017-12-29T16:28:00+0100 Tempinside 2.812500 ⁰C 2017-12-29T16:28:00+0100 Temproof 2.687500 ⁰CAnd it helps us to determine when we need to make space in our fridge and move some other things to the shed to keep them somewhat cool.
I visited the Hobby boards website just out of interest and noticed they are going out of business. With the growing interest in home automation I thought they would be doing great but I guess 1-wire networks aren't as popular as the wireless home automation options (which don't seem to be designed for security and privacy). I still have a number of temperature sensors so I can add those easily. I have ordered another humidity sensor since that is something I want to measure indoor in the crawlspace under our house.
In mijn 1-wire projecten was ook nog het plan om de watt-uur pulsen van de electricteitsmeter te gaan tellen. Met een schakeling met lichtgevoelige leds en een teller is het me nooit gelukt de pulsen betrouwbaar te tellen. Ik ontdekte de YouLess die het tellen van zo'n ledje of van een draaischijfmeter terdege opgelost heeft en die niet begint met de data naar een externe dienst te sturen voor ik er naar kan kijken. Er is gewoon een simpele interface waarmee de tellingen van de YouLess via het netwerk uit te lezen zijn en die gebruik ik natuurlijk en maak er interne statistieken van.Read the rest of Electrisch energieverbruik en gewoontes metenVan die statistieken maak ik ook een grafiek met een nauwkeurigheid per kwartier. Die keuze is omdat de 'slimme meter' per kwartier uitgelezen kan worden en ik wil wel eens weten wat je er dan uit kan halen. Heel veel dus! Uit de kwartierwaarden is een hoop te halen over onze dagelijkse gewoonten, zeker als je ze over een lange termijn beschikbaar hebt. Voor de meeste pieken kan ik een verklaring bedenken en als eenmaal bekend is welke actie welke hoeveelheid energie gebruikt kan je daarna andere pieken ook weer uitleggen. Opvallend is dat zelfs bij de resolutie van 15 minuten een kort maar duidelijk gebruik zoals de waterkoker of een lange termijn wijziging zoals het licht aan of uit schakelen prima te zien is.
Gemeten electriciteitsgebruik per kwartier
I thought of this ages ago: Moving the lightning strike detector to the shed but only today got around to it because we had some serious chances of a thunderstorm earlier today which showed up on the lightning strike detector but the graph was completely screwed up again after I tried some psk31 digital mode transmissions on the 20 meter amateur band (14.000 to 14.250 MHz for me). So now it is in the shed. Moving it to a lower position does mean I will not get readings for thunderstorms as far away as I used to but I'd rather have usable readings at this moment. First tests with transmitting psk31/psk63 on 20 the meter amateur band after I changed it look like it doesn't count the transmissions anymore. Now to wait for the next good thunderstorm to see how that gets counted. Some blips are showing up. Update 2015-07-14: The first result seems to be that using the lights in the shed (tubelights with starters) shows up clearly. Using the radio still has no effect. I now await the first thunderstorm for more results. Update 2015-07-28: No thunderstorm has been reported by the KNMI weather institute thunderstorm archive within a short distance of my sensor. I guess the maximum range is quite limited now.
The last year in counted lightning strikes, showing clearly that I got active on 20meter psk31 in October 2014. The 'blips' before that are real thunderstorms.
I have noticed the lightning strike detection in Weather station Utrecht Overvecht goes completely mad when I transmit on the 20 meter amateur band. With the detector being quite close to the antenna I can understand this. The solution will be to find a place to mount the detector in the shed. It will be lower (less reception of the radio energy of the strikes) but it will also be further away from my interference. That also means the reading of the detector will have to be done using w1retap since that is what I use on the shed weatherstation computer. I was a bit confused whether w1retap supports this counter but I found out it's based on the DS2423 counter chip which is supported in w1retap, as part of a wind speed meter in a TAI8515 weather station, but w1retap will give the count on readout and the conversion is up to the user.
During some cleanup work today I accidentally bumped a cable of the 1-wire network out of its socket, leading to some missing temperature measurements. After I was finished for the day with the cleanup project I decided to improve the fetchdigitemp script which fetches the data from digitemp. The script fetchdigitemp now checks whether listed sensors have reported data. Just to be sure I also added the option for the sensor to be listed but disabled.
Interesting side-effect of continued energy monitoring and on-line access to the results: Busting Teenage Partying with a Fluksometer - Rowetel. Mentioned in Anti-Drone Camouflage: What to Wear in Total Surveillance - wired.com
I recently saw Law & Order LA episode S01E16 "Big Rock Mesa" in which the police as part of investigations accessed data from smart meters without much trouble.
The climate (in the shed) is different from what I expected: humidity is (so far) within limits of what the current PC (a Dell optiplex GX270) can handle. I expected humidity to become a problem before temperature. Temperatures are at the moment dropping below 'operating range' and a couple of cold days are coming up here in the Netherlands.You can view the results at the weather station page but remember this is in the shed. Real measurements done with (something resembling) meteorological standards will be later.
But these measurements have learned me a few things and helped with a few decisions for the project sundial weather station:
The flickr picture is also some experimenting with the gimp.
- The humidity in the shed is not much of a problem.
- The temperature might be, but if a really low-power PC in an IP66 housing can survive an outdoor climate, it should survive in the shed.
- The conrad temperature sensor is not very precise in outdoor temperatures. So the 'outdoor' temperature / humidity will be measured using 1-wire sensors hooked up to the future weather station computer. The Netley Marsh 1 wire weather station has nice ideas and pictures how this can be done and a small 'sensor house' like the one they use would fit better in our back garden than a full-size Stevenson Screen (the official name of the white 'meteorological hut' which tries to shield thermometer and hygrometer from local influences).
A night with a heavy thunderstorm and high numbers of lightning strikes detected. No local damage, we just saw hailstones come down, break up and the parts still fly around for over a meter. So we were glad we weren't outside at that time.
In following some links about 1-wire projects I found a German Supplier of 1-wire components which can be interesting: Fuchs Elektronik sells 1-wire components at a reasonable price such as the DS18B20 1-wire high resolution thermometer. Too bad they don't sell other interesting sensors like the barometer which could help in combining an order.
During all the work in the house some of the 1-wire temperature sensors were disabled and removed to avoid damage. Today I did some work on the house and re-installed them. The sensor in the living room is now installed inside the room thermostat so it's hidden and should give the same reading as the thermostat. I also re-installed the temperature sensor in the crawlspace which will show up in the sensors at home overview.
The temperature sensor connected to the heater is working nicely and tells us the problem with the heater is only in the hot-water producing part.
And the picture is a nice update for the 1-wire projects page.
Our heating seems to be having problem, probably related to the changes recently. But to diagnose the problem completely we need to see what is happening. So one of the one-wire temperature sensors is now tie-wrapped to the output pipe of the central heating and measurements are logged.
When I bought some 1-wire sensors a while ago at Hobby boards I included the lightning detector in the order. I installed it indoors in the attic where it also counts the switch of the fluorescent lights, so it will probably work better in an outdoor weather station further away from interference. But, in the early hours of today there was a heavy thunderstorm over this country and it counted like crazy. The stated sensitivity is about 80 kilometers:this lightning detector will be able to pick up lightning more than 50 miles awayWith the 75000 lightning strikes reported in the Netherlands for that night, the numbers don't look that strange.
When the heating started working for winter I noticed that the crawl space temperature was going up in the same patterns as the living room temperature. It looked like the whole crawl space was heated. I already wondered about the relation between crawl space temperature and heating up the room back in September. So the results are in: Not really necessary and costing us money. I looked in the crawl space and noticed that there is a really long set of heating pipes from the back of the house to the front (over 8 meters long). This has to do with the old design: the first central heating was in the shed in the garden. The long pipes pass within a meter of the temperature sensor. So I put pipe isolation on the long run, now to check the graphs for improvement.
The replacement 1-wire interface arrived and the 1-wire network at home is working again. I also added a few temperature sensors so the assorted sensors at home now also show the crawl space temperature. Yes, I crawled under the house and hung a temperature sensor from the underside of the floor, connected to the 1-wire network. Correlating the temperatures over longer time with the weather can give me an insight whether underfloor isolation and heating pipe isolation will have a lot of influence on our heating bill.
In browsing other 1-wire resources I found this gem: a snow depth sensor. The page reports of the development and improvements in the measuring of snow depth in Voksenlia, Norway. A place where measuring snow depth is worth it, the local record is over 200 cm of snow. The result of loads of precipitation: over 1000 mm annually.
I took some time to work on the house 1-wire network today.. and blew up the serial to 1-wire interface in the process. I think there is a voltage difference between house ground (water pipes) and 1-wire ground and I touched a metal part of the 1-wire counter I was going to use for the electricity counting to a water pipe hiding behind another pipe when I was trying to test whether it responded to the led in the electricity meter. So, still no success on measuring electricity and no new house temperature readings either. I did put in an extension of the 1-wire network from the attic to the cupboard beneath the stairs where the electricity meter lives. I used the 'isdn' sockets on the end of the long 1-wire connection so as a side-effect I moved one temperature sensor from the top of the server to the 'wine rack' area and updated the sensors page. It is a different location temperature-wise so I started new statistics for this sensor. I also looked at options for placing a temperature sensor in the living room. The cable to the thermostat is thoroughly cemented in so I can't place a wire alongside that cable. I'll probably use the hole for an extra television-coax cable to get a wire for a temperature sensor from the crawlspace to the living room. I already ordered a replacement serial 1-wire interface. I hope that is the only component that was damaged.
Finally I counted a few light pulses with the one-wire counter. No big circuit with the Velleman MK120R kit but just a photodiode and a resistor hooked up to the counter module. I got the idea from looking at the schematics for the Hobby Boards 1-Wire Lightning Detector. The counting circuit is a phototransistor (in an optocoupler) and a resistor. With a bit of tweaking on the resistor I eventually got the counting circuit to count 2 light flashes from a flashlight. With some more tweaking of the resistor value I think I could count red flashes from the electricity meter.
I also installed the lightning detector under the roof. But it is too close to the wiring of the house I think: sofar all counts are related to me being in the attic and turning on the light. In a 'real' setup I think it needs to be away from the house. Something to keep in mind for the project sundial weather station.
No local source for a photodiode which is sensitive to visible light. Time to shop on-line for a photodiode which is sensitive to red light, which will be listed as 650 nm, is directional and can deal with the amount of red light from the electricity meter LED. Reading specsheets for photodiodes is also new to me. I found a webpage with lots of explanations about LEDs and calculations. But, ordering a component on-line which costs less than a euro is a bit silly, with probably a lot more costs in shipping and handling. Conrad just charges extra for too small orders.