Insteon Beeps seem to freeze my eisy!
I have an interesting challenge with my eisy where it will periodically freeze all work for up to 4 minutes. When this happens, all scripts/programs freeze regardless of their actions, affecting Insteon, Z-wave and network resources equally.
Fortunately, this doesn't freeze the Java interface, so over the last couple of months, since my upgrade from the ISY994i, I've finally figured out the "what" if not the "why" of what is going on.
For the record, this happens in 5.7.0 and as far as I can tell, earlier versions on the eisy were similarly affected, but not the ISY994i.
One of the cool things about Insteon switches, is their ability to Beep on command. In my house, I've written scripts that, when a door opens in the house, the light switches make a short beep and alert us to someone coming or going (such as my teenage kids sneaking back into the house after midnight). This is obviously much more subtle than having the house alarm go off.
So I have a program, suitable called "Beep", that looks like this:
If
- No Conditions - (To add one, press 'Schedule' or 'Condition')
Then
Set 'Ground Floor / Kitchen / Kitchen Ceiling' Beep
Set 'Ground Floor / Kitchen / Kitchen Table' Beep
Set 'Lwr Ground Floor / Family Room / Family Room' Beep
Set 'Upstairs / Master Bedroom / Mstr Bed Control.1' Beep
Set 'Upstairs / Mstr Bathroom / Mstr Bathroom Light' Beep
Set 'Garage+Studio / Studio Ceiling' Beep
Else
- No Actions - (To add one, press 'Action')
I then call this program, whenever I need to be alerted. So programs like this:
If
'Lwr Ground Floor / Backdoor-Opened' is switched On
Then
Run Program 'Beep' (Then Path)
Else
- No Actions - (To add one, press 'Action')
So here is the snag. Whenever any of my programs call Beep, they freeze in place, and put the entire eisy into stasis for a period of time ranging from 30 seconds to a good 4 minutes. Nothing appears in the log files to suggest a problem, and when it comes back to life, it will catch-up with all the scripts actions from all activities that were paused across any/all methods. While I have Z-wave devices, these programs use pure Insteon products, so all the door sensors are Insteon TriggerLinc and the switches doing the beeping are Insteon SwitchLinc devices.
So now to debugging - If, from the Java interface, I run the "then" command on either the "Beep" program or any of the programs that call "Beep", the programs work immediately and the system doesn't freeze.
However, should the "If" construct be executed (such as a teenager opening the backdoor) then the freeze occurs.
I can actually watch this happen through the Java interface, as I can see the program icon turn solid green, and then stay solid green for a long time. Finally the beeps occur and it returns to a thin green line, indicating the program completed in the "then" branch.
I've taken obvious steps such as write new programs, limit my beeps to one switch only, and various combinations of beeps, but to no avail. So for the moment, I've had to suspend my beeping until I can come up with a suitable solution.
In the meantime, my teenagers are free to come and go without the house betraying their tardiness.
Is anyone else using Beeps this way and if so, seeing similar problems (with the eisy, not their children)?