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.
Central Heating Monitoring with graph and TV, email notification.
Moderator: leecollings
-
- Posts: 3
- Joined: Friday 05 October 2018 17:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ireland {Mayo}
- Contact:
Central Heating Monitoring with graph and TV, email notification.
- Attachments
-
- CHP.png (102.62 KiB) Viewed 1559 times
- EdddieN
- Posts: 510
- Joined: Wednesday 16 November 2016 11:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Scotland
- Contact:
Re: Central Heating Monitoring with graph and TV, email notification.
Similar setup. What do you show on the TV?
Also, how do you measure the oil?
Also, how do you measure the oil?
11101101 - www.machinon.com
-
- Posts: 3
- Joined: Friday 05 October 2018 17:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ireland {Mayo}
- Contact:
Re: Central Heating Monitoring with graph and TV, email notification.
attached tv message, HC-sr04 US Sensor
- Attachments
-
- Samsung TV Message.jpg (89.47 KiB) Viewed 1505 times
- EdddieN
- Posts: 510
- Joined: Wednesday 16 November 2016 11:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Scotland
- Contact:
Re: Central Heating Monitoring with graph and TV, email notification.
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?
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
-
- Posts: 3
- Joined: Friday 05 October 2018 17:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ireland {Mayo}
- Contact:
Re: Central Heating Monitoring with graph and TV, email notification.
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest