Central Heating Monitoring with graph and TV, email notification.

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.
Post Reply
Gerry123
Posts: 3
Joined: Friday 05 October 2018 17:29
Target OS: Raspberry Pi
Domoticz version:
Location: Ireland {Mayo}
Contact:

Central Heating Monitoring with graph and TV, email notification.

Post by Gerry123 » Friday 05 October 2018 17:52

Hello,
If anyone is interested I will post the code for the following requirement -
1 - Monitor time/hr a central heating burner is on.
2 - Monitor the external temperature/hr.
3 - Monitor the used oil/hr.
4 - Output 1-3 in graphical form each day.
5 - Output predefined minimum oil alarm via Samsung TV message alert & email.
I am not a developer, just a hobbyist & their will be improvements as the project was a learning experience in Domoticz,Lua,Blockly,EspEasy,Bash,GnuPlot, & a little Python.
Graph attached.
Kind Regards,
Gerry.
Attachments
CHP.png
CHP.png (102.62 KiB) Viewed 477 times

User avatar
EdddieN
Posts: 567
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Central Heating Monitoring with graph and TV, email notification.

Post by EdddieN » Friday 05 October 2018 21:09

Similar setup. What do you show on the TV?

Also, how do you measure the oil?
11101101 - www.machinon.com

Gerry123
Posts: 3
Joined: Friday 05 October 2018 17:29
Target OS: Raspberry Pi
Domoticz version:
Location: Ireland {Mayo}
Contact:

Re: Central Heating Monitoring with graph and TV, email notification.

Post by Gerry123 » Saturday 06 October 2018 20:47

attached tv message, HC-sr04 US Sensor
Attachments
Samsung TV Message.jpg
Samsung TV Message.jpg (89.47 KiB) Viewed 423 times

User avatar
EdddieN
Posts: 567
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Central Heating Monitoring with graph and TV, email notification.

Post by EdddieN » Sunday 07 October 2018 13:40

This one?
https://www.sparkfun.com/products/13959

Wow! I must admit I’m not that comfortable making holes on the tank yet.

How have you found accuracy so far? I understand that temperature plays a fair bit....
what about weather proofing the device and power?
11101101 - www.machinon.com

Gerry123
Posts: 3
Joined: Friday 05 October 2018 17:29
Target OS: Raspberry Pi
Domoticz version:
Location: Ireland {Mayo}
Contact:

Re: Central Heating Monitoring with graph and TV, email notification.

Post by Gerry123 » Sunday 07 October 2018 18:01

Similiar - https://www.amazon.co.uk/ELEGOO-Ultraso ... ds=hc-sr04

Accuracy from memory is +/- 3cm. However their is significant jitter. This is managed in Lua by -
local LDistance_MaxChange = tonumber(LDistance1 + (LDistance1 * 7.5/100)) --Local Variables
local LDistance_MinChange = tonumber(LDistance1 - (LDistance1 * 7.5/100)) --Local Variables
if (tonumber(LDistance) > LDistance_MinChange and tonumber(LDistance) < LDistance_MaxChange) then
commandArray['Variable:VDistance1']= tostring (LDistance)
{where LDistance is the HC-sro4 distance & VDistance1 is the stored value}

Sorry. I cannot take picture of device mounting (weather here quite unpleasant}
2 holes drilled in a cap of a 20 litre container, hc-sr04 pushed through inside of cap holes, cap has a 120*6 mm bolt mounted inside, fuel tank filling lid drilled with 6mm hole, cap secured to inside of fuel tank lid. Weatherproof accomplished.

Power was convenient as burner was quite close.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest