Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Weather problem

Featured Replies

Posted

I have a very simple program that sets a variable if the average temperature drops below 5c. I use this variable to run or not to run programs. 

 

If module 'climate' average temperature <=5c 

 

I'm in Montreal Canada and we are in the middle of the summer and the average temp doesn't go anywhere near 5c , but every night this program runs and sets the variable wrong. 

 

Does it run at the same time every night?  If so, perhaps this might be a clue as to the cause.  (Specifically, I wonder if ithis is being triggered by a nightly query or some other programmed event.)

I attached  some pictures.  Hopefully these answer your questions. 

 

Are you using a state variable or an integer variable?.  A program can only be triggered by a state variable.

 

Take a look at your variable to make sure it's properly initialized.

 

Being that your weather data is coming from Montreal Airport is should be reliable. You might want to take a look at your error log to see is there's any HAM Weather related errors.

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.