Please login or register.

Login with username, password and session length
Advanced search  

News:

The Buster PiX10Hub is here! Created by the Community, for the Community.:)% #:)

Pages: 1 [2]

Author Topic: 🌪️Weather Alerter for HG  (Read 1781 times)

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 271
  • Posts: 10083
  • I don't work for X10, I use it successfuly!
    • Tuicemen Forum
Re: 🌪️Weather Alerter for HG
« Reply #15 on: April 15, 2019, 09:54:32 PM »

I had hoped HG build 1.3-stable.3 would have addressed some of the issues with the OpenWeatherMap program which this uses. Unfortunately this didn't happen B:(
Although I feel this (Weather Alerter) is more then ready for releasing  those wishing humidity alerts or Fahrenheit symbols (F) in the Open weather Map are out of luck unless they wish to edit some code.
This isn't a big deal for either the widget or program (takes less then 2mins and is documented on my forum) but I understand users not wishing to do this.  ;)

I've added code so the Weather Alerter will do the conversions and display correct values for those that want this in the Weather Alerter widget until OpenWeatherMap is working correctly in HG.
I've had some active weather the last few days and this has performed well for me with the options I had enabled.
I continue to fine tune things here with this for my setup and as I think of things which I may need either here or at my off grid place I add the options.
I have some hysteresis built in to the code but these I feel may need a bit more fine tuning ::) :'
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 271
  • Posts: 10083
  • I don't work for X10, I use it successfuly!
    • Tuicemen Forum
Re: 🌪️Weather Alerter for HG
« Reply #16 on: April 16, 2019, 08:29:24 PM »

Currently I have a RC build of this posted on my forum and free to any user that has access to the members only section. http://forums.tuicemen.net/index.php?topic=1337.msg8297#msg8297
I would ask if you download it to play with that you post some feed back in that thread so I can weed out issues one may encounter. >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum

soxfan1966

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 332
Re: 🌪️Weather Alerter for HG
« Reply #17 on: April 17, 2019, 06:28:17 AM »

Just wanted to chime in and say I agree with Tuicemen. 

While there can be advantages to copying existing code that often is better served once you understand it.  So starting something new (which can be based on something existing) allows me to get a better understanding of what the code is doing too. 

I think it's all a matter of what you are trying to achieve as well - getting something together quick to work vs getting something together that you understand how and why it works.

I have only started working with HG in the last 4-5 months and with that I am starting slowly, relying on existing functionality to get my setup working.

But very recently I have started to expand and part of that has been testing the weather alerter, which includes trying to gain an understanding of how it's working (I was able to make some small code changes as part of that to get it working based on Tuicemen's directions).

Not that I am planning currently to write something of my own as of now, but if I did I would follow the same approach he did here

As they say, there is more than one way to skin a cat.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 271
  • Posts: 10083
  • I don't work for X10, I use it successfuly!
    • Tuicemen Forum
Re: 🌪️Weather Alerter for HG
« Reply #18 on: December 28, 2019, 04:49:19 PM »

I posted this Program in the OP ( http://forums.x10.com/index.php?topic=30949.msg181860#msg181860 ) It is also included in the newest PiX10Hub(zerroW version) image but users that have moved to buster or still using the old Stretch version won't have this.
You'll need the latest version of HG as it uses the Open weather program in it.
This gives any device configured in HG the options to trigger on any of the conditions listed in WeatherAlerter.
Note: The ability to trigger on humidity values will require an edit to the Openweather program to function. this edit is done in the buster versions of the PiX10Hub
« Last Edit: February 07, 2020, 07:55:35 AM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum
Pages: 1 [2]
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.