RDoc
Members-
Posts
14 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
RDoc's Achievements
New (2/6)
0
Reputation
-
This is getting silly and I'm not here to argue. For anyone who actually wants to have a way to turn on and off a block of debugging lines, just enclose them in a Repeat block as shown. Personally, I use a debug flag variable as shown in the first example with Repeat While so you can turn on and off debugging code in a program just by changing the debug flag variable manually from 0 to 1. However, if you just want a simpler and somewhat safer way to stop execution of a block of lines, the Repeat For 0 method will do it. To let the code lines run again, just remove the Repeat for 0 line(s). Then $A_Debug_V0 = -5 $A_Debug_V1 = -100 Repeat 0 times <== Don't let the code up to the next Repeat run. To let all the code execute, remove this line. $A_Debug_V0 = 5 <== This line (and any other lines in the Repeat block) won't run if it's Repeat 0. Repeat 1 times <== When you are letting all the code execute you can remove this line too. $A_Debug_V1 = 100 Note for more advanced use where you want to have the same debug flag work in multiple programs: (Ignore all this if you just are working in a single program) I strongly suggest not using the same pseudo local variable (AW_Debug) in more than one program because it's still a global variable (there are no real local variables). You can use the same debug flag variable (A_Debug_Flag) in multiple programs as long as you only read the value, not change it programmatically.
-
@MrBill: Good point. ZW Test - [ID 002D][Parent 0001] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $A_Debug_V0 = -5 $A_Debug_V1 = -100 $AW_Debug = $A_Debug_Flag Repeat While $AW_Debug is 1 $A_Debug_V0 = 5 $AW_Debug = 0 Repeat 1 times $A_Debug_V1 = 100 Else - No Actions - (To add one, press 'Action')
-
@larryllixDid you read the OP? The question was how to comment out debug code. There is no way to do that directly. However, by using a conditional block and flag variables as shown, the code can remain in place and be easily switched on and off. A simpler but less flexible method is to use a Repeat for 0 block. Unfortunately, you can't use a variable for the repeat count. If the Repeat count is 0 A_Debug_0 winds up -5 If the Repeat count is 1 A_Debug_0 winds up 5 I disagree that copy to clipboard produces a more readable code block and you can't paste code into programs anyway.
-
You might try using a repeat command as a conditional block. In this example if A_Debug_Flag is 1, A_Debug_V0 winds up as 5 if A_Debug_Flag is not 1, A_Debug_V0 winds up as -5 In both cases A_Debug_V1 winds up as 100. AW_Debug is treated as a local variable used to end the Repeat without having to change A_Debug_Flag so the program can be run the same way more than once.
-
I wanted to temporarily stop using a zwave device so set it to disabled in the Main menu, which showed it disabled. However, when I attempted to update the other zwave devices' links with Repair Links, the ISY went into a loop attempting to update the disabled device forever. I had to reset the ISY to stop the messages, but the next time I did an update it restarted. The only way to permanently stop the messages was to use the zwave command to remove failed device. This is pretty user unfriendly behavior. I'm on V5.3.4
-
I've just started playing with a couple of these. When installed in the ISY it creates about 24 devices, but I'm only interested in the Dimmer Switch devices numbered .2 - .5. To make all this a bit more organized I created a folder and stuffed all the devices into them. These can be programmed as independent dimmers for 12-24V up to 6A load max per channel, 10A total load on all together. For driving LED's that's a fair bit. The output terminals are labeled R, G, B, W with R Dimmer #.2, G Dimmer #.3, etc. I was able to control my particular led strip light down to 1.5 percent To set parameters use the first device "Multilevel Switch". I set parameter 152, the hub controlled ramp rate. This seems a bit wonky, the set button keeps pulsing for a long time but it seems to work OK in the end.
-
I just added a Minoston remote switch MR40Z to my mixed Insteon/Z Wave system. Unfortunately, there is essentially no documentation so I have no idea if I'm using it's full potential. However, it works fine. It can emit on, fast on, fade start, and fade stop on the buttons, and seems to have a battery status that's readable. I suspect the range isn't great, my other Minoston devices have very limited range, but I've got some Aeotec repeaters around so it works very well.
-
These Minoston plugs work fine but the radio section isn't very powerful. I added some dedicated aeotec range extenders and everything works very well now.
- 7 replies
-
- secure inclusion
- security
-
(and 1 more)
Tagged with:
-
Can the isy994i update z-wave device firmware? I'm not asking about the firmware in the 994i itself, rather the firmware in the z-wave device, e.g. a z-wave switch.
-
Anyone have a Zen32 switch/scene controller?
RDoc replied to xlurkr's topic in Z-Wave - Series 300/500
I've been programming one recently. I don't see the main switch turning off when I press another switch, but it does blink. In general I'd say this works pretty well although the color of the lights seems difficult to control in anything like real time. I was trying to use color changes to show degree of dimming, but couldn't get the dimming level and the colors to synch. Not a big deal, but it would be nice. -
Insteon is quite different because it uses both RF and power line signaling. My experience is that Insteon range is much greater than ZWave, particularly room to room. The main problem with Insteon is that the company that makes it is incompetent and appears to be dying.
-
I've been using my 994i for years and now when I start admin.jnlp with the current java release on our Windows 10 system I get the ISY Finder: Not Found error. I can access the 994i from the browser directly and see all my devices. The Admin console doesn't work because no browser supports Java anymore. I'd strongly suggest fixing or removing this options, it's misleading. By connecting to //:isy i can access the 994i and turn lights on and off. So what exactly does this error mean? For anyone else with this problem. What I finally did to fix it was first go to my router and find the ip address 192.168.4.20. Then use the "Add" button from the admin screen and entered https://192.168.4.20. That showed a line with the ISY name. I clicked on that and it started the console.
-
According to the website 4.0.5 is the current release with 4.1.x as beta releases. I'm not sure which node I queried, next time I get a low battery I'll try that node.
-
This is using a 994i with firmware 4.0.5 and UI 4.0.11 which I believe are the current ones. What happens is that if I get a battery low condition on my Insteon Motion Detector V.41, it isn't cleared by doing a Query. I replaced the battery, did a reset by holding the set button in when reconnecting the battery for about 5 sec. The LED was on solid then turned of after a couple of seconds. I then waited about 10 minutes and did a Query from the Admin console and the Low Battery condition didn't change. I then put it into linking mode and did a Query again, no change. At that point I deleted the Motion detector from my list of devices and re-added it. That cleared the Low Battery condition. Of course that also meant I had to edit the programs that use it. I thought the Query cleared the Low Battery condition.