Author Topic: Creating triggers from luup code  (Read 16442 times)

Offline parkerc

  • Sr. Hero Member
  • ******
  • Posts: 2341
  • Karma: +32/-45
  • Life Moves Pretty Fast....
    • Node Central
Re: Creating triggers from luup code
« Reply #60 on: September 20, 2017, 07:00:14 pm »
status, status1, and power are set once initially and never updated again.  Is that what you intended?  Your if/then/else checks them later so I suspect you want them updated?

Great point !

Thanks for that. I?ve been slicing and dicing the code around so much now to try to get each function to work. So I?ve had those calls in various places  etc. .

I?ll look to make them part of their respective functions again and see how that changes things