Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I 'count' fields?
#31
Dean Roddey Wrote:It looks like they didn't get brought forward to the V2 driver. They could be and it would always be considerably lower overhead to do such things in the driver where possible.

Sure, that would be even simpler too.
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#32
although if we have non-alarm zones, that would mess that up. IE, I have 4 non-alarm zones and many more alarm zones. (driveway gate, closet door, doggy door, patio gate)
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#33
That would be great on both parts. I have one non-alarm which is the garage door and I have a visual button for that.
System: WHS, UPB, Plex, Elk
Drivers: Autopatch, DataLog DB, DTV IP, GC-100, IRA, Logic Server, Variable Driver, Weather Underground
Reply
#34
IVB Wrote:although if we have non-alarm zones, that would mess that up. IE, I have 4 non-alarm zones and many more alarm zones. (driveway gate, closet door, doggy door, patio gate)

That is true also. It does know the zone types, but it couldn't know which types you want it to count.
Dean Roddey
Explorans limites defectum
Reply
#35
OK, 4.8.917 is posted if you want to play around with it.
Dean Roddey
Explorans limites defectum
Reply
#36
wow, that was easy. made my logic fields with the On Counter, then summed my counter fields. exactly what i was looking for in a grand total of 6 minutes.

nice, Dean. thanks!
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply
#37
You only created one On Counter field, right? One of those counts up all of its source fields. It kind of sounded like, from what you wrote, that you created one of them per source field or something.
Dean Roddey
Explorans limites defectum
Reply
#38
i have 3 On Counter fields since i have so many lights and 1 Math field. im counting with the counters and summing the totals with the math field.

and now i have a my calculation for zones that are not secure.

[Image: 37774944.jpg]
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  The maximum collection node count has been exceeded. Max=0 NightLight 5 1,823 02-28-2020, 08:28 AM
Last Post: gReatAutomation
  Can't add fields to ElkDev driver rbroders 4 2,244 08-07-2018, 06:24 PM
Last Post: Dean Roddey
  TrayMon: "Maximum collection node count exceeded" IVB 6 2,722 06-24-2018, 11:21 AM
Last Post: Dean Roddey
  Lumagen Radiance fields missing dlmorgan999 14 8,613 02-18-2017, 11:04 AM
Last Post: dlmorgan999
  Field Check Box fields George M 2 2,438 01-25-2017, 04:14 PM
Last Post: George M
  Cant use fields of Denon driver in global actions George M 4 3,947 12-18-2016, 06:21 PM
Last Post: Dean Roddey
  Persistent Fields Ron Haley 1 1,694 05-06-2016, 03:31 PM
Last Post: Ron Haley
  Logic Server Fields Limit zra 11 5,565 03-20-2016, 07:59 AM
Last Post: zra
  Feature Request: Fields in Error per driver IVB 13 5,647 12-28-2015, 09:42 AM
Last Post: Dean Roddey
  Best way to iterate fields and check for a value? dlmorgan999 2 1,905 07-26-2015, 05:28 PM
Last Post: dlmorgan999

Forum Jump:


Users browsing this thread: 1 Guest(s)