Jump to content

jfai

Members
  • Posts

    187
  • Joined

  • Last visited

Everything posted by jfai

  1. These kinds of discussions pop up every now and then. The ISY programming language is not a general-purpose procedural language. Rather, the collection of ISY programs implement a finite state machine, where the IF conditions trigger state transitions and the statements in programs describe the actions when a transition is triggered.
  2. The undefined order of execution of lines of the Then/Else clauses would cause a support nightmare. I have never noticed any ISY program behaving like this, nor did I notice any documentation stating that the execution order of lines of Then/Else is undefined.😯
  3. A statement like "the order of execution is not defined" in the documentation of systems is common in event queue implementations (and multi-threaded processing implementations). If the programmer writes a finite state machine (IoX programs basically form a finite state machine) where the same event causes two different outcomes, that state machine is in fact a pseudo-random generator. To make the outcome deterministic, something else (another condition) needs to control the outcome. This additional condition could be specific to the system implementation (and therefore obscure) or explicitly added to the finite state machine by the programmer. Personally, I prefer to have full control over the finite state machine, so that it works independent of any particular implementation.
  4. Dev version -> alpha release -> beta release (to select users) -> production release.
  5. ... or get a Bond hub for all these different motor/fan RF remotes.
  6. For the range tests with the Bond Pro, I used the local API with Network Resources. I would have added the Bond local API to my Node JS server and replace the Somfy MyLinks, but we sold the house before I got the chance.
  7. No, I'm not using the node server.
  8. I'd recommend the Bond (Pro) bridge for RTS motors - hands down. Range was enough for ~60 ft in a single-story house from one end of the house to the other. It would most likely reach further. Note: I have no first-hand experience with the Z-Wave motors.
  9. The closest thing to a "standard" bridge device for window treatments (and ceiling fans) is the Bond Bridge. Contact Bond about compatibility with the shades or blinds you are considering by providing the FCC ID of the receiver. I know they support the RTS Somfy motors as well as other motor brands. If the motor has an RF remote, there is a good chance that Bond will be able to control it and with better range than the original remotes. P.S. I have no affiliation with Bond. Just speaking from firsthand experience after testing a Bond Pro bridge against solutions provided by Somfy and other manufacturers.
  10. Replace the non-GFCI breaker with a GFCI breaker. You also need to ensure that the floor covering temperature does not exceed the covering-specific maximum temperature, e.g. 82 F for anything but tiles/stone (104 F). This requires a floor sensor embedded in the heater substrate. There aren't many thermostats that have inputs for floor temperature probes.
  11. izy or ezy
  12. I've been using Ring cameras to detect motion and doorbell activation long before the Ring Node server was created on Polyglot Cloud. This method still works. 1. Add the “Ring” skill to Alexa and say “Alexa, discover devices”. This will list all Ring cameras and the video doorbells as Alexa devices. 2. Using the ISY Portal, expose an ISY state variable to Alexa as a light. An Alexa light device can be set to a specific percentage value, which sets the state variable to the percentage value. 3. Use Alexa routines to set the percentage value of the light device corresponding to actions on the cameras (motion at camera X, doorbell button press, ...). 4. Write ISY programs that use the state variable as trigger.
  13. Remove all port-forwarding rules from the router. Incoming WAN IP traffic should not reach your Polisy.
  14. Is there any information about the recommended distance from the bridge device to a Somfy RTS motor?
  15. It could be done using alias-to-ZID mapping. In your ISY programs, you would only use the aliases for Z-Wave devices. The ISY would use the mapping table to translate between the alias and the Z-Wave id. Then, when a device is assigned a new id, you would need to change the id in the mapping table as an additional administration step, leaving the alias the same.
  16. I see ... you're running Polyglot version 3 (alpha). My comments apply to version 2.
  17. Open the Dashboard from the Polisy webserver, e.g. https://192.168.0.18/dashboard. Then select System > Update Polisy. This works with all major web browsers (well, I haven't tested all of them, but I know it works with Edge and Samsung Internet. The U/I was implemented with Angular, so it should work with all major web browsers)
  18. If your Polisy has fairly recent FreeBSD and udx versions (less than 9 months old or so), my experience is that the "Update Polisy" menu entry in the Polisy UI is working well. The update script will do a reboot as necessary, otherwise only the updated services are restarted. If you want to know what's going on during the update, you can follow the system log. SSH into Polisy, then: tail -n 50 -f /var/log/messages Note: The SSH connection will be terminated when the Polisy is rebooted.
  19. Hopefully, a disabled program remains out of the evaluation queue. I am disabling programs because I want them ignored completely. I think what Jimbo is requesting should be done with a different program calculation mode, something meaning "evaluating but not executing". So we'd have "enabled", "disabled", "evaluating".
  20. Great - but why are you testing 15:xx times when your ISY thinks it's after 16:00?
  21. OK, there is something else going on. I noticed on your screen shot, that your ISY time is 16:14:08, yet you're testing with times in the 15th hour. Are your time zone settings correct, i.e., is the local time shown at the top of the Admin Console window correct?
  22. Did you ensure that the ON time is in the future when you pressed the 'Save Changes' button? If the ON time has already passed when you save the program, nothing will happen.
  23. Did you save the program? In the screen shot, it doesn't look like you pressed the 'Saved Changes' button...
  24. Yes, it should have turned on exactly at the specified time (it won't turn on once the clock time has passed). You did click Save Changes, right? Can you turn the device on from the Main tab by selecting the device in the list and click the ON or FAST ON button? (the exact button label depends on the specific device). You don't need two programs: you can turn it on in the Then branch and turn it off in the Else branch as per my first response. But first, ensure that you can turn the device on and off using the Admin Console::Main tab.
  25. That program will turn the air bubbler on at 13:35 (only if the device status is off). After that, only the Else branch will evaluate. Suggestions: 1. Remove the status check - it's superfluous. If the device status is already ON, turning on again doesn't matter. 2. You need to add a TURN OFF command to the Else branch. Else will execute at 13:40.
×
×
  • Create New...