Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


peejayw

1714 posts

Uber Geek


#295512 3-Apr-2022 11:03
Send private message

I tried this a while ago but got hopelessly bogged down.

 

I have two temperature sensors, one at ceiling height and one at floor. I want to turn on a ceiling fan when the difference between the 2 sensors exceeds say 5deg.

 

Any suggestion?

 

Thanks.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic
mattenz
190 posts

Master Geek


  #2896264 3-Apr-2022 16:38
Send private message

Would you perhaps start by making a template sensor?

 

This looks like one approach: https://community.home-assistant.io/t/relative-temp-difference/202449


 
 
 

Best TrendMicro deals for antivirus and malware protection(affiliate link).
peejayw

1714 posts

Uber Geek


  #2896274 3-Apr-2022 17:11
Send private message

Thanks Matt, that looks like an avenue to follow.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


mattenz
190 posts

Master Geek


  #2896276 3-Apr-2022 17:12
Send private message

All good, could then maybe attach it to a thermostat card, got me thinking haha.




davidcole
5807 posts

Uber Geek

Trusted

  #2896293 3-Apr-2022 17:54
Send private message

Having just moved a bunch of my heating rules from openHAB to home assistant I’ve been playing with things like.
Getting temperature from 1 hour ago.
Comparing temp from 1 hour ago with now to get a trend.
Lessening the the min temperature for a thermostat, or the offset from standard value to standard value - trend. Which essentially turns on the heater early.

Also implemented a customer thermostat that uses profiles. Mainly for a boost profile which will manually turn on the heating system.

Doing this was my first challenge for moving off openhab. Then I can port over other things. I still currently use both. But my heating and lighting are driven from home assistant. I like the much lower memory use and being able to write automations (rules in openHAB speak) via phone




Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Windows 10
Host Plex Server 3x3TB, 4x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 2xUbuntu 20.04 LTS, Backblaze Backups, usenetprime.com


SpookyAwol
594 posts

Ultimate Geek


  #2896824 4-Apr-2022 15:26
Send private message

If you want to totally overthink it like I do, use node red ;)
Standard HA automation's are fairly flexible, but node red is next level (and Im not even scraping the surface)

The link above looks like it will do the trick.
Look at expanding on the conditions that are available for logical comparisons
https://www.home-assistant.io/docs/scripts/conditions/

 

 


peejayw

1714 posts

Uber Geek


  #2896869 4-Apr-2022 16:57
Send private message

ITS ALIVE!! ITS ALIVE!!  😁

 

Thanks for all your help, I have got it running and only destroyed a few more brain cells in the process but have learnt a bit more in the process.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic





News and reviews »

NordVPN Helps Users Protect Themselves From Vulnerable Apps
Posted 5-Dec-2023 14:27


First-of-its-Kind Flight Trials Integrate Uncrewed Aircraft Into Controlled Airspace
Posted 5-Dec-2023 13:59


Prodigi Technology Services Announces Strategic Acquisition of Conex
Posted 4-Dec-2023 09:33


Samsung Announces Galaxy AI
Posted 28-Nov-2023 14:48


Epson Launches EH-LS650 Ultra Short Throw Smart Streaming Laser Projector
Posted 28-Nov-2023 14:38


Fitbit Charge 6 Review 
Posted 27-Nov-2023 16:21


Cisco Launches New Research Highlighting Gap in Preparedness for AI
Posted 23-Nov-2023 15:50


Seagate Takes Block Storage System to New Heights Reaching 2.5 PB
Posted 23-Nov-2023 15:45


Seagate Nytro 4350 NVMe SSD Delivers Consistent Application Performance and High QoS to Data Centers
Posted 23-Nov-2023 15:38


Amazon Fire TV Stick 4k Max (2nd Generation) Review
Posted 14-Nov-2023 16:17


Over half of New Zealand adults surveyed concerned about AI shopping scams
Posted 3-Nov-2023 10:42


Super Mario Bros. Wonder Launches on Nintendo Switch
Posted 24-Oct-2023 10:56


Google Releases Nest WiFi Pro in New Zealand
Posted 24-Oct-2023 10:18


Amazon Introduces All-New Echo Pop in New Zealand
Posted 23-Oct-2023 19:49


HyperX Unveils Their First Webcam and Audio Mixer Plus
Posted 20-Oct-2023 11:47









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.







GoodSync is the easiest file sync and backup for Windows and Mac