I have an EasyTrigger condition that will calculate what a three day average temperature is based on weatherxml foretasted temps and then set a virtual device to Heat/Cool/Off based on what that calculated value is. My question is, while I'm testing these events I would like to see what the calculated value is, so rather than creating another virtual device just to hold the calculated value, is there a way to maybe have the value stored in the device string and then send the device string value in a pushover?
Announcement
Collapse
No announcement yet.
How to send a calculated value via Pushover
Collapse
X
-
How to send a calculated value via Pushover
HS4 4.2.6.0 &HSTouch Designer 3.0.80
Plugin's:
BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-WaveTags: None
-
Originally posted by will40 View PostI send device strings using pushover all the time using Homeseer replacement variables in the pushover message body for an example: $$DTR:126: & $$DTR:127:
I send strings from two different devices.HS4 4.2.6.0 &HSTouch Designer 3.0.80
Plugin's:
BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave
Comment
-
Originally posted by teladog01 View PostSomething like this maybe?
Code:&hs.SetDeviceString(AvgTempDevRef, CStr((hs.DeviceValue(Day1DevRef) + hs.DeviceValue(Day2DevRef) + hs.DeviceValue(Day3DevRef)) / 3), False)
HS4 4.2.6.0 &HSTouch Designer 3.0.80
Plugin's:
BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave
Comment
-
Originally posted by The Profit View PostThis script set the string of the virtual device but it also set the device value to the same calculated value.
Comment
-
Originally posted by teladog01 View Post
SetDeviceString should not affect the device value, so something is fishy here. Deleting and recreating the virtual device would be a good thing to try. Or you could first try just recreating the value/status pairs (if you'd like to try to keep the device ref in place so you don't mess up events.)
So far the set of events has done a really good job of automating when to set the HVAC system to the appropriate mode. Next will be to incorporate open/closed door/windows.
HS4 4.2.6.0 &HSTouch Designer 3.0.80
Plugin's:
BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave
- Likes 2
Comment
-
Guest
I had the same conclusion has you a couple of time. So i create some just for theses type of case.
maybe creating a global variable containing that value would do the trick too.
you can send global variable via pushover plugin too
Comment
Comment