Jump to content

Steven

Members
  • Posts

    32
  • Joined

  • Last visited

Profile Information

  • Location
    Sunnyvale, CA

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Steven's Achievements

New

New (2/6)

1

Reputation

  1. That solved the problem. The security system runs the "disarmed" (Then Path) when it's disarmed. There is program named "disarmed stay" that has an If condition of Program:disarmed is True AND $Alarm_state is 1. Another program named "disarmed away" has an If condition of Program:disarmed is True AND $Alarm_state is 2. The "Then" of "disarmed stay", runs the Else Path of "armed stay". The "Then" of "armed stay" sets $Alarm_state to 1. The "Then" of "disarmed" sets $Alarm_state to 0. The only thing that could be cleaner is the system could be armed "stay", then armed "away" without an intervening "disarm". To handle this, the "armed away" Then calls the "armed stay" (Else Path). That may cause some extra events, but it doesn't seem to hurt.
  2. Here's my case: I have a security system that can be "armed away", "armed stay", or "disarmed". When it changes into one of those states it can trigger a script, that can call an ISY program via the REST URL. I have a program named "armed away" and another named "armed stay". They do different things. (E.g. the "armed away" program turns a radio on and off. The "armed stay" program turns the living room lights off. The issue is that the security system sends a "disarmed" event, but doesn't distinguish how it was previously armed. That can call the Else Path for one of the programs, or can call a separate "disarm" program. I would like this event to call the Else Path for whichever of the programs that is currently true. Is there a way to say: "Call the Else Path for the "armed away" program, but don't call it if it was already false?
  3. I forgot to include the important version information. Here's what I'm using: Insteon_UD994 v5.3.4
  4. I was hoping to use a different login/password for a script that uses curl to call the REST interface of the ISY 994i. From the Administrative Console, I used File -> Set Userid/Password -> User 1, but the REST call returned a 401 code when I used the username/password I just entered. Not only that, but that userid/password wouldn't work for logging into the admin console (which I kind of understand since it's not supposed to be an admin user). The question is: When I fill the "Set User ID #1 Userid/Password" dialog does it actually do anything, and if it does, how can I use the username I just created?
  5. Update: I tried rebooting, and now it says my PLM is likely defective. Fortunately, I have a spare.
  6. I have a similar problem. It's intermittent, but it just happened now with the log open. I have a program that turns a scene on in the "Then" clause. I just ran the "If" of the program, and its Status is now "True". However, the light in the scene that it is supposed to turn on is still off. The Event Viewer level 3 says this: Thu 06/09/2016 06:05:14 PM : [ Time] 18:05:16 1(0) Thu 06/09/2016 06:05:14 PM : [iNST-TX-I1 ] 02 62 15 14 3B 0F 13 00 Thu 06/09/2016 06:05:14 PM : [iNST-TX-I1 ] 02 62 00 00 18 CF 11 00 The device in question (a 2635-222 On/Off Module at address 37.10.02) is off. Why didn't it turn it on? I just tried to query the scene, and I got a communication error. What now?
  7. Please take that as a feature request.
  8. Whoo hoo! That got me much further. Now, I have another issue (to which I suspect the answer may be that I need the PRO version): The certificate got imported to the ISY-994i, but the browser (Firefox in this case) doesn't have the intermediate certificates. Firefox gives this error: The certificate is not trusted because no issuer chain was provided. (Error code: sec_error_unknown_issuer) I was able to work around this with a per-browser solution by importing the intermediate certificate from www.startssl.com/certs/sub.class1.server.ca.pem. It would be nice to have this stored on the ISY-994i. I understand that multiple certificates (for example, the main certificate and the intermediate certificate) can be put into one PFX file. I tried that, but it didn't seem to make a difference, but that could be because I did it wrong. Question: Does the ISY-944i read multiple certificates from a PFX file, and does it send all the certificates to an incoming SSL connection?
  9. By the way, here are the details of the certificate I'm attempting to import: Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (2048 bit) X509v3 extensions: X509v3 Basic Constraints: CA:FALSE X509v3 Key Usage: Digital Signature, Key Encipherment, Key Agreement X509v3 Extended Key Usage: TLS Web Server Authentication X509v3 CRL Distribution Points: URI:http://crl.startssl.com/crt1-crl.crl Authority Information Access: OCSP - URI:http://ocsp.startssl.com/sub/class1/server/ca CA Issuers - URI:http://aia.startssl.com/certs/sub.class1.server.ca.crt X509v3 Issuer Alternative Name: URI:http://www.startssl.com/ Signature Algorithm: sha1WithRSAEncryption
  10. I upgraded to 4.2.10. Now I get this error:
  11. Steven

    SSL Certificate

    I'm trying to import a certificate to my 994i. Using the dashboard, I bring up the Server Certificate dialog, and import my PFX file. It asks me if I want to import, and I say yes. Then I get this error: Socket Open Failed javax.net.ssl.SSLException: java.security.ProviderException: java.security.NoSuchAlgorithmException: SunTlsKeyMaterial KeyGenerator not available What does that mean?
  12. I got a certificate from startssl.com, and converted it into PFX format. I then started the Dashboard and brought up the "Network" dialog. I brought up the "SSL Certificates Management" dialog, clicked on the "Import Cert." button, and opened my PFX certificate. It asked for the private key password, which I know I typed correctly, because it gave an error when I typed the wrong password on purpose. It then asked me "Would you like to import this certificate", and I answered "Yes". At this point it brought up a confusing popup that said only: After clicking that away, the certificate information showed what I expected: Issuer: StartCom Class 1 Primary Intermediate Server CA Host Name: (My dynamic DNS host name to my home router) Country: US Fingerprint: (A long hex string) Key Strength: 2048 At this point it was not clear what to do next. I closed the dialog, and the documentation implied that the ISY would restart, but it didn't, so I rebooted it myself. However, when it came back up, it was still using the self-signed isy.universal-devices.com certificate. How do I get my certificate onto the box? It's an ISY 994i running 4.0.5.
  13. I'm attempting to install a new certificate on my old ISY-99i using the free CA startssl.com. From the SSL Certificate Management utility, I select "Generate Certificate Request to CA" I fill out the form, and press Ok. Now it sits there with an hourglass and does nothing.
  14. Steven

    Sunset OR later

    Thanks! The nested 'And' within the 'Or' worked exactly as expected. I used parenthesis just to make sure the grouping is what I want. Next, a similar question: I have an old X10 Sundowner that sends an X10 "On" message when the ambient light level drops. I already use that to turn on the living room light. We have a Time-Of-Use meter from our electric company. This means that we pay a lower rate for electricity after 6:00 p.m., and on the weekends. Therefore, I would like to postpone turning on the garden lights until 6:00 p.m., if it gets dark before that. The first part is easy: If X10 'B4/On (3)' is Received And From 6:00:00PM To 11:59:00PM (same day) However the second part I don't know. I want to turn the lights on at 6:00 p.m. if the X10 'On' is received earlier. I'm guessing that for this I will need a second program to keep track of the state of the X10 Sundowner. Something like: If X10 'B4/On (3)' is Received And X10 'B4/Off (11)' is not Received Am I thinking right?
  15. I'm also new to the ISY 99i and a long time X10 user, so please take this advice with that in mind! Your program needs to control the scene, not the button. In the "Then" section, select "Insteon", then select the Scene you want to change, not the button.
×
×
  • Create New...