Everything posted by larryllix
-
How to Synchronize Program Execution to the Hour
Nice! With this technique it would be simple for newbie ISY programmers and result in a state variable containing the current system hour, usable elsewhere and never have to be used again. To keep the hour under 24 hours the second program could look like this. If $sHourlyIncrement >= 23 Then $sHourlyIncrement = -1 Run 'Program ThisOne (Else)' Else $sHourlyIncrement += 1 Run stuff The two programs could be combined into one with a more compound If section logic but I would likely separate it into two programs by logical function. One for e the clock setting the variable, and one for the slave function at each hour top. Just the way I tend to think.
-
How to Synchronize Program Execution to the Hour
For inefficiency and CPU cycle wasting...I doubt you would have to worry about it with ISY and when it comes time, you will have a Polisy running about 40 times the processor speed, with hardware clock and hardware buffered I/O etc.. The repeat every 20 seconds...Correct, runs forever. Init to is a variable assignment statement that programs a ROM copy of the variable for boot up, initial value. One of the first things ISY does is to copy all the "init to" ROM variable values over to the RAM copies of the same name.
-
How to Synchronize Program Execution to the Hour
I have to agree with that logic. I used a previous system which limited the number of timers available while ISY doesn't, and I suspect too many may bog some processes down. This is one reason to create a central time keeper and have all other programs use it. However, causing ISY to have to check each of 24 time triggers, every system minute change, in a program, may have more detriments to the CPU schedule, anyway. With down to one second resolution, ISY Wait timers may get checked every second? hmmmmmm…. I see the need for the Polisy CPU speed increase coming. Looks to be about 40 times the processing speed.
-
How to Synchronize Program Execution to the Hour
I would prefer to create a stable system clock, independent of any other hardware or systems, that could be used in many programs. Automatic startup is always a problem in ISY and it typically takes an extra program as kclenden demonstrated above. No flagging variable is needed, only one to keep the current system minute clock. This program needs to have "Run at startup" enabled. Reboot and Initialise - [ID 0040][Parent 0006][Run At Startup] If // Enabled to Run at Startup only Then Wait 2 seconds Run Program 'Set hh.mm' (Then Path) Wait 1 second Run Program 'Set MM.DD' (Then Path) ... Send Notification to 'Text Larry' content 'ISY Rebooted' Else - No Actions - (To add one, press 'Action') Then a program to keep system clock variables. I generate a combo variable $sISY.hh.mm also. Note the extra trigger times are for those times that you stall the process editing the program etc.. and no reboot is taking place. They can kickstart the program again. Note: The usage of State variables where triggers are needed ie: $sISY.minute and $sISY.hh.mm Set hh.mm - [ID 00FC][Parent 0006] If Time is 12:00:05AM Or Time is 8:00:05AM Or Time is 12:00:05PM Or Time is 8:00:05PM Then Repeat Every 20 seconds $sISY.minute = [Current Minute] $ISY.date.scratchpad = [Current Minute] $ISY.date.scratchpad /= 100 $ISY.date.scratchpad += [Current Hour] $sISY.hh.mm = $ISY.date.scratchpad $sISY.hh.mm Init To $ISY.date.scratchpad Else - No Actions - (To add one, press 'Action') Now all any program needs to trigger on the hour would be to watch the system clock based variable. No looping or self starting programs, keeping it simple. Run every hour on the hour - [] If $sISY.minute = 0 Then execute stuff Else ---
-
Running 5.0.16B related issues
IIRC I read about heartbeats that only send On and previously some that alternated ON and then Off. I never saw any Off only heartbeats.
-
isy blinking error and memory
If this ISY cannot be recovered I would be getting a good electrician in to check your neutral and grounding. Your utility may offer some service also. Sent using Tapatalk
-
Variable comments
I waste a variable for a comment in the title for groups of common purpose variables. ------------------------------------------------- WEATHER STUFF ----------------------- another variable Sent using Tapatalk
-
Support Thread: 5.0.16C (ISY994)
Must have been in a state of flux. I am using v5.0.16c.
-
Support Thread: 5.0.16C (ISY994)
I keep reading people posting that advise but all I have ever get is the folder.. My Programs - [ID 0001][Parent 0000] Folder Conditions for 'My Programs' If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Allow the programs in this folder to run. UPDATE: I see UDI has now split it into two options. "Copy to clipboard", and "Copy folder to clipboard" "Copy folder to clipboard" is what works if v4.xxx has it.
-
RESET Polisy
Try admin/admin. It may have been reset.
-
Programming Help
Not based on battery strength but on conservation technique. It may natively transmit a much lower power signal.
-
Programming Help
Lock/unlock is going the opposite direction of signal path to status coming back. The lock may have a much weaker signal due to battery life concerns. I wouldn't assume that.
-
Can I control the LED behind a key of a control pad
The KPL LEDs are controlled by Scenes only. You have to create an Insteon scene for each LED and turn them on and off. LED brightness level is controlled across the board with a program command line. All LEDs will have the same brightness when on. It may be good to inject a Wait 1-2 seconds to allow Insteon traffic to settle down before hitting the LEDs with a change if it is based on a same KPL button press or reception of a wireless device via the same KPL. They act as one device and can cause problems with congestion into the same device (having so many Insteon elements in one address) I "borrow a smart bulb and flash it in the corner, while garage doors are open. If my ISY sees me turn off the lights and then motion in the bedroom, that lamp flashes 100% brightness. My Alexa speakers also announce which garage door is open and when both are closed again. It becomes "usual" and is missed if not heard.
-
Support Thread: 5.0.16C (ISY994)
Duplicate post from another thread.
-
ISY994 - Ports required to work with Alexa?
ISY will not use any ports that it does not need. It doesn't wander through cyberspace.There is no need to block any ports from the LAN side of your router. There is no need to block any ports from the WAN side of your router. Your router already does that.
-
Programming Help
A bit confused here. You could break your functions into smaller programs. It makes it more modular and easy to understand. Sensing the same element you are controlling (jn the same program or system) is a bad idea in a trigger based language. You don't need the tests but it will set the Stat to Home each time the lock entry is used by these people. To avoid this variables or other flag methods to keep track of would be necessary and the feedback loop may be recreated again. If Keypad person is 1 or Keypad person is 2 Then Disarm system, Turn on light etc.. Else ---- If system Disarmed Then Set Thermostat Home On Else ---
-
ISY994 - Ports required to work with Alexa?
ISY should not be blocked or email, SMS, ISY Portal, PolyGlot, NRs may not work. Your router does not allow any traffic from the Internet to your LAN unless you port forward and make holes in the router's natural firewall. Things inside your Lan, like your browser and ISY initiate requests to go outside and get answers and your router allows those answers to come back naturally. It's all about the direction of who asked the question and firewalls allow the answer back through.
-
Programming Help
Look what you have done to cause this. If Elk Area 'House' 'Armed State' is Armed Then Set Elk Area 'House' Disarm Why care if the system was armed before? Just disarm it, if a 2 is registered. No circular negative feedback. This may not be a good idea as it will compromise the security level of your system. This will allow any length of combination to be detected from a KPL
-
Google Home can no longer sync devices
Nice! My Alexa Show gives temps every few hours on the screen. It's sound booms even more for voice and the temperatures never get up to 70 here so there must be something wrong with it. F/C
-
Google Home can no longer sync devices
My S-I-L started out with GH units and got some Echoes later for some app reason? Her usage is not much for remote control,, but mostly for music. She also complains that her Echo 3s do not have the power. I think the GH speakers must produce about 5-10 Watts of sound while the Echoes, about 0.25 - 0.5 Watt. They get distorted and tinny at higher volumes while the GH units can really rock, not room shaking, but quite loud, and still stay clear. How are you finding your Echo, compared to your GH speakers?
-
HDS and Missing Heartbeat
That was the thread most features and updates were requested and UDI would respond fairly regularly. OTOH we never had the @XXXXXX attention getter back then either.
-
Support Thread: 5.0.16C (ISY994)
The PLM is a dual band device receiving RF signals also. If you plug in a device with a magnetic power supply (coils and transformers) and/or blast very strong Insteon signals into it, in the same receptacle, you may saturate the inputs and make it blind to other devices or even the device sharing the receptacle. Try a medium length extension cord maybe.
-
HDS and Missing Heartbeat
There is a "Feature Request" thread for that usually.
-
Using a Keypad Link as an alarm code entry (or an ISY as a DIY Alarm/Security System)?
I use several variables. Vacations and Not Occupied are different needs. After years of experimenting, Vacation is now based on my ecobee thermostat schedule. I just clone the vacation schedule of the stat. Basically Vacation is mostly for mechanical things and how I get contacted, while Occupied is about security against entry. Entry is only allowed from one angle/room and causes a beeping timer warning. Armed Mode Toggle - [ID 00AB][Parent 003E][Not Enabled] If $sHouse.armed is $cFALSE And Program 'Armed Mode Toggle' is False Then Set 'Mudroom / MudRm Beeper' On Wait 30 seconds Set 'Mudroom / MudRm Beeper' Off $sHouse.armed Init To $cTRUE $sHouse.armed = $cTRUE $Armed.off.window = $cFALSE Else Set 'Mudroom / MudRm Beeper' Off $sHouse.armed Init To $cFALSE $sHouse.armed = $cFALSE $Armed.off.window = $cFALSE Do not enable! May oscillate from negatve feedback. Since I have a lot of Insteon interference at that end (KPL) of the house.... (I have two garage door openers close to that circuit, as well as two 3.6kW inverters just underneath the KPL, that cause intermittent response times or occasional retrying needed many times)….. I have just recently added vocal commands for my security system, to turn it on and off. (Here comes the freaking out again! ) Alexa...turn on security/alarm system To turn it off a two step process is needed. Alexa...turn off alarm/security system This opens a time window where you have x seconds to issue another Alexa command. If heard outside the "Circle of trust" .....Meet the Fockers , you may have to change the device name again, same as any other numeric combination.
-
Using a Keypad Link as an alarm code entry (or an ISY as a DIY Alarm/Security System)?
Insteon protocol relies on the AC signal to make the protocol work. Sent using Tapatalk