Thursday 29 July 2021

What is wrong with my Central Heating system?

 Before I send this to our Gas system people i want to get my thoughts straight. 

We are having problems with a very noisy pump - That's one problem, but not the main one. 

We have a Solar iBoost that heats up the hot water  during the day using the excess electricity generated by our solar panels. https://www.marlec.co.uk/product/solar-iboost/
This heats the water to hotter than the CH/HW thermostat is set at.  At 16:30 the timer for the hot water comes on, and the pump starts pumping, but I don't notice the boiler firing up. I think it must be accepted that the valve to the HW tank opens for the pump to start. It has now (17:22) been running for 52 minutes, and the pipe is warm, but not hot as if the boiler had heated the water. 

2 questions: 
1. Why does it start if the water is already up to temperature?
2. Why doesn't it stop because the water is up to temperature? 

It is as if the controller says do it because it is time, but ignore the thermostat, even though the boiler doesn't fire because the water in the pipes is hot enough for it's sensors to say I don't need to heat water.   This is an assumption that the CH boiler  only fires up when the water in the pipes falls to a certain temp. 

Maybe I have a failed HW tank thermostat? 

Interesting at 17:37 the boiler is firing. But why because the iBoost says the water is hot?  It has pumped in 2.38Kw today. 

Next test, Turned down the thermostat on the HW tank until I heard it click (~50 deg) and everything stopped. 
Just put it back to 65 and waiting...    valve opened, pump started, so I guess the thermostat is OK. 

Conclusion,  Perhaps today Solar didn't heat up the hot water enough. More tests needed. 


Solar circuit is independent of gas CH. It just heats the electric immersion heater, and gas CH drives hot water through a coil in the tank. Thermostat doesn't care how water gets hot. 

When I adjusted the thermostat and pump started again, the boiler didn't seem to fire up unless I missed it. 

Another hypothesis. The reason that the pump keeps pumping for so long is the same as the fact that it is noisy- It is faulty and not working as efficiently as it should be. 

This is the way that it operates:
Timer  enables Hot Water system at specified time
If Cylinder Temp above thermostat setting, no action
If Cylinder Temp Below thermostat setting, thermostat switch closes
Valve opens
Pump starts, 
Boiler fires up, if Boiler thermostat below max shutoff temp. 
When cylinder temp reaches set point, Switch opens, boiler stops, Pump stops, Valve closes
or
When Timer ends, Boiler stops, Pump stops, Valve ?

Ben's theory

Timer  enables Hot Water system at specified time
Valve opens
Pump starts, 
If Cylinder Temp below thermostat setting, thermostat switch closes
Boiler fires up, if Boiler thermostat below max shutoff temp. 
When cylinder temp reaches set point, Switch opens, boiler stops, Pump keeps pumping, valve stays open. 

MArch 2023
I was told that the pump keeps running for 15 minutes after the heating shuts down.

Current situation is that the bottom of some radiators is cooler than the top. Generally this is an indication of sludge buildup. My new infrared sensor  shows a variation of between 2 and 10 degrees for different radiators. The radiators had been balanced in the past, but two had been turned off. Pure Gas advised me to cut off the input to the reservoir and measure it to see if there was any drop in water level indicating a leak. This was done Sunday morning, and there was no evidence of a leak Sunday night, so we left it  cut off and will check again in a few days. 

All the radiators have been opened fully and the house is now warmer. The ironing room and Madeleine's bedroom have been turned down. 




Saturday 10 July 2021

Systemd or systemctl?

 I have three MicroSD cards, all of which I thought I had built the same, copied a good one to the other two. But only one worksThe situation is that the software includes operation as an Access point, and also am MQTT server (Mosquitto) and a subscriber python program that acts on commands recieved to drive the GPIO pins to steer a car. 

Card 11 I took out of a working car. 

Card 9 when i tried it would turn right only, and 

Card 10 didn't work at all. What I discovered in card 10, after I had updated and upgraded the software, is the response to the commands as shown in this picture.

[Add later] 

' sudo service subscriber status' shows that it loaded and then failed. 

'sudo service subscriber enable'  gave an error 'unrecognized service'

'sudo service subscriber start'  started the service and I was able to use it. 


But this didn't keep after a reboot. 

I discovered that I needed to use

'sudo systemctl subscriber enable' to 'fix' it so that it ran on boot. 

I am now going to go through all this on card 10 and see if this is  correct .

'sudo systemctl subscriber enable' gives: Unknown operation subscriber. 

Found these three possible references:

https://www.youtube.com/watch?v=za-IIZ1xVbA

https://www.instructables.com/Raspberry-Pi-Launch-Python-script-on-startup/   -- quite old. 

https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/     

  -- I am sure that I used suggestion [d] on this before. 

pi@raspberrypi:~ $ sudo systemctl daemon-reload
pi@raspberrypi:~ $ sudo systemctl enable subscriber.service
pi@raspberrypi:~ $ sudo reboot
pi@raspberrypi:~ $ Connection to 192.168.1.9 closed by remote host.

Didn't work. 

BUT: in both card 10 and 11 there is an identical file 

/lib/systemd/system/subscriber.service

I changed the subscriber.py file in 10 because it was an old one, Maybe on the next boot it will work?

Change of direction: I made an image of card-11 and copied it to card-10 and they both work.  but not relaiably.

A lot of work on subscriber.py trying to get it to start. It usually fails on startup, but if I then start it all is OK and it stays up. 

I looked in the file for Mosquitto. service and it had a line 'on failure, restart' so I added this to the file for subscriber.py and now it stays up.