-
Posts
728 -
Joined
-
Last visited
Profile Information
-
Location
British Columbia
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
MarkJames's Achievements
-
Fantastic work! Thanks for this. I'm away from home for a few weeks but I'll implement this when I get home. I have some old iPads kicking around that won't run UDMobile but I can at least run the switching in a browser window and get some life out of them.
-
Thanks folks. That setting was in a peculiar spot - in the hamburger menu in the settings menu. I did look for some setting that would force a variable retrieve but this was buried pretty deep It would be a nice feature to have a 'force refresh' button or something like that to retrieve all the current values.
-
MarkJames started following 2342-222 8 button remote question , Populating widgets with variables , Compare to init and 1 other
-
I have a UD Mobile page with a dozen or so increment widgets. These are intended to adjust state variables which are identified in each widget. The thing of it is that none of the values show upon entry to the page and if I click one of the increment up widgets then it seems to assume the value was zero and increment it to 1. This isn't good because none of the values start at zero. If I click on the item and load the device dashboard for it then it populates that variable and things work fine but until I do that the values don't show and worse - the widgets assumes the value to be zero on entry. Clicking up or down will change the value to 1/-1 and I then have no way of knowing where it started from. Is there a way to force the page to populate the variable values contained on the page without having to go through the dashboard each time. I note that even if I use a 'status only' type the value of the variable doesn't show automatically.
-
I get it - the state variable value doesn't matter - it will trip the IF anytime it changes. I suppose I could just have one program with 14 bracketed OR's that writes ALL of the current values to their init values. Thanks
-
That would only work if I know what statevar is... In your case statevar is 0. But if you don't know what its value is then that becomes harder. What I'm trying to do is like this... I have 14 zones in my sprinkler system. The duration each zone runs is variable s_zone1Duration, s_zone2Duration etc. At the beginning of the season I have a program that sets all the values and all the init values to defaults As time goes by and it gets hotter/cooler/wetter etc. I may need to adjust the durations. I want to make sure that if the ISY reboots the those adjusted durations will repopulate. So.... the <obvious> way is to increase or decrease the durations using a program that simultaneously increase/decreases and saves the new value to the respective init value. It's clunky, though, because I need 28 programs to accomplish this. It's far simpler, of course, to just use UD mobile to increase or decrease the value of the variable directly. What I had hoped to do is have a program that could check if the s_zone1Duration - s_zone1Duration (init) <> 0 then write the current value to the init value I thought this would be easy but so far it's not.... Another way to accomplish it would be to set a second set of state variables corresponding to the zone durations and make my if statement on matching_set_value - real_set_value <> 0. That would work too - I just hoped there would be a more direct way
-
There doesn't seem to be a way to assign a variable to the init value either so I'm not sure I can do that.
-
I would like to do a compare of a variable's current value to its init value and if they're different then set the init value to the current value. Specifically this is for my sprinkler zone durations so that if I change the duration and then reboot then it will restart with the last changed value. Put simply if statevar_x <> (init value of statevar_x) then (init value of statevar_x) = statevar_x Is there a way to do an evaluation based on init values?
-
Has anyone added Hikvision cameras or a Hikvision NVR to UD Mobile? If so could you share the URLs you're using to do so? Thanks [edit] found - http://<user>:<password>@<ip address>:<port>/ISAPI/Streaming/Channels/1/picture
-
Oh geez I've used that for changing it based on the value of a variable or device. I ddn't notice that it had program run status too. Thanks
-
I've written my own extensive sprinkler control program. I have a series of zone run programs that manage the times and rules for each zone At the moment the programs all live on a favorites page. Their type is 'command' and the command is 'run then'. What I'd like to do is change the color of the program icon based on whether the program is idle, running then, or running else. Is there a known way to do this Thanks
-
Actually you nailed it. The trick is to ignore the A thru H letters and act as if its an A thru D controller. Pressing D down (bottom left) then tapping A down (top left) repeatedly confgures it. I was pressing the D button that is on mine - which is second row right. It didn't do anything at all. Thanks!
-
That's an interesting observation. Might be a problem with their documentation. I'm taking the instructions from here https://cache.insteon.com/documentation/2342-x22-en.pdf The 'a' through 'd' on mine are the top two rows. I continue on with 'e' through 'h'. Not sure what to make of it but so far I'm getting nowhere in making it 8 button toggle. Could be I'm not understanding the functionality
-
I just received a new 2342-222 8 button remote. I've been struggling to turn it into an 8 button toggle controller. I'm following the instructions about holding the set button 3 seconds a few times and all the lights flash appropriately. But when I get to the end it tells me to press D and a down arrow followed by A and a down arrow. There are no up or down arrows on this controller so I don't know what they're referring to. I figured they meant dim or bright but this has no dim/bright..... Any advice would be much appreciated
-
Well I did a restore PLM and that did nothing but when I removed and re-added the device the messages started being received again. Quirky but at least it's working now. Thanks
-
Thanks for the link.... interesting read - seems like a bit of an enigma solved only by restoring or readding devices. I did, actually, do a diagnostics and then restore on the devices in question. I stopped when I didn't see any messaging from them in the diagnostics viewer. I guess the next step would be to remove them and re-add them. Sigh. I guess I'll go give that a try next Thanks again