tag:blogger.com,1999:blog-49225030855034279862024-03-18T17:46:29.634-07:00Desert HomeI live in the Arizona Desert, Southwestern USA. It gets hot here, and my power bills got out of hand. This is a journal of my various efforts to bring this problem under control using the cheapest technology I could find. Saving money shouldn't cost a fortune.davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.comBlogger293125tag:blogger.com,1999:blog-4922503085503427986.post-38929078865099783302022-12-14T14:29:00.000-07:002022-12-14T14:29:42.232-07:00Temperature Controlled Faucets<p> Ever wish you had one of those expensive temperature-controlled faucets in your shower my wife did. Since there is a lot of truth to the saying, "happy wife, happy life," I shelled out the money for one. It worked reasonably well, but was a constant source of problems over the years. </p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3wE7yr1R9EsbjdxgTraXxyE0yJM_oOGxPqhXXvxAGatHxcQCJtWs6ur4qehD_oO-aUt_AdFTOyL9yAvadfLbW1w3rgKNQRypWxEswVz8ubqq5xbkVFdurkkg-twSKZzXkHlgdP5A2jhhujl2lZBR5wWBSSRMyvPUPji_3fhQWsqkfI_Tq1BgW_5hi/s1127/capture.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="487" data-original-width="1127" height="138" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3wE7yr1R9EsbjdxgTraXxyE0yJM_oOGxPqhXXvxAGatHxcQCJtWs6ur4qehD_oO-aUt_AdFTOyL9yAvadfLbW1w3rgKNQRypWxEswVz8ubqq5xbkVFdurkkg-twSKZzXkHlgdP5A2jhhujl2lZBR5wWBSSRMyvPUPji_3fhQWsqkfI_Tq1BgW_5hi/s320/capture.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;">This isn't mine, but it's close</div><div class="separator" style="clear: both; text-align: center;"><br /></div>I was constantly having to adjust the settings on it. It wouldn't get hot enough, cold enough, have too low water pressure, etc., until finally, years later, I gave up and replaced it. It had gotten to the point where I couldn't adjust it anymore.<br /><br />Naturally, I took it in the garage and took it apart.<br /><br /><br /><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4kLxqQx6Dr4EImPuW36bwaiJBvd74plG-4-EbHSzos-GfyRRBWiqgSB54_srvbkRckeoH7QHhFckdIQwby2umdHf6QzcdqeA9K5SbksA0jY3By4z7SAaeTZzPwRi-EoddL5iceTfgLp7EUboGflzEW3AWLqQYVgkOv4r2GMQ6pFAQSJuKWIdMsIZZ/s743/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="743" data-original-width="652" height="419" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4kLxqQx6Dr4EImPuW36bwaiJBvd74plG-4-EbHSzos-GfyRRBWiqgSB54_srvbkRckeoH7QHhFckdIQwby2umdHf6QzcdqeA9K5SbksA0jY3By4z7SAaeTZzPwRi-EoddL5iceTfgLp7EUboGflzEW3AWLqQYVgkOv4r2GMQ6pFAQSJuKWIdMsIZZ/w368-h419/Capture.PNG" width="368" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">it made me understand why these things cost so much money. Mine was actually four separate faucets in one housing. The top one was strictly volume, and was fed by the three below, and it used a traditional cartridge. That faucet failed first when the cartridge wouldn't seal. It was a hard part to find and is a whole separate story in itself.<br /><br />There is one faucet to control the volume of hot water; one to control the volume of cold water and the middle one that actually controls the temperature mix. Each of the faucets has the usual o-rings and compression washers, with the middle mixer also having several extra parts to handle the temperature control. Oddly, the o-rings and compression washers never gave me trouble. <br /><br />That middle section was a different story though. The piece at the bottom of the picture above:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQLDoxRKPrnokUcCkLYrefjjyO--jphJYIVb7Ge3Oe6xtgf0DDelIdrL8TrkeyMPhlkKnX05XmclrFQX1IdVHnDGr1Ig96arhizP83bXfZdKyefZy1pAXURbKl-lBzTn_MmYd5lQ7awqCE2caCiiUaPaMUzrH5it8hVa90BDpKO2JdIykOS1TKAmGt/s652/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="276" data-original-width="652" height="135" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQLDoxRKPrnokUcCkLYrefjjyO--jphJYIVb7Ge3Oe6xtgf0DDelIdrL8TrkeyMPhlkKnX05XmclrFQX1IdVHnDGr1Ig96arhizP83bXfZdKyefZy1pAXURbKl-lBzTn_MmYd5lQ7awqCE2caCiiUaPaMUzrH5it8hVa90BDpKO2JdIykOS1TKAmGt/s320/Capture.PNG" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">is actually two screens that let water into a mixing area and wraps around all the pieces above it. That set of screens was heavily plugged with calcium from the water. The plugged-up set of screens was the reason I was constantly having to adjust the two other faucets to increase the volume of either cold or hot water available.<br /><br />Over time, it led to low volume and erratic operation because the calcium would sometimes flake off and increase the flow, or grow and decrease it. I got pretty good at adjusting it until it plugged up so much that I couldn't adjust it any further. The hot was maxed out and the cold was turned down so low that the shower didn't have enough volume.<br /><br />The brains of the device is this piece in the middle:</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCUXEcuPBqFZE3lSmEEO4wVgdOKruyeAQmOlrYefLJWHzw4nWdKpwsAfTTsk9Gln8Yn9hn05wCZoL8XCXUSYw9OrLtJNJ6k2V3Z_0KNWL0ZH-C__hSqQCTRejzXl8_rnJmZU0EOm_tGcH8UHGRY7K_mp861n_WaUN_J6ngoYf2eC4MTVs3SvuwjkHs/s652/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="226" data-original-width="652" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCUXEcuPBqFZE3lSmEEO4wVgdOKruyeAQmOlrYefLJWHzw4nWdKpwsAfTTsk9Gln8Yn9hn05wCZoL8XCXUSYw9OrLtJNJ6k2V3Z_0KNWL0ZH-C__hSqQCTRejzXl8_rnJmZU0EOm_tGcH8UHGRY7K_mp861n_WaUN_J6ngoYf2eC4MTVs3SvuwjkHs/w432-h150/Capture.PNG" width="432" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">It's a bulb full of some compound that has the right temperature expansion characteristics to move the little button on the bottom to slide the o-ring up and down inside the assembly. That controls the hot vs cold mix feeding through the two screens.<br /><br />I guess I could have soaked the pieces in vinegar for a couple of WEEKS because regardless of what you read on the web, it take a LOT of time to dissolve the calcium from a faucet. Then searched every hardware store for 20 miles to get the right size o-rings and compression washers to replace the ones in there because just putting it back together would guarantee a leak and more work.<br /><br />I chose the path of the lazy homeowner and just bought a new Moen shower faucet that I could easily order parts for and not have to worry about European manufacturers' parts lists and supply chain bullshit; not even mentioning the expense of that pursuit.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Besides, I had lost the paperwork over the years and had no idea who the manufacturer was anymore.<br /><br />Putting the new Moen in was quite the experience though. In case you haven't done that ... yet, you have to tear out the wall on the opposite side to get to the assembly. Then, working from both sides, you have to mount the faucet and re-plumb the water lines to fit it. Nothing ever matches anything else when you're changing manufacturers.<br /><br />I cheated though. Way back when the house was built, the hot and cold lines were reversed by a mistake the plumber made. That was fixed with some inventive plumbing that didn't even come close to fitting the new faucet. Yes, I could have taken that apart and gathered a collection of fittings to do it over, but since they have really good hoses now for hooking up faucets, I just took the lazy homeowner's way out (again) and bought the hoses and fittings to do it in a way that any self-respecting plumber would panic over.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgSgPZXvjQchmW9-xRaMEps4nO4Kky-ma9uJXKGgpM1lZV-CUVRKQUGwbsSm03kQKJJUf4MMjmREVEwU23kLPYd5qUbowkNkcjXzdk_Ts9M50jJ5ypoWljBs9CkzOoSmhzqz7daP4H2HiRr4iNe0VzZ0TtQqAdKWVssTmyxdJO3dSor-VowDW83RuY/s652/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="607" data-original-width="652" height="367" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgSgPZXvjQchmW9-xRaMEps4nO4Kky-ma9uJXKGgpM1lZV-CUVRKQUGwbsSm03kQKJJUf4MMjmREVEwU23kLPYd5qUbowkNkcjXzdk_Ts9M50jJ5ypoWljBs9CkzOoSmhzqz7daP4H2HiRr4iNe0VzZ0TtQqAdKWVssTmyxdJO3dSor-VowDW83RuY/w394-h367/Capture.PNG" width="394" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">Now, before everyone goes all ballistic on this, these are stainless reinforced and my water pressure hovers around 40 pounds. These hoses usually last forever unless you disconnect them and don't replace the compression washers inside the ends when putting them back. I have these on the various water appliances around the house and have never, ever had a problem with them that I didn't cause fooling around. These things just work.<br /><br />The cross-over in the middle through the 2x6 is to reverse the hot and cold due to the plumbing mistake that I mentioned. I plan on putting a metal shield over that so I don't make the mistake of putting a screw through the hoses in the future when I close the wall.<br /><br />The new faucet worked fine and all is well with the world.<br /><br />Net, if you are thinking about one of those fancy faucets, think a little longer. If you have well water or excessive calcium deposits on your toilets or sinks, it might be a bad idea. If you don't want to have to go through the hassle of a new faucet and a tight job installing pipes; maybe the one you already have is good enough. If you have one of the big names in plumbing in the US, you can get dress kits for it to change the look when SHE gets tired of it and wants to change the look.<br /><br />That's a heck of a lot easier than what I went through. Think about it for a few years before actually doing it.</div><br /><div class="separator" style="clear: both; text-align: left;"><br /><br /><br /></div><br /><div class="separator" style="clear: both; text-align: left;"><br /></div><br /><div class="separator" style="clear: both; text-align: left;"><br /></div><br /><br />davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com2tag:blogger.com,1999:blog-4922503085503427986.post-28924254056567325952022-07-22T17:46:00.001-07:002022-07-22T17:48:30.834-07:00That Youtube Thing, Videos, Action and Stuff Like That<p> After I put up a couple videos on youtube, I reviewed them. They were BORING ! Watching someone run an excavator is not nearly as much fun as actually running one. The videos took so much time to watch me flail around the bucket, grab the wrong lever, drop a rock, and dump the bucket in the wrong place, even I stopped them and sighed in disgust.<br /><br />How the heck do other people get those things to be interesting?<br /><br />I started looking at heavy equipment videos and tried to get a hint, and one thing stood out glaringly SPEED. See, if you speed up the video, it isn't nearly as visible when you grab the wrong lever and go the wrong way. Speed hides the imperfect and the mistake. Most of the time it even makes it look intentional. Also, putting in stills to show close-ups and examples makes it more interesting because it distracts a bit. </p><p>It seems the key to keeping people awake while watching a video is either cleavage or distractions. People can only watch something for a little while without some change up or excitement. At least it seems that way.<br /><br />That's why the video I put up in the last post had music and was sped way up. It didn't have stills in it, or other tricks I want to try out. <br /><br />I just put up another one to try out some more ideas. This one switches subjects, shows mistakes, and has lots of on-screen text. Voices don't work well when you speed it up, so you have to use that in some way to create interest; I tried that as well.<br /><br />Can you believe it? I took the chance and bought a new piece of equipment, spent some time learning how to use it a little bit, and then started filming it. What a mess to take on. It's fun learning new things, but this many at once is quite the strain.</p><p><br /></p><div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen="" class="BLOG_video_class" height="377" src="https://www.youtube.com/embed/1eznz2KKoL4" width="453" youtube-src-id="1eznz2KKoL4"></iframe></div><br /><p></p><p>Take a look when you have the chance, this is all new to me. </p><p>https://www.youtube.com/watch?v=1eznz2KKoL4&t=120s<br /><br /></p>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com0tag:blogger.com,1999:blog-4922503085503427986.post-22103133642294425822022-07-06T16:42:00.002-07:002022-07-22T17:42:25.530-07:00A Guy I Know Suggested using Youtube<p> The title pretty much says it all. I took a camera and recorded using the excavator to do some work on the yard. It took hours and I encountered the problems we all have with cameras. Soft focus, knocking over the tripod, pointing it the wrong way... You know the drill. <br /><br />After hours of recording, I started to respect those Youtube creators even more.<br /><br />You have to go through the recording, pick the stuff out that makes sense and was actually worth a crap, compose it into something that might be interesting, and then go through the process of putting it online. A whole lot of trouble to convey an idea, but it turned out to be fun.<br /><br />I see an opportunity here to expand the blog by including other media.<br /><br />Here's my first effort at this. It's short but represents a heck of a lot of work.<br /><br /><br /></p><div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen="" class="BLOG_video_class" height="338" src="https://www.youtube.com/embed/9at-c-nYNto" width="407" youtube-src-id="9at-c-nYNto"></iframe></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">What do you think, is it worth the effort? </div><br />davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com1tag:blogger.com,1999:blog-4922503085503427986.post-59653269992648463252022-06-21T18:12:00.001-07:002022-07-06T16:45:57.806-07:00So, Have I Actually Done Anything With That Expensive Toy?<p>Well, yes, but not as much as I would have liked. The 2022 heat wave hit here in Arizona and it was over 110F every day until today. However, today I had to repair my chainsaw instead of working with the excavator.</p><p>Sigh....<br /><br />But I have managed to do some things around the house. I moved a whole lot of rocks out of the way, Built a little road to get around, dug out some brush, and that kind of thing. I know that I'm preaching to the choir here, but tools are great to have. I think I mentioned that I bought it because I was tired of renting equipment and having a multi-hundred dollar bill when I returned it. You can't get good with it only spending a few hours under pressure, and you never quite get the entire job done.<br /><br />I wanted my own, and indulged myself and bought the darn thing. I don't regret that decision. </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIJgu0pOb6UIlZfR4mkROcm_qukPmibZEcdMc4yVtW5a6N13-eHBJ3KefMpH8z0JJjIG23ls5Z_CjsKdSw5lBPZHLkF6-n5195hQtz5odQsS8jaWGlbOKn9aSSuptJ8_y5ac0WSQMibRe85XWm1awfK0WjTRvZLwpSVF4ix1CNX-togGdj_G7yiOIV/s4032/20220620_111946.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="3024" data-original-width="4032" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIJgu0pOb6UIlZfR4mkROcm_qukPmibZEcdMc4yVtW5a6N13-eHBJ3KefMpH8z0JJjIG23ls5Z_CjsKdSw5lBPZHLkF6-n5195hQtz5odQsS8jaWGlbOKn9aSSuptJ8_y5ac0WSQMibRe85XWm1awfK0WjTRvZLwpSVF4ix1CNX-togGdj_G7yiOIV/w640-h480/20220620_111946.jpg" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;">I may be working on this rock for a while. It is stuck in caliche and won't budge.</div><br /><p>If you consider following my path, I have a few recommendations:<br /><br />1. Don't get too big a machine. My Ford tractor is huge and very powerful, but it doesn't fit anywhere. I have to jockey that thing around a LOT to position it for work. Then, when I have to move it, I have to be careful not to take out a fence or something.<br /><br />2. Excavators are fun and they can pick up heavy things. However, you have to have a thumb to do it easily. You can drag a bucket across the ground and a rock will just slide along avoiding the bucket like it suddenly became sentient and decided not to cooperate. A thumb solves that problem. Thumbs are also really good for picking up brush and moving it. </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyzV8XTrIwWSpS6MmYi7NXzmskI1b7HLvR2SdJQtsNLZ8lFCQXmMVqQVGoKdFY2IOuXpblsjx-mhD3xi0Yk1CqJjDz5SZN6H1LnJAxOAc_YFek4hx_-8vxrKmCVaFtWTQsk4UANlff5t3LEOowwuTvATLvE9X0Gbdsz6-mn2CHh9ojT82OHVZ-oiqs/s1920/snap4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="515" data-original-width="1920" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyzV8XTrIwWSpS6MmYi7NXzmskI1b7HLvR2SdJQtsNLZ8lFCQXmMVqQVGoKdFY2IOuXpblsjx-mhD3xi0Yk1CqJjDz5SZN6H1LnJAxOAc_YFek4hx_-8vxrKmCVaFtWTQsk4UANlff5t3LEOowwuTvATLvE9X0Gbdsz6-mn2CHh9ojT82OHVZ-oiqs/w640-h172/snap4.jpg" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;">There's cactus and thorny mesquite in that bundle !</div><p>3. Avoid all the fancy electronic bells and whistles. Sure little short joysticks are fun and cool looking, but the damn things break leaving you with a machine to fix. The electronics on these machines have to be able to take the heat, cold, rain, mud, etc and cost a lot. <br /><br />Simple hydraulics are the best for people like me. I want to use the machine, not order parts for hundreds of dollars and wait forever for them to arrive. Hydraulic parts are simple and available all over the place. <br /><br />4. Get an older machine. One from the '80s won't have a mess of equipment to lower emissions. A friend of mine had his brand new tractor in the shop for a month to get the emissions equipment working correctly. Avoid that dilemma if at all possible.</p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEjm-XWVwbgbFqwQEOFdnRwFXyQLmaARJaZdqmEkJAHLrLGT8CJju3Q4UDOqVshlLsm2eQDwzt20MpSDbzU6k2XaG5FieY5wAG5WobfsWTX85cZANubSpcwfsLzyenS6hMxsHYSsTijA08-iuBjl8AJ4jm1Qgf7ME23oWV3yFPzKNOhOBuZh-7T68m_R" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="367" data-original-width="633" height="373" src="https://blogger.googleusercontent.com/img/a/AVvXsEjm-XWVwbgbFqwQEOFdnRwFXyQLmaARJaZdqmEkJAHLrLGT8CJju3Q4UDOqVshlLsm2eQDwzt20MpSDbzU6k2XaG5FieY5wAG5WobfsWTX85cZANubSpcwfsLzyenS6hMxsHYSsTijA08-iuBjl8AJ4jm1Qgf7ME23oWV3yFPzKNOhOBuZh-7T68m_R=w640-h373" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;">Do you really want a DEF reservoir and smog pump ?</div><br />5. Diesel may be expensive right now, but it stores well and doesn't explode. Get a diesel engine on your new tool. They run cooler, last a long time, and are already fuel injected. Great little motors that don't plug up with gum from ethanol additives that dissolve gaskets. Remember above where I mentioned having to fix my chainsaw? Yep, the ethanol dissolved the gaskets in the carburetor.<p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEiQ2wXrdKiNHwYq2VwhYzecTpDs7jaFluqaLMxvnM0RN2dmS8-G_uBCbonErXpn7lFBn28o1Svb1-NhoAFUm4-Cw13nvVmnXPs_s9kauBuIP3mFZKSohXGsDAAgK0hH6opuOfvLFGSrE_JiB4rrTKKyUqLXJPQ59Hu6LkMjM_BrdK5DA7Py15NqzLvD" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="500" data-original-width="667" height="480" src="https://blogger.googleusercontent.com/img/a/AVvXsEiQ2wXrdKiNHwYq2VwhYzecTpDs7jaFluqaLMxvnM0RN2dmS8-G_uBCbonErXpn7lFBn28o1Svb1-NhoAFUm4-Cw13nvVmnXPs_s9kauBuIP3mFZKSohXGsDAAgK0hH6opuOfvLFGSrE_JiB4rrTKKyUqLXJPQ59Hu6LkMjM_BrdK5DA7Py15NqzLvD=w640-h480" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;">Ethanol is miscible in water. That means it absorbs water</div><div class="separator" style="clear: both; text-align: center;">Water damages carburetors. I stole this picture of a really bad one, </div><div class="separator" style="clear: both; text-align: center;">but this CAN happen to you.</div><br />6. Educate yourself about the common problems. This is something that you can't get from youtube. People let their machines set outside in the weather and the hoses rot. Hydraulic hoses are not cheap and most of them are custom-made. These things will drive you nuts on a machine that hasn't been used in a long time. If you check back on this blog you'll find where I rebuilt cylinders on the garage floor. It can be done, but that means you're fixing it instead of using it.<br /><br />For most people, a 4000-pound machine will do everything they want to do with it. It can lift several hundred pounds and move it around. Trailers are cheaper for them. I picked up a used tandem trailer that will carry it just fine locally without any trouble. <br /><br />Unfortunately, they can be a black hole for money. There are attachments that can make everything easier, but they cost big bucks. A grooming bucket that lets the dirt go through while the bigger rocks get stuck is great for clearing rocks, but they cost hundreds. Consider digging a hole and scraping the rocks into it with the claws instead. A quick-connect so you can change the buckets easily is great to have, but have you looked at how much they cost? You can pound a different bucket in place for a lot less money. A smaller or larger bucket is great to have, but unless you find one abandoned in an empty field, it's gonna cost you a bunch. Sure you can build one and that would be fun, but have you looked at the price of quarter-inch steel lately? Welders are getting cheaper, but steel isn't. <p></p><p>I love my excavator and it has made things possible that simply weren't before, but I must discipline myself constantly to keep the urge for a new item for it under control. <br /><br />For me, being able to climb up on it anytime I want to and tear out a cactus is exhilarating. Not having to reserve it at an equipment rental place and picking it up at 7:00 AM from a clerk that hasn't had enough coffee is worth a lot. Let's not talk about getting it back on time. That really sucks.<br /><br />Of course, my yard is starting to look like a used farm equipment lot !</p><p><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjeRfA0oe7IcOBxD_CQA1Mz1SavWGkXArHo7oDGztWWadSUIbiF1UkPYo0gpaRpUhXugxG8afJt8PZowPHe4jaa4sX_rUWbQN9ToAxR4gxIJJMYzi65MEz-k0jhZXgH0lCurC-Y3O1j8m5jIlWYSSshv3m8V6xeyjAX4rmsw3x7PnmtWI5fDTneFs6/s1189/snap5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="650" data-original-width="1189" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjeRfA0oe7IcOBxD_CQA1Mz1SavWGkXArHo7oDGztWWadSUIbiF1UkPYo0gpaRpUhXugxG8afJt8PZowPHe4jaa4sX_rUWbQN9ToAxR4gxIJJMYzi65MEz-k0jhZXgH0lCurC-Y3O1j8m5jIlWYSSshv3m8V6xeyjAX4rmsw3x7PnmtWI5fDTneFs6/w640-h350/snap5.jpg" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;">I think it looks great though !</div><p></p><br /><br /><p></p>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com1tag:blogger.com,1999:blog-4922503085503427986.post-31548671305427616282022-04-05T11:59:00.003-07:002022-07-06T16:46:31.761-07:00My New Excavator<p><span style="font-family: inherit;"> Yes, I bit the bullet and bought a Mini Excavator. <br /></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ03jC_PCS-oQ6dUd7vmHsL0m55F2Youm-rbkYVCoR0hgoKHcYQqVDULpejQIGmeOEfQrLOX2uRLnJirNhphmH8445J8bJdU0KcNTXZhgVoL3qMu03hMPUZXqj8MTbeYJvX56rqphZIjTi0JvCT9-rm70wcWTD860Rh7-iXzdS_FgvPWgZn9NBwly8/s561/excavator.png" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" data-original-height="404" data-original-width="561" height="411" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ03jC_PCS-oQ6dUd7vmHsL0m55F2Youm-rbkYVCoR0hgoKHcYQqVDULpejQIGmeOEfQrLOX2uRLnJirNhphmH8445J8bJdU0KcNTXZhgVoL3qMu03hMPUZXqj8MTbeYJvX56rqphZIjTi0JvCT9-rm70wcWTD860Rh7-iXzdS_FgvPWgZn9NBwly8/w570-h411/excavator.png" width="570" /></span></a></div><div class="separator" style="clear: both; text-align: center;"><span style="font-family: inherit;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: inherit;">I looked at what was available locally for a couple of months, and what I found just didn't cut it. The hoses had rotted from the sun, There was significant damage to some areas, they were way, way overpriced; at least in my opinion. So, I bit the bullet and expanded my search online to nationwide.<br /><br />There were a lot of them out there, but buying something this expensive sight unseen was scary. Sure, people do it every day at online auctions and such, but they know what they're doing, ... I don't.<br /><br />So, I went to ebay and looked at their guarantee for construction equipment. They insure the purchase up to $100,000, and that gave me enough courage to contact a seller. The rest was easy. The excavator arrived in port in Long Beach, CA; was inspected; loaded on a truck, and showed up at my house in just a few days total time. I was lucky in that respect, but I did choose a machine that was available instead of looking for exactly the right thing.<br /><br />If you want to know the specs, the model number is right on the side and google can pop up a spec sheet in one search. What I like most about it is there ARE NO ELECTRONICS; it's old school hydraulics with valves and such. It can be worked on without a laptop plugged into a data port. Less failures to some component getting wet and less expensive control components.<br /><br />I can fix it if I need to. (or should I say 'when')<br /><br />Now the bad stuff: When I got on it, having exactly zero experience on an excavator, I couldn't get it to go. Meaning, how the heck do you run this thing? I fiddled around and found the two forward controls for the tracks and managed to move it down the drive a ways. Then I looked at the control layout decal and managed to work it a bit. I got it from the road to my house in a few minutes and then started to play with it where no one could see me make a fool of myself.<br /><br />After an hour of trying levers, looking at the instructions (shudder) and messing around I managed to make it do things. Then, I went nuts. Spinning around using zero turn, swiveling it around and around, banging the bucket on the ground. Basically playing with my new toy. <br /><br />It is so exciting to pick up a bucket of dirt, swivel around and dump it behind you. That is probably the most exciting thing about an excavator I've tried yet. It can really dig!! I can make a hole in no time, even with the incredibly rocky ground I live on. Just wiggle the bucket back and forth a little and it will bite in. Really large rocks give it trouble, and I have to plan better to roll them out of the hole, but so far, I haven't hit one that I can't move. I know I will at some point (it is a mini machine), but then I'll just go around the rock if necessary. <br /><br />And, it has a THUMB. In case you don't know what that is, here's a picture of mine.<br /><br /></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCfASB9aFuiqgUoK-aqYJ2Q80lk-0BKVmV7pMcGfMpItKQs691OW1LfmfPtiusnQgHNwH-UVO_-zES2zHee8NRgKb-ar4Ru3ikCsAegXeHRIKCRRWFJNTRzCSTuU02QUSXeq9ZMaoitRhBXNMi7lfFqjQTsl282cUFEAs-fjdOYYsGSpq617l-GvnA/s670/Capture.PNG" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" data-original-height="651" data-original-width="670" height="458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCfASB9aFuiqgUoK-aqYJ2Q80lk-0BKVmV7pMcGfMpItKQs691OW1LfmfPtiusnQgHNwH-UVO_-zES2zHee8NRgKb-ar4Ru3ikCsAegXeHRIKCRRWFJNTRzCSTuU02QUSXeq9ZMaoitRhBXNMi7lfFqjQTsl282cUFEAs-fjdOYYsGSpq617l-GvnA/w471-h458/Capture.PNG" width="471" /></span></a></div><span style="font-family: inherit;"><br />This allows me to pick up rocks, grab a bunch of prunings, pick up a limb to chainsaw, etc. It gives me a hand to manipulate things with. This increases the versatility of the machine to a level that we, as homeowners, can really appreciate.<br /><br />There is one annoying thing about it though. <span style="background-color: white;">The left hand control is set up counter-intuitively. Left hand left is stick away and left hand right is stick close. Left hand forward is swing right and left hand back is swing left. There are two control standards in the US, ISO and SAE; they differ in the positions of the controls, however both of them have the swivel control on the left hand side to side. That is driving me nuts. I keep swinging the excavator when I try to move the stick. It just makes sense to my brain that swivel left should be push left, not pull back.<br /><br />Yes, it can be changed by moving the hydraulic lines. However, the lines are plumbed, not hoses. Take a look:<br /><br /><br /></span></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXsb1Xy5hvARlB6ybb1A1SYu46oNd5_pMqaj_kHRpIG3EoqwcjSURSwJ3r1xY8KS2VxG6KhDKlDe03LM00nneLs9aPFjirivfehs1eij64sFpkDC0CSIj_bVUnYJQS3ny9faT8FuurYW0MZuZ-OqajlcEfFOn7yIc4wSFyJwHyt2WYCkGwLGqeBtJV/s670/Capture.PNG" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" data-original-height="405" data-original-width="670" height="331" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXsb1Xy5hvARlB6ybb1A1SYu46oNd5_pMqaj_kHRpIG3EoqwcjSURSwJ3r1xY8KS2VxG6KhDKlDe03LM00nneLs9aPFjirivfehs1eij64sFpkDC0CSIj_bVUnYJQS3ny9faT8FuurYW0MZuZ-OqajlcEfFOn7yIc4wSFyJwHyt2WYCkGwLGqeBtJV/w551-h331/Capture.PNG" width="551" /></span></a></div><div class="separator" style="clear: both; text-align: center;"><span style="font-family: inherit;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: inherit;">Those two pipes are the stick controls, and I didn't want to spend a week creating new ones to fit the application. Note that steel plumbing is a good thing, it protects the hydraulics and makes for a really good connection, They are just really hard to move around. I may come back to this after a while and change it, but reprogramming my brain is easier at this point and it keeps the machine on the dirt doing what I need instead of sitting in the garage waiting for parts.<br /><br />What's also awesome about this machine is how well it is set up. I can get to the controls really easily, the gas gauge is a clear tube instead of a float in the tank that fails, the horn is not where you'll hit it every time you use the machine. It even has a light that I plan on using very, very little. <br /><br />For example, the horn used to be on the right hand control where you manipulate the bucket and bang your knee. It's now on the right hand side where the other electrical controls are:<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibt7U8lYQqdXstTZz2nsMhoMgJHHrhRdLZLEh2y92wcgvUtgTt4g5RFxNR-SWC3Q63jRf5WPtOwViis-DCS9F868UvIFK4oRTQ7w9q_BUbjn7glXEbqmkG6JDzJjPFAeDvPQGmeY0HDBBkyMruW69UYbA-XpL-X5LHAy3wjM3aqU_DSJhjRJ5x14LP/s1300/Capture.PNG" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="893" data-original-width="1300" height="424" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibt7U8lYQqdXstTZz2nsMhoMgJHHrhRdLZLEh2y92wcgvUtgTt4g5RFxNR-SWC3Q63jRf5WPtOwViis-DCS9F868UvIFK4oRTQ7w9q_BUbjn7glXEbqmkG6JDzJjPFAeDvPQGmeY0HDBBkyMruW69UYbA-XpL-X5LHAy3wjM3aqU_DSJhjRJ5x14LP/w616-h424/Capture.PNG" width="616" /></a><br /><br />I may grind that mount off at some point, but want to have a can of Komatsu blue paint on hand when I do to keep it pretty.<br /><br />Wanna see the extremely high tech fuel gauge? I guarantee this will not fail due to a rat eating the wiring or some connection coming loose.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: inherit;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEivleT3AwlUGc2uauIdytxSBzKENtRAfeyy0Z1LwdUwkaVh9QW_i1D3XnOWRzpgBSfxhSVg1dlcoUZJIb6Z5Eyl8O6BNsJEw4vyMtH16PfnGe05M6jmzHXfEn5XTBOulaY6K619LA4lcVIRDe8X_OIvSSF1UQMfcx01wQoV0NfiUbU4hbV-EJhQo8y6" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img alt="" data-original-height="893" data-original-width="670" height="639" src="https://blogger.googleusercontent.com/img/a/AVvXsEivleT3AwlUGc2uauIdytxSBzKENtRAfeyy0Z1LwdUwkaVh9QW_i1D3XnOWRzpgBSfxhSVg1dlcoUZJIb6Z5Eyl8O6BNsJEw4vyMtH16PfnGe05M6jmzHXfEn5XTBOulaY6K619LA4lcVIRDe8X_OIvSSF1UQMfcx01wQoV0NfiUbU4hbV-EJhQo8y6=w480-h639" width="480" /></span></a></div><span style="font-family: inherit;"><br />Yes, it's just a clear tube that shows the level of fuel in the tank. No electronics, no silly idiot light, just something that you can easily see that won't fail as soon as you need it.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: inherit;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: inherit;">Now for a blatant recommendation of the seller I used for this transaction, NGO Company. I called them about the excavator I found both on the web and ebay. I talked to a guy named Ray, and he was totally honest. He described the machine, the process of buying it and when he expected it to show up in port. I waited a day, and called him back to start the purchase process. I paid a deposit, then waited until the machine was in his shop. He sent me pictures of it and I paid the rest by wire transfer. <br /><br />As soon as the wire showed up as pending for transfer, he called the shipper and they came and loaded it up. I got it the next day. <br /><br />Totally seamless transaction; nothing went wrong and the machine started on the first try. How good can it get?<br /><br />Ray will probably read this blog post and snicker a bit because I literally drove him nuts with questions about the dates, how wire transfers worked, etc. All the stuff a naive purchasers comes up with. I was basically a total dweeb, and he put up with it.<br /><br />If you're interested in something like this, visit his web site at <a href="https://www.ngollc.com/">https://www.ngollc.com/</a> and tell him Dave sent you. You won't get a discount, large equipment doesn't work that way, but he'll recognize the name.<br /><br />I'll be posting about my exploits with this machine in the future. It's too much fun not to spend time on it. </span><div class="separator" style="clear: both; text-align: center;"><span style="font-family: inherit;"><br /></span></div></div><span style="font-family: inherit;"><br /></span><div class="separator" style="clear: both; text-align: left;"><span style="font-family: inherit;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: inherit;"><br /></span></div><br /></div>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com3tag:blogger.com,1999:blog-4922503085503427986.post-7741229431998340292021-11-02T16:50:00.000-07:002021-11-02T16:50:54.460-07:00My Experiences With the Hubitat<p> I mentioned last post how I got talked into trying the Hubitat. To be honest, it didn't take too much convincing because the hub works with the old Iris switches and I have several of them. We home automation freaks loved those switches. I hacked into them and made them work without the Lowe's hub and hooked them into my house to measure power and control several things.<br /><br />Then Lowes dropped support for the devices and closed down their cloud offering leaving everyone that depended on that service in the lurch. See why I don't like to rely on cloud services? We've seen this over and over again for the last two decades. You sucker into a service and then they raise the price, lower the capabilities and finally shut it down. That's happening right now with the ring devices. I have one I got simply as a way to watch my driveway for deliveries. Then I got another for a replacement doorbell. They're fun, but require a subscription and an app. <br /><br />Ring just announced that they're dropping the Windows 10 App and going to a web site instead. I wonder what they will drop next because they already raised the price on their subscription earlier this year. I really feel sorry for the huge number of people that are subscribing to these services without knowing what will eventually happen. I went in with my eyes open because I wanted to play with the devices, but I fully expect them to be an eventual waste of money.<br /><br />Back to the Hubitat. This thing worked for the Iris switches I have on the very first try. It was really easy to set up and get going, but it didn't fulfill my needs for monitoring things and storing data long term. No, I didn't hack into it and write code, I didn't need to. The developers made this thing easy to hack into and extend the basic capabilities. They actually encourage this. Yes, you can add source to it and customize the heck out of it, but that will have to wait until I have more time to play with the various nuances of the device. <br /><br />I started off simply with an Iris switch I controlled, added a clock because it was cool and then my power usage from my fridge in the kitchen.</p><p></p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; margin-left: 1em; margin-right: 1em; text-align: center;"><span style="margin-left: 1em; margin-right: 1em;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4cCrfCKDUttpDY2rjv1kMoonGAq87QaC4hbp16p6THAm5-HnzhpZkenDjhFVEbLruUJOlbcSiylkl7du-PJEK5CAdi3NToSsn8MxZXzDaBzPIDaj7LAzrwPNhDzZonVR-kpT5U03M1X4/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="847" data-original-width="1135" height="363" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih2ox_Km3TJIaB3T6_q5_70ThDpvtyMITxhnodL3vG0cj8-LY7_N0iDQwy2LBZqcsKBmbmQny2uav1I4vxtoBQ7_Vu7vFk9HYgFShEeE18rPq0VI-jklmExNrGtl2-hAXZfqhdCrXNV1Q/w487-h363/image.png" width="487" /></a></span></div><div class="separator" style="clear: both; margin-left: 1em; margin-right: 1em; text-align: left;">I happened to catch the fridge when it was doing nothing, so the low power level. The two switches at the bottom are very inexpensive Zigbee outlet switches that I picked up just to test this out. Here's that device:</div><div class="separator" style="clear: both; margin-left: 1em; margin-right: 1em; text-align: left;"><br /></div><div class="separator" style="clear: both; margin-left: 1em; margin-right: 1em; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuDxfMJwpdu6JAn9VzQV0wK4bBbzDOAM7aI4D5gCzVR2a1M1un6uFFovgs0n3OuDDwyR9tEhrhrBCpfFFkTDH4PD7gaHwmcAB9OKSWXuxKRaJSMUirBWTBrMgx8GkRucpNZ25rxELJQ70/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="581" data-original-width="638" height="342" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuDxfMJwpdu6JAn9VzQV0wK4bBbzDOAM7aI4D5gCzVR2a1M1un6uFFovgs0n3OuDDwyR9tEhrhrBCpfFFkTDH4PD7gaHwmcAB9OKSWXuxKRaJSMUirBWTBrMgx8GkRucpNZ25rxELJQ70/w376-h342/image.png" width="376" /></a></div><br />Don't let anyone tell you these can't be any good; both of these worked first try and have been working reliably for a few months now. When I first hooked them up, I called them CS1 and CS2 for "Cheap Switch" 1 and 2. They are available all over the web and serve as Zigbee endpoints. They don't route, so they can't extend a network, but there are other ways to do that.<br /><br />I'm really impressed by the progress home automation has made in the last couple of years. </div><div class="separator" style="clear: both; margin-left: 1em; margin-right: 1em; text-align: left;"><br /></div><div class="separator" style="clear: both; margin-left: 1em; margin-right: 1em; text-align: left;">I wasn't done though; there was a heck of a lot more to look into and implement. For people that have followed my meandering through various ways of controlling my house you might remember that I measure, present, record and chart things like total house power usage, temperature of each room and major appliance, etc. I don't just turn on a few lights and brag about it, I actually use this data to control power usage and control costs. All that stuff would have to move to the new hub from the raspberry pi network I've implemented over the years.<br /><br />Darn, this was going to be a huge hunk of work. </div></div><br /><br /><br /><br /><p></p>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com9tag:blogger.com,1999:blog-4922503085503427986.post-73962468065558337952021-10-24T16:18:00.000-07:002021-10-24T16:18:01.145-07:00Hard to believe it's been over a YEAR<p>Since my last post. Did anyone notice?<br /><br />I've been heavily involved in local politics in my area for over three years now and it finally came to an end. My side lost.... <br /><br />During this time the home automation field exploded. There are things available now for less than $20 that I had to build from whatever was available. Maybey it's time for me to catch up with the world again. So, following the advice of a friend, I bought a Hubitat. "Why that particular hub." you ask? Well, it doesn't require the internet to work; it isn't dependent on some cloud service; and just might fill the bill for home automation out in the sticks where the internet goes away and runs slow. Besides, I don't like the idea of some cloud service having my house data at their disposal.<br /><br />And, since a subscription isn't needed, it's cheap.<br /><br />When it arrived from Amazon, it was in a box about 6" square. This thing was tiny. Roughly 2" by 2" and less than an inch tall, it was smaller than a Raspberry Pi and would fit anywhere I wanted to put it. Cool. In the picure below, it's the little thing with the green light.</p><p><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2WVEELeXFuVl4HZJgSQXN1-rAR43a0V2t18-NUiZ5gCa4ggFhmbF-Ev_u6bpv7vsKJCFIQZwrFqGrJzWF-CW_oUgvzjkCGos49VzPEiQFjg0QFHBVWEOEPwct2vnRWaUwpFL8Yl-tIBk/" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="903" data-original-width="1204" height="330" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2WVEELeXFuVl4HZJgSQXN1-rAR43a0V2t18-NUiZ5gCa4ggFhmbF-Ev_u6bpv7vsKJCFIQZwrFqGrJzWF-CW_oUgvzjkCGos49VzPEiQFjg0QFHBVWEOEPwct2vnRWaUwpFL8Yl-tIBk/w440-h330/image.png" width="440" /></a></div><br /><div style="text-align: center;">I stuck it under the TV so I could see the little light from my recliner. </div><br />Now to follow the directions printed in 2 point type on a folded business card to see if the thing worked. It did on the first try. This is the device that took over where Lowe's left off when they dumped the home automation business and I have a few of those early Zigbee devices around the house working (another reason to pick this hub). So, I paired one of them up with the hub, and that also worked first try.At that point I dug into their documentation, created a 'Dashboard', and stuck a 'Tile' on it and tried to turn the Iris switch on remotely. That worked first try!! <br /><br />Oh my goodness, I didn't have to hack into it by searching through a hundred pages of documentation and prowling the web for any hint of how to make it work. It just worked. This was going to be fun. <br /><br />I hooked the rest of my Iris devices into it and moved much of my lighting controls over to it immediately. This is where the fun begins ....<br /><br />I had to learn a little about apps, drivers, odd interfaces and an editor that is both brilliant and clumsy at the same time. A "Rule Machine" that (to me) defies logic and menus that go on, literally, for pages and pages. <br /><br />But, the device works, it does the job.<br /><br />Of course, this made my internet (one of the banes of living semi rural) really look bad. The very best I can get with Century Link DSL in my area is 5MB. Yes city dwellers that are hooked to fiber that easily goes a full GB, there are still people suffering along at that speed. Fortunately, we have (finally) other providers now. I chose one called Teknet that uses radios scattered around the area and powered antennas on the roof as my new provider. A bit more expensive, but I could get 30MB out here and that is a darn sight better than the 5 I've been putting up with for well over a decade and a half.<br /><br />Thus, a new internet provider, a new device, a house that has been running on outdated, but extremely reliable equipment for a very long time would lead me into new adventures that might be fun.<br /><br />More, and greater details in the days, weeks to come. <p></p>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com4tag:blogger.com,1999:blog-4922503085503427986.post-31714964123209510272020-02-19T10:41:00.000-07:002020-02-19T14:46:30.843-07:00Temperature adventures with (RaspPI) ESP32 and MQTT.<div class="MsoTitle" style="margin-bottom: 6pt; margin-top: 12pt; text-align: left;">
<span style="font-family: "liberation serif"; font-size: 12pt;"> Guest speaker today. Glenn has a farm and has contributed before. Farm automation is especially useful for keeping the work down somewhat and getting information. Here is Glenn's latest project:</span></div>
<div class="MsoTitle" style="margin-bottom: 6pt; margin-top: 12pt; text-align: left;">
<span style="font-family: "liberation serif"; font-size: 12pt;">---------------------------------------------- </span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">A while back I began looking at convenient, inexpensive temperature measuring devices. Now the reason behind this is very simple. Going out the back door of our place we have what we call the boot room. We live on a ranch, so needless to say we separate our ‘barn’ clothes from our ‘house’ clothes. The barn clothes hang in the boot room. Well before changing into our barn clothes we would like to know what the exterior temperature is. We don’t have an exterior temperature display near the boot room. Soooo… this is where the ESP32 comes in.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">I first started this project as a raspberry pi based project. You see I have a raspberry pi 3 B+ in the horse barn and it measures the temperature of both my workshop and the stall area using DS18B20s. Now just about any of the raspberry pi’s from the 2B on up, or the zero would have worked. The raspberry pi zero W would not have worked in my case here as the device is housed inside a Leviton Structured Wiring panel and there is no wifi within the barn. If you are doing this in a location that has Wifi available then the Pi zero W could certainly fit the bill.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">I had adapted code from Dave’s other posts to fulfill the need but that code was originally base on Sqlite and wasn’t feeding to my new MQTT docker container. Time for a change but thanks Dave for the original code!!</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">This project really contains three parts:</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">1. Temperature measurement</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">2. MQTT testing and coding</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">3. ESP32 implementation.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<br /></div>
<h1 style="margin-left: 0.0000pt; mso-list: l0 level1 lfo2; text-indent: 0.0000pt;">
<!--[if !supportLists]--><span style="font-family: "liberation sans"; font-size: 18pt;"></span><!--[endif]--><b><span style="font-family: "liberation sans"; font-size: 18pt;">Temperature measurement.</span></b><b><span style="font-family: "liberation sans"; font-size: 18pt;"><o:p></o:p></span></b></h1>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwa2CKyy6Pk2KHMcYuoAbsnCg8mHvjpCxsxp_nWDDyOknEgQgvM-3pSfXyXb2kA_pydX5dHm9CsodBLZF5mt65hDHeDxBmVW_fPl7r6mkHUDnpatOD5QYLoHyClr6LzEHUbhVDGY9DqKM/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="333" data-original-width="585" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwa2CKyy6Pk2KHMcYuoAbsnCg8mHvjpCxsxp_nWDDyOknEgQgvM-3pSfXyXb2kA_pydX5dHm9CsodBLZF5mt65hDHeDxBmVW_fPl7r6mkHUDnpatOD5QYLoHyClr6LzEHUbhVDGY9DqKM/s640/Capture.PNG" width="640" /></a></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">The DS18B20 is probably the best contribution to the temperature measurement in the history of IoT and home automation. I’m not going to go into depth on this as Dave has several posting on it and they are a wealth of knowledge. These are connected to the raspberry pi as shown in this drawing:</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Note: I am only using two Sensors at the moment not the three shown.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Full disclosure here. I am a big fan of Python and Python modules. Have been for a long time. So, when I start a new project I go on a search to see what new modules are out there. I’m an engineer, not a developer. I’m not the guy that writes a lot of code day in and day out.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">In this case I came across a module that has really captured my imagination. It is called:</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">rpi-temperature-mqtt.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">It was originally written by a fellow who calls himself HackerCowboy. Here is his Git repository link, </span><a href="https://github.com/hackercowboy/rpi-temperature-mqtt"><u><span class="15" style="color: navy; font-family: "liberation serif";">https://github.com/hackercowboy/rpi-temperature-mqtt</span></u></a><span style="font-family: "liberation serif"; font-size: 12pt;">.</span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">I grabbed the code and started playing with it.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">First you must install the module onto you device (raspberry pi or ESP32).</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="color: #6a737d; font-size: 12pt; letter-spacing: 0pt;">pip install rpi-temperature-mqtt</span><span style="color: #6a737d; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="color: #6a737d; font-size: 12pt; letter-spacing: 0pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">All of the configuration is done in a file you create called config.json. Here is my config.json from the barn:</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">{</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> "mqtt_client_id": "barn",</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> "mqtt_host": "10.10.XX.XX",</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> "mqtt_port": "1883",</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> "wait_update": "60",</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> "verbose": "true",</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> "sources": [</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> {</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> "serial": "28-0000055aae0e",</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> "topic": "workshop"</span><br />
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> },</span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> {</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> “serial”: “28-0000054de0b5”,</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> “topic”: “boxstalls”</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> }</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"> ]</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">}</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">As you can see I have two DS18B20s that I am sampling. The code supports multiple devices. The other item of note is that the code provides its own scheduler capability. You set the time period between sampling of the collection of devices with the line:</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">“wait_update”: “60”,</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">This says to wait 60 seconds between sampling another set.</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">It also provides a delay between devices. That line is:</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">“wait_process”: “10”,</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">In this case it will wait 10 seconds between samples from the two DS18S20s.</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">Now to the section labelled “sources”. </span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">For each device you will need to add two lines.</span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">“serial”: “your device serial number”,</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">“topic”: “what you call it in MQTT”</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">Note that each section must end in a comma after the topic statement. That is except for the last section where the comma is left off.</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;">The other item I use in the config.json file is the verbose option. It lets me see exactly what the module is sending and shows me when the connection is made:</span><span style="font-family: "liberation serif"; font-size: 12pt; letter-spacing: 0pt;"><o:p></o:p></span></div>
<h1 style="margin-left: 0.0000pt; mso-list: l0 level1 lfo2; text-indent: 0.0000pt;">
<!--[if !supportLists]--><span style="font-family: "liberation sans"; font-size: 18pt;"></span><!--[endif]--><b><span style="font-family: "liberation sans"; font-size: 18pt;">NOTE: </span></b><b><span style="font-family: "liberation sans"; font-size: 18pt;"><o:p></o:p></span></b></h1>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Before you start using rpi-temperature-mqtt you MUST initialize the Device Templates. This is a new change in the later versions of Raspian, etc. If you do not do this rpi-temperature-mqtt WILL NOT WORK. So you must add the following instructions to </span><i><span style="font-family: "liberation serif"; font-size: 12pt;">boot</span></i><span style="font-family: "liberation serif"; font-size: 12pt;">/config.txt</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt;"># Add the device tree to initialize w1-gpio.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt;">dtoverlay=w1-gpio</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt;">Save it and reboot. </span><span style="font-family: "liberation serif"; font-size: 12pt;">If you forget you can manually start it by issuing the command:</span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt;">sudo dtoverlay w1-gpio</span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12pt;">Remember if you don’t do one of these the rpi-thermostat-mqtt code will error and say it can’t find w1-master…..</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<h1 style="margin-left: 0.0000pt; mso-list: l0 level1 lfo2; text-indent: 0.0000pt;">
<!--[if !supportLists]--><span style="font-family: "liberation sans"; font-size: 18pt;"></span><!--[endif]--><b><span style="font-family: "liberation sans"; font-size: 18pt;">MQTTfx:</span></b><b><span style="font-family: "liberation sans"; font-size: 18pt;"><o:p></o:p></span></b></h1>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">I use a Ubuntu desktop machine in my lab. As well I have a separate server that runs all my docker containers. So for testing purposes I log into my test device (be they raspiberry pi or ESP320) via SSH and control them.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">I found that in order to really see what is going on an MQTT broker monitor is really useful. Enter MQTTfx. This piece of code will run on a variety of platforms and gives you the ability to subscribe to a broker (local or remote) and then publish or subscribe to the topic of interest.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<br /></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">The first thing we need to do is create a connection profile. Select the Broker Status tab. Then from the top Extras tab, edit the connection profile:</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"> </span><span style="font-family: "liberation serif"; font-size: 12pt;"> </span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjikzLjd-AS5E_o_ET9vhShyphenhyphen4Om50qtqolcfZhObza984ZebdugfPDzRjhDvffTdDBRfULsTufuPsNUb4dYPKhIxAe4Elc7PIZKOE_IZwa9ViEVH0mknjH97IHXWFVirPwQbYJWmqqAPSM/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="710" data-original-width="825" height="550" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjikzLjd-AS5E_o_ET9vhShyphenhyphen4Om50qtqolcfZhObza984ZebdugfPDzRjhDvffTdDBRfULsTufuPsNUb4dYPKhIxAe4Elc7PIZKOE_IZwa9ViEVH0mknjH97IHXWFVirPwQbYJWmqqAPSM/s640/Capture.PNG" width="640" /></a></div>
<br />
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"> </span><span style="font-family: "liberation serif"; font-size: 12pt;"> </span></div>
<div class="MsoBodyText" style="margin-left: 36.0000pt; mso-list: l2 level1 lfo3; text-indent: -18.0000pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 12.0000pt;">· </span><!--[endif]--><span style="font-family: "liberation serif"; font-size: 12.0000pt;">Enter your new Profile name at the top.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText" style="margin-left: 36.0000pt; mso-list: l2 level1 lfo3; text-indent: -18.0000pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 12.0000pt;">· </span><!--[endif]--><span style="font-family: "liberation serif"; font-size: 12.0000pt;">Enter the ip address of your Broker.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText" style="margin-left: 36.0000pt; mso-list: l2 level1 lfo3; text-indent: -18.0000pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 12.0000pt;">· </span><!--[endif]--><span style="font-family: "liberation serif"; font-size: 12.0000pt;">Enter the port number of your Broker.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText" style="margin-left: 36.0000pt; mso-list: l2 level1 lfo3; text-indent: -18.0000pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 12.0000pt;">· </span><!--[endif]--><span style="font-family: "liberation serif"; font-size: 12.0000pt;">Leave the rest as presented.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText" style="margin-left: 36.0000pt; mso-list: l2 level1 lfo3; text-indent: -18.0000pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 12.0000pt;">· </span><!--[endif]--><span style="font-family: "liberation serif"; font-size: 12.0000pt;">Click Apply, then OK.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyApZGQ0xZ03O6gSIa3bUaE9eX6_9GDLygPzfn0Cn-n6rxUb4oaEMeqQRxs29TeV86ehSUP4k0m5M82KYHZ13WVFE_AfQVLLZrXUyHJ1dZXoRjwTUofj8KtuO2h_snd34MXkN3eWwp7hk/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="714" data-original-width="1024" height="446" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyApZGQ0xZ03O6gSIa3bUaE9eX6_9GDLygPzfn0Cn-n6rxUb4oaEMeqQRxs29TeV86ehSUP4k0m5M82KYHZ13WVFE_AfQVLLZrXUyHJ1dZXoRjwTUofj8KtuO2h_snd34MXkN3eWwp7hk/s640/Capture.PNG" width="640" /></a></div>
<div class="MsoBodyText">
<br /></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br clear="all" style="page-break-before: always;" /></span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">You will be returned to the main screen. Now make sure Broker status is selected. From the profile pull down window select your newly created profile and then click on CONNECT:</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU5wrrzdRy8bsIZ0Dft7AuZxKbXqYGCtDIMG88EhD0QmmaST0mJ2wNgFuTa-2PJ4WIKlUlegtWYhiW_nl-kObhl7EJgHN-7KTwo2sY4v_1NIqLJBKJtkw0A9WPvW_R5kUmlfksl_lJhfM/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="710" data-original-width="825" height="550" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU5wrrzdRy8bsIZ0Dft7AuZxKbXqYGCtDIMG88EhD0QmmaST0mJ2wNgFuTa-2PJ4WIKlUlegtWYhiW_nl-kObhl7EJgHN-7KTwo2sY4v_1NIqLJBKJtkw0A9WPvW_R5kUmlfksl_lJhfM/s640/Capture.PNG" width="640" /></a></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br clear="all" style="page-break-before: always;" /></span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Once you connect you should see this screen which connects you to the Mosquitto Broker:</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYxdoiULctONqxhfPr1Eaw9GaAh-HHMw6aB3FAw1JcnIrdtr27X2YGzmLyopayt68VnvPCE_YTQvOaUg4tXJjtERTqAJIcgPe9w-NVP9nPfrMYAIuTfpdz-G2et6yLGfVL8B_B5M26k0g/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="710" data-original-width="825" height="550" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYxdoiULctONqxhfPr1Eaw9GaAh-HHMw6aB3FAw1JcnIrdtr27X2YGzmLyopayt68VnvPCE_YTQvOaUg4tXJjtERTqAJIcgPe9w-NVP9nPfrMYAIuTfpdz-G2et6yLGfVL8B_B5M26k0g/s640/Capture.PNG" width="640" /></a></div>
<br />
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Now click on Subscribe.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">At this point you need to start the rpi-temperature-mqtt software running on your device by issuing this command:</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">rpi-temperature-mqtt config.json</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Make sure that you do this from the subdirectory that contains config.json.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br clear="all" style="page-break-before: always;" /></span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Now when you switch back to the MQTTfx screen and you select your topic(s) you should see something like this:</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzsYvkqHonr4LOyeBdbcAOdKNIqj32I7AgKp-vF7pcxsXuA6jT5Ex2cCuIa7hppbk-mahFVdi6dNb8WOG6w6JcNvJxSoWowrLzLldDRVuvpk2tYY6TgMyFas6lKzxgAhU2kFuMEn8t8PM/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="710" data-original-width="825" height="550" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzsYvkqHonr4LOyeBdbcAOdKNIqj32I7AgKp-vF7pcxsXuA6jT5Ex2cCuIa7hppbk-mahFVdi6dNb8WOG6w6JcNvJxSoWowrLzLldDRVuvpk2tYY6TgMyFas6lKzxgAhU2kFuMEn8t8PM/s640/Capture.PNG" width="640" /></a></div>
<div class="MsoBodyText">
<br /></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Note I’ve selected to view the workshop topic from the pull down. The lower right window displays the last reported value.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Ok, so this post is getting a little long so I’ll end it here. Next we’ll move to the ESP32 and talk about micopython, rpi-temperature-mqtt, and Hazzuh32 (ESP 32) from Adafruit.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;"><br /></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Cheers.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<span style="font-family: "liberation serif"; font-size: 12.0000pt;">Glenn.</span><span style="font-family: "liberation serif"; font-size: 12.0000pt;"><o:p></o:p></span></div>
<div class="MsoBodyText">
<br /></div>
<div class="MsoBodyText" style="margin-bottom: 7.0000pt; margin-top: 0.0000pt;">
<br /></div>
davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com3tag:blogger.com,1999:blog-4922503085503427986.post-4027400194608160212020-01-05T19:29:00.001-07:002020-01-05T20:27:57.575-07:00Introduce End Devices to a Network and Introduce ProblemsAs I've touted for years now I have a network of XBees that I (basically) run my house with. I monitor room temperatures in key areas, control my pool, monitor my power, etc; all without a bunch of wires strung around the house. For the first year I ran a network transparent (AT) mode that broadcast to all devices and all of them listened to what was going on....that didn't work well.<br />
<br />
I described what the problem turned out to be back then <<a href="http://www.desert-home.com/2012/10/more-about-xbee-broadcast.html" target="_blank">link</a>> and moved to a more directed network using API mode to control the traffic level and increase the speed of throughput. That all worked really well. Then I created the room temperature monitors. They were created as battery operated devices since I wanted to put them in places where there was no power; XBee routers use too much power for such an application, so they had to be XBee End Devices.<br />
<br />
That was the beginning of a long time problem that I simply couldn't find, and has driven me nuts a few times before finally getting the entire mess to work again.<br />
<br />
The symptom was that a device would leave or get kicked off the network and then simply refuse to join back in. I'd go for a few days and a sensor would leave and no amount of resets, power cycles, slaps or flights across the room would get it back on the network. Hell, I even programmed another XBee and put it in the same place and it wouldn't work. Then, seemingly at random, it would connect and start working all by itself.<br />
<br />
Months of watching the XBee traffic after adding a ton of logging to almost every device in the house led me to nothing at all. Reading every blog and question remotely related on the web told me nothing. I was completely baffled by this problem.<br />
<br />
Some of the things I tried were to automatically reset the network to force it to reform using the NR=1 command. This dumps all the routing tables and everything rejoins. This would work, but if it happened to often, the entire network would go down and I had to intercede at each device to get it back up.<br />
<br />
Hook up a tablet using an OTG cable hooked to the device that most often failed and monitoring the activity for hours hoping to get a clue what was going on. This was cool because it allowed me to learn how to watch a device using something that wasn't a laptop running the entire Arduino IDE. I could plug into an active device and watch what was being logged without resetting the device. This is a nice thing to have available, but it didn't help find the problem.<br />
<br />
I had the device reset itself, issue it's own NR=0 command to clear the local tables, reset the XBee, just about anything I could think of and nothing helped. I could have ignored it if I was only reporting temperatures, but two of the sensors were serving as the temperature sensors for my air conditioning system.<br />
<br />
It really sucks when the cooling stops at 110F outside and the house heats up. It sucks about equally when the heater sticks on and the temperature goes up to 90+ inside on a cold day. Power bill didn't like that much either. I didn't want to break down and go back to the old method of measuring temperature, the sensors made the house much more comfortable.<br />
<br />
I finally got a hint from a question asked about the XBee end devices not being able to rejoin a network. Seems the XBee routers have a table of 12 entries reserved for end devices that they can parent. That's cool, but I don't have 12 end devices. I still read the device tables on the XBees looking for what the heck was going on though. Then I found it.<br />
<br />
I had relatives visit during Christmas and they brought their cell phones. The folk (my kids and grandkids) are ALWAYS on their phone. Either talking, playing games, texts, whatever; their eyes and hands are literally glued to the phone. The increased RF and WIFI traffic saturated my house and the network struggled trying to get packets through the interference that comes with low power RF activities. Devices disconnected and couldn't rejoin, packets got lost in the ocean of packets from all the devices, it was a total mess. I dug in again to see if I could get a clue.<br />
<br />
I actually found the problem. What was happening to me is that the XBee end devices have to check in periodically to maintain their connection. If you wait too long, the table is purged to conserve the device table space for end devices. The time allowed is set by parameters on the XBee router and the end device needs to check in often enough not to get purged. I was using a 2 minute timeout on the temperature sensor and the default on the router.<br />
<br />
To make things worse, I was using hardware control of the sleep period, and not correctly handling the interaction of the Arduino and the XBee conversation.<br />
<br />
A couple of corrections such that I would send the temperature message, ask the XBee to go to sleep, then WAIT until it actually went to sleep before sleeping the Arduino made things much better. I allowed the end device to exhaust the stored messages that the XBee router parent was holding by just waiting until they all came in. The final item was to extend the XBee router timeout to way higher than necessary for a couple of missed transactions (like a full day) took care of the problem of it not being able to rejoin.<br />
<br />
I was actually preventing it from rejoining by sleeping the device too quickly; it just couldn't get back in before I told it to shut down.<br />
<br />
Why don't other people have this problem? I think they do sometimes, but didn't spend the time it took me to chase it down. I spent months watching and trying things before I stumbled on it mostly by accident looking at the tables because of some other problem someone else had with their network.<br />
<br />
My network is humming along with only an occasional missed message. The extended awake time hasn't seemed to be a problem with the battery life either. The XBee trying to rejoin was a heavier load on the battery than the extra time the receiver is on. Transmit takes more power than receive, and I only transmit one message every two minutes, so the tiny overhead of the acknowledge packets isn't noticeable.<br />
<br />
It's been seven full days of bliss because all the sensors and control systems are working perfectly. The network even has more capacity available for even more XBees. This is really tempting because my indoor freezer has a failing thermostat. Stupid thermostats on freezers are expensive and I already monitor the temperature inside it. It may be time to take complete control of the freezer. I wouldn't even consider that with the devices acting the way they were.<br />
<br />
I know, in the scheme of things this short a period of time doesn't actually prove the problem is gone. But, the instant clearing of problems that had culminated with the increased number of cell phones pretty much convinces me I have it taken care of.<br />
<br />
Maybe I can start thinking about something else now.<br />
<br />davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com2tag:blogger.com,1999:blog-4922503085503427986.post-31589221986931209272019-10-25T17:29:00.001-07:002019-10-25T17:31:15.116-07:00Naturally, Blogger Changed SomethingOf course blogger changed how the blog appears ! That led to a mess of my background image tileing and messing things up in the appearance. After some messing around I managed to get it appearing somewhat reasonable, but had to change the background picture. I've used the same one for years and years now, but so be it; I can update with the times ... sort of.<br />
<br />
I kind of like the look, and will stay with it for while, or until google gets a bug up their butt and changes things again.<br />
<br />
Yes, I'm still alive. I haven't been blogging because I got myself involved with local politics and have been up to my ears in that effort for many months. I do get in a technical project once in a while, but haven't had the time to write them up.<br />
<br />
I'll put them on the blog at some point, since they may be interesting to some people out there. Here's a quick list off the top of my head of the things I've been into that haven't surfaced here yet.<br />
<br />
1. A horrible problem with my XBee network. My end devices would leave the network and not rejoin. That meant that some of the critical ones that controlled the AIR CONDITIONING didn't update the thermostats that control the temperature. Hot house or cold house depending on where it quit working. The thermostats protected me against using power during the Peak period, so the power bill didn't get out of hand, however it was painful to deal with. I have it mostly fixed, there's still one strangeness that I have to work on to get everything back to working reliably though.<br />
<br />
2. I still have the parts for monitoring my 220V devices piled up with an enclosure, and haven't done anything else with them. They stare at me mournfully each time I walk through the garage. I'll get to them as soon as I can. To see that project's beginnings look here <<a href="http://www.desert-home.com/2018/07/pzem-016-another-chinese-power-monitor.html" target="_blank">link</a>>.<br />
<br />
3. Stumbled across a really cool phone from the crank-to-call days. I fully plan to put this thing in service. I may have to update a few parts, but maybe I can hide them inside. There's a lot of these out there, so I'm not going to worry much about the value afterwards, but I do want to keep it as original as possible. Here's some pictures of the phone; notice it has a BRASS earpiece !<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAUjBIzF1JkNLKUXITRCFZ5euzfEqIKQbdvOfF0zIdJFfLrGY5QhUGHmeJo8KKy55odVg1IwsEtFHXVhvZXnZdP34vomzToVPOV0JfKEHERcOFfNilj-J1Ym0o6QZ-zqfl29Jyp0-KiLk/s1600/20191012_121918.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="1200" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAUjBIzF1JkNLKUXITRCFZ5euzfEqIKQbdvOfF0zIdJFfLrGY5QhUGHmeJo8KKy55odVg1IwsEtFHXVhvZXnZdP34vomzToVPOV0JfKEHERcOFfNilj-J1Ym0o6QZ-zqfl29Jyp0-KiLk/s320/20191012_121918.jpg" width="240" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzgNdnaUMAwiUAhisy5mL9EVMr8Z6iP3_QgzrD5XqZZ8fjUS8LSbFotELIBxLLTo1W9rbjEBSpr4Dnp1Ffar8kQJd3rysMylOZk2sQkDnZFMAuOkCMWNBOAIWw49VEK7Tsc2M6MVhNxs0/s1600/20191012_122005.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="1200" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzgNdnaUMAwiUAhisy5mL9EVMr8Z6iP3_QgzrD5XqZZ8fjUS8LSbFotELIBxLLTo1W9rbjEBSpr4Dnp1Ffar8kQJd3rysMylOZk2sQkDnZFMAuOkCMWNBOAIWw49VEK7Tsc2M6MVhNxs0/s320/20191012_122005.jpg" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
It's an Australian model, but the parts are easily found to update it. This phone was updated over the years that it was in service. The crank was disconnected and the handle lost (or taken by the phone guy that did the work) the earpiece and mouthpiece elements were changed and finally the dial was added. It is really fun to play around with. I hope I can get the ringer to work; that would be great.</div>
<br />
Might want a switch though.<br />
<br />
3. Stupid <span style="background-color: white; color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 14.85px;">AcuRite 5n1 weather station channel A died. Now I have to set it up for channel C since I that's the only way it will work. Sigh, don't happen to know what the frequency is for channel C would you? If you want to look at this project, it's all under 'Weather' in the list on the right side top of the page.</span><br />
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 14.85px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 14.85px;">4. The battery life of my XBee end device temperature sensors has been a little over 5 months consistently. That's not as much as I calculated, but it's still pretty good. I'm getting tired of buying AA cells though. They're not expensive, but when you have a half dozen devices that run on three of them each, it can get annoying replacing them. I always seem to be out of the darn things.<br /><br />So, I'm looking at those Li-Ion cells that sell pretty cheaply on Amazon. They seem to last forever, have close to 4 VDC output when full and are really fast to recharge. I have a bunch that I use in flashlights around the house and one installed in a sensor being tested (for months, these things take time). I suspect I'll be switching over to them on all the battery devices; they're just great since you can always have one charged up for replacement and don't have to run to Walmart because the AC crapped out.<br /><br />And Etc. See, I'm still at it, just don't have the time to gather the graphs, pictures, measurements and such that it takes to make a coherent blog post about these things.<br /><br />But, like the Terminator, "I'll be back."</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 14.85px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; color: #333333; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 14.85px;"><br /></span></div>
<br />davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com4tag:blogger.com,1999:blog-4922503085503427986.post-80283800635186943902019-03-01T18:31:00.000-07:002019-10-25T16:51:22.255-07:00I Finally Gave Up On My Hayward Variable Speed Pool Pump.Several times over the years I've mentioned my Hayward Variable Speed Pump. When I got it, it was a dream come true. Here was something that could filter my pool and save me money doing it. I could control the speed and pretty much design my pool filtering around the power company's lowest rate requirements.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0yFTYtZbszcMFI6m7Mx4tuZCQRoMg-X-XuVQ7UkxzEFp3RnUqgjwdy8eZXaHCr9Usbf1dOJVM641l0zFtso9juufIuSZ4gIE6TBo6kEdiBHIrI39MEKw3kAPAFRhB3o9V9XjHYqiRQOA/s1600/SP3400VSP-2-1_517916c9-85fe-4e3f-b8fe-8897c880520e_x700.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="500" data-original-width="500" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0yFTYtZbszcMFI6m7Mx4tuZCQRoMg-X-XuVQ7UkxzEFp3RnUqgjwdy8eZXaHCr9Usbf1dOJVM641l0zFtso9juufIuSZ4gIE6TBo6kEdiBHIrI39MEKw3kAPAFRhB3o9V9XjHYqiRQOA/s320/SP3400VSP-2-1_517916c9-85fe-4e3f-b8fe-8897c880520e_x700.jpg" width="320" /></a></div>
But, right off the bat, it failed. Hayward fixed it and all was well with the world. Then, it failed again. Hayward fixed it again. Then, you guessed it, it failed again. This time Hayward told me it was out of warranty and would cost me $550 to get the new 'drive' unit. I bought one, but from a supplier on ebay because I didn't want to pay the required installation fee they wanted to hook up the wires that replacement would require. I'm perfectly fine with hooking up wires.<br />
<br />
It failed again a few days ago. At that particular time it was actually snowing here in the Arizona desert. Surprisingly, we had about four inches of snow on the ground that morning. No, it wasn't frozen, I checked and the darn thing failed before the temperature dropped below freezing. Remember, I record the power usage of the house and monitor the status of the pool as well. The way I discovered the pump had failed was noticing a thin layer of ice on the pool. That has never happened because the no freeze controls on the pool keep the water moving.<br />
<br />
<img height="480" src="https://lh3.googleusercontent.com/gw3RxEspfml1DtG3FPbjEHGYB77rBTAwghEsXXR_qkKx2RlLh77BP_1-Z-q69yrfaQ7dC-PlNnVLkLMFIHN-Y2NYVTsBye0anFNRyC7eFz39BGSgenSe_ZaIHN8AWzuac_i4lqpYQMZkayOHDZ6Cv_HFrtzIDhBmEQWyQrNckG5coAH5S2RCZBXAhGXbkmEzSO6frJHJqQgWFmDgIdNWSy2pwcxh2s8tUJD64yS9D_3SCMA-6XIBqdUheD7_rIQ7cdGGoy_pEsEieIb1tiFLRSakdNU6dkqfv5PjvAZ0T0KtauRclX2weLjMb89dsbB6Ql3UrR5Ku_mx4wp-DWoWcY0DrnwER2ud4ZUaqOuPOwC_aVaaR9lsRfuCbBCDNjHo6ChBFRl5jVpxSaI3Hir-dz3GlZ00Rxp_VtOs-3chBAoBjZOJprrXPIFGIj9StWsIAxZABI31jAAp7H5tXPDnjBIUYF4UPkGN0t2fqr4k2YXKWFoM8CiQmnkytiQATq9MRBVWDCVIHoTNKwurQttRnhTi_k5cigIu2v1wqb8acIvvvsbD5Xt8FpxPjVRj7lzIPbE21LPEaXHZX9aqD6iTLpfpXzEZF1zl1dTYH62oYXU8X_ksF0-ScC4gYpuRbcZZwwre_EmutCU4RCKZ3aa2sU6rsgtZiqM=w1124-h843-no" width="640" /><br />
<br />
Looking at it, there was an error message, "Motor Stalled". I actually believed that message and took the pump loose from the plumbing (yes, in the snow) and turned the impeller. The motor was not frozen. It did cog a bit from the magnets, but it turned freely. Next, I pulled the wiring loose and took it to the patio table (out of the snow) and pulled it further apart. There was nothing mechanically wrong. Fine, look on the internet.<br />
<br />
There was story after story about this pump. "Drive Error," and "Motor Stalled" were the two that most often occurred. I asked around, and a friend recommended a place that specialized in pool pumps. I called them. and they were very nice to me, consoling me on the problems with that pump, but didn't offer much in the way of suggestions other than replacing the electronics for $650 plus a small labor charge.<br />
<br />
Gag!<br />
<br />
I asked about just replacing the dog gone thing. For a little over $500 I could get a 2.6 HP two speed pump motor installed on the existing impeller housing. Really? You can do that? Yes. I'll be down tomorrow morning. Here's the pieces sitting on the garage floor waiting for me to do something else to it:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfT-7TTIvgh4rUnrcofXjfttrAUUiuou0z4JaJ1mObDf786uJMJYRNDaQGRuMEjwlEt9RWgGZlWenEn2cJmLOoIojA47NOzcSIcWV_fezt0MVQP0TJsU3PQRxxD16djCEgP0QM8nOK-80/s1600/20190227_100944.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfT-7TTIvgh4rUnrcofXjfttrAUUiuou0z4JaJ1mObDf786uJMJYRNDaQGRuMEjwlEt9RWgGZlWenEn2cJmLOoIojA47NOzcSIcWV_fezt0MVQP0TJsU3PQRxxD16djCEgP0QM8nOK-80/s640/20190227_100944.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: start;">I loaded up the Hayward VSP pieces into the Jeep and took it in. True to their word, they fitted the motor to the impeller housing and replaced all the gaskets and worn parts as well. These folk actually did it while I waited, and I got to talk to several people that came in for various problems and parts. </span></div>
<div class="separator" style="clear: both; text-align: center;">
<br style="text-align: start;" /></div>
<span style="text-align: start;">I noticed on their outgoing shelf waiting for pickup were three pumps just like mine. All of them waiting for pickup after having some similar problem. Of course the "doctor" analogy applies. I'm at a doctor's office so everyone I see is sick, but it certainly made me feel better because, "Misery loves Company."</span><br />
<br style="text-align: start;" />
<span style="text-align: start;">Here's what it looks like with the old impeller housing and new motor.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4vA6zJCerW_s0HOeglR8uKze16xkTIpZ4-tzR8jKK1SqSn7JxiAuUUzp0Hiefqi3-2gZyMoyJCbHD4zuOe6dyQTzwieCc5-8sjmfZz4YldUNeZe3MJ7Scfbkz55CCDcVePargV7i_RHQ/s1600/20190227_123604.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4vA6zJCerW_s0HOeglR8uKze16xkTIpZ4-tzR8jKK1SqSn7JxiAuUUzp0Hiefqi3-2gZyMoyJCbHD4zuOe6dyQTzwieCc5-8sjmfZz4YldUNeZe3MJ7Scfbkz55CCDcVePargV7i_RHQ/s640/20190227_123604.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I'm sure someone wants to know what the motor is, so here's a picture of the label on the side of the motor. Thinking about it, I need to put clear packing tape over that so I'll be able to read it in a year or two.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimmGCEohZOn30IAI2oMOo_GrN5OZGZMH7vIgQ6J3T4sNYDXS43IXGk8BUF06R112D_Yqc1uGpfWFVp91-mU_jSST4HLj4hIzPmeCwsnsWUS-RcfBm4T7OkLUN4FwOU-2sy26ADifX4YAc/s1600/20190227_132144.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimmGCEohZOn30IAI2oMOo_GrN5OZGZMH7vIgQ6J3T4sNYDXS43IXGk8BUF06R112D_Yqc1uGpfWFVp91-mU_jSST4HLj4hIzPmeCwsnsWUS-RcfBm4T7OkLUN4FwOU-2sy26ADifX4YAc/s640/20190227_132144.jpg" width="640" /></a><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
And, here are the pieces that should go in the trash, but I want to play with that motor some. I suspect I may be able to used a three phase converter from some ebay supplier and turn this into a variable speed motor for my drill press. A three horsepower variable speed drill press ! Sweet.<br />
<br />
<img height="480" src="https://lh3.googleusercontent.com/dzZjICxHpJ5-rzo6iRj6mCI-mM7X0k72DHEjl5wVX52rj8UjwXLBUeggiyZcpUA48MjTMekd2T0maiPPouMpBA309Gc9mkwSM4IxQNqNko-1SLnSD3j8rUCOMMxLWa0vendhi8zxWobOrR1cZQoGfIjnKXU4bzhEymlQ_jZEh8TzHPIU_kLoQgDdlp2UaykLTKkaXgynPkL_m76Pv5TvwsFa5w6ZxfOeHvJ3dNvG6KapDgsMPnPTN068T0FaeBedIN4YsYhl6rDaQj3BIO2sYnaxSHK-OaM9Z9pHDSFNMACIP5ZVeI9TiQZvlSBY5ar6dQ0njsY17lG95LDQeImTc1ggJyJoKbUNYA80sWydqDO8MxEAgyqVgkETuJ5dJWzev6QS0NnRBIZC2_9CPLtUdXZ78IBH7mm8GOTNNMAdy8x-ysyN2nzBtvhSmUeszNOl_MFWvyjVTuksOIuLP_c0b4-eoAlMX3ilqm1JM0kwf2Dvs6wUFKDQTOA05Bzo6pqwz5_lMiZH_Q5VyzAjADTgbsIfvEomm7quWrZiALJv02gq7c2vdDyIfxPQ4zn4AYtGGzFY2YtKvsiEgMB0ew7zvV5Z6M4gC5p7wR7ScSU7AMtLGvDLN1WdsTlSd-BihBVkE-ifV9O7w7ji5L5LxG4lFvEI-Mw_gRM=w1124-h843-no" width="640" /><br />
<br />
<br />
So, the only piece that is going in the trash (after I see if there's anything inside worth keeping) is the part with the heat sink on it.<br />
<br />
I brought the new assembly home and have it sort of installed. I didn't have to change the plumbing at all since it was the same impeller housing. I do have to add a wire for low speed, but (surprise) I want to change some things.<br />
<br />
I want to add multicolor wiring for the various line power items. I had a heck of a time chasing down which wires went where and it was a real pain walking back and forth from the power panel each time I wanted to shut off the power to the pump. So, since the controller housing has facilities for breakers, I'll add breakers right where I can get to them and multicolor wiring so I can tell which things hook to what. That should make it much easier to work on next time.<br />
<br />
But, since the motor technology is over a hundred years old, all I'll need is bearings, seals and an occasional start capacitor. If the motor wears out entirely, there will be plenty of choices on what I can stick in its place.<br />
<br />
Heck, for that matter the Goldline controller I use is not made anymore and I probably can't get parts for it when it fails, so next time it fails, I'll gut it, keeping the power supply, power relays and tossing everything else. That complex, ever failing, mess will be replaced with a simple XBee, Arduino, and the power relays that the controller already has.<br />
<br />
Yes, the VSP was a cool piece of technology, and did save me money on power usage. However it simply didn't save me as much as I spent on it to keep it working. Where's the fun in that?<br />
<br />
And, yes, that means all the research I did on the protocol and operation of the motor won't ever be used by me. Others have leveraged that work and I know there are some control systems for this motor out there based in part on that work, plus it was fun to work on.<br />
<br />
But what about saving energy? I have friends that are energy conscious, and they don't understand my motives. I'm not energy conscious as much as I'm MONEY conscious. The latest rate increase my power company put into place played right into my hands. Without thinking about it, they gave me the periods of greatest need at the lowest rate. I need to run the motor while the sun is at its peak, around noon or so, so the solar heater can have maximum impact. That's also the time for sitting by the pool and cooling off from the intense summer sun. The (idiotic) power company in their infinite greed made the peak sun period part of the "off-peak" period so they could screw over the solar installations since that is also peak solar production hours and they get to credit the solar folk less.<br />
<br />
That played right into my miserly little hands. I can run the pump at any speed I want to from 8 PM until 3PM the next day. Sure, that falls right across dinner hours, but I can easily work around that little problem.<br />
<br />
And while we're at it, take that Hayward. You charged me a small fortune for the pump, and due to your own bad engineering, had to fix it twice (which must have eaten up the profit). I had to fix it once, but learned my lesson, and used part of your mess and created my own custom pump arrangement.<br />
<br />
Soon, I'll be looking for a three phase converter to try on that fancy motor.<br />
<br />davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com13tag:blogger.com,1999:blog-4922503085503427986.post-50250244392035487012019-02-27T21:04:00.001-07:002019-02-27T21:04:55.993-07:00Yes, I'm Still Writing About My Power CompanyI've been battling my power company since 2009 or so. It started off with a bad meter and eventually wound up with my giving testimony at a hearing about their slopping and greedy way of doing business. It also directly led to me working on lower my power bills, and to this blog.<br /><br />I guess I sort of owe them for that.<br /><br />However, with the filing mentioned in previous posts, and an election where we the voters booted out one of the commissioners that was sympathetic to APS, Forese, things are happening a little differently. There have been two dockets opened directly against APS and the way they handle themselves.<br /><br />
E-01345A-19-0003 - In the matter of the rate review and examination of the books and records of Arizona Public Service Company and its affiliates, subsidiaries and Pinnacle West Corporation.<br />
<br />
E-01345A-19-0005 - In the matter of the Commission's Inquiry/Investigation into the Campaign Expenditures and Political Participation of Arizona Public Service Company and its Affiliates, Subsidiaries and Pinnacle West Capitol Corporation in the Election Periods of 2012, 2014 and 2016.<br />
<br />
In the fhe first one, the Arizona Corporation Commisssion ordered its staff members to audit APS and its recent profits after the rate increase. This IS A DIRECT RESULT of citizen action over the last many months.<br />
<br />
First protests about the initial filing for the rate increase, then the lawsuit I posted many times about, then the election where Tom Forese was not re-elected (he used to chair the commission), then the two crowning touches: Tom Forese after losing, asked for APS to explain the excessive increases people were seeing, AND Bob Burns was appointed chairman of the board. Bob Burns has opposed this increase and the handling of the APS contributions in the previous election; he even brought a law suit to expose it.<br />
<br />
Take a closer look at the second one. Yes, you read it right, they're investigating (or at least trying) the political hanky panky that was reported and suspected in past elections. You know, spend enough money to get your own people elected, then get your way with whatever you want to charge?<br />
<br />
Then, since I'm registered to receive updates on these items, I received the following announcement headline:<br />
<br />
"Sandra Kennedy (our new Commissioner on the Arizona Corporation Commission) has ordered a subpoena issued to APS to disclose their 'Dark Money' political contributions."<br />
<br />
Yes, someone actually did it. Of course there will be a huge court fight at some point, but someone had the courage to actually do it. Bob Burns tried last year, but couldn't get the other commissioners to actually let it happen. This time, I bet it goes out since we fired a major roadblock in the last election.<br />
<br />
Since most of y'all aren't on that particular mailing list, here's the significant text of the press release that I received and came out on 2/26/2019:<br />
<br />
"Commissioner Sandra Kennedy has finalized and docketed a letter to Matthew Neubert, executive director of the Arizona Corporation Commission, directing him to prepare a subpoena to Arizona Public Service (APS) and its parent company, Pinnacle West Capital Corporation, regarding its spending on political races, lobbying, advertising, and contributions to 501 c 3 and 501 c 4 organizations for the calendar years 2013 through 2018. (Contributions to 501 c 3 and 501 c 4 organizations can be used to mask dark money spending.)<br />
<br />
The subpoena effort has been fueled by concerns about millions of dollars of dark money spent in Arizona elections starting in 2014, and APS’ refusal to provide that information. About 30 million dollars were openly spent by APS to defeat Proposition 127 in the 2018 election, but the issue of other political spending by APS in other races is still an unknown. Commissioner Kennedy supports full transparency and looks forward to providing the subpoena results to the public.<br />
<br />
Commissioner Kennedy promised in her successful 2018 Corporation Commission campaign to sign a subpoena to finally allow transparency regarding APS’ political spending, and she will be inviting her fellow Commissioners an opportunity to sign the subpoena as well."<br />
<br />
The actual letter that was filed is at http://docket.images.azcc.gov/0000196338.pdf and makes for some fine reading.<br />
<br />
Additionally the next day (today for me), there was an additional announcement:<br />
<br />
<div style="text-align: center;">
"Commissioners Seek Information from APS on Political Spending</div>
<div style="text-align: center;">
Chairman Burns and Commissioner Dunn issue joint request seeking transparency"</div>
<br />
As with all things political, the two additional Commissioners drafted their own paperwork. They created another docket, E-01345A-19-0043, and their own letter. This letter has places for all Commissioners signature and a very bold letter. If you're interested (for a political science paper when mid-terms are looming) it's at <<a href="http://docket.images.azcc.gov/0000196370.pdf">link</a>>. It has a wonderful line in a couple of pages that I actually cheered when I read it:<br />
<br />
<div style="text-align: center;">
"YOU ARE HEREBY COMMANDED"</div>
<br />
If anyone ever thought that voting didn't matter, think again. The first docket was filed by Bob Burns, and the second was filed by Sandra Kennedy. This all happened after Forese was not re-elected. Of course, there were many people like me following this closely and myself and other spoke at various hearings. Money was donated, charges were filed, hearing were held.<br /><br />And, we're not done yet. This will take more months and more hearings before anything of any substance happens. But, the people have actually started something.<br />
<br />
<div>
What's coming to the world? There actually are some politicians (well sort of politicians) that keep their campaign promises. </div>
davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com3tag:blogger.com,1999:blog-4922503085503427986.post-50029992922485145032018-12-30T23:20:00.000-07:002018-12-31T12:38:31.691-07:00Have You Ever Thought About Tire Inflation?<div class="separator" style="clear: both; text-align: center;">
</div>
Well, neither had I. At least not much more than topping of a tire once in a while. However, I got new rear tires on my big tractor and after a while of just sitting, one of the tires was very low. Getting the new tires was an interesting experience. Those things weight a lot and I didn't want to spend hours trying to break the bead and leverage the tire off using long tire irons, so I just called in a mobile tire service and let them do it for me.<br />
<br />
They came out in a big truck with a crane installed in the middle of it. They didn't even have to remove the wheels from the tractor; they simply pulled the tires off of it and put the new ones on. I sat in a lawn chair and watched. That's the 21st century way to get tractor tires changed.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcxk1Jag_Yj2Zzj4K7kqUvkPb4w-GpXu6RzjmWP9vyEj-FCyqOSpK4a9KYpMI1sA6jMtfHQJmEFlHQCV02ahkz-91lGvDcriK2cP_au17iwWbucmDvsT3PLO66_TTJKyTDBKNT-M8WCEc/s1600/2017-04-17+11.26.49.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcxk1Jag_Yj2Zzj4K7kqUvkPb4w-GpXu6RzjmWP9vyEj-FCyqOSpK4a9KYpMI1sA6jMtfHQJmEFlHQCV02ahkz-91lGvDcriK2cP_au17iwWbucmDvsT3PLO66_TTJKyTDBKNT-M8WCEc/s640/2017-04-17+11.26.49.jpg" width="640" /></a></div>
<br />
<br />
Anyway, the brand new tire was flat and I had to air it up. I grabbed my trusty tire inflator and about ten minutes later I was still messing with it. I have a pretty good compressor, but putting air in a tire as big as the ones on my tractor through a hole a little more than an eighth of an inch was going to take some time. Plus, holding it up to the valve stem was getting tiring. You all must have either owned or used one of these over the years:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF-Owl8TZJaHeiERjxixus1cJBjVrdlj9qFQBRX2O9YzhaDR6znduZ17eq4AeO3C_kOFazOCJNxpelF1RcnSkAK9_DnxSV7TU2FM7u_xkVgf1NlkGYx8NEZR97HrDKAwWPwHT7LrUMBUM/s1600/inflate1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="529" data-original-width="1205" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF-Owl8TZJaHeiERjxixus1cJBjVrdlj9qFQBRX2O9YzhaDR6znduZ17eq4AeO3C_kOFazOCJNxpelF1RcnSkAK9_DnxSV7TU2FM7u_xkVgf1NlkGYx8NEZR97HrDKAwWPwHT7LrUMBUM/s640/inflate1.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I h<span style="text-align: start;">ad another one to try out that I picked up at Tractor Supply a few months back, so I gave it a try and it didn't work much better.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-_5uMy6zVuBuvB1ECam0RGzue5TRKzBm-gz7HNs6sFQz3ck2SkbskjaRJ8YamMxcs69yUOMPii7d3dIMGXhjDbMaZBrwzrnFFdi4Tw3igNqlZJOVp5VtEvReDUf9Mpz4b6J9uVvYX89E/s1600/inflate2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="577" data-original-width="1205" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-_5uMy6zVuBuvB1ECam0RGzue5TRKzBm-gz7HNs6sFQz3ck2SkbskjaRJ8YamMxcs69yUOMPii7d3dIMGXhjDbMaZBrwzrnFFdi4Tw3igNqlZJOVp5VtEvReDUf9Mpz4b6J9uVvYX89E/s640/inflate2.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
The little assembly that was supposed to hold the hose on the valve either leaked or popped off each time I tried to use it. I did eventually get it to fill the tire, but it was an experience that I didn't want to repeat.<br />
<br />
Off to Amazon I went and found an inflator that had many good reviews and looked like it could do the job because it was substantially better made than the one I had. There were rave reviews that indicated that it would tell me the tire pressure as I filled the tire, it filled fast, was accurate, all the hype one should have learned to expect and disregard. I ordered it. When it came in, I drove the tractor (with a flat naturally) in front of the garage and tried the new device out.<br />
<br />
Although the clip on part that should hold it to the tire worked better, it leaked if moved even a little bit in any direction. Since the valve stem was on the inside of the wheel that meant I had to lean over the tire and hold it in place. All was not lost though, it had a screw on fitting that could actually be put on the valve and would allow me to relax a little bit while filling the tire. But I couldn't figure out how to hook it to the inflator hose.<br />
<br />
I used this inflator to fill the tire, but it wasn't a very satisfactory experience since, even though the clip on was better, I still had to make sure it stayed straight on the tire.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHIYLGh6Z1L4MqajNV-H42wFA-IPlgRGLmkE3FO5OnQd2JF4HPSDFlZy9WKKhe0o6kDIte8YS2WdZ96HFTA5krcSo3zGQ4GVKQAWh4pFap5TwNQ8-YPqdpGT27K5D_elbLdl0_x3fZc0Y/s1600/inflate3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="736" data-original-width="1192" height="394" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHIYLGh6Z1L4MqajNV-H42wFA-IPlgRGLmkE3FO5OnQd2JF4HPSDFlZy9WKKhe0o6kDIte8YS2WdZ96HFTA5krcSo3zGQ4GVKQAWh4pFap5TwNQ8-YPqdpGT27K5D_elbLdl0_x3fZc0Y/s640/inflate3.png" width="640" /></a></div>
<br />
<br />
I went looking for another one based on about $40 spent so far and several hours direct experience and ordered this one.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtIximbr9E6S1c6ErJcNyNBQP2H7KLahFceCk51mCU5dWO-vTTNpYDicTUNurYyYef-QFmHKZF6SoZvVndiY68mcXcjyCr4Mev_-7bXwucYTqih8IcUrFshx8EoX7Jo6yGuerOU69iieM/s1600/inflate4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="662" data-original-width="1205" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtIximbr9E6S1c6ErJcNyNBQP2H7KLahFceCk51mCU5dWO-vTTNpYDicTUNurYyYef-QFmHKZF6SoZvVndiY68mcXcjyCr4Mev_-7bXwucYTqih8IcUrFshx8EoX7Jo6yGuerOU69iieM/s640/inflate4.png" width="640" /></a></div>
<br />
<br />
It had exactly the same valve assembly as the last one with exactly the same screw on adapter, but this one had a hose that I could use the screw on with. I installed the 'hands free' adapter and hooked it up. No leaks and I didn't have to hold the hose totally straight to use it. The problem with this one was the same as all the others I had to lean over the tire to hold the stupid lever that released the air.<br />
<br />
Fishing around my drawers of junk I found a piece of velcro (you can see it above) that I could wrap around the valve to hold it open so the tire would fill unattended. I was totally set up now. I could attach the fitting, fill the tire while checking fluids and such, then put everything away for later. Of course the eventual goal was to get the leak fixed, but I hadn't been able to find where it was.<br />
<br />
I did notice a few things I want to share about these simple devices that don't work as well as they should. First, these days it's actually getting harder to find inflators that aren't digital. They all tout how wonderful they are because they are 'easy to read'. That is a simple lie not only will the batteries be dead when you need it, you can only see the numbers when they are oriented correctly. And, who the heck cares about a half pound resolution in a tire's pressure? As soon as you disconnect the device and the air warms up a bit whatever reading you had will change. My bet is that the accuracy is around ten percent or so and a digital reading just isn't necessary. It will also save you time, money and frustration with an old fashioned analog gauge.<br />
<br />
None of them read the pressure of the tire, they all read the hose pressure. Think about it, it's a hose transferring air, the only pressure it actually can read is the pressure in the hose. That's neither the compressor pressure nor the tire pressure. This all means that you have to stop the flow of air to actually get a reading. I checked it every couple minutes (yes minutes) to see how it was going. Usually, I over inflated it and had to drop it down to the right pressure by hand, but that didn't take too long.<br />
<br />
The high end devices cost from $25 up to over a hundred and they're all basically the exact same device with different names stuck on the outside. Take a look:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimsSXIOZVzkAlqudKfsL8dGsGfh80iGxIMKgg21sX6M3ONhhi2BTE483yYkGqCKU8N3aMs86cLnFAIuClbWJS2Gkkb3k1qgMu82lY5kQhvYV62ymDlbWZDYgOSRP8Qc4_BMo7O6cldXtQ/s1600/inflate5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="904" data-original-width="1205" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimsSXIOZVzkAlqudKfsL8dGsGfh80iGxIMKgg21sX6M3ONhhi2BTE483yYkGqCKU8N3aMs86cLnFAIuClbWJS2Gkkb3k1qgMu82lY5kQhvYV62ymDlbWZDYgOSRP8Qc4_BMo7O6cldXtQ/s640/inflate5.png" width="640" /></a></div>
<br />
<br />
Lastly, don't believe the comments and advertising. If you have big tanks or tires to fill, get a screw on adapter and use it. It won't speed things up much, but you won't be holding the hose a certain way to keep it working while having to hold the lever down.<br />
<br />
Heck, the first inflator I tried that had been my buddy for years and years would have worked with the adapter and I would have saved roughly fifty bucks and weeks of frustration.<br />
<br />
Oh, I finally did find the leak. After washing the tire down six times with soapy water and turning it slowly in the sun and finding nothing, I was under the tractor working on a simple drain valve and happened to think that I hadn't checked the valve on the tire. The valves on the tractor are all on the inside to prevent rocks from ripping them off and they are a bit hard to check. Sure enough, the valve was not tight in the wheel and leaked. A few minutes with some soapy water and a wrench and the problem was fixed.<br />
<br />
So, learn from my mistakes.davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com1tag:blogger.com,1999:blog-4922503085503427986.post-44743403958221443402018-07-14T19:45:00.000-07:002018-12-30T23:21:14.799-07:00Thermostats, Location, Location, LocationWhen I was researching supercooling as a way of limiting my power bill I kept getting readings and such that just didn't make sense. One side of my house was comfortable, the other ... not so much. Sure it was the sunny side this time of year, but it has really good windows and good curtains. The only two major problem areas were a couple of windows that faced directly into the after noon sun.<br />
<br />
I fixed those years ago with reflective insulation that I put in for the summer and (sometimes) take out for the winter. It's easy to work with and will last forever if I just give them a little attention every once in a while. I wandered around the room and noticed that the interior walls were about 2 degrees warmer than the rest of the house and there was heat getting in through the foundation.<br />
<br />
The sun bearing down on the exposed slab foundation would heat up the concrete slab and transmit heat inside the house. That's something that might go unnoticed if I had carpeting, but the tile felt warmer as you approached the wall.<br />
<br />
So, basically, it was like any other house on the sunny side. Why was my AC running all the time and having little impact on that room?<br />
<br />
A little background: I have a house shaped like an "L" and two AC units. The one on the north is a 3 ton and the one on the south is a 5 ton. Both of them going could cool the house, but when they cycle, it doesn't seem to handle it. I had two thermostats that were located by the AC '<i>experts</i>' that did my house and were in the top middle of the price range. I replaced them with highly programmable thermostats that were in the high range of prices. These wouldn't do the job of handling peak periods well, so I got a high priced "learning' version. It was crap.<br />
<br />
The learning thermostats only learn what the programmer wants them to learn, and it was great at anticipating my needs. It decided I liked the AC on at 07:00 and off at night ... exactly the opposite of what I wanted. They tried to predict what temperature I wanted the house at and must have been born in Nova Scotia because they wanted to keep it at around 65F.<br />
<br />
I sent those things back before the 30 day refund period was up. What a waste.<br />
<br />
Then, I built my own <<a href="http://www.desert-home.com/p/super-thermostat.html">link</a>>; I could control them any way I wanted to. Over the years I tried recirculating the air around the house with them, experimented with differing hysteresis curves, used various smoothing algorithms on the temperature readings, etc. Basically, I tried everything I could think of to get the environment the way I wanted it.<br />
<br />
Nothing worked very well. I would still wake up with the bedroom running around 85F at night.<br />
<br />
But, during my experimenting with supercooling the house (look at the posts on supercooling by using the contents search on the top right of the page) I noticed a whole bunch of things that really shouldn't be happening. First the south AC unit was short cycling. Short cycling is where the AC comes on and then shuts off in seconds or minutes. This is NOT a good thing.<br />
<br />
Cycling like this can radically shorten the lifetime of any motor driven device. It causes undue wear on the bearings to be jammed up by the quick start of the motors. It can cause fan blades to slip and that scores the shaft. The air start up can loosen vents and cause rattles. Basically all the things that destroy devices like this. This behavior can also cause a room to be too cold and then too hot within minutes.<br />
<br />
The very most expensive AC units start slow and ramp up to speed, they will run slowly to keep the air moving, they even open and close vents based on the need for cooling in a particular area. But, I'm not Bill Gates; these things are way out of my price range.<br />
<br />
So, I started looking for the cause of this situation on my south AC. TLDR (too long didn't read) the thermostat was in the wrong place. The thermostat was in a hallway like most of the thermostats in the world close to an overhead air return for the AC. Over half the air for the house went through that return. The temperature would drop rapidly in that location when the AC turned on and cause shut off in a matter of a couple of minutes. Then it would rise rapidly back up because it was only the breeze that cooled it off and repeat the cycle.<br />
<br />
Another factor was that I run in and out of the garage a lot. Each time warm air would hit the thermostat and cause the same problem. Add to that the garage is on the other side of the wall and it doesn't have AC. When it heated up, the wall was warmer than the air in the house; cycle started all over again. Obviously, the thermostat had to be moved to get better performance.<br />
<br />
Based on this research, I modified the house code to save the activity of the two AC units and looked at them for a day to see how bad it was. It was pretty bad. Here's a chart of my findings on the first day for the south AC unit:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8cC7B8HoFpxnS4jfwOU68TL2aFkQhddokcovM3BE-zQbxjKINJbo5x_SOl2McRV-tL07hgYY6PQzY-Kr9a9CPxUXAVYR2RFxesJw1oSQjanKuRHK8BaFa0k6hzPykmR_4n7Xhm1PF8Dw/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="594" data-original-width="1576" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8cC7B8HoFpxnS4jfwOU68TL2aFkQhddokcovM3BE-zQbxjKINJbo5x_SOl2McRV-tL07hgYY6PQzY-Kr9a9CPxUXAVYR2RFxesJw1oSQjanKuRHK8BaFa0k6hzPykmR_4n7Xhm1PF8Dw/s640/Capture.PNG" width="640" /></a></div>
<br />
The tall vertical stripes are when the compressor was running, and the jagged line down the middle was the temperature the thermostat was reading. Each shaded long vertical strip is the compressor chewing up power and wearing itself out. Here's a closeup of a couple of them from the middle of the chart:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCFlrjthGxz0ADGw4KGrmkq5q47t_fPMrknjqR5GteZ98hj20S49cSYc8EetrsV31g0xkY6vs1yoLB5e1zQxceQ5TBr0opItdverprycBrYINDiF4rG4KaQ_0nCXUslEhtCeptvuSW_4o/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="591" data-original-width="1576" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCFlrjthGxz0ADGw4KGrmkq5q47t_fPMrknjqR5GteZ98hj20S49cSYc8EetrsV31g0xkY6vs1yoLB5e1zQxceQ5TBr0opItdverprycBrYINDiF4rG4KaQ_0nCXUslEhtCeptvuSW_4o/s640/Capture.PNG" width="640" /></a></div>
<br />
The stair steps in the temperature is due to the granularity of my recording the data. I only mess with one degree changes, so it comes out like this. So, you can easily tell that the hysteresis is three degrees and it takes very little time to overcome that with the AC unit essentially blowing down the hallway from all the rooms. Similarly, the temperature will shoot back up in a similar fashion because that short a cooling interval doesn't really cool anything except the air the it is blowing around. The gap in the middle is because the cumulative impact of a series of cooling cycles finally does cool things down a little.<br />
<br />
When I looked at the North thermostat, it was a different set of environmental factors that added up to a different problem. This thermostat was in a short hallway outside the master bedroom (my room darn it) while the AC unit was venting into that room. There were also a couple of vents that dumped air into the rest of the house to aid there as well. When I looked at it, it looked like this:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNmArVvSst9PJduAKk2CB8lcvhibzGRJWrkPivyrrF-Yx8tZ3hK-LTNEwOlSf4S9ITNzeDMIMGtMiCfpPXxh2V0b6tNax7HtIm-zeGurlqiyFZaMCukCLblHH55pidyd2xOvSnOmqKHFo/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="595" data-original-width="1580" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNmArVvSst9PJduAKk2CB8lcvhibzGRJWrkPivyrrF-Yx8tZ3hK-LTNEwOlSf4S9ITNzeDMIMGtMiCfpPXxh2V0b6tNax7HtIm-zeGurlqiyFZaMCukCLblHH55pidyd2xOvSnOmqKHFo/s640/Capture.PNG" width="640" /></a></div>
<br />
Same things on the graph, compressor run period and temperature recorded by the thermostat. Notice the compressor runs a lot even though the temperature isn't changing? Part of that problem is that the thermostat isn't really looking at the AC activity, it's looking at a completely different area. The rest of the problem is that the two vents into the rest of the house are letting almost a great a volume of air get out there as it allows inside MY ROOM.<br />
<br />
Fine ! I gotta move the thermostats, but where the heck am I going to put them? Also, it's a real pain to move a thermostat. I don't have a real attic, it's an area that is totally filled with insulation about two feet tall. I really, really don't want to go up there --- ever. I could carve out the wall and move the thermostat and then patch up the wall. That's equally unlikely to happen. Instead I experimented with really long hysteresis values. I was up to 10 degrees at one point. That solution was not satisfactory. I also tried running the fan longer to make sure the air got moved. That didn't work well either; it actually made the problem worse.<br />
<br />
Then, I thought about it a bit. I had these temperature sensors <<a href="http://www.desert-home.com/search/label/Temperature">link</a>> all over the house, why couldn't I just use them instead of the temperature sensor inside the thermostat? There wasn't a single reason why not except I would have to change some code in a few places. I took all the code out of the south thermostat related to reading temperature and reorganized it a bit. Now, it would receive the temperature forwarded by the house controller from any of the temperature sensors around the house. I chose a room where the sensor was on an inside wall away from any breeze from the AC directly. The sensor gets air circulation, it just wasn't directly in the cool air path.<br />
<br />
Now, I was ready to test the newly modified south thermostat. The one that was banging the compressor to death with short cycles. Let's see what this accomplished:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibhQc-H0mRvNU_gjxm1PAMYzFiZwnn2Ym_D5i1YE4Ybd7SqkhGiL7yDzp17ixjicXoqgvnYGHfOnxcSTrQaaZGXep3QNk7hqIwK116jExodb_29V2O2t8p9XN8XR6YnJjWYMGYri693fI/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="596" data-original-width="1585" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibhQc-H0mRvNU_gjxm1PAMYzFiZwnn2Ym_D5i1YE4Ybd7SqkhGiL7yDzp17ixjicXoqgvnYGHfOnxcSTrQaaZGXep3QNk7hqIwK116jExodb_29V2O2t8p9XN8XR6YnJjWYMGYri693fI/s640/Capture.PNG" width="640" /></a></div>
<br />
Now, that's more like it. Granted, it was a stormy day and not our usual 100+ temperatures, but look, it wasn't short cycling any more. There are long periods of AC activity and the temperature rises slowly instead of a few seconds at a time. This may look like I'm actually using more power, but I'm not. It's actually about the same because the gaps are longer as well. the big thing was that I wasn't tearing the guts out of my AC.<br />
<br />
I did the same thing with similar results to the North AC, except I also closed off the vents to the rest of the house. Now my bedroom cools down pretty quickly and stays that way for a while.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLbuAcuI9WTaobWVdRgZFB4J_WgQ1oTsA0RPaEd-2VFi-lvr1ombloPuxyRujVp6qaU715eimZImbW-agm1hK91cIJKyqn5Et_3wmgAEQhBkQ3r_4encVxv9iTvKNMolNyxAZjjObAbxA/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="596" data-original-width="1587" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLbuAcuI9WTaobWVdRgZFB4J_WgQ1oTsA0RPaEd-2VFi-lvr1ombloPuxyRujVp6qaU715eimZImbW-agm1hK91cIJKyqn5Et_3wmgAEQhBkQ3r_4encVxv9iTvKNMolNyxAZjjObAbxA/s640/Capture.PNG" width="640" /></a></div>
<br />
Notice that it isn't on all the stinking time blowing air where it isn't needed? The big gap is the 'demand' period where the AC isn't allowed to run 15:00 to 20:00. After the down time, it kicked on and recovered a little after midnight.<br />
<br />
The beauty of this is that I can build a couple of temperature sensors specifically for the AC units and put them anywhere I want. If I want priority in the bedroom, put the sensor by the bed. If I want it for the shower, put it just outside; you get the idea. Basically, this is a priority system now that allows me to carry the priority anywhere I want.<br />
<br />
<rant><br />
I hereby copyright this idea !! Anyone is welcome to do anything similar; heck steal my code if you want, but you commercial shark guys out there better get permission to use this. It's real annoying when you find your code, stolen right off the site and only perfunctorily changed in a book that sells for $35 a copy at a book store. I'm looking for new ideas and find my old ones on the shelf...sigh. I have found my code and ideas all over the web and almost every single time it's attributed; that makes me feel good. When someone is selling it, not so much. This stuff is supposed to be free dog gone it.<br />
</rant><br />
<br />
Anyway, the jury is still out on this idea. I need to watch it over time and see if there are problems with the devices talking to each other, getting out of hand unexpectedly, actually working the same way over time. That kind of thing. One thing I did notice though is that a web only version where there is no control station nearby sucks. It's really nice to be able to lower or raise the temperature by pushing a button on the wall instead of starting up a browser and working through pages to get to it. Now, this could be a cheap tablet, and old phone, or something like that if you want to get fancy, but a nearby control is nice. I like buttons.<br />
<br />
Also, it's a good thing to have a display that shows everything is working OK. I'm currently using the display on the thermostats, but it could be anything that you can see when wandering aimlessly around the house looking for the car keys. This also helps with the, "It's too hot." comments. You can point to the thermostat and show them that it's only 80 and not hot at all. Folk visiting from the East do this all the time.<br />
<br />
Another thing I learned is that AC '<i>experts</i>' are not to be trusted. These things were professionally installed and came highly recommended. They put one thermostat outside the room it was needed in and the other in a breezy hallway next to the air intake and a garage door. In retrospect, I may be to blame somewhat for not asking enough questions, but these were experts hired for their knowledge and experience. I don't have a suggestion on how to handle this problem except to get two or three experts to present proposals and pick their brains. If you are Bill Gates and can afford to do that kind of thing. I even blogged about the unreliability of '<i>experts</i>' a couple of times; my experiences are not good with them. Of course, now that I can put the temperature sensor anywhere I want, it doesn't matter as much.<br />
<br />
See what happens when you start automating your house? Ideas may come slowly, but actually doing them is entirely possible.<br />
<br />
Oh, this is another post that will attract attention from the spammers. If you post advertising in a comment, it will be quietly deleted. Usually the same day. So, don't bother advertising your AC repair company here.davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com2tag:blogger.com,1999:blog-4922503085503427986.post-23157652230591203592018-07-10T19:31:00.002-07:002018-07-11T14:29:11.930-07:00Local Power Politics: APS, AZCC and Things to Think About...Continued<span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">No, this isn't turning into a political blog, although, it would be fun, but this relates directly to my continuing annoyance with my power company Arizona Public Service. I have a few previous posts about how poorly (in my opinion) it's run and how they are using the power of the dollars we pay in rate fees to control local politics and raise rates. In the last post about this <</span><a href="http://www.desert-home.com/search/label/Power%20Company" style="background-color: white; font-family: arial, tahoma, helvetica, freesans, sans-serif;">link</a><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">> I specifically mentioned a particular rate increase that is being contested right now. I'll leave the long description of that item to the reader; simply check out the link I just left you.</span><br />
<div style="background-color: white; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-stretch: normal; font-weight: normal; line-height: normal; margin: 0px; position: relative;">
<br />
What I want to recap here is one particular item that is turning out to be fun. Briefly, an APS customer, Stacey Champion, is petitioning to have the latest rate increase revisited. She contends, and I agree with her, that APS dealt improperly in their presentation of data and impact of the rate increase. A lot of people are behind her in this effort, and two individuals have joined directly in the proceedings to help out and also get some of their own particular opinions aired.</div>
<div style="background-color: white; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-stretch: normal; font-weight: normal; line-height: normal; margin: 0px; position: relative;">
<br />
Naturally, this is becoming an interesting problem for the members of our regulatory commission, Arizona Corporation Commission. Basically, the AZCC is the equivalent of a Public Utility Commission in other states. They have commissioners that vote to control rate increases and act in the public's behalf. Many contend that APS owns some of the commissioners, and it's hard to deny when millions of dollars have been spent by APS on political campaigns locally.</div>
<div style="background-color: white; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-stretch: normal; font-weight: normal; line-height: normal; margin: 0px; position: relative;">
<br />
So, this particular 'Docket' is a hot button right now since some of the commissioners are up for reelection in November.</div>
Now, to the fun part. One of the commissioners Tom Forese sent a note to the people handling the Docket asking for the inclusion of '<i>Staff</i>':<br />
<br />
<blockquote class="tr_bq">
Dear Commissioners and Interested Parties,</blockquote>
<blockquote class="tr_bq" style="text-align: center;">
<div style="text-align: left;">
I would like to request that Staff participate in the matter of Stacey Champion, et al vs. Arizona Public Service. Staff was a party to the rate case, and Staffs [sic] participation will assist me in making my final decision. </div>
</blockquote>
<blockquote class="tr_bq" style="text-align: center;">
<div style="text-align: left;">
I would like Staff to respond by close of business June 29, 2018.</div>
<div style="text-align: center;">
<<a href="http://images.edocket.azcc.gov/docketpdf/0000189371.pdf">link</a>></div>
</blockquote>
<div>
<div style="text-align: center;">
<div style="text-align: left;">
My first question was who is this '<i>Staff</i>' person? Is there a Joe Staff that works there or what? Well, it turns out that '<i>Staff</i>' is the commission's legal staff. Forese is actually trying to inject more lawyers into the mess. These lawyers are the same ones that worked on the previous Docket that is being contested right now.</div>
</div>
'<i>Staff</i>' replied with another note:<br />
<br />
<blockquote class="tr_bq">
Because this proceeding has been underway since mid-February 2018, Staff respectfully requests that a procedural conference be scheduled at the earliest possible date to discuss Staffs participation in this case and to consider this proposed procedural schedule to accommodate Staffs involvement </blockquote>
<div style="text-align: center;">
<<a href="http://images.edocket.azcc.gov/docketpdf/0000189596.pdf">link</a>></div>
<div style="text-align: center;">
<br /></div>
I only quoted the last paragraph because the rest of it is legalese, and you can see it all by following the link above. Below this is a strawman schedule that is proposed so the lawyers can get all their poop in one sock and not look like a bunch of dweebs.<br />
<br />
Notice that the lawyers ask for a conference. In this case it means that a judge presides, and all the folk directly involved have to attend and have their lawyers there. It's really a hearing; you know how lawyers love a hearing. The administrative judge involved, Jane L. Rodda called for a conference (hearing) to be held on July 11th to discuss this and other matters.<br />
<br />
OK, this sounds a little weird on the surface. The commissioners have not attended any of the hearings so far, and have had little obvious involvement. This has been between normal folk and APS's plethora of lawyers. Now, one of the commissioners, actually the chairman of the commission, wants to inject lawyers to tell him what is going on. Initially, I wondered, "Why hasn't he been following this already?"<br />
<br />
Turns out that I wasn't the only one wondering this. Warren Woodward, one of the normal folk that is also directly involved in this with Stacey Champion filed a letter contesting '<i>Staff</i>' involvement. This is the really fun part and I'm going to include most of it below:<br />
<br />
<blockquote>
Warren Woodward, Intervenor in this proceeding, strongly objects to the
suggestion put forth by Staff on June 29, 2018, that a procedural conference be
scheduled in this case to discuss Staffs participation in this case. </blockquote>
<blockquote>
1) This matter can be handled on paper. There is no need to waste the Parties'
time at a conference. </blockquote>
<blockquote>
2) The time to apply for intervention passed on May ll, 2018. Staff missed the
boat. </blockquote>
<blockquote>
3) By virtue of signing the APS rate case Settlement Agreement, Staff is biased in
favor of the rate hike established in ACC Decision 76295, and Staff cannot be expected
1
to be impartial in this case. To wit, Section 40.6 of the Settlement Agreement: </blockquote>
<blockquote class="tr_bq">
<ul>
<li>The Signing Parties shall make reasonable and good faith efforts
necessary to obtain a Commission order approving this Agreement.
The Signing Parties shall support and defend this Agreement before
the Commission. Subject to subsection 40.5, if the Commission
adopts an order approving all material terms of the Agreement, the
Signing Parties will support and defend the Commission's order
before any court or regulatory agency in which it may be at issue. </li>
</ul>
</blockquote>
<blockquote>
4) If commissioner Forese, who suggested Staffs involvement in order to assist
his decision making, wants to better understand the issues in this case, then he can read
the docket, including all the APS customer complaints, both in this docket and in docket
E-01345A-16-0036. There is also nothing stopping commissioner Forese from sitting in
at the hearing and paying attention, something he neglected to do during the APS rate
case in which these unjust and unreasonable rates (that are the subject of this proceeding
and for which Forese voted) were spawn. </blockquote>
<blockquote>
5) In light of all the foregoing, there is really nothing to discuss. Staffs request
for a procedural conference, and Staffs intervention in this case, should be denied.</blockquote>
<div style="text-align: center;">
<<a href="http://images.edocket.azcc.gov/docketpdf/0000189796.pdf">link</a>></div>
<div style="text-align: center;">
<br /></div>
Is this AWESOME or what? Woodward stepped up and actually said what should have been said:<br />
<br />
This herd of lawyers has not been paying attention to this because it seemingly wasn't important, therefore they want to extend the schedule of the hearings and actions. Probably past the election so it doesn't interfere with the sitting commissioners campaign for reelection.<br />
<br />
That the herd also cannot be neutral, or even in favor of the public's interest because they signed off on the rate increase and promised not only to not object, but also to "support and defend" it. Including them will add lawyers that are required to support APS in this matter.<br />
<br />
The Chairman of the Commission himself isn't tracking it and doesn't want to go to the effort of catching up so he wants the lawyers to do it for him.<br />
<br />
I'm going to add something to this that wasn't directly mentioned. More lawyers means that the normal folk that are trying to get this reheard will have to spend more money answering the new lawyer's questions. More time will mean more expense and delays so this falls further behind in people's minds. We all know that more lawyers always cost more money, and APS doesn't care at all. They are guaranteed a reasonable profit by the regulating body regardless of how badly they run their business.<br />
<br />
One other thing, how could a section like 40.5 quoted by Woodward above ever have been signed? The parties to this 'settlement' were the solar industry, other power companies and such. My Lord, it also included Walmart and Sun City for crying out loud. There's a paragraph in there that says they will defend it?<br />
<br />
What?<br />
<br />
And it's really there. I found it on page 31 about half way down the page <<a href="http://images.edocket.azcc.gov/docketpdf/0000178413.pdf">link</a>>. If you want to see all the documents and interactions look here <<a href="http://edocket.azcc.gov/Docket/DocketDetailSearch?docketId=20303#docket-detail-container2">link</a>>, but it's really, really boring.<br />
<br />
OMG!, do we have the best regulatory body that money can buy or what?<br />
<br /></div>
davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com0tag:blogger.com,1999:blog-4922503085503427986.post-5488141207743165202018-07-05T18:36:00.000-07:002018-07-05T18:38:47.722-07:00PZEM-016: Another Chinese Power MonitorI really like the PZEM-004 that I picked up just to see what it could do <<a href="http://www.desert-home.com/2018/05/more-on-house-power-monitoring-prebuilt.html">link</a>>, in fact I built the monitor and control system for my water heater with it <<a href="http://www.desert-home.com/2018/05/monitoring-water-heater-power.html">link</a>>. This thing has really taught me a lot about water heaters and how much money my solar water heater actually saves me.<br />
<br />
That led me to look at other devices available from China that could actually help out around the house. Well, the same manufacturer makes a different model, the PZEM-016 that does much the same, but even better for my purposes. This one does the measurements for me, but also has an RS485 serial interface so I can watch more than one of them.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP_xUaknWW9a2jBcyOIZZjjRHhFD_q7BgRQBZOp6ykG3f2pw-zssCU6Px7_Fr41U6jmtmeHAjHvQANwKyC2UVKuZ2hHcX2wFCYHMfc8nyFhwsNkv9yqPAvjC6WYGH6yv853qHIJGQDqT4/s1600/IMG_20180626_111829.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP_xUaknWW9a2jBcyOIZZjjRHhFD_q7BgRQBZOp6ykG3f2pw-zssCU6Px7_Fr41U6jmtmeHAjHvQANwKyC2UVKuZ2hHcX2wFCYHMfc8nyFhwsNkv9yqPAvjC6WYGH6yv853qHIJGQDqT4/s640/IMG_20180626_111829.jpg" width="640" /></a></div>
<br />
OF COURSE I took it apart:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhySA4o83YmFPvY188iFc2kkB4gpEjOorDRz79xqSWK7BExu0pofAOM1gRv_H6CzzBhipbY1RpiWcHHRsMaFPHqdDO-m4-lJ6U7U6IYIiU-qROWwwjUHlyPV4ervjeLyMO5xYsZuLpUVxw/s1600/IMG_20180626_111804.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhySA4o83YmFPvY188iFc2kkB4gpEjOorDRz79xqSWK7BExu0pofAOM1gRv_H6CzzBhipbY1RpiWcHHRsMaFPHqdDO-m4-lJ6U7U6IYIiU-qROWwwjUHlyPV4ervjeLyMO5xYsZuLpUVxw/s640/IMG_20180626_111804.jpg" width="640" /></a></div>
<br />
It's built extremely similarly to the 004 model I already wrote about. The big difference, of course, is that this one doesn't have any display. That's OK, I'll take care of that part. But first I have to actually talk to the darn thing. I've already worked with RS485 using an arduino when I put together my pool controller <<a href="http://www.desert-home.com/p/swimming-pool.html">link</a>>, so it isn't too strange, but it still intimidates me a bit.<br />
<br />
I dug around in my boxes of left over pieces and found an adapter to go from TTL serial to RS485 and combined it with an arduino and started working on getting it going.<br />
<br />
Naturally, it was a pain in the bottom to talk to the device. I emailed the manufacturer when I first ordered the devices (yes, I got five of them) for as much documentation as they could provide. They sent me a manual that was actually pretty easy to read and understand. In it they said that the device was Modbus compatible, and that really impressed me. If you look up Modbus, it is an industrial protocol for machines. It can control a large number of devices in an industrial setting and should have code that I can leverage to get this working.<br />
<br />
Right ! Things never ever work out that easily. I did find protocol libraries that I could use on the arduino, but have you ever looked at Modbus? I thought the documents for ZigBee were obtuse, these are where ZigBee learned how to do it.<br />
<br />
Frankly, I chucked the idea of using a Modbus library down the tubes pretty quickly in favor of a much simpler approach. When I looked at the messages that the PZEM 016 actually used, there were only a few of them and the responses were pretty much canned and easy to work with. I just sat down and put together a message to read the data from the device and sent it to see what happened.<br />
<br />
No, it didn't work first try. No, it didn't answer on the second or third try either. One has to understand that if you don't get the message exactly right, you'll never get a response from the device. In my case, I was messing up the checksum. Fortunately, in the last couple of years there have been many sample checksum implementations and online calculators implemented. I tried a couple with my data and hard coded the actual message I needed to send, that actually got me a response.<br />
<br />
Then I spend a couple of afternoons working the kinks out of getting the response and using the checksum to validate the message. Once I could send and receive a single message reliably, I was ready to start adding code. Naturally, it encountered problems. It seems that short messages would cause checksum problems ... sometimes. So much for the idea that a computer does the same thing each time. I worked at this for quite a while without resolution. Here's a couple of screenshots of the arduino serial interface. The first one is using a message that requires a short response and the second is a longer message. The interesting thing is the accumulators I stuck in the code to count the checksum errors.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimYSBtm-vxWELoGMyXMtWREfewOfoDDBYgYKUMXSn0PcNDUWEwEs2ur3h8Z9jJ28xmHmZI0l1uju0zw5PMi58LdfbdCkIUmQeDlCOMf4IAUELwo9L7VFU_-JBBSRsNAO9cZGlbGGkjErw/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="463" data-original-width="668" height="442" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimYSBtm-vxWELoGMyXMtWREfewOfoDDBYgYKUMXSn0PcNDUWEwEs2ur3h8Z9jJ28xmHmZI0l1uju0zw5PMi58LdfbdCkIUmQeDlCOMf4IAUELwo9L7VFU_-JBBSRsNAO9cZGlbGGkjErw/s640/Capture.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir2uMNX5Hom7KNrMrQq-94srb-N3SBuqKZ1ZW2LvUCzENdOCprbJcrjl7VezuKtDEz5cy0tHeuaRvScDh0UOJXxR5Yd8ez57o5XOMbnQ7-aexoQ4yAzI3RkZI67bAFcIfRIPlxdXViApg/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="460" data-original-width="670" height="438" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir2uMNX5Hom7KNrMrQq-94srb-N3SBuqKZ1ZW2LvUCzENdOCprbJcrjl7VezuKtDEz5cy0tHeuaRvScDh0UOJXxR5Yd8ez57o5XOMbnQ7-aexoQ4yAzI3RkZI67bAFcIfRIPlxdXViApg/s640/Capture.PNG" width="640" /></a></div>
<br />
The short response has 34 checksum errors out of 100 tries while the second longer response has only one out of 100. Same code and timing in both cases...sigh.<br />
<br />
For the rest of my experiments I used messages that required a long response. Eventually, I implemented code to handle reading the values from the device, changing the address of the device, resetting the energy (kWh) accumulator on the device, etc. I actually had it working pretty well.<br />
<br />
Then I outfoxed myself and decided to modify the code to handle more than one device on a single pair of wires. This was actually easier than I thought it would be. The idea is that each device on an RS485 line has a different address, and you address the one you want to control or receive values from. In theory I could have several of these being read by a single arduino and monitor a lot of things around the house.<br />
<br />
But, that would mean unique addresses and unusual delays and strange things happening. Gritting my teeth to the point of pain, I dug into it.<br />
<br />
One of the initial problems I ran into was not knowing what would be coming after I sent a request out on the line. Sure, it should be predictable, but it never works out that way. When one does a serial read, you can get back something that is expected and just follow the bytes until you reach the end. We've all seen this: a protocol has a leading byte to tell you the beginning of the response, then a length to tell you how many bytes are to follow. You simply get the length and then read until the rest of them come in.<br />
<br />
Suppose that is the last byte you see though. Or suppose there's a burst of noise on the twisted pair and you get about a thousand more? Obviously you can't rely on a length in the incoming characters until you can verify the integrity of the message by reading the checksum way out there at the end of the message. Let's make this problem even nastier, RS485 lines can ring. That means that you can get strange interference on the line that will mess up any message that is running around on it. You have to allow for settling times and such after messages fly around.<br />
<br />
The problems are not insurmountable though, industry uses these protocols and devices every day. If they can make them work, I can get them to work well enough for my place. And, I think I did. Here's the code I came up with to read a message coming in:<br />
<div style="text-align: center;">
<br /></div>
<div style="background-color: #c0ffff; border-style: solid; border-width: 2px; height: 200px; overflow: auto; width: 650px;">
<span style="font-family: "courier";"><span style="font-size: 13px;">int getit(){</span></span><br />
<span style="font-family: "courier"; font-size: 13px;"> memset(rxbuf, 0, sizeof(rxbuf));</span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> int i = 0;</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> if (digitalRead(debugPin)==LOW)</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> Serial.println(F("Data from port:"));</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> unsigned long startTime = millis();</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> unsigned long lastChar;</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> boolean startchecking = false;</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"><br /></span></span>
<span style="font-family: "courier";"><span style="font-size: 13px;"> while(millis() - startTime < readTimeout){</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> if(pMon.available() > 0){</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> rxbuf[i++]=pMon.read();</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> if (digitalRead(debugPin) == LOW){</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> print8Bits(rxbuf[i-1]);</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> }</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> delay(1);</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> lastChar = millis();</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> startchecking = true;</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> }</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> if (startchecking && millis() - lastChar > 4)</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> break;</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> }</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> if(i == 0){</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> noResponse++;</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> if (digitalRead(debugPin == LOW))</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> Serial.println(F("NONE"));</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> return(0);</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> }</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> if (digitalRead(debugPin) == LOW)</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> Serial.println();</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> uint16_t calcCrc = makeCrc(rxbuf, i-2);</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> uint16_t rxcrc = word(rxbuf[i-2], rxbuf[i-1]);</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> </span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> if (rxcrc != calcCrc){</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> Serial.println(F("Checksum error"));</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> if (digitalRead(debugPin) == LOW){</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> Serial.print(F("Calculated "));</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> print8Bits(highByte(calcCrc));</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> print8Bits(lowByte(calcCrc));</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> Serial.println();</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> Serial.print(F("Received "));</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> print8Bits(highByte(rxcrc));</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> print8Bits(lowByte(rxcrc));</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> Serial.println();</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> }</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> checkSumErrors++;</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> return(0);</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> }</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;"> return(i);</span></span><br />
<span style="font-family: "courier";"><span style="font-size: 13px;">}</span></span><br />
<div style="font-family: courier; font-size: 13px;">
<br /></div>
</div>
<br />
What I do is set a one second timer around the entire message and when a single character comes in, I set a intercharacter timer of four milliseconds for the next character. This way the most I can wait for a message is a second and then if it just stops mid message, I only waste four milliseconds before I give up and try again from the beginning. This works really well to cut the necessary time to read a message down as well as notice a failure quickly. I was pretty proud of this piece of code until a little later.<br />
<br />
When I tried to send messages quickly, there were problems. One response would pile up on top of another from a different device. This required a delay between devices so things could quiesce a bit. Long painful experience has shown me that setting delays in code is just programming around a problem rather than solving it, but sometimes you just have to wait for other devices to stabilize before moving on. This is one of those cases because the devices on the line don't send you a ready message.<br />
<br />
One other thing you'll notice in the code above is that I found a new debugging tool, an input pin. I use pin 3 on the arduino as a digital input pin and check to see if it is grounded before putting debugging messages out. If it's running and I see something I don't understand, just ground pin 3 and the debugging messages come out to the screen. I really wish I had thought of this about eight years ago.<br />
<br />
The other pin I use for a special purpose is pin 2. If it's grounded I go into a special piece of code that allows me to change the address of a device. All the devices come addressed as one initially and I have to change them to something else to actually use them. So, if I add a device to the line, and boot the arduino, the first thing it does is check for a device at address one, and when it finds one, it tells me to change the address and hangs up in a hard loop.<br />
<br />
I plug in a wire to pin 2 and then boot the arduino again. It senses the pin and goes into special code to allow me to readdress the device. This is also a good time to recompile and add another device to the device table. Yes, I took the cheap way out. I add a device in the code by changing a number and entering the default values as well. It just wasn't worth the time to come up with a more elegant solution for something that will happen six or seven times ... ever.<br />
<br />
Basically, I'm done with being able to control and read this device, but that is the beginning of a greater project I've been thinking about for a long time. I'm going to put several of these in an enclosure and measure the power usage of my major appliances. The 2 AC air handlers and the 2 AC compressors are big users of power and I want to track their operation. The stinking dryer that has cost me so much money because people keep using it is another one <<a href="http://www.desert-home.com/2018/06/supercooling-in-desert-may-22-2018-day.html">link</a>>. I messed up though and only ordered five of the devices. I need one more for the kitchen stove. It'll be on order tomorrow probably.<br />
<br />
Before the more astute of my readers comment on how an appliance that uses both 110 and 220 like a dryer or kitchen stove can't be measured with a single current transformer because one leg is referenced to neutral, go look at this post from quite a while back where I found a way <<a href="http://www.desert-home.com/2014/11/ok-now-i-have-question-i-need-help-with.html">link</a>>. Yes, Dorothy, there is a way to do it.<br />
<br />
Here's a little sample of two of the devices monitoring my light that has two bulbs in it. I used the exact same setup when I worked on the 004 version.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqTQ3CPDtQkngvWHgBEY4W79PZuTfxLXlM38GoXbWfbhiKRgYUQd03YFTQpMAIH8NOgN9fDzsyyX0zjzQXCCnI5UZumYy2WhlYiFXDFHj-hv7kRZo9rNc8sTk1hCwOJz4AHTQd6Yprm0/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="745" data-original-width="671" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqTQ3CPDtQkngvWHgBEY4W79PZuTfxLXlM38GoXbWfbhiKRgYUQd03YFTQpMAIH8NOgN9fDzsyyX0zjzQXCCnI5UZumYy2WhlYiFXDFHj-hv7kRZo9rNc8sTk1hCwOJz4AHTQd6Yprm0/s640/Capture.PNG" width="576" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I have the debugging pin grounded (that is so cool) and I'm reading the light with one bulb turned on. Notice the difference in the 'Energy' value? One of them has been recording usage longer than the other. They both read basically the same thing for the other measurements because they are hooked to the same thing.</div>
<br />
Adding another monitor to the stuff is simple, Wire it in, ground pin 2, reboot, change the address to 4, change a value in he code, recompile and away it goes. Since this is one of those devices that will just run for a long time without changes, that should be fine.<br />
<br />
Here's a picture of the setup I used to get it going.<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7ETxcQdXhUWOWXIg52ciiqyNOcZEc-Xp5Wlihl8ZUV1BUf1eOxL2pY1jgczHsbNWfGjt7M-TCchQK59aXDOJgR4mHVFYyRmMWLgJ1OOf-GE9il-5Ar9puA3yF85BiEwXBniybxZc9OHs/s1600/IMG_20180705_154343.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7ETxcQdXhUWOWXIg52ciiqyNOcZEc-Xp5Wlihl8ZUV1BUf1eOxL2pY1jgczHsbNWfGjt7M-TCchQK59aXDOJgR4mHVFYyRmMWLgJ1OOf-GE9il-5Ar9puA3yF85BiEwXBniybxZc9OHs/s640/IMG_20180705_154343.jpg" width="640" /></a></div>
<br />
The board in the upper left is the RS485 converter and the CTs are off on the right hand side.<br />
<br />
Next, mount them in something, wire them up and hook the CTs around the power lines in the mains panel. I will add an XBee to the arduino and send messages back to the house monitor just like I did for the water heater. I fully expect to add at least one solid state relay (SSR) to the project to make sure the dryer is under my complete control. No more running the dryer during peak period for me.<br />
<br />
Have fun.davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com21tag:blogger.com,1999:blog-4922503085503427986.post-44761596013841390962018-06-27T23:01:00.000-07:002018-06-28T08:34:24.498-07:00Microwave Trouble: Sometimes a Stupid Question is Just What You NeededSeveral times now I've mentioned my microwave oven in passing. It's given me a couple of problems over the years: I managed to explode a coffee cup and the liquid got into the turntable motor, and the entire control board went belly up on me. The turntable motor was easy; I just got a new part and replaced it. The control board was harder, that took a call to GE because I wasn't sure which of the four boards was acting up. I couldn't find a schematic on the darn board to isolate it.<br />
<br />
The idea I had was to use the best appliances in the kitchen I could and then not have to ever replace them. The fridge has failed twice; the freezer several times, the range once, the dishwasher four or five. Most of the repairs were done by a real GE repairman using real GE parts except the freezer that had a piece of crap defrost timer in it. So much for the idea of getting top-of-the-line appliances.<br />
<br />
But, don't misunderstand, I'm not rich and wasn't rich when I got them. I caught a good sale, the prices were much, much lower then and I had just sold my old house. I was also naive about the actual quality of appliances.<br />
<br />
The microwave was working fine with a little fan noise and then the noise got really loud. It still worked, but you couldn't stay in the kitchen with it. Obviously, the bearings in it had failed. Right? Not so, the stupid squirrel cage blower had expanded, rubbed against the fan enclosure and started to get ripped apart. Nice.<br />
<br />
Of course, I had to take it apart to find this out. This microwave is a ZSC2001FSS02 and looks like this:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjSbtnpkp3HiNC3yEOgutyQrYO6gO0bOwhEjT9dC5EfIlahZlgbSN4JR3dnt3Ovxl1SZql49JxESlsx7OIuu9fLL8_xYeZ43VMJwSqgSNEp9q5EqszQxKx0OkO_i8_aYE-taFRknH6k18/s1600/Capture.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="365" data-original-width="480" height="486" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjSbtnpkp3HiNC3yEOgutyQrYO6gO0bOwhEjT9dC5EfIlahZlgbSN4JR3dnt3Ovxl1SZql49JxESlsx7OIuu9fLL8_xYeZ43VMJwSqgSNEp9q5EqszQxKx0OkO_i8_aYE-taFRknH6k18/s640/Capture.jpg" width="640" /></a></div>
<br />
I really like this oven. It's microwave as well as a halogen heated convection oven. It'll do three big baked potatoes in around 15 minutes without waiting for it to heat up. After I got it out of the cabinet and took the lid off to tell what was making all the noise, I looked for the part. No stinking luck; well sort of no luck.<br />
<br />
The GE parts web site didn't even list a part number for the blower. It simply wasn't there. Sears listed a part number, but it was shown as "Not Available". Partsdirect showed the number and said the factory didn't supply it anymore. I used the part number and searched for about an hour and couldn't find one. Being a resourceful desert dweller, I went looking for the manufacturer since the name was right on the label, Oh Sung and the part was OBB-2009X1 or maybe m051004.3R. Once again, no luck.<br />
<br />
I did find the manufacturer, but I really didn't want to spend a week exchanging emails and then maybe a month getting something from them. So, I went looking for a replacement squirrel cage to put in since the existing motor was working fine. The fan looked like this:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx0eC7ZJ7077qG8MeSvVGqGeyDbTCMTulSxLphI7jOhn8bmPE7fdaCYjvrQaQMoGIH_XWI2svjFuOM7_NG7CVJfgH1gpVYknAOljoortf2qN2aFs85QvxF-w2f4pfxVrQv6KPXjewX5dk/s1600/2018-06-18+14.19.05.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx0eC7ZJ7077qG8MeSvVGqGeyDbTCMTulSxLphI7jOhn8bmPE7fdaCYjvrQaQMoGIH_XWI2svjFuOM7_NG7CVJfgH1gpVYknAOljoortf2qN2aFs85QvxF-w2f4pfxVrQv6KPXjewX5dk/s640/2018-06-18+14.19.05.jpg" width="640" /></a></div>
<br />
See why it was making noise? Ignore the grease, I didn't bother cleaning it up for the picture. When I pulled the blower assembly apart and looked at the actual squirrel cage, it was worse than I thought:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj638eBY4gMTIXn_yKoI7JXXF9z03dB7B7Nyh7E9p69-zx7h_sB38MjGP15kxC_Yc1EDv3NuC7-Y4JOU9TSBRUFDKyCf-mhqBicIPMyiO36fIMPlfkeCyXPUzPr2Part0rskKbQPDIH5Eo/s1600/2018-06-18+14.23.09.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj638eBY4gMTIXn_yKoI7JXXF9z03dB7B7Nyh7E9p69-zx7h_sB38MjGP15kxC_Yc1EDv3NuC7-Y4JOU9TSBRUFDKyCf-mhqBicIPMyiO36fIMPlfkeCyXPUzPr2Part0rskKbQPDIH5Eo/s640/2018-06-18+14.23.09.jpg" width="640" /></a></div>
<br />
I found the missing pieces inside the blower cover. I had no luck at all finding a replacement for this. The only squirrel cages I found were for HVAC systems and such and they were waaay too large to do me any good.<br />
<br />
OK, fine. I'll get something similar from a different microwave and somehow make it work. I switched over to ebay and started looking. There were a a lot of microwave blowers of different styles and sizes. None of them mentioned how big they were, just the various part numbers from the microwaves they were supposed to fit. It was sort of a order-something-to-see-if-it-works kind of thing. I hate that since it could take a long time and cost a lot of money in mistakes.<br />
<br />
But, I did it anyway. I ordered a blower from a GE Advantium Microwave Oven that looked similar to the one I had in the squirrel cage construction:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheO9TTUJOScE5S0NdWJ6xUzY_sfNDVIgfZjqw4oCtsaMQUcCNqJKLAw0WLfK09_LQ4yhzG86U1L-VH-lUB2zouaz5GrBMjN-_qtxOPkXupe6qP6TO8_-R17adQg1I-6BUlExylZDLhWVs/s1600/Capture.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="375" data-original-width="500" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheO9TTUJOScE5S0NdWJ6xUzY_sfNDVIgfZjqw4oCtsaMQUcCNqJKLAw0WLfK09_LQ4yhzG86U1L-VH-lUB2zouaz5GrBMjN-_qtxOPkXupe6qP6TO8_-R17adQg1I-6BUlExylZDLhWVs/s640/Capture.jpg" width="640" /></a></div>
<br />
And, that was a mistake. I took it apart and the squirrel cage was the same diameter, but longer and wouldn't fit inside the old housing. The old housing mount wasn't plastic like this one, it was sheet metal:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVuBG1JCuqelKlG8fX7KIQchztFkHySMsNQN49AbUy3ndFuTLLQzE08A9LEbSUWjXrmJ_JF_ybpljB7WfwjKZLsi0dwbWL-zM9fc0U0IQ_XIwL3Hquz84GGr_AJ17qEZZfujPUuhAWCno/s1600/2018-06-18+14.18.11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVuBG1JCuqelKlG8fX7KIQchztFkHySMsNQN49AbUy3ndFuTLLQzE08A9LEbSUWjXrmJ_JF_ybpljB7WfwjKZLsi0dwbWL-zM9fc0U0IQ_XIwL3Hquz84GGr_AJ17qEZZfujPUuhAWCno/s640/2018-06-18+14.18.11.jpg" width="640" /></a></div>
<br />
So, I just tried to mount the new(er) housing in the same place:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIQMeR74l3Jl3bTytCBdkkngzZe_xzaVrsH82fgQeSdOPwQ-m-ioEaLznlweg68mjdAqM-SDifnKS3S60jf7rPflvrdty9Y03TmNxXJoiFoPVy6QeLnXBqJdP-Ua23Qb3491dZIgf_5V0/s1600/IMG_20180624_181908.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIQMeR74l3Jl3bTytCBdkkngzZe_xzaVrsH82fgQeSdOPwQ-m-ioEaLznlweg68mjdAqM-SDifnKS3S60jf7rPflvrdty9Y03TmNxXJoiFoPVy6QeLnXBqJdP-Ua23Qb3491dZIgf_5V0/s640/IMG_20180624_181908.jpg" width="640" /></a></div>
<br />
That didn't work out well. See how it protruded above the top of the cabinet? Here look from the side:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf5zc046yUOIVoYRR1lZgAn6Oel1g3EowTHGe40DiJjdfKEeE55C18biP7R0DQYq68Gi8eFzyObA92wcU-dC-yT4quXELAulutJzQA5hPzB4VCuVmrkpDuMgrxFcDzCaEUOVZWSGVnG-w/s1600/IMG_20180624_181928.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf5zc046yUOIVoYRR1lZgAn6Oel1g3EowTHGe40DiJjdfKEeE55C18biP7R0DQYq68Gi8eFzyObA92wcU-dC-yT4quXELAulutJzQA5hPzB4VCuVmrkpDuMgrxFcDzCaEUOVZWSGVnG-w/s640/IMG_20180624_181928.jpg" width="640" /></a></div>
<br />
At this point I was ready to cut a hole in the microwave cover and just let it stick through.<br />
<br />
The fans were longer and wouldn't fit inside the old squirrel enclosure and the new enclosure wouldn't fit inside the oven. The next try involved making room inside the old housing for the fans to stick out through the squirrel cage cover. I had to use the new motor because the shaft was longer to handle the longer squirrel cages. There was enough room and the fans would only stick out about a quarter inch, so why not?<br />
<br />
About an hour later I had the modification done and now I could mount the new motor to the old metal brackets and put the thing in place except, <i>the new motor was wired differently</i>. The new motor had six wires and the old one had five. I actually hooked it up though to see what would happen (yes, I was <i>that</i> disgusted by then) and the new motor wouldn't start turning. I could get it going by giving it a push, but it wouldn't start on it's own. The start capacitor was wired differently. These motors all have similar wiring, so I should be able to wire it to match ... somehow.<br />
<br />
The plug for the motor was one of those that one could remove the pins and rearrange them, but I couldn't figure out how to do it. Yes, I tried the good old paper clip and small screwdriver trick, but the method evaded me. So, I'm sitting there, on the floor, scratching my head and considering just cutting the wires and using some heat shrink and solder to rearrange them when my girlfriend piped up, "This may be a stupid question, but couldn't you just take the rod out of the new motor and put it in the old one?"<br />
<br />
Advice to all men, never, ever tell them that they asked a stupid question. The minute I heard it I said, "No, because it's actually part of the armature and it would destroy the armature to try and get the rod ..." I trailed off because I realized that she didn't have a clue that the shaft was integral to the armature, and she really meant to switch the armature. Crap, why didn't I think of that.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvB_rhMEHROLQf8iD4INyBNvYEaXmoJDhcQNjMckSrdvrtZdfjVy8RNTr1EikaA9rjVY-9fofVFzYX4QNSVNy5SFyG6_1zKd42MPyz3Y6uNvC21WuFtLKsZa_WrVCVltu-m0sxo_5yT3c/s1600/IMG_20180626_112157.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvB_rhMEHROLQf8iD4INyBNvYEaXmoJDhcQNjMckSrdvrtZdfjVy8RNTr1EikaA9rjVY-9fofVFzYX4QNSVNy5SFyG6_1zKd42MPyz3Y6uNvC21WuFtLKsZa_WrVCVltu-m0sxo_5yT3c/s640/IMG_20180626_112157.jpg" width="640" /></a></div>
<br />
<br />
I took the motors both apart; switched the armatures; installed the old housing (with the fan holes modified); the old motor and its correct wiring and newly installed armature with longer ends and it worked like a charm. These motors are mass produced for various companies around the world. The windings in the stator are sometimes different to get two or more speeds, but you can choose to use only one speed if you want. The armatures are all the same and you can move them around as needed. In this case, I needed the longer shaft on the armature combined with the windings from the old stator to match the wiring in the microwave. Really glad she was over watching me flail around.<br />
<br />
Never ever tell a woman that she had a stupid idea. Her simple suggestion was exactly the thing I needed to get this to work.<br />
<br />
I'm on the watch out for a truly suitable replacement, but don't have the pressure of a dead microwave hanging over me. I may contact the manufacturer for help in sourcing parts to see if I can get any help there. They may even have metal squirrel cages for these, and that would eliminate the problem forever. Failing that, I may go to an appliance store and prowl through their supplies to see what I can turn up. Or a junk yard.<br />
<br />
And, what did I learn from this experience?<br />
<br />
Mostly, I learned to listen.davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com6tag:blogger.com,1999:blog-4922503085503427986.post-33573647250528604562018-06-14T16:17:00.000-07:002018-06-16T21:50:04.927-07:00Local Power Politics: APS, AZCC and Things to Think About.In my last political (well sorta) post I described how the local power company APS is organized and regulated by our Arizona Corporate Commission (AZCC) <<a href="http://www.desert-home.com/2018/02/local-power-politics.html">link</a>>. After that post and a few I did on local social media, I got a couple of requests to put this stuff all in one place. Well, I have a place to put it, and I'm getting tired of posting it over and over again, so here is my collection of gripes about our own AZCC and the power company APS. I decided to post this stuff on the blog because it related very directly with my efforts to keep the power bill as low as possible and the pitfalls, stumbling blocks and walls along the way.<br />
<br />
I'm linking them all together on the (newly added) subject of 'Power Company' over on the top right of this page. Just scroll down to the 'P' and click on it.<br />
<br />
The idea is that I can just put up a blog post, and then use a link to expand on my findings or thoughts easily without having to type them in all over again. Clever right? It also means that I can hit and run on social media. That means I can just slap a link on there and go off to the next place and do the same. There's a lot of social media sites that discuss this kind of thing out there.<br />
<br />
No, I'm not a social activist, I'm a customer that is tired of getting raked over by politicians and corporations that are supposed to exist in our best interest.<br />
<br />
Therefore, here are three 'Dockets' and one 'Announcement' that are recent and directly impact me and my neighbors in this area. They're real and verifiable. I try to put in links for the various items so people can double check me. Some of the text is my opinion, feel free to comment.<br />
<b><br /></b>
<b>AZCC Docket # E-01345A-18-0111 - <i>In the matter of the application of Arizona Public Service Company for approval of its Rate Rider RCP.</i></b><br />
<br />
Last month (May, 2018) APS applied to the AZCC for a modification of the "rcp export rider for new on-site solar." This is currently being heard by the commission with no decision yet.<br />
<br />
But, what the heck is this?<br />
<br />
They invent names and acronyms to make it easier to describe things, but it also complicates reading this stuff to the point where people just give up and wander away. Resource Comparison Proxy (RCP) is a complicated series of observations to gather data, then calculations to show how much APS should be paying solar customers, people with solar that produce an excess of power and return it to APS.<br />
<br />
What this is, is if your solar was installed after the cut off date, September 1, 2017, they want to change what they are allowing (as credits) for your excess power. Currently it's shown as $0.12900/kWh, almost 13 cents for each kWh you don't use and give to APS, and they want to lower it to $0.116 a little over a cent less.<br />
<br />
They actually claim that it should be zero, but they're not going for that yet.<br />
<blockquote class="tr_bq">
"... the avoided transmission
and distribution capacity cost credit to be applied to the RCP should actually be 0%."</blockquote>
They already charge much more to supply power than they pay for it from the excess solar people provide, and now they want to lower that payment (actually credit). This is a decrease of over 10% to them. Essentially they're asking for a 10% decrease in what they agreed to just last fall in the last rate increase decision.<br />
<br />
Yes, it's all above board and public in AZCC Docket #E-01345A-18-0111 and it's supporting documentation, but how many have heard about it? Is the news going nuts on this? Have you received any mail about it?<br />
<br />
But wait you say, just last year APS agreed not to file for another rate increase until much later. That's completely true, but they're not asking for a rate increase, they're asking for a modification to a rider on your bill. See how it's done? You pay more, but they didn't do it, it's a rider on your bill. When you call them about it, they tell you it was approved by the AZCC.<br />
<br />
Why aren't the solar companies complaining about this? Actually, the solar association has filed a response, they're angry that APS is attempting an end run around other agreements. For whatever good it will do.<br />
<br />
Those that have solar already are managing to skate past it right now, but APS will be back before the AZCC soon. Those that are getting new solar will be impacted severely by the new rules, so this is a concern that everyone should be interested in.<br />
<div>
<br /></div>
<div>
<b>E-01345A-18-0003 - <i>In the matter of the application by Arizona Public Service Company to Implement Tax Expense Adjustor Mechanism.</i></b></div>
<div>
<br /></div>
<div>
This docket is actually in our (the customer) favor. When President Trump's tax changes came into effect, it lowered APS's tax rate to 21%, and they saved money. Someone realized, then insisted that APS revise their bill to reflect the savings instead of keeping it as a windfall. This was done under dockets #E-01345A-16-0036 and E-01345A-16-0123. The amount is a tiny percentage per kilowatt hour, but amounted to about $10 on my last bill.<br />
<br />
<div>
The adjustment rate is supposed to be $.004258 per kWh, so the more you use, the more you get deducted from your bill. I question why they are paying it back by the kWh, it was a percentage decrease in taxes, why wasn't it a percentage decrease in our bill? When I looked closely at the docket, it was clear that they decided to play tax games with the requirement and deducted for various other things. They got to keep a heck of a lot of this windfall against their own expenses. One could also make a pretty clear case for discrimination; they get windfall money, then when caught, return it to their biggest customers by returning it based on how big their bill was. Our own APS sticking its hands in our pocket again. (actually, I may use that line in a complaint to the AZCC)</div>
<div>
<br /></div>
However, this also helps disguise the credit for money APS is saving in taxes as something APS is doing for us. It's not them giving us something, it's them not stealing something else from us. They even called it "TEAM" for Tax Expense Adjustor Mechanism, and shows up on the bill as "Tax Expense Adjustor."</div>
<div>
<br /></div>
<div>
<div>
<b>PUBLIC NOTICE OF APS'S REQUEST FOR APPROVAL OF A FOUR</b></div>
<div>
<b>CORNERS SCR ADJUSTMENT (DOCKET NOS. E-01345A-16-0036 AND</b></div>
<div>
<b>16-0123)</b></div>
<blockquote class="tr_bq">
"On April 27, 2018, APS filed a request for a Four Corners SCR Adjustment to allow recovery of an annual revenue requirement of $67.5 million. APS estimates that the average residential monthly bill impact would be an increase of approximately two percent. A copy of the request is available from APS azenergyfuture.com), and at the Arizona Corporation Commission's eDocket website (edocket.azcc.gov), for public inspection in the above-referenced docket numbers"</blockquote>
</div>
<div>
The item above and the quote was one of those inclusions in the bill that we all toss out while looking to see how much they gouged us this month. What it's referring to is the pollution lowering devices called "Selective Catalytic Reduction" that they are installing at the Four Corners Power Plant. That particular power plant is coal fired and was cited for pollution. It's a long story beyond this author's willingness to write about right now. </div>
<div>
<br /></div>
<div>
But, quoting directly from the AZCC filing:</div>
<blockquote class="tr_bq">
"(SCR Adjustment) to permit recovery of a $67.5 million annual revenue requirement."</blockquote>
<div>
You certainly see what is going on, the clue should have been "recovery." They want to pass the 67 million dollar per year cost of this stuff to their customers. Another quote from the same document:</div>
<div>
<br /></div>
<div>
<blockquote class="tr_bq">
"That would equate to an approximate 2% customer base rate bill impact. Additionally, APS requests that the SCR Adjustment become effective as soon as possible, but no later than January 1, 2019"</blockquote>
</div>
<div>
Yes, you read it right, they want to add another 'fee' to the bill to cover this and this one is a straight 2% increase in the base rate. Ever wonder why the base rate applies to all customers. This should give you a hint. You can read it yourself at <<a href="http://www.azenergyfuture.com/getmedia/45034eeb-7c34-4407-8349-ff92188492b5/Four-Corners-SCR-Adjustment/">link</a>>. It's also on the public record at the AZCC site under the unassuming name: "Motion/Request - Miscellaneous," but I suppose that's a little less noticeable than, "Motion to Screw Our Customers into Paying for Our Mistakes." The link to the document there is <<a href="http://www.azenergyfuture.com/getmedia/45034eeb-7c34-4407-8349-ff92188492b5/Four-Corners-SCR-Adjustment/">link</a>>.</div>
<div>
<br /></div>
<div>
<b>AZCC Docket # E-01345A-18-0002 - <i>In the matter of the formal complaint against Arizona Public Service Company filed by Stacey Champion and other Arizona Public Service Company customers</i></b></div>
<i><br /></i>
This docket is a direct complaint from a group of citizens against APS's latest rate increase (and fees of course). The dockets that the rate increase was approved were E-01345A-16-0036 AND E-01345A-16-0123. These two dockets were combined because they related to the same things. Eventually, they excluded existing solar, customers for the most part (more on that below), but most of us don't have solar, so the latest rate increase (and fees) from APS is directly impacting us; this also has significant impact on any new solar installations.<br />
<br />
Stacey Champion, the named complainant, and a group of several hundred people gathered from a web campaign filed this, but as everyone suspects, APS is dealing in an underhanded fashion with the public and the AZCC. Want some facts to look up for verification? APS used the upcoming 2018 election as leverage against the Corporation Commission in writing and they did it on the public record. The following is a quote I copied and pasted:<br />
<blockquote class="tr_bq">
"Unfortunately, APS is concerned that delay will only push this matter closer to the November 2018 election, which risks distorting this process and increasing customer confusion."</blockquote>
Which means: There's an election coming up and you guys may not get our funding if you don't end this now in our favor. Or maybe, if the complaint isn't decided soon, the voters may notice and vote against you. At any rate, it's pretty clearly a threatening statement. You want to see where they said this, go look at it on the state web site at this <<a href="http://images.edocket.azcc.gov/docketpdf/0000186360.pdf">link</a>>. I think it's on page three. Fortunately, Stacey Champion's lawyer noticed what they were doing and put this in the response:<br />
<blockquote class="tr_bq">
"As for the November 2018 election, it is irrelevant to this proceeding and APS' professed concern that it "risks distorting this process and increasing customer confusion" should not trump Ms. Champion's right to due process."</blockquote>
<br />
Basically, Stacey's lawyer said, "We see what you're doing, and it's bullshit." If you want to read this it's at this <<a href="http://images.edocket.azcc.gov/docketpdf/0000186775.pdf">link</a>>.This one is on page 4.<br />
<br />
I also ran across the following part of a sentence when reading through an APS response to Stacey's complaint. I cut and pasted this right out of the document on the AZCC web site at <<a href="http://images.edocket.azcc.gov/docketpdf/0000188473.pdf">link</a>>.<br />
<blockquote class="tr_bq">
"(iii) an agreement with the solar industry to resolve a multi-year, otherwise intractable dispute regarding distributed generation that included a confidential agreement to avoid undermining the rate settlement through ballot initiatives, legislation, or advocacy at the ACC, "</blockquote>
<br />
What this means is that the solar industry in this state got together with APS and agreed that the solar folk wouldn't put up a ballot initiative, sponsor legislation or lobby the Corporate Commission. Since it is confidential, we don't get to see what the Solar companies got in return for GIVING APS FREE REIGN ON THIS RATE INCREASE.<br />
<br />
Excuse my language, WHAT THE HECK??<br />
<br />
We were all sold down the road by a secret agreement between APS and the Solar Industry ...<br />
<br />
Yeah, this really makes me want to talk to a solar company in this state.<br />
<br />
Now, if you do actually read this far, think about it a bit. Here is publicly held documentation that APS is using the upcoming election as a tool against the Corporation Commission and they entered into a secret agreement with the solar industry to shut them up. Now act accordingly. I suggest you visit Stacey Champion's site, read the documentation and contribute to the effort. Stacey is taking on APS for us, and they're driving her down with legal fees. If she has to withdraw because she can't afford it, that's the end of the effort to get this back for a rehearing.<br />
<br />
<a href="https://www.fundedjustice.com/StopTheAPSGreed?ref=ab_6Ezo8KIX4xn6Ezo8KIX4xn">https://www.fundedjustice.com/StopTheAPSGreed?ref=ab_6Ezo8KIX4xn6Ezo8KIX4xn</a><br />
<br />
You can also file a complaint directly with the AZCC in support of Stacey's docket. Heres how to complain:<br />
<br />
What you have to do is go to<br />
<br />
http://eservice.azcc.gov/Utilities/Complaint<br />
<br />
And file a complaint.<br />
<br />
You MUST state that you're commenting on the existing docket number E-01345A-18-0002 in the first line so they can see what you're doing. I started mine off with:<br />
<br />
"In support of Docket Number: E-01345A-18-0002 It appears that APS did not deal in good faith with its ratepayers, the Corporation Commission or the public in general. "<br />
<br />
The "In support" part means you agree with Stacey Campbell that APS is a bunch of thieves, and it also shows up in a listing of the documents filed on this docket. You also have to fill out all the blanks in the form to identify yourself as a customer of APS so you will be taken seriously. At the bottom of the form is a space to type in exactly what you think about this.<br />
<br />
We have elected representatives in the state legislature, time to actually use them and see what happens, so here are the two for District 1. I'm listing their web pages so you can get to the mail facility easily.<br />
<br />
David Stringer is at:<br />
https://www.azleg.gov/House/House-member/?legislature=53&legislator=1748<br />
<br />
and Noel Campbell is at:<br />
https://www.azleg.gov/House/House-member/?legislature=53&legislator=1718<br />
<br />
State Senator Karen Fann is at:<br />
https://www.azleg.gov/emailazleg/?legislatorId=1774<br />
<br />
Just click on their email address and let them know what you think about this.<br />
<br />
Sorry this is so long, but I wanted to get the actual links in so you can see for yourself what I have seen.<br />
<br />
I really hope I made you angry.<br />
<div>
<br /></div>
<div>
<span style="font-size: x-small;"><i>Oh, one other thing: the spam will really be flying on this post, so be warned: talking about how great your solar plan is, sales blurbs or obnoxious comments will be deleted without remorse.</i></span></div>
davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com6tag:blogger.com,1999:blog-4922503085503427986.post-40532974250165148892018-06-13T16:09:00.000-07:002018-07-15T19:26:19.712-07:00Supercooling in the Desert: May 22, 2018 a day that will live in infamy !This is the day I got clobbered by APS (my power company)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDoH89Ph9Mbvkxp9quDw-GKo-CwvhBVqGaJtJ1Wwz1ZFTz9Zt9H9k5pGZc-39wYJBNertjkyCCHakM581oY-TwDEF4GcPweHY7MoXW0FRwLt_FMBVKykOwZw9NSxia2aB1ufAcF_YJ8Ys/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="603" data-original-width="1588" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDoH89Ph9Mbvkxp9quDw-GKo-CwvhBVqGaJtJ1Wwz1ZFTz9Zt9H9k5pGZc-39wYJBNertjkyCCHakM581oY-TwDEF4GcPweHY7MoXW0FRwLt_FMBVKykOwZw9NSxia2aB1ufAcF_YJ8Ys/s640/Capture.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
Look just before 8PM (20:00); see that bunch of spikes? My peak billing period lasts until 8, and something was sucking power before the period ended ! Let me expand the little piece that shows the problem:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi46-q05NAZErTyPsENxKWCbDkkIZ3vFOS3r6V078UvapRHDmLqCBSsLMrbibzQqscNsVZ9r4ZrCVzC0HBVCiq-b8KAFj0Ppqa71IjkkOYBcqSGiXPJyUfeg3fs7z8wnkSRC9xy9DFbkIg/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="608" data-original-width="1590" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi46-q05NAZErTyPsENxKWCbDkkIZ3vFOS3r6V078UvapRHDmLqCBSsLMrbibzQqscNsVZ9r4ZrCVzC0HBVCiq-b8KAFj0Ppqa71IjkkOYBcqSGiXPJyUfeg3fs7z8wnkSRC9xy9DFbkIg/s640/Capture.PNG" width="640" /></a></div>
<br />
That little period from about 7:24 to 8:00PM was the clothes dryer.<br />
<br />
Yes, just a little before the end of my peak period a guest started the dryer to do some clothes. It wasn't their fault, they didn't know that the fascist power company would be watching to see if such a thing happened.<br />
<br />
The peaks run as high as 7.4 kW, and it was doing this for a little over a half hour. The APS chart shows it like this:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj62OUaYtsJI1R_ywUZQuE2Qa0_goAtZE12-gQARTCSZcHNuVc9R9XFEiYTpnW7bUxqIhjeAl75AzI5ZRZMbQdlvpC4hx6NSSvA4UtoMaH4akumUZVBZMwb6fHW4oWlm4ry4GnPJcaZWUM/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="641" data-original-width="1172" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj62OUaYtsJI1R_ywUZQuE2Qa0_goAtZE12-gQARTCSZcHNuVc9R9XFEiYTpnW7bUxqIhjeAl75AzI5ZRZMbQdlvpC4hx6NSSvA4UtoMaH4akumUZVBZMwb6fHW4oWlm4ry4GnPJcaZWUM/s640/Capture.PNG" width="640" /></a></div>
<br />
And it was almost impossible to find. I looked for quite a while before I noticed it. I put the arrow on there to show you the tiny little green area that resulted. It shows up a little better on a single day chart:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5X2Qrxi9-S2A65WiPQMe_M8pVwQvo-GuEsGNDIMzO6-ptCgioKHihOdJZCEbBvmCVq1gsTstdp-fsvza39Adlx8Tpde7ItQ5yHXhetSsjt4k0J2g-0Qu5kLz4pM7wtCJ_784X_kcKySA/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="725" data-original-width="1397" height="332" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5X2Qrxi9-S2A65WiPQMe_M8pVwQvo-GuEsGNDIMzO6-ptCgioKHihOdJZCEbBvmCVq1gsTstdp-fsvza39Adlx8Tpde7ItQ5yHXhetSsjt4k0J2g-0Qu5kLz4pM7wtCJ_784X_kcKySA/s640/Capture.PNG" width="640" /></a></div>
<br />
That minor little slope up in the green area is where the meter saw the dryer running. It's recorded as "usage 3.18" during the 7-8PM hour. In theory, this should be my high 'demand' number that is calculated into my bill for the month.<br />
<br />
I guess I should do a little calculating to see how this works to help me understand and avoid it even more stringently in the future. Let's look at the detail portion of my bill first:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg75j26g8BCwiaa4wycovMmCXURxf-yb_L02340KpsF18x9ko0O54JL1xqzqZ6tXs5zAFoy4DYPdViOy5ePfLbgQ2fYF9S8NrS0uUi3PJJzvcUZb_VHEXGPaQn1uLstm_E8vQjrczNyhVc/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="722" data-original-width="808" height="570" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg75j26g8BCwiaa4wycovMmCXURxf-yb_L02340KpsF18x9ko0O54JL1xqzqZ6tXs5zAFoy4DYPdViOy5ePfLbgQ2fYF9S8NrS0uUi3PJJzvcUZb_VHEXGPaQn1uLstm_E8vQjrczNyhVc/s640/Capture.PNG" width="640" /></a></div>
<br />
So, the demand number wound up being 3.17 and is used as a multiplier in several items in billing. Here's the rate sheet for the plan I'm on:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsKlIpqm5Vo2rV1UEGJMu2L4CFsbWkwuTv8SGJbPG-F1M0YTktcxWVjP1yR00uIzPS4hRKKbGU8idOccmhl0ae5RY0E8ySemZQbvwCvzIyfZ2gWMBXmScmK6WKCJDkwCoc-UsZVfKo8EY/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="172" data-original-width="671" height="101" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsKlIpqm5Vo2rV1UEGJMu2L4CFsbWkwuTv8SGJbPG-F1M0YTktcxWVjP1yR00uIzPS4hRKKbGU8idOccmhl0ae5RY0E8ySemZQbvwCvzIyfZ2gWMBXmScmK6WKCJDkwCoc-UsZVfKo8EY/s400/Capture.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
So, my 'On-Peak Demand Charge' is 17.438 * 3.17 for $55.28. But, there's nothing on my bill that says that. Guess what? To make it more complicated and harder to understand, they actually split the $17 charge into two components and calculate them separately. From their tarif sheet again:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu7iU6tVmXGF4Px-yeuZbSHQOa66b7IBV7nqTDibCvNz7TYFzxjTyQG_T942THRjR1nyppVFhXLM8bQULRtVMRd9AfIBXojpW6uqbKbQuLTeIRmM-EaBm90gJxHXQTzx96wfd17RGGB-c/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="140" data-original-width="659" height="83" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu7iU6tVmXGF4Px-yeuZbSHQOa66b7IBV7nqTDibCvNz7TYFzxjTyQG_T942THRjR1nyppVFhXLM8bQULRtVMRd9AfIBXojpW6uqbKbQuLTeIRmM-EaBm90gJxHXQTzx96wfd17RGGB-c/s400/Capture.PNG" width="400" /></a></div>
<br />
Notice how the two numbers, $4.000 and $13.438 add up to the $17.438 they call the 'On-Peak Demand Charge'. OK, fine, I have a calculator and can punch in numbers like anyone else. 4.000 * 3.17 = 12.68 and 13.438 * 3.17 = 42.60, and they add up to the 55.28 I got above. So I should see:<br />
<br />
Delivery On-Peak Charge 12.68<br />
Generation On-Peak Charge 42.60<br />
<br />
Or something similar on the bill, and indeed I do. Sort of:<br />
<br />
<i>Demand charge on-peak - delivery $12.40</i><br />
<i>Demand charge on-peak - generation $41.66</i><br />
<br />
If you look at the bill, you'll see them on there. The sum of the two charges is $54.06 which is darn close to my initial $55.28. The reason for the difference is that APS made a mistake in the original rate change request and has to use the demand number to one significant digit and they can't round, so the actual demand number they get to use in this case is 3.1kW. That's on the bill also, so I don't even have to do the truncation itself:<br />
<br />
<i>Your billed on-peak demand in kW 3.1</i><br />
<i><br /></i>
That's a good thing because rounding would have put me up to 3.2 and would be paying even more.<br />
<br />
Now, I got the cost all figured out, the dryer running cost me some amount, but how much extra based on past performance. To get that, I'm going to look at last month to see; taken from last month's bill:<br />
<br />
<i>Your billed on-peak demand in kW 1.5</i><br />
<i>Demand charge on-peak - delivery $6.00</i><br />
<i>Demand charge on-peak - generation $20.16</i><br />
<br />
That stuff totals up to $26.16, so my dryer cost me <b>$27.90</b> last month because I didn't keep it under control. It's actually a little bit higher because the rate per kW during peak is higher ($0.08683 vs $0.05230), but that's only 3 cents per kw, and the dryer only uses 7.5 kW at around a 50% duty cycle for 3.75 kW or $0.32 extra. I'm willing to ignore that.<br />
<br />
Now is the appropriate time to talk about how APS gets that demand number. As I mentioned in another post, they average each hour and compare it to the maximum hour during the billing cycle. That gives me 5 vulnerable periods each day: 3-4, 4-5, 5-6, 6-7, 7-8. So, the dryer kicked on and sucked power in bursts like all electrical heating appliances and those bursts pulled 7.5 kW for a short period. The bursts were roughly half the time, so it worked out, on average, to the 3.17 kW number that APS measured. It would be too much to read if I did all the calculations, but you see what I mean. That 3.17 was the highest reading so far that month, so it kept it and continued to look for a higher hour; fortunately, it didn't find one, and that's how the month's bill came to be. Next post I'm going into how to read our smart meter so folk can actually see what is coming. Unless one goes to the trouble of doing what I've done, you can't catch it real time and stop it; you can only see the what's already happened.<br />
<br />
This is not going to break me, but it does lose me some bragging rights. Because I didn't keep control, I'm out about 28 bucks. Be warned though, if the hot water heater had kicked on, and the stove was running, this would have been a monetary disaster. Thank goodness it was only the clothes dryer and that close to the end of peak !<br />
<br />
There you are, an example of how power can get out of control no matter what you do and how much attention you pay to it. Something will slip in and get you from time to time. Overall though, keeping tabs on my power has saved me thousands over the years. This post is also good for folk that don't completely understand how that 'Demand Billing' stuff actually works, and how to tell if you're messing up.<br />
<br />
The parts to prevent this from happening to me again are already on order.<br />
<br />
Previous post in this series is <<a href="http://www.desert-home.com/2018/05/supercooling-house-in-desert-part-3.html">link</a>> then next is <nothing yet>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com11tag:blogger.com,1999:blog-4922503085503427986.post-19012693877284065252018-06-10T19:06:00.000-07:002018-06-11T22:09:38.740-07:00Wrapping Up The Water Heater Monitor (and control)For the present, I'm going to claim that (as the British say) the water heater monitor is, "All done and dusted." There's a few tiny items I'll mention that I may do in the future to make is a little easier for other folk to understand, but it does what I set out to do with it.<br />
<br />
It monitors the temperature at the top and bottom of the tank, the power usage of the entire system and controls the power applied to the internal heating element. I save the data on my house data base and can chart anything I want. It has been a cool project that I got to use new things on and implement some software that I haven't dealt with yet.<br />
<br />
To measure the temperature I made a couple of sensors out of discrete 18B20 temperature sensors and installed them under the insulation against the tank at the top and bottom. No, I wasn't going to drill into the tank to install them, and I wasn't going to tap into the existing sensors that drive the tank. Tapping into the existing sensors might break them and drilling into the tank would have been a disaster. I want this thing to be capable of working if the new electronics ever fail.<br />
<br />
Here's one of the sensors:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCj29wGuSTqYwGYG-VYw8jS5kClywxgzFENRyPlM8noZ87go__fWNv10ftq0zBh-GdjUYTLGJmUVM3riujTRZ0sSkn85QDEBE6pBzrCzs5X_sPrg8lWd9c0hNOQUSdi4VFMHUN_5H1LeA/s1600/2018-06-05+12.09.05.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCj29wGuSTqYwGYG-VYw8jS5kClywxgzFENRyPlM8noZ87go__fWNv10ftq0zBh-GdjUYTLGJmUVM3riujTRZ0sSkn85QDEBE6pBzrCzs5X_sPrg8lWd9c0hNOQUSdi4VFMHUN_5H1LeA/s640/2018-06-05+12.09.05.jpg" width="640" /></a></div>
<br />
I thought about using one of the 18B20 sensors that are enclosed in a waterproof stainless steel enclosure, but I wanted as much sensitivity as possible and jamming the sensor up against the tank and securing it with metal tape seemed like the best way to do it. It was a bit of a pain getting through the insulation to the tank, and the tank itself was covered with a high density insulation as well. I didn't dig into the tank coating; I just secured the sensor to the top of it. This made my reading low as compared to the temperature of the water inside, but if necessary in the future, I can correct for that by adding a little to the reading in the code.<br />
<br />
With two sensors, the PZEM-004 power monitor, power supply and control wire for 220VAC power to the heating element, I ran into a little problem with available connectors for power ground and the sensors. After considering electrical tape, hot glue, shrink tubing and such, I just soldered some more power, ground and sensor connectors on the XBee shield I used.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs6AguEAaeQcpYL54xCHOhsgynSlSOyImsoDPchEgMdNW5O_m7n7tKIhO1Q3yW2hpP2dscsyCml2JasNMElFG7WYP2KM3payb_0hjfT08lffAsWHbOtjmPlBbg8_Oyg4ZZk0nIUB9zCT8/s1600/IMG_20180608_175319.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs6AguEAaeQcpYL54xCHOhsgynSlSOyImsoDPchEgMdNW5O_m7n7tKIhO1Q3yW2hpP2dscsyCml2JasNMElFG7WYP2KM3payb_0hjfT08lffAsWHbOtjmPlBbg8_Oyg4ZZk0nIUB9zCT8/s640/IMG_20180608_175319.jpg" width="640" /></a></div>
<br />
Those three vertical black things are where I tap off and supply the various power and signals. I'm going to have to remember this trick in the future. It turned out to be a really convenient way to get extra connections. I even put the pull up resistor that one-wire devices need in there. You can barely see the 4.7K resistor in there between the rows of connections.<br />
<br />
But, you ask, what did you discover after all this work? Well, I discovered how annoying working on a step stool over the top of a working solar hot water system is. Up, down, dropping things, wires too short to reach, taking it apart, putting it back together, all were inconvenient. It probably added several hours of pure frustration to the process, but all of us folk that do this around the house should be used to that ... right?<br />
<br />
Here's a chart of actual operation that I pulled today:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilEpx0x463X3laDxik3Qgv6mBOZdl-R6_xdDBt00jxxURtRnnpGjMmMIojgOScWE8ullYp8FkbMrvDgVZSLdFW_yC72HRNFgLApKU8tzBnQZ42mrSbhgy2DsLRHwvZymOyiuk-vhWoUAY/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="593" data-original-width="1577" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilEpx0x463X3laDxik3Qgv6mBOZdl-R6_xdDBt00jxxURtRnnpGjMmMIojgOScWE8ullYp8FkbMrvDgVZSLdFW_yC72HRNFgLApKU8tzBnQZ42mrSbhgy2DsLRHwvZymOyiuk-vhWoUAY/s640/Capture.PNG" width="640" /></a></div>
<br />
In this the solar is running at around 80 watts and then reaches temperature and shuts off. The top of the tank was at 129F and the bottom at 118F for a differential of 11 degrees over the height of the tank. The actual water temperature measured at a nearby faucet was 138F, so it looks like the tank coating was keeping 9F of temperature away. To me, that's OK since I understand what is going on.<br />
<br />
I also caught this where I turned on the dishwasher after the sun went down:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLHq0fo5PAuICbyY34r22MDZEWjcFAuzZ6mZ93EIMRfWRwFKxFYsoCax_Jf1-jyXtY0oay0HyaJv34ew-nHg6uGgByQRT9wYhWLCpsQHl0zaVOP8-UKlUJsbw8n-4IknWjw1f8TtokMak/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="600" data-original-width="1553" height="246" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLHq0fo5PAuICbyY34r22MDZEWjcFAuzZ6mZ93EIMRfWRwFKxFYsoCax_Jf1-jyXtY0oay0HyaJv34ew-nHg6uGgByQRT9wYhWLCpsQHl0zaVOP8-UKlUJsbw8n-4IknWjw1f8TtokMak/s640/Capture.PNG" width="640" /></a></div>
<br />
You can clearly see where I turned on the dishwasher and the cold (well tepid) water came into the bottom of the tank. Then a little later the rinse cycles of the dishwasher removed some more hot water from the tank. The temperature at the top of the tank didn't drop that much though, only down to 127F. It wasn't even enough to turn on the heating element (it was dark outside). Here's the entire chart for the same period:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2IcHpWyAS56ZvKGZXH8zUNS-7owizBQZdQxU1Kqu-b5BiU4A3zEWsGxw37ukO5v1wikQgc0ZCZDEc93bceIdzWPM3e4NTSgqtzMGt01uvWulG8FXPlDaBomDPvrEVj0gH7oRRyk9tiGw/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="598" data-original-width="1588" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2IcHpWyAS56ZvKGZXH8zUNS-7owizBQZdQxU1Kqu-b5BiU4A3zEWsGxw37ukO5v1wikQgc0ZCZDEc93bceIdzWPM3e4NTSgqtzMGt01uvWulG8FXPlDaBomDPvrEVj0gH7oRRyk9tiGw/s640/Capture.PNG" width="640" /></a></div>
<br />
Ok, it's a mess. That's because the power being used is only 3-10 watts and that auto expands to cover most of the chart. But, you can see that it isn't using 80 watts circulating the solar or over 4000 watts running the heating element, and that the grid power was available by the green line at the bottom.<br />
<br />
That means that I ran the dishwasher a full cycle with hot water and didn't pay anything for heating the water since it was still hot from the solar cycle during the day. I've seen this several times now; the dishwasher, shower, various faucets, don't use enough to cause the heating element to turn on. Especially since the incoming water is probably close to 100F already during the day. Hang on a minute, I'll go measure the water temperature coming into the house right now.<br />
<br />
It was 89.6F. So, the incoming water is 90F and the solar will take it up to 138 making the differential only 48 degrees or so. It will show up as 129 on the graph due to the loss I described above, but that's a known thing. As a matter of fact, the heating element hasn't come on at all in the last 72 hours. I can't show you a graph to prove it because I've had the thing taken apart too many times. I may post an update later after a few days of operation. But, as a consolation, let's take a look at the cooling rate of the water heater:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlvo3rQVKe9Gw_WCvnksB0th5xUHW1ZIDEBRRXbbowrkZjFPTBb-9fy5GEE71xp6Pu-QyuMDRcWDPA5AwDDd7MNFGPc0y0MPlhsAE4q0hPdNCd6HeW6eky1Yku2RiQyJROQPbKKnONVo4/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="638" data-original-width="1574" height="258" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlvo3rQVKe9Gw_WCvnksB0th5xUHW1ZIDEBRRXbbowrkZjFPTBb-9fy5GEE71xp6Pu-QyuMDRcWDPA5AwDDd7MNFGPc0y0MPlhsAE4q0hPdNCd6HeW6eky1Yku2RiQyJROQPbKKnONVo4/s640/Capture.PNG" width="640" /></a></div>
<br />
Here is a period between cycles of the solar heat running. The bottom temperature is affected by the solar running, so it is higher than the incoming water temperature; the heat transfer coils are at the bottom. That makes the bottom temperature drop at the beginning. The top temperature drifts down over time at a reasonable rate of about a degree every hour that decreases to less than a degree every two hours when it gets around 125F or so. This thing will keep 80 gallons of hot water all night this time of year. I'll have to wait a few months to see what it does in colder weather. If it gets too cold, the heating element will turn on and raise it back up anyway.<br />
<br />
Which brings up a point I didn't realize until I did this. The temperature for solar heated water is 138 degrees. I set that back when I got the heater and it is controlled by a differential controller separate from all the other stuff. The electrical heater is set lower; how much lower I don't know yet. I'll experiment a bit to find out, but I suspect it's about 10 degrees or so. That's why the mains power isn't used much. The solar keeps the water above the temperature where the heating element kicks in. I don't know where that control is, but it's worth looking for at some point.<br />
<br />
Software wise, it wasn't particularly hard to put together. I used the arduino library for one-wire sensors like I did for my room temperature sensor project. What I did was to read the sensors, then read the power, then send the data using timers. Since the water isn't changing very fast due to the nature of water and the mass of 80 gallons, I only read it every minute. I read the power every 15 seconds. The report is sent every 30 seconds right now, but that may change in the future when the new wears off the project. In the remaining CPU cycles, I watch the XBee for incoming items.<br />
<br />
I only respond to the time signal and a command to turn on the mains power. The mains power was easy, I just picked a digital pin on the arduino and set it high to turn on the 100 amp solid state relay in the box. I watch the time for obvious reasons, I turn off the mains power at noon (soon to be 3 PM) to avoid the peak period charges. It doesn't get to turn back on until 8PM.<br />
<br />
I used the timeAlarm library for the arduino to handle both timers and alarms. Timers control the readings and report while alarms turn the mains power on and off.<br />
<br />
See how previous projects where I used time and various libraries are paying off? As one works with this stuff it gets easier to put things together and create something new.<br />
<br />
It didn't work first try though. Most of it did, but the darn thing quit sending data every day at noon when it turned off the mains power to the heater. The problem turned out to be that 'on' has one less letter than 'off', and I was overflowing the buffer that I build the JSON report string in. That simple little problem took almost a day to isolate. I kept trying to blame it on the pin controlling the SSR.<br />
<br />
There you are, the most comprehensive water heater controller I've ever seen. Probably more than I'll ever actually need.<br />
<br />
But, exactly what I wanted.<br />
<br />
<i><span style="font-size: x-small;">Edit: I just put the code in Github so you can take a look if you want to.</span></i>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com8tag:blogger.com,1999:blog-4922503085503427986.post-40569480911875005202018-05-31T17:35:00.000-07:002018-06-11T22:09:38.784-07:00Monitoring Water Heater PowerWell, I can now monitor my hot water heater power usage. The step-down transformer I got <<a href="http://www.desert-home.com/2018/05/ordering-chinese-devices-through-amazon.html">link</a>> worked just fine and I managed to put together all the pieces and now have it out there running just fine. I mounted the transformer on the lower right of the picture below. I used exactly the same technique that was used in the power converter it came out of, high adhesion two sided tape.<br />
<br />
What I did was to spread some silicon grease on the bottom of the transformer then put the tape on one side. I pressed the grease down on the enclosure and slid the transformer back until the tape adhered to the back of the enclosure. This way I used the entire steel enclosure as a heat sink for the transformer. I used the same idea for the three phase solid state relay (SSR) that actually controls the power to the water heater.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiizu8u99gjS-Jnjd9I384ndiF2mDCqdQPvRVXkvGyzXLB1sNnPE6jJBTbs4iIoVBxsUZgpbHB96pFtTmzRdYSStsGtqHEjMRM8TPSZi_Gv2OBIUov9JdPWeHOgm6b1uX2ODKBIcbwU_po/s1600/IMG_20180531_115159.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiizu8u99gjS-Jnjd9I384ndiF2mDCqdQPvRVXkvGyzXLB1sNnPE6jJBTbs4iIoVBxsUZgpbHB96pFtTmzRdYSStsGtqHEjMRM8TPSZi_Gv2OBIUov9JdPWeHOgm6b1uX2ODKBIcbwU_po/s640/IMG_20180531_115159.jpg" width="640" /></a></div>
<br />
In case some of you haven't worked with power transformers, they get hot. It seems like no matter how high the rating, they generate more heat than expected, and can cause problems over time. That's why I was careful about giving the heat generated somewhere to go.<br />
<br />
Just to the left of the transformer is an Arduino with an XBee shield on top, and just left of that is a AC to 5VDC switching power supply.<br />
<br />
This little power supply is really nice:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCJQ3szWCc502A65mX7XvdNEixVQ13dVTVzBynCg41M0fjUa6kZWOiG70J4_hOK-qYcaPmgpzMZgaIBHE-YFFenMhXZbGDUV92APYtufTt5ojaap3p8fRXbVzdv7R_AGjka1YPipAYvW4/s1600/Capture.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="900" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCJQ3szWCc502A65mX7XvdNEixVQ13dVTVzBynCg41M0fjUa6kZWOiG70J4_hOK-qYcaPmgpzMZgaIBHE-YFFenMhXZbGDUV92APYtufTt5ojaap3p8fRXbVzdv7R_AGjka1YPipAYvW4/s640/Capture.jpg" width="640" /></a></div>
I got it from itead.com a while back because I knew I would need a small power supply in the future and wanted to try one out. Unfortunately, they retired this model and I only have one left. I guess I'll have to hunt down another one sometime in the future.<br />
<br />
I took the easy way out in mounting both the Arduino and the power supply, hot glue. It just wasn't worth the effort to build something special to hold them in place, so I grabbed a piece of plywood and mounted them to it. Worked fine, and they'll still be easy to get to if I want to change something or fix it in the future.<br />
<br />
The enclosure is from Home Depot and I've had it for a while now. It's been the enclosure for the big SSR in the middle of the box for years, I'm just now adding more circuitry to it.<br />
<br />
I'm interested in monitoring the power right now, so I haven't moved the code to control the SSR over to this Arduino yet, but that will come in a few days. That control is still part of my garage controller that also controls the garage doors. As a matter of fact I had power applied to the water heater when I took this picture; you can tell because the LED on the SSR is on. The control for that comes through the small wire on the top and connects to the left side of the SSR.<br />
<br />
I was a bit worried about how far the little XBee would reach since it would be inside a grounded metal box once I put the lid on, but it worked well enough that it got to another XBee and the network took care of the store forward part I needed to get away with this.<br />
<br />
It looks pretty good up there on the wall above the water heater:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF8nVCUzam-G5PkLsOg_thiMf6vj4AH_u2mGFtawGfJQj1jcLB1E72sjvsGTsNV5bbvC_OculGedjtc2rK51Dww3P8yWbE9cZffa2ocshhvzHRKy9A5lPb4C1b-QlwXD_89kJSgs9J3ro/s1600/IMG_20180531_115144.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF8nVCUzam-G5PkLsOg_thiMf6vj4AH_u2mGFtawGfJQj1jcLB1E72sjvsGTsNV5bbvC_OculGedjtc2rK51Dww3P8yWbE9cZffa2ocshhvzHRKy9A5lPb4C1b-QlwXD_89kJSgs9J3ro/s640/IMG_20180531_115144.jpg" width="640" /></a></div>
<br />
Now I can glance up at the display and tell immediately if the solar pump is working, the mains power is being used or nothing is going on. To measure the power used by the solar pump and temperature controller I used the transformer mentioned above to reduce the power from 240 to 120 and put a plug on the front of the enclosure.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRJ40XQtbT_cfIpzREjTrikvNz77pML4nTC_bsKstIV1t639WOIFBv7Fjs21CHanG3tH0V8AMs4cqcaf0W0MD_cn9rM0PjVIOkJBiF7h16RXc4FkSuHh-WoA8BR-9uQ59VmR1i1KGUubM/s1600/IMG_20180531_115158.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRJ40XQtbT_cfIpzREjTrikvNz77pML4nTC_bsKstIV1t639WOIFBv7Fjs21CHanG3tH0V8AMs4cqcaf0W0MD_cn9rM0PjVIOkJBiF7h16RXc4FkSuHh-WoA8BR-9uQ59VmR1i1KGUubM/s640/IMG_20180531_115158.jpg" width="640" /></a></div>
<br />
Notice that the solar pump is running when I took the picture. It uses about 80 watts to circulate the fluid from the collector on the roof through the heat exchanger inside the water heater. It has to run a long time to heat the water up inside, but at 80 watts, I don't even notice the power usage.<br />
<br />
Now that I can see all the power data for the water heater, I can pretty much write it off as a large factor in my power bill.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMjTm-UF696H4LjtHirjJbcz1H33fCv_2Bgx5C0yGe-QUqhHG-j8cabqHsoMrgg0d3RG5l0CYCkIjK6MT_jUAAXTa-OFWzmJjmf-Sk6lBv8XXTtot7t6NgLbsSUZQU3PVgKSWPgDpMWJI/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="562" data-original-width="1553" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMjTm-UF696H4LjtHirjJbcz1H33fCv_2Bgx5C0yGe-QUqhHG-j8cabqHsoMrgg0d3RG5l0CYCkIjK6MT_jUAAXTa-OFWzmJjmf-Sk6lBv8XXTtot7t6NgLbsSUZQU3PVgKSWPgDpMWJI/s640/Capture.PNG" width="640" /></a></div>
<br />
Above is a chart of the last 24 hours of all the power usage by my solar water heater. Notice that there is one peak of main usage around 10AM and some light usage at other times. The large peak is too short in duration to cause a problem with the 'demand' billing and the light usage is around 80 watts from the solar pump.<br />
<br />
Here's a chart of just the solar pump running:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih5N7OreuAdyNRjLZxTY6MT6ZegDB1aYFGdVMCjAHQESG9Ep0MHekE-CRggz8g-Bml2eX13f6RP538Gs9juISDE38TosK2QYZl1XBrQoZ7JS4Ae7LkPsztNhAh_uYUYsJiy-z8VsVgNkg/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="542" data-original-width="1577" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih5N7OreuAdyNRjLZxTY6MT6ZegDB1aYFGdVMCjAHQESG9Ep0MHekE-CRggz8g-Bml2eX13f6RP538Gs9juISDE38TosK2QYZl1XBrQoZ7JS4Ae7LkPsztNhAh_uYUYsJiy-z8VsVgNkg/s640/Capture.PNG" width="640" /></a></div>
<br />
The gap just to the left of middle is me installing stuff. Yes, I turned off the breaker; I have a healthy respect for 240VAC directly from the mains panel. All the jagged readings on the lines are the circuitry doing measurements and sending them off through the XBee. I have blinking lights on the Arduino and displays of the PZEM-0400 that are constantly changing. Makes for an interesting display.<br />
<br />
Now before the more astute readers out there start picking on me for parasitic power usage, here's a chart of the power usage when nothing is heating at all:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgynvg5eURujIIbe-F-CpV-baCeDuHdZ8NCJQzdxSkTuyHAmOkCRc4ZqtL3buL_PWkS1HlsEqbYN4R_rwC3rvKcJ6dME0WB0Rn_cqYCra4oEq2NOhnGlAty2zk-OntNXNHoh40JZTVJFUw/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="548" data-original-width="1574" height="222" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgynvg5eURujIIbe-F-CpV-baCeDuHdZ8NCJQzdxSkTuyHAmOkCRc4ZqtL3buL_PWkS1HlsEqbYN4R_rwC3rvKcJ6dME0WB0Rn_cqYCra4oEq2NOhnGlAty2zk-OntNXNHoh40JZTVJFUw/s640/Capture.PNG" width="640" /></a></div>
<br />
The usage when nothing is heating varies between 3 and 10 watts, that will take a long time to add up to a full kilowatt and even show up on my bill. If you look up above at the first chart, you'll see that this is the condition that the water heater is in most of the time.<br />
<br />
Actually, when I looked at parasitic power a few years ago, it just wasn't a problem. I have a baseline of roughly 500 watts that is used all the time. Things like ceiling fans, necessary appliances, phone chargers and such do add up, but what are you going to do about it? You have to keep the food cold and a 10 watt device running just isn't worth bothering with. All the hype about this just doesn't add up.<br />
<br />
So, I did all this just to find out that my water heater is doing a really good job of saving me money. To heat the 80 gallons of water in my heater using the rule of thumb number of 0.166 kWh per gallon (60 degree F increase) for 80 gallons is 13kWh of power. I get it for a few hours of 80 watts in full sun. And, sunny days are not something in short supply around here.<br />
<br />
I'll use the charts and power control to find a happy medium between using sunshine and mains power for keeping the power bill under control. I'm sure I can fine tune this over time. Plus, for the rare cloudy day, I can always crank on the power during off-peak periods to handle my hot water needs. I have special web code to do that from anywhere <<a href="http://www.desert-home.com/2016/09/a-new-web-interface-for-desert-home.html">link</a>>.<br />
<br />
I'm not quite done with the water heater yet though. I want to put a couple of thermometers up against the tank one at the top and one at the bottom to measure the actual temperature of the water. I also want to move the code that controls the SSR over to the new device so I have all the water heater code in one place.<br />
<br />
But this little exercise has opened the doors to another possibility. All of my 240 volt appliances should have monitoring like this. I can get several of the power monitors and install them for the AC compressors, AC air handlers, dryer, and maybe even the microwave. Heck, I could monitor the kitchen oven as well. Hmmm, I could use another SSR and keep the darn clothes dryer from messing with my power bill, that has happened twice now. Someone needs clothes dried and they turn on the dryer during the peak period. I can actually put a stop to that by doing what I've done with the water heater.<br />
<br />
How come every project leads to another?davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com3tag:blogger.com,1999:blog-4922503085503427986.post-40433061490468063272018-05-29T22:02:00.000-07:002018-06-11T22:29:10.213-07:00Ordering Chinese Devices Through AmazonThis isn't a complaint session about Amazon, they've done well by me <<a href="http://www.desert-home.com/2016/09/raspberry-pi-more-about-installing-ssd.html">link</a>> several times, nor am I going to complain about Chinese products; a lot of the posts on this blog are about those items. This is just the story about a single product that I thought my readers would enjoy.<br />
<br />
I needed a 240VAC to 110VAC transformer to provide power for my latest project, increased monitoring of my solar water heater. The 45 watt pump that moves fluid from the rooftop collector actually measured 68 watts when I plugged it into a Kill-a-watt to measure it. I know how this stuff goes, so I figured I'd probably need a 200 watt transformer because they always over rate these things in the specs, and I should probably stay below 50% of rating to get good service.<br />
<br />
Have you checked out the prices on those things? A simple 2 to 1 transformer can cost as much as one can pay. The prices I found started around $37 and went up indefinitely from there. I know these things exist and shouldn't cost as much as some televisions, so I looked for another solution. I thought I found it and ordered one of these:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQxNn4j4UcFZKMUs4OvLdD8Q8JCH6EiZPABN6XFZR6GtGL9a6vfH8RTm1hWEfk8bLmR5So5BIujWwihuc-oFow1wT0Mz3nz_VzdVRJ5LjBA8pkehfaLGoAWTKsCy8ezwPoBx99RhR4-8M/s1600/Capture.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1250" data-original-width="1250" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQxNn4j4UcFZKMUs4OvLdD8Q8JCH6EiZPABN6XFZR6GtGL9a6vfH8RTm1hWEfk8bLmR5So5BIujWwihuc-oFow1wT0Mz3nz_VzdVRJ5LjBA8pkehfaLGoAWTKsCy8ezwPoBx99RhR4-8M/s320/Capture.jpg" width="320" /></a></div>
It's a 220 to 110 transformer rated at 200 watts for converting power for US travelers abroad. The images on Amazon showed the interior and it is a simple transformer with no other supporting circuitry to worry about. This should be perfect and only costs $16. That's less than half the price I found for the transformer inside.<br />
<br />
It came in today and I rushed to unwrap it --- it rattled. There was something broken inside that sounded like a piece of plastic. But first, here's a picture of what I received:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8KXIo8qDqFW2M5Z0Erk_5GEEyWSgQr-w5SbNhWqMuURXZaHptrYVL-zyW-KK_CEvgjMrKVW95u7Rdlgf9vJ0dDodvujWcz0WQDjdXlNPld6oP6jY1W4rm5iGgOeuOFa1aYXPy3JJ8SlM/s1600/2018-05-29+18.25.59.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8KXIo8qDqFW2M5Z0Erk_5GEEyWSgQr-w5SbNhWqMuURXZaHptrYVL-zyW-KK_CEvgjMrKVW95u7Rdlgf9vJ0dDodvujWcz0WQDjdXlNPld6oP6jY1W4rm5iGgOeuOFa1aYXPy3JJ8SlM/s640/2018-05-29+18.25.59.jpg" width="640" /></a></div>
<br />
First, notice the plug. It's a normal non-polarized US plug, not the European round pin plug shown on the Amazon page. Why would they put a US plug on something that was designed to be used outside the US?<br />
<br />
Since I was going to dismantle it anyway, I took it apart.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_Wl_wZNxaBNBm7ay3k5D5hSiCoDMahaYjGA8yX0ZqMOZ6evKAwwcGbxPkCEQfjymyGIijt0BNNUG4JBOVUA0Ar35iaKbe5NTT8iNQO3fjbXt3Y-6-JUpNRT_KpzhenHJe9nVBvCFQwYU/s1600/2018-05-29+18.27.04.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_Wl_wZNxaBNBm7ay3k5D5hSiCoDMahaYjGA8yX0ZqMOZ6evKAwwcGbxPkCEQfjymyGIijt0BNNUG4JBOVUA0Ar35iaKbe5NTT8iNQO3fjbXt3Y-6-JUpNRT_KpzhenHJe9nVBvCFQwYU/s640/2018-05-29+18.27.04.jpg" width="640" /></a></div>
<br />
There was the transformer I needed, but what had happened was that the transformer had come loose from the case, banged into the molded socket and broken one of the plastic pieces. The transformer was supposed to be mounted with some of that high strength two sided tape. I've used this tape several times and it really works great; why did it fail? Well, here's a shot of the tape:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLMTd9L47CSN38p2FNmkBUz_H7CGapjOhAjOIpCWukqhnrp45LnAKfBYUG0elMq3yJmVuFJDwF7GksKfQF5XWXvijmZsUQAvHoyGyav9qXnvob1cNbGZWTKItmVbLH9hkigQWxTVVH9uE/s1600/2018-05-29+18.57.32.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="1200" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLMTd9L47CSN38p2FNmkBUz_H7CGapjOhAjOIpCWukqhnrp45LnAKfBYUG0elMq3yJmVuFJDwF7GksKfQF5XWXvijmZsUQAvHoyGyav9qXnvob1cNbGZWTKItmVbLH9hkigQWxTVVH9uE/s640/2018-05-29+18.57.32.jpg" width="480" /></a></div>
<br />
Don't see it? They didn't remove the paper from one side of the tape. Like all two sided tape rolls, there is a piece of paper on one side of the tape. You cut off a piece, stick it to whatever you're attaching, then peel the piece of paper off and adhere the tape where you want it. This simple technique holds lots of things in our everyday life in place. The decorative molding on your car is probably held on this way, and you drive it at speed down the road every day. This stuff is good, if you actually remember to take the paper off.<br />
<br />
What happened is that Amazon took the converter off the shelf in its box, shoved it into a padded envelope and shipped it to me. One of the conveyor belts somewhere dropped the envelope a little ways, the loose transformer banged against the molded socket and broke it. That was how my rattle came to be.<br />
<br />
If I wasn't going to only use the transformer, I would have returned it for another one. But the part I needed came through the ordeal unscathed. Unfortunately, there are no numbers on the transformer at all. No manufacturer, no nothing that can help me trace it to buy another. Maybe someone reading this will have some idea where I can source another when I need it.<br />
<br />
So, even though the plug is dumb, it arrived broken and would have been intrinsically unsafe in use, it fits my needs perfectly. I saved at least $15 buying this instead of a transformer from a regular supplier.<br />
<br />
Go figure.davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com0tag:blogger.com,1999:blog-4922503085503427986.post-86088029538481942432018-05-28T13:05:00.000-07:002018-07-05T18:41:10.827-07:00PZEM-004: Now to actually use it for somethingLiterally hundreds of these energy monitors have been sold, but judging from the various articles I've run across, not too many of them have actually been used to meaningfully monitor power around the house. I'm going to install one of them on a troublesome device and actually use it to help understand my power usage. My current victim is my hot water heater.<br />
<br />
I've described it before <<a href="http://www.desert-home.com/2013/01/water-heater-power-control.html">link</a>>, it's a solar hot water heater with a helper element in it for times when the sun isn't shining. Basically every day here in the desert I'm supplied with unlimited heating for water, but how often do I need the heater element? The element is designed to turn on any time the temperature drops below a certain temperature, but I have no idea what temperature that is. I have the solar heating set for 138F, and since it is an 80 gallon heater, this supplies my needs quite well. Nevertheless, I still want to understand the device and how it uses power.<br />
<br />
The first thing I need to do is both read the serial output from the power monitor and be able to transmit it to my house controller so I can save the readings over time. This turned out to be a problem because an arduino only has one hardware serial port. It is possible using software to get another one, but having two software ports is a problem.<br />
<br />
The SoftwareSerial library allows for two serial ports, but you can only work with one at a time. Each time you switch ports, the input buffer for the other one is cleared. When I tried it, that meant that the buffers were wiped such that I couldn't actually get enough data from either the XBee or the power monitor to construct a usable packet. I want the serial port for debugging and commands, so I had to work out another method.<br />
<br />
What I did was set up a timer that fires off every 15 seconds to interrogate the power monitor, saving the data in global variables. Every 30 seconds another timer fires and sends a report of whatever the variables happen to hold at that time over the XBee network. This way I have reasonably fresh data to send every thirty seconds and only use the two software ports one at a time.<br />
<br />
The exception is that in the main loop of the code I check for incoming data from the XBee network at every iteration. Basically in the idle periods between gathering and reporting, I check the network. To prevent the arduino startup from sending bad data from the variables that aren't filled in yet, I read the power monitor before I do anything else. Then I wait for a time message from my house clock, set the two timers and let it run.<br />
<br />
It seemed to work pretty well.<br />
<br />
Now, how the heck am I going to attach this mess to the water heater? I'm dealing with mains voltages here, I can't just stuff it in a cardboard box and hang it by its USB cord on a nail. This will take some consideration. Additionally, since there is no neutral line to the water heater, everything needs to work from a 220VAC source. Yes, I know, most of the world already has this to deal with; for me, it's a new experience.<br />
<br />
Being impatient, I took a big rag and insulated (if you can call it that) the top of the water heater and hooked the power monitor to the high power solid state relay that I use to control the power to the water heater. Then I draped the USB cord over to a wall plug for 5VDC power to the arduino and XBee combination. This way I could actually watch the water heater power usage real time and work on the software to add the data to my Graphana display.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMAFarEQeqILK04_JlwbW4f1vYvEbHhTgu6Py6Ix55wrC4TU6PT0b97kHn4aGTcimB_lQwHmx4EH5r9OJefF1gAYEcxyfqSfz2pw-sBRH0ZWLxQRl-Ujf0JHa2bNLUevM7wz7tJVXKgN8/s1600/2018-05-28+11.35.39.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMAFarEQeqILK04_JlwbW4f1vYvEbHhTgu6Py6Ix55wrC4TU6PT0b97kHn4aGTcimB_lQwHmx4EH5r9OJefF1gAYEcxyfqSfz2pw-sBRH0ZWLxQRl-Ujf0JHa2bNLUevM7wz7tJVXKgN8/s640/2018-05-28+11.35.39.jpg" width="640" /></a></div>
<br />
I had some foresight though, I put in plugs for the connections to the CT, 240VAC voltage monitor and serial input so I wouldn't have to flip the breaker when I did something, and it worked like a charm after some programming to save the data I had gathered and a little work in the charting software:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZvgKBZvA0-M0zo4FvIY-ei9IWB-4zO_LfRPTgiqSJ_sAQw6hfvaBmf9B18G3aSxs4Io2JXzG-omnfQpWLf4RKJE12LxEwmy9TYNL2IeEqlyCDmjOgjmvc2ad1ynukrshZaWcmIxr-_ro/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="582" data-original-width="1564" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZvgKBZvA0-M0zo4FvIY-ei9IWB-4zO_LfRPTgiqSJ_sAQw6hfvaBmf9B18G3aSxs4Io2JXzG-omnfQpWLf4RKJE12LxEwmy9TYNL2IeEqlyCDmjOgjmvc2ad1ynukrshZaWcmIxr-_ro/s640/Capture.PNG" width="640" /></a></div>
<br />
Granted, it's not much to look at. The heater only turned on three times, and even then, it was only for a minute. Slow day around here, but notice that the spikes are 4500 watts. This thing can really pull the power; remember, the solar is running also.<br />
<br />
What is happening is that using hot water causes the temperature in the tank to drop and both the solar and the helper element kick on. This heated the water back up in a hurry. Or, maybe I have a bug I haven't discovered yet. Over the next few days I intend to look at how hot water is used for showers and general use around the house. I won't get good data on how this thing is working until I can also monitor the small solar pump as well, but that will take some thought, and probably, some more parts and pieces. Keep in mind that the small pump is 120VAC and I'm working with 240 at this point. A transformer maybe??<br />
<br />
My data gathering will be impacted by the fact that the water here doesn't get cold enough to need much of it. This time of year, the rest of summer and early fall, one can take a shower with nothing but the cold water turned on. The best we get for cold water is tepid, and maybe use a tiny bit of water from the hot side. Not that way in the winter though, then hot water usage is much higher.<br />
<br />
I'm starting to like the PZEM-004; when this project is running, I want to look around at other similar devices. It's hard to beat less than $15 for a device like this. I certainly can't build an equivalent for less.<br />
<br />
I'll put the code for this on github when it is a little farther along. There may be too many bugs right now.<br />
<br />
Previous post on PZEM-004 <<a href="http://www.desert-home.com/2018/05/more-on-house-power-monitoring-prebuilt.html">link</a>>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com6tag:blogger.com,1999:blog-4922503085503427986.post-59273933269145208072018-05-18T12:52:00.000-07:002018-07-15T19:23:25.885-07:00Supercooling a House in the Desert: part 3I'm going to talk about the APS (Arizona Public Service) phone software for monitoring your power. For folk that don't live here (Arizona, USA), much of this will be of little value. It might give you a clue as to how your own power company works, but this is directed at my neighbors.<br />
<br />
I'm not going to describe how to look at your bill, or make a payment, etc. I want to talk about the usage numbers and graphs they provide so you can monitor how good or bad you're doing at saving money by juggling power usage.<br />
<br />
First though, I want to explain a bit for people in other countries with different rules around providing power. The name, Arizona Public Service is historic and not actually reflective of what it is. APS is a private company that supplies power to a big part of Arizona. They are publicly held (as in stockholders) and regulated under Arizona's version of a public utilities commission, the Arizona Corporate Commission (AZCC). The AZCC is also in charge of licensing corporations in this state. So, if APS wants to increase its rates to customers, it has to get approval from the AZCC. Confused yet?<br />
<br />
One of the things that is part of every submission for a rate increase is the statement, "fair and reasonable return on investment." Which means that if APS runs their business sloppily and doesn't make enough profit, they ask for a rate increase to increase the profit. Nice business to be in. If you screw up a business decision, there's someone out there that will guarantee you a profit.<br />
<br />
No, I'm not being completely fair, there are various government requirements that APS is forced to meet, and those do increase their costs. But, every time one of those comes along, a new 'fee' is added to our bill. AZCC approval of these items is almost automatic.<br />
<br />
Enough background, on to the actual application.<br />
<br />
The app is called 'APS' and is on the google play store for download. Once you get it installed, you can log in to your web account with APS and look at billing and usage. There's also hints on ways to save, but that's just the usual things that we see every day about conservation. The last choice is 'apsFYI' that is the same things that they send with the bills. I'm not going to discuss the billing areas; it's hard to remove my account information from every single illustration. I may get to that at a later point though.<br />
<br />
Lets go to 'MY USAGE' and see what it shows for me when I do it, that's where the fun stuff is:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX9A7en0mtdIBSUGkqKcs_-NN86RdLTPsbzLQUaA7J4GqMz4bPGJ09GPr6kOqriZXobCMhbYaTp-O6inBZ6bl4AxgLIWWGoBa30djVtp8fr7sbyqgdAzGPTpMcX-AjAekdOq0gmaeBrQw/s1600/2018-05-18+11.48.19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX9A7en0mtdIBSUGkqKcs_-NN86RdLTPsbzLQUaA7J4GqMz4bPGJ09GPr6kOqriZXobCMhbYaTp-O6inBZ6bl4AxgLIWWGoBa30djVtp8fr7sbyqgdAzGPTpMcX-AjAekdOq0gmaeBrQw/s640/2018-05-18+11.48.19.png" width="360" /></a></div>
<br />
<br />
You get a nice display that shows your percentage of use on peak. That means of the amount of energy you used so far this billing period, some percentage was during the peak demand period. Mine was 7%, which must mean that the rest, 93% was off peak usage:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM5FA_SPxAjSTZ8NXbadPyD44EJ__7pr9yxSZYO7-dSPZEI6DJzGfP99WTv-uMOWZuOmEPlLcWPTwJEnI172aie_7F0ni4YuvJgAEBp9YmQqrMYj7_2C3A2SloIqHclRLRI0rXzdyCOR0/s1600/2018-05-18+11.51.59.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="900" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM5FA_SPxAjSTZ8NXbadPyD44EJ__7pr9yxSZYO7-dSPZEI6DJzGfP99WTv-uMOWZuOmEPlLcWPTwJEnI172aie_7F0ni4YuvJgAEBp9YmQqrMYj7_2C3A2SloIqHclRLRI0rXzdyCOR0/s640/2018-05-18+11.51.59.png" width="360" /></a></div>
<br />
And they have a display for that as well. The real data that can actually help is found by touching the 'Detailed Energy Usage' link at the bottom.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk0WqJgjwnWE9VrNmIdCTND8XcbNWsTFuFBGa91sMOio6t7_aW99ESfFOQiGi_bi7mL2v4gpB6k4Ckgm5fAyt15DXL3Vo4KzTFg7kYA07EfrQVg3SNiT-4xzF_oxnCRGyq5wC3C6smw18/s1600/2018-05-18+11.56.56.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk0WqJgjwnWE9VrNmIdCTND8XcbNWsTFuFBGa91sMOio6t7_aW99ESfFOQiGi_bi7mL2v4gpB6k4Ckgm5fAyt15DXL3Vo4KzTFg7kYA07EfrQVg3SNiT-4xzF_oxnCRGyq5wC3C6smw18/s640/2018-05-18+11.56.56.png" width="640" /></a></div>
<br />
This is actually a nice chart that shows my energy usage for the last 6 days. It's only been six days so far this period. The bars are divided into peak usage, green and off peak usage, blue. The height of the entire bar is my total usage for that particular day. So, I used a lot off peak and only a little bit on peak; the actual values for these can be displayed by touching one of the bars.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIltHn5LLV8KtgmR4KIFXeKj8ffphY82qzXRNRGqfKkykjzyqEM-UnxSGAKWprRXX5SXp-DkN7YbOsjhLeOBlDpP5IbNoTsXERhRsxHLrIR9ME_j_UtWdrAofUl1w3sTRKWHHPSlPIXKc/s1600/2018-05-18+12.00.54.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIltHn5LLV8KtgmR4KIFXeKj8ffphY82qzXRNRGqfKkykjzyqEM-UnxSGAKWprRXX5SXp-DkN7YbOsjhLeOBlDpP5IbNoTsXERhRsxHLrIR9ME_j_UtWdrAofUl1w3sTRKWHHPSlPIXKc/s640/2018-05-18+12.00.54.png" width="640" /></a></div>
<br />
So, what does this mean? It shows you when you are using the most power, on peak or off peak, and that's important because the billing rates are considerably different. I want to use as little as possible on peak and concentrate my usage to the off peak periods. That way I can use the larger appliances and pay the least possible for it.<br />
<br />
If you touch 'LAST CYCLE' you'll be shown the entire period and you can inspect each day to see if you ran something big during the peak period.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvGwpViabosHEjbU8w8yXrWT9eQgwzyzCy-tPmaOo4y1jq-o-RjKOBhkuOdTuYk0k9JpFUEgFdWNoWu-lnQWjLlap6ctNhOnlNm9MvgEtu4BgZxQSshoUwNDenMYU2p9MzJBbrLhmyjps/s1600/2018-05-18+12.06.23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvGwpViabosHEjbU8w8yXrWT9eQgwzyzCy-tPmaOo4y1jq-o-RjKOBhkuOdTuYk0k9JpFUEgFdWNoWu-lnQWjLlap6ctNhOnlNm9MvgEtu4BgZxQSshoUwNDenMYU2p9MzJBbrLhmyjps/s640/2018-05-18+12.06.23.png" width="640" /></a></div>
<br />
This display can be scrolled left and right to get to a particular day. You can then see the days where you used the most power and work out a plan to deal with it in some fashion. Notice that I used almost 80Kwh on the 28th; it was Saturday and off peak, so I just let the AC run. Rates are much cheaper off peak and I can afford to do this. You certainly wouldn't want the green area to get large because that would result in probably an excess of $100 addition to the bill.<br />
<br />
Up at the top of the display is a drop down menu currently labeled 'Daily Energy Use', This menu will let you look at a more detailed display that will actually show you your usage times. Here's mine:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2tvdkxZODBIAH4OHlBFuWrvCewY78tRGJbSCCvyqiHY0sW3S7FJcTZsY2oZaCBQTYSuaHwliOzmtkN_ScRLbN_lFtegGvqkffljTix29gNnjFEmuL29_2fdad_qBW9221WpPx8idxIjI/s1600/2018-05-18+12.16.11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2tvdkxZODBIAH4OHlBFuWrvCewY78tRGJbSCCvyqiHY0sW3S7FJcTZsY2oZaCBQTYSuaHwliOzmtkN_ScRLbN_lFtegGvqkffljTix29gNnjFEmuL29_2fdad_qBW9221WpPx8idxIjI/s640/2018-05-18+12.16.11.png" width="640" /></a></div>
<br />
For the last week this displays my usage on a time line so I can get an idea when my major usage occurs. My chart above shows that I cut the usage way back during the peak period (green) and then let it run wild the rest of the time. The big peaks just after the demand period is the AC kicking on full bore to cool the house back down to where I normally keep it. Also in there is the stove, dryer, pool pump, all the things that use a lot of power. See how I control my usage to only the cheaper times?<br />
<br />
The reason they call this 'Demand' is because you can scan the green area to see when something turned on a drove the demand number up. They save the highest of the green parts as your demand number and use it as a multiplier on your bill.<br />
<br />
If you choose 'Day' up near the top, you can get one days usage and a good indication of the time of day that you used a lot of power.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-J-WsU-Ga7GvlTTcVq5crP0i89qKTGYyGx8a9zfEPLOs_Fq-O-Hb32Geh23cjFPFiFTaPqZIlUQzotf_a5BSBv7Wt5R6iW_syButXA7EKt3rIlk4OklA7vjZQ2tnGR0ycijE1v_Gr_sM/s1600/2018-05-18+12.23.43.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-J-WsU-Ga7GvlTTcVq5crP0i89qKTGYyGx8a9zfEPLOs_Fq-O-Hb32Geh23cjFPFiFTaPqZIlUQzotf_a5BSBv7Wt5R6iW_syButXA7EKt3rIlk4OklA7vjZQ2tnGR0ycijE1v_Gr_sM/s640/2018-05-18+12.23.43.png" width="640" /></a></div>
<br />
My big power usage spike came after the peak period (green), so I paid the lowest price for it. Notice how I keep the green area (peak usage) as low as possible? That keeps my demand number down to save money. You can get to a specific day by using the little calendar symbol on the upper right.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTrmibuSg_4dhNu0orVjknNyNX6BKTqskR1KFcu8R0seg6d9lGr4h2-TbYwxpiyKohE8VfJWv_vu4MAm-n-kH1hZ2Bei5wj3oVuzBRy_PhDCNMg8J6JA256jaMkS2Z-h7pRe9wvi0VZ54/s1600/2018-05-18+12.28.06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTrmibuSg_4dhNu0orVjknNyNX6BKTqskR1KFcu8R0seg6d9lGr4h2-TbYwxpiyKohE8VfJWv_vu4MAm-n-kH1hZ2Bei5wj3oVuzBRy_PhDCNMg8J6JA256jaMkS2Z-h7pRe9wvi0VZ54/s640/2018-05-18+12.28.06.png" width="640" /></a></div>
<br />
Doing this will allow you to zero in on some usage period that may be giving you trouble. Fridays after work when you're hot and kick the AC on too early, or the day the kids were home and fooling with the thermostat come to mind. Little things like that can mess up the demand number and cause an unexpected large bill.<br />
<br />
That's pretty much the guided tour of the APS app. It can tell you how well you did at controlling usage and help isolate troublesome events. What it doesn't tell you is how you are doing right now. You can't get the current day, or a close to real-time display to tell you something is on that shouldn't be. You can only look back.<br />
<br />
My contention is that this nice display was designed to help the APS representative prove it was your fault you get a large unexpected bill. However, given enough time, you can use it to learn what hurts and what you can get away with; you just have to pay for the mistakes when they happen.<br />
<br />
Previous post on this subject <<a href="http://www.desert-home.com/2018/05/supercooling-house-in-desert-part-2.html">link</a>> Next post on this subject <<a href="http://www.desert-home.com/2018/06/supercooling-in-desert-may-22-2018-day.html">link</a>>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com0tag:blogger.com,1999:blog-4922503085503427986.post-70490420749952036192018-05-17T13:48:00.000-07:002018-06-11T22:28:24.791-07:00More on House Power Monitoring: Prebuilt Device<div class="separator" style="clear: both; text-align: left;">
There's been a lot of new devices appearing on the market for monitoring power. I decided to get one and see what was actually going on. I prowled around Alibaba for a while and settled on this one, the PZEM-004:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyCPgkBDK8Ky21h7-YE3FEPjCtC03N_MwIkjOYSsJvIc1UXfNRduiJ9JFAJVdcSalIhOpQ2UXbzCDSSbgbnGaPhPO7YqKNyfmY4vd_uMQkVMwbvR9IWuaEQswXe1FtJrVcnbQelrQcn60/s1600/Capture.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1000" data-original-width="1000" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyCPgkBDK8Ky21h7-YE3FEPjCtC03N_MwIkjOYSsJvIc1UXfNRduiJ9JFAJVdcSalIhOpQ2UXbzCDSSbgbnGaPhPO7YqKNyfmY4vd_uMQkVMwbvR9IWuaEQswXe1FtJrVcnbQelrQcn60/s400/Capture.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The reason I picked this one is that it has a TTL serial output that I can play with as well as a display, and for a long time now I've wanted a display to put on the water heater to show me when it is actually using power. This might just fit the bill as well as giving me an output that I can use to record the actual power usage. Since the water heater is 240VAC, this should do the job. If it works.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Naturally, when it came in, I took it apart to see what was inside:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEityuyaGipoTHr99oEDOjBZfyZih8aoWGyEJG6usaxskj2OovbGJKps2x3JGwUdBo6GzPK4MdwMSUGN9rlzaBQCOBMwFclp-611_SZUNx2kJ7Ih_U1w_nr2xSOhaR-AmavzE_QUPJwJV3Y/s1600/2018-05-15+11.11.52.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEityuyaGipoTHr99oEDOjBZfyZih8aoWGyEJG6usaxskj2OovbGJKps2x3JGwUdBo6GzPK4MdwMSUGN9rlzaBQCOBMwFclp-611_SZUNx2kJ7Ih_U1w_nr2xSOhaR-AmavzE_QUPJwJV3Y/s640/2018-05-15+11.11.52.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The power and CT inputs are on the right and a ttl serial port is on the left. The two big chips that do the work are: Atmel 24C02N a 2 wire serial eeprom <<a href="http://ww1.microchip.com/downloads/en/DeviceDoc/doc0180.pdf">link</a>> and SDIC RWTS SD3004 energy monitoring chip <<a href="http://pdacontroles.com/wp-content/uploads/2018/02/sd3004_datasheet_v0.2c.pdf">link</a>>. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
These 'energy monitoring chips' are a relatively recent thing. Manufacturers took the interest in smart meters and energy monitoring seriously and produced a whole lot of special purpose chips to sell. They're pretty nice, and for an industrial application, do a good job. Every smart meter out there has something similar inside it. The problem I see with them is that for a person like me, they're too darn complicated. They take a bunch of support circuitry and need special commands to do what you want. For the time being, my own devices will use the older methods I already understand, unless this device changes my mind.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The rest of the circuitry is power supply, serial interface, support for the displays and such. I can't recommend that people get one of these because there is no clear separation between the parts that can kill you and the rest of the board. They appear to be relatively safe, but missing are the board cuts and clear indications of where the high voltages run. For a beginner that wants to start monitoring devices, this could get them in trouble.</div>
<br />
But, trouble seems to be my middle name.<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
My water heater is solar. I have a panel on the roof of the garage that heats water, and when the temperature in the heater is less than the temperature of the solar heater, it pumps water from the panel to a heat exchanger inside the water heater. The heat exchanger is necessary because the fluid used in the panel is partly ethelyene glycol to avoid the possibility of freezing up there on the roof. The heater tank is 80 gallons to hold enough hot water for a long time. There is a little 45W motor that moves the water around to do the heat exchange.</div>
<br />
Additionally, there is a helper element inside the hot water tank. The helper element is activated whenever the water needs heating, including when the sun is out and the solar is working. They recommend that people put a timer on the helper element, instead I hooked it into the house controls <<a href="http://www.desert-home.com/2013/01/water-heater-power-control.html">link</a>>. So this device gives me the ability to use the serial output from the power monitor to record the energy used by the heating element of the water heater.<br />
<br />
But, why is that important to me since I have a solar water heater. Firstly, because I can. Secondly, it would be good information to know what a water heater actually uses in energy for my purposes. Heating a bunch of water is an efficient task since the element is actually submerged in there, but it still uses a heck of a lot of power. I want to understand this.<br />
<br />
The very first thing I encountered was hooking the darn thing up in some kind of test bed. I really didn't want a bunch of jumpers carrying 220 hanging off my water heater, so I cut up an old extension cord and built a test bed for a 110VAC light that had two bulbs. That way I could change the bulbs and see different values as a kind of calibration test. I made darn sure the wires weren't exposed so I wouldn't rest my arm on them. The meter worked fine and actually gave a reasonable reading first try.<br />
<br />
Next I went looking for how to hook up the serial port to my laptop. The USB to ttl serial cable that came with it had a fake chip in it and wouldn't work. I chased down the correct drivers for the chip and got the serial working, but couldn't find the proper baud rate anywhere in the (slim) documentation that came with it. That got me to searching the web for information.<br />
<br />
Really fortuitous problem. There are a lot of sites out there that have messed with this device and put up examples. I even ran across a library to support it in github <<a href="https://github.com/olehs/PZEM004T">link</a>> so I wouldn't have to do everything from scratch. By the way, the baud rate is 9600!<br />
<br />
So, I added a little arduino to my test setup and started to peck away.<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCNz_FPw8XQsCWXIKy0rtVzaf8_KdmzHU1QFu-Qr7ZH5VTB0vHyzVeyISFlCbkuqRWtW2hX3t1xCEYeAlbi2bKwvjxnhzge5dfaa47y7RrxdK8ojdk0mNIbDAL7UgSUVjMzehEG1hnoh8/s1600/2018-05-17+12.23.10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCNz_FPw8XQsCWXIKy0rtVzaf8_KdmzHU1QFu-Qr7ZH5VTB0vHyzVeyISFlCbkuqRWtW2hX3t1xCEYeAlbi2bKwvjxnhzge5dfaa47y7RrxdK8ojdk0mNIbDAL7UgSUVjMzehEG1hnoh8/s640/2018-05-17+12.23.10.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Yes, I know it's not the safest setup in the world, but as long as I remember to pull the plug before grabbing that metal screwdriver, I should be OK.</div>
<br />
As you can see, the monitor worked first try and all the displays worked. The picture missing some things is an artifact of the pulsed display. I didn't have as much luck with the software I found though. It took me a bit to figure out what 'yield();' was that was keeping me from compiling, but it turns out that that is simply a delay(0) for the esp8266. I added a stub for that.<br />
<br />
Everything worked from then on Here's the serial results as it came out of the box:<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEwKcMIIodJzBe9NjWoZtnniEgNMehkWVSuXFM5LesHOW8yFVVKF73o1vOPUtxKgHEGfMuDAZVPjOvprA6JI7ULb6J0nZle9o26J02-7ujr_0C_b_s80kXz1V4Vx826SX6IlaBecPQGmo/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="446" data-original-width="662" height="430" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEwKcMIIodJzBe9NjWoZtnniEgNMehkWVSuXFM5LesHOW8yFVVKF73o1vOPUtxKgHEGfMuDAZVPjOvprA6JI7ULb6J0nZle9o26J02-7ujr_0C_b_s80kXz1V4Vx826SX6IlaBecPQGmo/s640/Capture.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The power, voltage and stuff was right on the money when I compared it to other devices I have around the house. The current transformer they supply is one of those that you have to remove the wires to use. You can see it in the picture above. In some places you can't get the wire loose for various reasons, so I tried a SCT-013 that can be found all over the place and I happened to have. The results were not as pleasant:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYSh9fGYtrAbaYbf0VeDOAakJsBj-eqzOciFgGomFIRVpp5HTVhV-mPw0btvrjAZ1kz42mnHrWroIzpsIKH5Vd5JBgH3FG0fMcSTKCR1W2stc0rw044yP8KCzr73OuTYVPNs1rD9rwC5k/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="444" data-original-width="665" height="426" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYSh9fGYtrAbaYbf0VeDOAakJsBj-eqzOciFgGomFIRVpp5HTVhV-mPw0btvrjAZ1kz42mnHrWroIzpsIKH5Vd5JBgH3FG0fMcSTKCR1W2stc0rw044yP8KCzr73OuTYVPNs1rD9rwC5k/s640/Capture.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
If I need to use one of those, I'll have to hunt down and change the burden resistor since I can't get to the calibration. The displays shows one bulb at first and two about half way down; roughly half what it should be. There are no markings on the supplied CT, but I bet it has half the windings of the SCT-013.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<i>(Edit: I looked up the various datasheets, the SCT-013 has a ratio of 1:1800 and the split core version of the included CT is 1:1000. Not quite half, but close. There is a split core CT that will work with this, the PZCT-02, that costs about five bucks and has a 30 day delivery. I'd still like to be able to use the SCT one though)</i></div>
<h1 class="pro-name-wrap" itemprop="name" style="background-color: white; color: #222222; font-family: arial, "Microsoft Yahei"; font-size: 18px; margin: 0px; padding: 0px;">
</h1>
<div class="separator" style="clear: both; text-align: left;">
So, now I'm at a decision point. Do I add this to the water heater setup or not? If I do, do I use a separate system from the garage device. The garage is currently handled by an Arduino that controls the water heater and the garage doors. This device could be for the water heater like I have one for the freezer and such.</div>
<br />
Decisions, decisions.<br />
<br />
Continuing with this device <<a href="http://www.desert-home.com/2018/05/pzem-004-now-to-actually-use-it-for.html">link</a>>davehttp://www.blogger.com/profile/11608589214882334649noreply@blogger.com0