I've already solved this; I'm just posting it as a warning to others.
I'm just getting getting started with home automation and ran into a problem.
I set up a Button Controller (1.6) to make button toggle a switch when pressed. The problem was that when I pressed the button, it toggled the switch at a fast rate in an infinite loop. This is what the logs looked like (note how close together the timestamps are):
Here's how I had Button Controller configured:
Drilling down into the selected actions looked like this:
And going into "Control switches, buttons, capture/restore", you could see this:
See, down there, in the "Assign Buttons" section? That should probably be titled something like "Trigger Button Press", because that's what it actually does. I thought I was assigning Test Button
to toggle the switch that was selected above.
It probably also shouldn't let you select the same button that would trigger this action in the first place, but it does. And that's what I told it to do.
So, I had set up Button Controller so that pressing Test Button
would toggle Test Switch
and trigger Test Button
to be pressed, which would start the whole thing again, endlessly (until I rebooted the hub or changed/deleted the Button Controller configuration).
Removing the selected button from the "Assigned Buttons" section solves this problem and makes it so pressing the button just toggles the switch one time.
Hopefully this helps someone else who runs into the same problem.