Thanks, everyone, for your help. I finally figured out the problem - a conflict with another program.
Regarding control vs. status, both work fine. Why/when would you choose one over the other, in this case, why did you recommend control?
Answer to your first question is yes. It did/does work without this line. In fact, this is a copy of the program with a lot of the bloat removed just to facilitate testing.
Yes, value is 1.
I configured the switch to enable the paddle to be used as a scene button and I confirmed via the button status that a double-tap is indeed recognized as "Fast On" (and that the light doesn't actually turn on). However, when I insert that into my program, either directly or as a variable, the program doesn't work (motion is not detected). I'm attaching a simplified version of the program that I'm using to test.
I'm looking for some ideas on the simplest and cleanest and most reliable way to do the following:
I have a motion sensor on my porch (https://www.getzooz.com/zse70-outdoor-motion-sensor/). When motion is detected, I have a program that turns on the porch lights (fast on, night only) and also sends me a notification.
I have the dimmer switch for those lights right near the porch door (https://www.getzooz.com/zooz-zen77-s2-dimmer/).
I want to utilize the double-tap feature of the switch to enable/disable the motion sensor programmatically (via parameter 1) when I am going in and out of the porch door so it ignores my presence.
I'm not an expert programmer by any means, and I don't know how to specify the double-tap. I don't even know if that's the best approach, but I would like to somehow utilize that switch because of its convenience.
Any and all advice would be appreciated.
Found the problem. Boneheaded move on my part - I was restoring the wrong backup (from the phone, not the one I copied over from the tablet). Sorry to waste your time.
I'm running UD Mobile on a tablet and a phone. It took some time to get it configured on the tablet and get everything organized and looking the way I want. How do I get that same configuration on my phone? I assumed I could create a backup on the tablet, transfer that over to the phone and then do an import. That doesn't work. When I try the restore, I get this message:
"Select OK to restart app. Import will only work after app restart."
Restarting the app doesn't work, and I get no confirmation that it's even attempting the restore.
Any advice?
I found a thread from July 2021 asking if there is "any possibility of it (UD Mobile) getting ported over to run on a PC without using android emulators? If not, is there a particular emulator that works well with it?" One of the answers was "We will be working on a web version in the future although it will be some time."
Any news? Thanks.
Thanks again, @jkmcfadden. That was really helpful. I found two things I was doing wrong - (1) Trying to use LED parameter values = 1 (using the button press to control the LED) and (2) using "status" instead of "control status" in some of my programs. I'm not sure why I did that, other than I wasn't paying attention and didn't notice I had it both ways.
Do you do the same thing with the big button, or are you using that as a wired relay?
Thanks for all the information and examples @jkmcfadden. How are you dealing with your indicator lights? I'm having a hard time coming up with a simple solution to have them accurately represent status.