
mmb
Members-
Posts
626 -
Joined
-
Last visited
Everything posted by mmb
-
Thanks further upin this post a forum member suggested putting waits after each calculation and watch how they change in the Variable/Integer window. It was very helpful and I understand how it works now - I followed up with a ticket to UDI for an explanation.
-
Not sure, but v5.0.16 rc1 has been very stable for me. I initially migrated to 5.0.15a and have updated a couple of times without issue. Also v5 brings Polyglot making the ISY an even more powerful automation platform. I have a few node servers (Nest, weather service, temp/humidity devices) running through polyglot to the ISY. For me it was worth the upgrade.
-
I wrote my Humidifier program in v5 in the spring - it's very stable. I had the Program disabled until this week and experienced a few problems C/F handling but they're sorted out now. So when you're in "Then" you click the arrow for variable assignment, you don't your devices like I do?
-
I thought you were trying to pull the Humidity from the insteon thermostat - you said: is there a variable I can access in an ISY program for the humidity level as reported by an Insteon Thermostat. In this case look for the thermostat and grab the variable. As for the IR control, it looks like you're trying to set variables and have it do something. That I have no clue about but would be nice to have.
-
Go into Then section to assign, not the If section to assign the variable. Periodically - this is how I do it. dht11 is a temp and humidity sensor device wu is a weather service
-
Then in Programs create a variable and assign the Humidity value in the device. Click the button below repeatedly until you something like this. Coincidentally I was working on the same thing. I use a Insteon relay to close a circuit from the furnace fan to the humidifier. I use an IF set of rules including indoor/outdoor temps and humidity as well as next day temp forecast to determine weather to close the circuit. Not sure about your case.
-
Do you see the Humidity in the ISY 2441TH device in the Admin console?
-
Do you have a guide that shows how to access it? Google searches aren't pulling up anything. Cancel that, I just did the calculations. I'll see what the ticket comes back with... Thanks!
-
This applies to the climate module - correct? I don't have that one...
-
Well this is basically how my Program temperatures work. Weather Service in F -> Polyglot/ISY multi sensor in C -> ISY Program Reprocessing from F to C -> ISY Program Rules Processing in C -> Results in C It may be a user problem but below wasn't entirely intuitive that the ISY had to switch to Programming in F. I have a ticket to see if I can get more details, like why can't the ISY multi sensor be in F.
-
Oh good idea! I see what it's doing, it's taking the Polyglot input of 15.5 F which the ISY thinks is C and converts it to 59 F on the fly, then of course my calculations set it right back to 15.5 C . So now I'll have to see where to adjust it or do the calculation twice which seems dumb. Not sure why the ISY is setup this way. Progress!
-
A forum member suggested the same so I tried a 5 sec wait at each calc step, but no change.
-
At this point no I'm not sure. I actually had a similar thought, maybe a text string or something. I submitted a ticket so I'll see what they say...
-
Oops, here it is Temp Calc - [ID 0021][Parent 0001] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $TempC = 'MQTT Controller / wu' Temperature °F Wait 1 second $TempC -= 32 Wait 1 second $TempC *= 0.5555 Wait 1 second Send Notification to 'Default' content 'Temp Notify' Else - No Actions - (To add one, press 'Action')
-
Yup I migrated everything to v5 in the spring as is and the -32 and *0.5555 went with it. The program was in a disabled state because no need for a Humidifier during the summer. I decided this week to get it going but it was spewing wacky results. So I made a small test program for this post. Reboot - I worked in IT for 20 years so reboot and power cycle were the first things I did. Changed and saved many many many times. Copy and Paste this code references the Polyglot/ISY Weather Service Device <?xml version="1.0" ?><triggers><d2d><trigger><id>33</id><name>Temp Calc</name><parent>1</parent><if></if><then><var id="1" type="1"><op>EQ</op><status id="CLITEMP" node="n002_wu" uom="17"/></var><wait><seconds>1</seconds></wait><var id="1" type="1"><op>SUB=</op><val prec="0">32</val></var><wait><seconds>1</seconds></wait><var id="1" type="1"><op>MUL=</op><val prec="4">5555</val></var><wait><seconds>1</seconds></wait><notify content="21">1</notify></then><else></else><comment></comment></trigger></d2d></triggers> Thanks again1
-
For testing this is entire program, can't be any simpler. No triggers, just a right click and Run Then. The first line is the Polyglot/ISY device that holds the outdoor temperature. The actual program is disabled for now until I get the F -> C working again. So if TempC is assigned to the value of the Polyglot/ISY value the calculations are ignored. If I manually assign TempC it works perfectly. It's weird : )
-
Thanks I posted the Notification values further up in this post and they correspond to the values in the Variables/Integer table. If there was a state variable it was a mistake as all of the variables were supposed to be numbers and should be in that table.
-
This is the output of the calculation using the Polyglot/ISY device, which is the same as the input. Let me know if I've done this incorrectly. And if I manually assign it, this is the result which is correct I used to be a programmer, but there sure is something strange about this behaviour Anyway thanks!
-
I think I see what you mean but this simple program has 1 variable that is declared as an integer. The reference to the Polyglot device that holds the temperature data is likely causing the problem because manually insert the temperature works fine. Maybe can you point out in the test program above that could cause the problematic behavior?
-
Thanks, I have roughly 30 state variables some that are set by apps like Blue Iris, Alarm system, etc and others that trigger various things like google asst and alexa through the portal. I have 1 integer variable (for this test) that is assigned but not working properly as I described above. I deleted and recreated the program but still not working.
-
Sorry I should have mentioned variables were declared as Numbers with precision 1. By non-triggering variables you mean numbers? Maybe I'm missing something?? Thanks!
-
So, my problems continue to persist – sorry! As mentioned, I use a Weather Service to provide the current outdoor temperature in F - currently it's 15.5F My testing yesterday used a manually inserted 15.5 F in a Program then performed the necessary calculations to get to Celsius which is -9.1 C *this is where I thought things were fixed. And the Result Excellent! *This is where I figured everything was fixed* However, when I reference the Polyglot / ISY Device variable that the Weather Service provides the calculations stop working. Below is the correct temperature as displayed in the ISY Devices. Below is the Program that converts the Temperature supplied in F to C. Note the only change in the Program is the first line. And the Result Seems you can assign the temperature to a variable but then you can't touch it. Has anyone seen this before? Thanks!
-
No worries, once I knew the feature was there I did some quick playing around with it. Prior to recreating the Program, changing precision didn't do anything - the arithmetic result was always the same. After recreating it worked perfectly - both results and precision. Fortunately this is the only program that had any amount of calculation in it. I suggested further up that the Integer Tab is misleading and probably more appropriately should be identified as a Numbers tab.
-
I suspect it would work. Thanks for the follow up!
-
I noticed that as well. A couple of times I went to the Notifications area after creating the variable and I would get the Row/Column reference instead of the Variable name.