Please login or register.

Login with username, password and session length
Advanced search  

News:

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

Poll

Would you find this usefull?

Yes
- 4 (80%)
No
- 1 (20%)
Maybe
- 0 (0%)

Total Members Voted: 5


Pages: 1 [2]

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

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 263
  • Posts: 9343
  • I don't work for X10, I use it successfuly!
    • Tuicemen Software
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: 263
  • Posts: 9343
  • I don't work for X10, I use it successfuly!
    • Tuicemen Software
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: 1
  • Posts: 170
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
Pages: 1 [2]
 

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