I see you have opened a new thread on this triggering question.
Announcement
Collapse
No announcement yet.
Jon00 Cumulative Uptime Monitor For Homeseer Devices
Collapse
X
-
Yes Jon. I knew the problem wasn't your script.
When you create a new event, it is checked by default to "Disable Automatic Event Triggering". That makes no sense to me at all, but one would think when I post "I can trigger it manually, but the the device change does not trigger the event", someone would have suggested I uncheck that. Anyway, I have it working now. Your script is awesome and will do what I want. Thank you.
I have 2 RCS TR40 serial thermostats that I want to trigger your script. Right now they are connected to a laptop running 1.7 and my 2.x trial on the laptop has expired. I may have a question or 2 later, but for now I can see how your script will help me.
Thanks again.
Comment
-
Originally posted by Isk82 View PostIs there a way to display only hours and minutes? I thought using TimeStringFormat=12,13 would work, but it still displays the days. I'd like to have hours add up over 24 and not create days.
Thanks
I've added 2 new time string formats:
15 = X hours (as a total) X minutes
16 = X hrs (as a total) X mins
Comment
-
Jon
I am setting up a nightly event to clear all my counters (currently just 2).
I am running: Jon00Uptime.vben("Main","Reset")
and I get the following in the log:
HTML Code:11/4/2010 4:27:18 PM - Event - Running script in background: Jon00Uptime.vben("Main","Reset") 11/4/2010 4:27:18 PM - Jon00_Uptime - Error: Unrecognised or no device number specified in optional parameters - script terminated 11/4/2010 4:27:18 PM - Jon00_Uptime - Error: Unrecognised or no device number specified in optional parameters - script terminated
ThanksHS4Pro on a Raspberry Pi4
54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI
HSTouch Clients: 1 Android
Comment
-
My usage of Uptime plugin
Jon, Just thought I'd share one of my uses for your plugin. I fill my water softener with a 40 pound bag of salt every 42 days, so this serves as my reminder. I can hide the Uptime device (Z20), since I also have a simple Reset button on the device displaying the status (D12) that resets the device string, the timer, and restarts the timer, which I click on after adding salt.
sub main()
hs.SetDeviceStatus "D12","3"
hs.RunEx "Jon00Uptime.vben","Main","1;Reset"
hs.RunEx "Jon00Uptime.vben","Main","1;1"
end sub
Comment
-
Jon
Guess I'll know in 23 more days My understanding is it should turn my device D12 ON and that should trigger my status change event
sub main ()
if hs.ison("d12") then hs.SetDeviceString "d12","ADD SALT"
if hs.isoff("d12") then hs.SetDeviceString "d12","OK"
end sub
Comment
-
shed2000
Hi all and a happy new year to you all.
I have been using this plugin for a few days now and it does what i need but I was wondering if there is any way that the results i get from this could be automatically put into a table and logged.
I am using this to monitor my boiler running times so that I can work out how long it runs for each day and i would like this information put into a table or something so i can scrutinise the results over the period of a month. I know i can get the total time but i would like this reset each day ( which it does ) but i would like the results automatically logged.
Thanks in advance
Edd
Comment
-
shed2000
Originally posted by jon00 View PostWhy not just setup several devices looking at the same data but each reset differently, i.e. daily, weekly, monthly etc?
Cheers
Comment
-
shed2000
Comment