JGLI Posted April 16, 2018 Share Posted April 16, 2018 I'm trying to get the status of some boolean variables throughout the day via the email agent. I have them listed in the email, but they come up as blank. Do I need to convert the boolean to text for it to appear in an email? Link to comment Share on other sites More sharing options...
South Africa C4 user Posted April 16, 2018 Share Posted April 16, 2018 1 minute ago, JGLI said: I'm trying to get the status of some boolean variables throughout the day via the email agent. I have them listed in the email, but they come up as blank. Do I need to convert the boolean to text for it to appear in an email? Ar you using the email agent? Should just work. They appear as 1’s or 0’s (as true or false). Link to comment Share on other sites More sharing options...
JGLI Posted April 16, 2018 Author Share Posted April 16, 2018 They are coming up blank with the email agent. Link to comment Share on other sites More sharing options...
JGLI Posted April 16, 2018 Author Share Posted April 16, 2018 Is there anything special I should do? Here is the output, most of these are booleans: Holiday Name: Yom HaShoah Cande Lighting Time: 19:14 Havdalah Time: 20:23 Shabbat Variable: 10:30: 11:00: 11:30: 12:00: 12:30: Yom Tov Name: YomTov Boolean: EndHoly: Sukkhot: Peseach: Shavuot: This event happened at : 4/15/2018 7:33 PM EDT Please do not reply to this email. Link to comment Share on other sites More sharing options...
South Africa C4 user Posted April 18, 2018 Share Posted April 18, 2018 That is weird. There is nothing special needed. The following is a sample output I have (names redacted) where the 0’s and 1’s in the middle of the email are all Boolean variables: Hi Xxx,The following is a summary of Control4 (underlying) variables at xxx:Variable synchronisation problems: No problemPower: Mains: red Generator: white Phase 1: red Phase 2: red Phase 3: red Pool Pumproom: redSensor battery levels: Xxx's BIC: 70 Xxx's BIC: 48 Main bathroom: 78 Main toilet: 83 Theatre: 98 Generator: 100Remote battery levels: MBT (SR 250): 94 MBT (SR 260): 90 PJ Lounge: 100 Theatre: 100 Theatre (spare): 27Temperature entering manifold: 17Rainfall in last 24 hours: 0Geyser lights: 1Geyser pumps: 1Winter mode: 0Manifold flow pump: 0Roof flow pump: 0Underfoor heat pump 1: 0Underfoor heat pump 2: 0Busy irrigating: 0Alarm Mode: 1 (0 => normal, 1 => holiday, 2 => off, 3 => early)Driveway beams armed: 0Driveway beams scheduled: 0Gate tamper alarm armed: 0Gate (long open) alarm armed: 1Delays (actions happen at 2pm): Days until normal alarm mode is turned off: 0 Days until normal alarm mode is turned on: 0 Days until holiday mode is turned off: 2 Days until holiday mode is turned on: 0 Days until underfloor heating is turned off:0 Days until underfloor heating is turned on:0 Days until irrigation is turned off: 0 Days until irrigation is turned on: 0 Days until geyser is turned off: 0 Days until geyser is turned on: 0 Days until pool, spa and chiller are turned off: 0 Days until pool, spa and chiller are turned on: 1Jacuzzi: Temperature: 19 Pump: On Light: 0Pool: Temperature: 17 Pump: On Light: 0Chiller: Temperature: 19Rainfall: Today: 0 Yesterday: 3 2 days ago: 5 3 days ago: 0 4 days ago: 0 5 days ago: 5 6 days ago: 0 7 days ago: 0CheersXxxThis event happened at : 4/16/2018 9:00 AM SASTPlease do not reply to this email. Link to comment Share on other sites More sharing options...
South Africa C4 user Posted April 18, 2018 Share Posted April 18, 2018 Interestingly I had the problem of a blank appearing when I used the status of the colour experience button. If the status was “off” as opposed to red or green etc. then it would appear as blank in an email if the status had never been anything else since the last reboot. If it had been something else, then the old state (e.g. red) would appear in the email, not “off”. I got round this by stopping using “off” and I now use white as off. Link to comment Share on other sites More sharing options...
JGLI Posted April 18, 2018 Author Share Posted April 18, 2018 My dealer is reaching out to C4 to see if they have any ideas. I'm getting nothing for my booleans. Link to comment Share on other sites More sharing options...
South Africa C4 user Posted April 19, 2018 Share Posted April 19, 2018 8 hours ago, JGLI said: My dealer is reaching out to C4 to see if they have any ideas. I'm getting nothing for my booleans. Let us know what you find out. Good luck! Link to comment Share on other sites More sharing options...
RobbieF Posted April 19, 2018 Share Posted April 19, 2018 Wow @South Africa C4 user - That's an impressive list of variables / sensors / connected devices..... I could only imagine how much time you've spent building that up....... What are you using for the rainfall and the Battery % ? Link to comment Share on other sites More sharing options...
South Africa C4 user Posted April 20, 2018 Share Posted April 20, 2018 4 hours ago, RobbieF said: Wow @South Africa C4 user - That's an impressive list of variables / sensors / connected devices..... I could only imagine how much time you've spent building that up....... What are you using for the rainfall and the Battery % ? Thanks Robbie, Amazing how complete a system can be when you are adding to it regularly and programming new things regularly. For the rainfall, I use the weather underground driver (I can’t recall if this was a free driver or an inexpensive driver but it certainly works well) and store the value every night at midnight (actually at 11pm because I find many of the weather underground stations flip over to the next day early). I keep a rolling week of stored rainfall values as variables (rain1 to rain7). I also display these (in my “garden” room) using a thermostat driver. The battery levels on my wireless sensors (these are wireless card access sensors that I added into the system, mainly, because my security system did not have sensors in a couple of paces that I wanted them for automation purposes) come from a variable on the sensor driver itself. The card access sensors and the remotes all have a battery level that you can access. If I recall correctly, the battery level on the SR260 is a bit more tricky to access accurately. I also send myself a message once a day if any of my battery levels are below 25%. Cheers! Link to comment Share on other sites More sharing options...
RobbieF Posted April 20, 2018 Share Posted April 20, 2018 Awesome- thanks for the detailed response! Just also wanted to say thanks for all your responses to date, I often come across a problem, do a search on the forum, and find you’ve answered or contributed to an answer somewhere along the way! So you’ve been a lot more helpful than you realise cheers! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.