Appliance Status / Alerting


#1

1) Give a description of the problem
I am running the Aeon HEM V1 Laundry DTH (early version) from Mike Maxwell. I have a HEM v1 with clamps around my stove and dryer in my electric panel. I want to monitor the stove to tell me if it’s left on past a certain period of time and send an alert. Can someone please review my code and tell me if this will work? Key 1 is my HEM, and the attribute “washerWatts” is the wattage for the stove which is defined in the DTH.

2) What is the expected behavior?
If stove is left on for more then 60 minutes and is drawing more then 50W power, send a notification to contacts.

3) What is happening/not happening?
It’s not sending any alerts.

**4) Post a Green Snapshot of the piston![image|45x37]


#2

One thing I noticed is that when the oven / stove comes up to temp, it drops the watts back to zero, until it needs to heat up again, and then it ramps back up over 1,000 until it comes back up to temp, and then essentially shuts off again. Not sure if this is having an effect on this piston in this manner. I was expecting the stove / oven to actually show power when turned on all the time, not just when it’s heating up, but that makes sense… not sure how I’m going to go about monitoring this now besides whether the code is good or not.


#3

I’m thinking you’re going to need to add some logging or look at some logging. I’d be curious to know what the value that variable you’re using is showing over time.

Also, I do agree that the “stays” condition is not going to work as intended if the oven essentially turns itself off after reaching a given temperature. The “stays” logic needs the power to constantly remain above the given value for the specified amount of time.

I would suggest looking at some live logging in the ST IDE as well as turning on some Full logging in the WC piston so that you can get some more data on the power fluctuations. Then we’ll be able to provide a better course of action.


#4

The “W” in your “50W” makes me think webCoRE won’t evaluate it as a number, so a “greater than” may not work.

To test it, you could turn your stove on so it’s drawing more than 50W, then make a new condition. Select expression, and then type this:

stoveison >> 50W ? ‘This expression works’ : ‘This expression doesn’t work’

If you get ‘This expression doesn’t work’, then try deleting the “W” from your comparison and see if that works.


#5

WC does that for you. I have a similar piston monitoring my dryer and that’s what I see in the IDE as well.


#6

Mike do you mind sharing your piston? I’d rather not re-invent the wheel if you’ve already got it working. I’m beginning to think it would have been easier to just use the Gen 5 HEM which has the child clamps defined rather then fight with the HEM Gen1 just to save a few $$.


#7

I turned on full logging and went and turned on the stove for about 2 minutes. No logs were recorded.


#8

This is what I use for my Washer. I have a separate one for my Dryer. My washer uses very little power most times so I really had to mess with the numbers to get them to be in the range that worked. Thankfully the Energy monitoring device that I have provides this level of detail.


#9

My concern was always this value here:

image

If that’s how the information is coming across then great, but obviously nothing is triggering the way you have it setup now. Does the ST app for the device show any usage when it’s running? That’s where I got all my numbers for my device.


#10

I believe that’s the issue as well. Which HEM are you using for your washer / dryer? The Aeotech Gen 5 HEM DTH allows for you to have child devices for each clamp, not so for the Gen 1. That’s what I was saying, I may have to just bite the bullet and get the Gen 5 which will make this endeavor much easier. I have a Gen 5 already to monitor the whole house energy consumption.


#11

Yes, when I turn on the stove, in the ST app I can see watts turn on. Same for dryer. So each clamp is being read independently, however they aren’t showing a separate things in ST, I was hoping I could use a custom attribute from the DTH for specifying each clamp in Webcore. Otherwise if I specify the device, it will trigger whether the stove and/or the dryer is turned on.


#12

I have a gas dryer, so I can get away with using 2 of these.

if it was an electric dryer I’d have to do what you’re doing.


#13

I’m returning my Aeotech HEM Gen 1 and I have a new Gen 5 on it’s way. This will work for what I need. It’ll be interesting to see how I can work with timers to play around with the stove to determine if it’s still on or not. My son left my oven on again last night until this morning. I need to do something soon.


#14

Yeah, that’s no good. I have a similar clause in my dryer monitor piston which lets me know if the dryer has been on for more than a couple hours. One time I set it and it ran all night long. It’s only done that once, but I still want to know if it happens again.


#15

mind posting the code for that? That’s interesting that your dryer would run that long, none of my dryer settings keep the dryer running indefinately. They all have a timer on them. The longest cycle is 2 hours and 30 mins.


#16

It’s just simple code…

image

Yeah, the dryer has a “moisture sensor” in it apparently and it allows the machine to run until it’s optimally dry. However, as stated, one time it ran all night long. Not sure what caused that as it only happened once.

I’m monitoring the dryer a bit more now. My timed settings only allow me to go up to 90 minutes.