Jump to content

MrBill

Members
  • Posts

    4669
  • Joined

  • Last visited

Everything posted by MrBill

  1. You need to use the program ID number not a name. and un-brackedted RunThen as in this example: /rest/programs/0032/runThen
  2. No Support of ISY after Jun1 of next year (disclaimer: date from memory, I didn't double check while typing. eisy will probably be easier for you than 994 was... networking wise it seems to be much better IMO.
  3. Rebooting which way? For hardware (serial port) detection to occur you may need to power completely down.
  4. If you've rebooted completely, I'd open a ticket.... https://www.universal-devices.com/my-tickets/ those are coming at a high rate 4-6 per second...
  5. As I look again at this particular case, there is actually is little difference functionally. One method uses AND's the other method uses OR's. I was likely relating a good rule for dealing with lights controlled by motion, where there is both on and off functionality in the program-- for that you are best to react to motion to get the light on, and use the wait to turn it off again... the wait won't complete as long as there is motion, because each new motion detection the program will restart.. only with no new motion in whatever the WAIT period is will allow turn off. Since I tend to write programs with similar logic, in this case that means I would use an IF with OR's and not AND's, I would also use Control over Status if possible (see below). Actually I must confess that I don't know those devices. I made a bad assumption that the first two were Insteon Motions.... with that said tho: Generally speaking the difference between Control and Status, meaning this choice: is that Control is an "Event", whereas "Status" is whatever the ISY thinks the devices state is based on the last "Events" received from the device. Also note that Control is an instantaneous event that doesn't have memory, that is when the event is over (in millieseconds) the statement is no longer true-- stated another way it becomes true and then is immediately false again. On the other hand, the Status will remain the status until it changes again. again some of this may just be programming style but I only use Status for very simple programs where it's beneficial to use the ELSE to set the opposite condition. Here's a good fictional usage example: If ShowerFlowRate <> 0 Then Turn 'Showerlight' On Else Turn 'Showerlight' Off So when runs water, the light comes on, when they shut the water off the light goes off. If the IF has Or's and And's tho, you've got to watch out because the Else will run more frequently than you expect it to. Remember that if any element of the IF changes, the entire IF is re-evaluated and when that occurs any copy of the program that is currently running (i.e. waiting in Then or Else) that copy of the program will immediate stop and a new Then or Else will run. Consider: If Light Status is On AND Humidity > 50.0% AND Time is Sunset to Sunrise (next day) Then Turn on vent Else Turn off vent. The problem is program will run correctly when the light is turned the humidity is >50 and it's after sunset.... but this program is going to create alot of junk traffic on whatever network (insteon, z-wave, etc) because everytime the humidity changes the Else body is going to run. So we go get in the shower in the early morning before sunrise with the light on, the humidity rises, the light comes on but goes back off and on a few times as the humidity fluctuates 49.9, 50.0, 51.0, 49.6... etc... then the humidity stays above 50 and the vent just stays on... but then Sunrise time arrives and we are still in the shower with a steamy bathroom... again the Vent turns off because "Time is Sunset to Sunrise (next day)" is now false... and all day long everytime the ISY receives a new humidity reading its going to send traffic to the Vent switch to turn off. As such we need to both write programs that don't use Else, which likely means we need two programs one for On and one for Off. With motion sensors how long the status stays on depends on how the motion sensors is programmed. Consider a motion detector that stays On for 10 minutes before Sending an Off, consider a motion detector that sends and an on followed by and off as soon as motion stops, or even consider the motion that will only Send an On when motion is detected and never send an Off. For this reason it's simpler to deal with the Control Event rather than the Status if possible...
  6. Correct. anytime there is motion, the no motion that follows resets starts the counter over. A better approach is to detect motion (rather than no motion) and let the counter continue to reset at each new motion. With at least the first two sensors you should also switch to control rather than status (not sure what the 3rd sensor is and whether it will have that option). (also swap the AND's to OR's) TVRoomEmpty - [ID 000E][Parent 0001] If 'Ceiling Motion Sensor' is switched on Or 'Wall Motion Sensor' is switched on Or 'Media Room Sensor' Motion State is Motion Then Wait 1 hour and 30 minutes Resource 'MarantzOff' Send Notification to 'Bob' content 'TurnedOffAV' Else - No Actions - (To add one, press 'Action') In this scenario anytime motion is detected, the 90 minute counter will start over, the program won't get to the statement "Resource 'MarantzOff'" until there has been no motion for 90 minutes. (of course the notification might not apply, because if you did turn everything off the program will send the off anyway after 90 minutes of no motion. No harm done tho right? turning the marantz off when it's already of nets no action. If you absolutely want the notification then you'll need something like: If { 'Ceiling Motion Sensor' is switched on Or 'Wall Motion Sensor' is switched on Or 'Media Room Sensor' Motion State is Motion } AND Matantz is on but I don't know if ISY knows if Marantz is on.....
  7. @smokegrub open a ticket re the backup failure. I would imagine they will delete the bad file, but I'm not sure if it's one that needs to be replaced. I don't think I know whats wrong with auto-detection, i think that's the symptoms you're describing. if you can get the IP address then you can manually add it. Come to think about it, you might try deleting your .state files... a corrupt temp file could cause that...
  8. Program 1 If then Run Program 2 (if) else Program 2 (Disabled) If then .... wait X .... else If which Program turns false. Assuming since "because the If is disabled" you mean Program 2-- because the If is disabled in program 2 the then body will continue. If you mean Program 1, as written now nothing will happen if Program 1's If becomes false... However If Program 1 becomes true again (even without becoming false first). then Program 2 will restart. to avoid this make program 2 like this: Program 2 (Disabled) If then Disable Program 1 .... wait X .... Enable Program 1 else Nothing here will run the Else in Program 2.
  9. I think the API might have changed, which might mean @bmercier needs to update. Specifically, when using Alexa with Home Assistant nothing special like "discover devices" needs to occur. If I create a new HA entity I just see an immediate notification from the Alexa app on my phone that the new entity had been added and is now recognized.
  10. Sounds like intermittent power line noise at first glance. It can be hard to track down. Anything new plugged in or installed in the home that wasn't there before? I once had a deep fryer in the kitchen that would stop insteon signals but only when it was plugged in. If it's specific devices you might try right clicking the device and picking "Restore Device".
  11. Your issue doesn't sound like the issue above, at least to me. My ISY has been running about 45 days since reboot... HA machine almost never gets rebooted. HA core gets restarted at updates or if i make ISY changes that need to get picked up by HA. I don't think I've ever restarted HA to stop an ISY problem. Perhaps you could tell us more about the symptoms that lead to your HA complete reboot once a month? Does the ISY/IoX error log give any clues?
  12. I don't have any yo-link devices, however in general a device appears as a node in your device tree. You might have an Insteon module named "Blue Lamp", you might have a YoLink node named "Kitchen Refrigerator" or "Gate", the first node would be reporting temps, the second Open/Close etc. Any value on those nodes you should be able to use in an IF statement on a program.... i.e. If gate is open then.... or if insteon-button then {open gate}... etc The only thing I don't like about Yo-link is it requires a cloud server. I always try to find Local only solutions to problems, that don't require the internet or cloud servers. Basically a node server let's you combine sensors, for example if my pool pump starts to draw more current (amps) it probably means the Filter needs to be backwashed but could mean some other trouble... anyway... If pool pump draws greater than 250 then notify bill.... or turn on an Insteon light... or flash a hue bulb blue... you get the idea... --- Also when referencing someone else in the forum you should either quote all or part of their post, and/or type there name preceded by an @ sign. such as: and then select the name when the tag appears. It will then appear in text as @n4bos either of those actions will result in the user being notified that they were quoted or mentioned. As it is I only found your message to me here because @Geddy mentioned me in his reply. (I was in NY last week and have so much unread forum that I wouldn't notice right now just because there are new messages.)
  13. 'Adjust Scene'. is something else entirely... it adjust the values saved in the scene... Now that you know not to use it for this, check you scene to see if it's configured as expected because "Adjust Scene" adjust the values stored with in the scene.
  14. Does the scene on/off button in the admin console work?
  15. Turn the scene On/Off Instead of the modules themselves. Scenes appear after modules in the Your Devices list: The icon is reflective of the listed item being a scene.
  16. MrBill

    eisy Zigbee module

    for now, that's your only means. The hub only speaks ZLL or Zigbee Light Link, not ZHA or Zigbee Home Automation. the good news is that eventually you should be able to add hue lamps directly... I've done it with another Zigbee platform outside the IoX platform.. Bulbs don't care if the are connected to a ZLL or ZHA hub. As you've been told tho, The Zmatter device doesn't yet speak Zigbee, but there will be a beta soon according to Michel above.
  17. You got ahead of yourself and answered your own question. Yolink nodes can be included in programs that send notifications just like an Insteon Device. the problem is Z-wave has evolved. 300 and 500 series z-wave weren't great with range... the 700 / (800?) stuff has better range... but probably not the distance to the gate. so the stuff that works with a 994 isn't that robust anyway..to test you really need to use the eisy and Zmatter.
  18. For the foreseeable future, with the new ownership group in place, I don't think Insteon availability is an issue. Further I personally think the new ownership group is attempting to keep the cheap parts that fail out of the products now. Only time will tell. I personally wouldn't rely on a z-wave solution, but then again I don't like z-wave and don't have any in my installation. To effectively answer tho, does the gate have wired Ethernet and/or a decent Wifi signal?
  19. Also unless you need an SDK for some reason uninstall that. Install Java 8 from https://www.java.com If it doesn't detect unbuntu there is an unbuntu download on the manual install page. you're really complicating things for yourself using the SDK, its not as forgiving, and it's overkill... also if I'm reading correctly you found Java 22? which I've not even heard of. The java version number is type of java.. the highest number is not best. Java 8 from https://www.java.com is all you need. Don't over-complicate your life with the wrong version of Java or the SDK (i.e. developer tools included.)
  20. @TWheat Your screenshot above looks correct to me, I don't use mobilinc pro anymore but it's still set up and works. Your correct to use Portal Credentials at the top of the screen. Also the http:// entry must remain blank. If you were to supply the local network address here and it uses that connection, it will use the wrong credentials. You'll need another profile if you need local connection also. Needing to manually change between profile was one of the reasons I moved from Mobillinc Pro to Agave... but i don't use that anymore either.
  21. bingo!
  22. Sounds like a corrupt .state file... close the admin console, delete them and they will regenerate next time the admin console is opened. https://wiki.universal-devices.com/index.php?title=Main_Page#Admin_Console_Minimized/Invisible_and_Cannot_be_Restored
  23. 64 bit java works fine on win 10 and win 11, been using it for years. No reason to limit memory use to 4gb, even if the admin console should never need that much. --------------------------------------------- Twice I've had to nuke the temp files stored in \users\<username>\AppData\ which is a hidden folder, so you must first make certain is set for visibility. (Full Disclosure: the first time java was broken bad. Michel spent an hour trying to get it to work, Michel even tried to give up, but we tried one last thing. The second time I needed to uninstall java and nuked the appdata workspace just because I knew I could, not because I knew I needed to.) Uninstall java Open file explorer and click in the tree to reach 😄\users\<username>\AppData\ search for "java" (note: other windows settings and preferences for your user determine where "Java" folders get created. (generally they appear under "sun" and "oracle" folders.) Delete any "Java" folders under 'sun' or 'oracle' folders. You may find a lot of folders, if it's an older computer and you've never done this. Reinstall Java 8 with a fresh download https://www.java.com
  24. So here is what i have so far from what you've said: Program A IF THEN ELSE Program B IF (none) THEN ELSE 2 new pieces of information, so: Program A IF Time is 1:11:11 AM THEN ELSE Program B IF (none) THEN Run Program A ELSE So really no clue what you're trying to do? the answer might be Disable Program A (disabled programs still run when run manually or are run by another program). --or-- the answer might be to combine all this into one program? --or-- maybe you want A to run that the Specific Time, so leave it enabled but have Program B run the THEN block of program A instead of the IF block. --or-- there might be a better way entirely... please post the programs by right clicking their names, Selecting the last item COPY TO CLIPBOARD and then pasting it into a forum message.
  25. MrBill

    UI version mismatch

    either the isy has a different IP address? (what happens when trying http://192.168.0.210 ?) Or you are on a different logical network or VLAN? or your browser is blocking .jnlp (although here I would expect it to tell you that it's doing that). Where are you getting 192.168.0.210? Why do you think that's the ISY's IP address?
×
×
  • Create New...