New user, Aeon Smartstrip still has no children?

I've been trying to figure out how to address individual outlets on my Aeon Smartstrip for automations, dashboards, etc. I can turn them off and on from the device page, but since they don't show up as children, I can't make dashboard buttons for them, or directly turn them off or on outside of the device page.

I searched the forums and read every thread, and while I see a lot of promising information, it never leads to a solution. Either the thread stops being updated without the answer posted, or it just doesn't have the information.

Is there a custom device driver that will create child devices for the Aeon Smartstrip? I only found 1 custom driver and it didn't have children.

@kodack you have to creat virtual switches and use rule machine and dashboards to get it working. Try the link below should help

https://community.hubitat.com/t/controlling-device-from-dashboard-is-sometimes-limited/29126/2

i am not sure about the driver you are using but here is my own device handler and you create 4 separeate virtual switchs and here are the corresponding rules to control them.. i am only showing the rule for switch 1 but you need four of them.. so duplicate..

I am using the Aeon Smartstrip also. I was wondering if your solution can report energy and power for each individual switch. If so can you explain how I would use your DH? It’s not clear to me how it all fits together. Thanks.

ya my device handler reports for children.. you need to install my handler as device code.. then change the handler for your strip in the pulldown to my device handler

I installed your DH but I can’t figure out how it creates the children. Any help would be greatly appreciated.

no children everything is under one device as documented.. you can turn on off each device but you need to add a dashboard or a rule like this..

i create a virtual switch for each of the 4 switches.. maybe not what you are looking for.

I created 4 virtual switches. When I try to create the rule I don’t see how to define the child switch within the Smartstrip. In your example I assume you are using “Aeon Powerstrip switch 1” to define the child, how do I get to that? My Smartstrip is called Smartstrip1 and the child is switch 1.

you use custom command on the aeon powerstrip device there should be no child.. that would be left over from your old device.. you mya have to delete that.

I'm trying to implement the Switch Custom Rule shown in your screenshot, but can't figure it out as I am a new user that has not created any rules using rule machine yet. Any chance you can provide some basic steps to creating the custom rule using rule machine? If i could copy paste the logic in an editor this would be trivial, instead I am trapped in the Hubitat rule machine UI adding actions and conditions in a haphazard way to try to replicate the logic you have shown above.

can you explain for example the syntax this statement:

IF (Switch1(on) is on(T)[TRUE]) THEN

What is "T" in on(T), and why is there a [TRUE] inside the parenthesis of the if statement?
Later I see the following:

IF(Aeon Powerstrip switch1(off) on(F)[FALSE])

So is [FALSE] just simply the value of F in the "on(F)"?? Maybe I need a primer on the rules machine syntax.

My Virtual Switch gets a null in parenthesis like this:

Select trigger events:
PS Switch 1(null) turns on

Null means it has not been turned on or off ever and the vaiue is unknown. Turn it on/off once. The t and true are.

  1. Is what is the rule/condition is looking. 2 the other is the device current value.

The rules all.contain.one virtual switch (switch1) getvalue or setvalue and the other is a custom attribute (aeon powerstrip switch 1) of the aeon smart strip device

you should be able to import these and it will ask you to replace the two devices the smart strip and your virtual switch see if it works..




@kahn-hubitat

thank you so much!!

I think my problem was just getting used to the rule editor, the way that it works and the order in which it wants you to do things. After playing around with it I ended up with the following expression, slightly optimizing your conditionals to remove an unnecessary if then statement, instead I just AND the two conditions to optimize it a bit.

Here's what I ended up with:

IF (PS Switch 1(on) is on(T)  AND 
Office PowerStrip switch1(off) off(T) [TRUE]) THEN
	on1() on Office PowerStrip
ELSE-IF (Office PowerStrip switch1(off) on(F) [FALSE]) THEN
	off1() on Office PowerStrip

I cloned this, and just updated the switches in the logic.

Works BEAUTIFULLY! Very Happy! Thank you !!!

1 Like

ya the extra if may not be necessary i was just worried about the two rules interacting and going in an endless loop back and forth, but i think the hub is smart enough not to try to issue the command if the switch or attribute is already in that state..

For Posterity, if it helps someone else in the future:

1 Like

back with another question, I see the problem, my strip isn't reporting power:

dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:53.495 pm debugskipping blank power report
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:53.490 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 2, size: 4, meterValue: , rateType: 1, deltaTime: 0, previousMeterValue: ) ep = 6
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:52.471 pm debug got kwh 5.500
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:52.465 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 0, size: 4, meterValue: [0, 0, 21, 124], rateType: 1, deltaTime: 627, previousMeterValue: [0, 0, 21, 123]) ep = 6
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:51.453 pm debugskipping blank power report
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:51.448 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 2, size: 4, meterValue: , rateType: 1, deltaTime: 0, previousMeterValue: ) ep = 5
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:50.437 pm debug got kwh 0.000
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:50.432 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 0, size: 4, meterValue: [0, 0, 0, 0], rateType: 1, deltaTime: 627, previousMeterValue: [0, 0, 0, 0]) ep = 5
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:49.433 pm debugskipping blank power report
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:49.425 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 2, size: 4, meterValue: , rateType: 1, deltaTime: 0, previousMeterValue: ) ep = 4
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:48.440 pm debug got kwh 1.914
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:48.435 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 0, size: 4, meterValue: [0, 0, 7, 122], rateType: 1, deltaTime: 627, previousMeterValue: [0, 0, 7, 120]) ep = 4
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:47.400 pm debugskipping blank power report
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:47.395 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 2, size: 4, meterValue: , rateType: 1, deltaTime: 0, previousMeterValue: ) ep = 3
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:46.397 pm debug got kwh 12.390
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:46.392 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 0, size: 4, meterValue: [0, 0, 48, 102], rateType: 1, deltaTime: 626, previousMeterValue: [0, 0, 48, 102]) ep = 3
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:45.381 pm debugskipping blank power report
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:45.376 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 2, size: 4, meterValue: , rateType: 1, deltaTime: 0, previousMeterValue: ) ep = 2
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:44.371 pm debug got kwh 9.272
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:44.366 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 0, size: 4, meterValue: [0, 0, 36, 56], rateType: 1, deltaTime: 624, previousMeterValue: [0, 0, 36, 56]) ep = 2
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:43.357 pm debugskipping blank power report
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:43.352 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 2, size: 4, meterValue: , rateType: 1, deltaTime: 0, previousMeterValue: ) ep = 1
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:42.361 pm debug got kwh 0.000
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:42.353 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 0, size: 4, meterValue: [0, 0, 0, 0], rateType: 1, deltaTime: 623, previousMeterValue: [0, 0, 0, 0]) ep = 1
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:33.249 pm debuggot temp = 74.3
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:32.269 pm debugskipping blank power report
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:32.264 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 2, size: 4, meterValue: , rateType: 1, deltaTime: 0, previousMeterValue: ) ep = null
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:31.218 pm debug got kwh 29.076
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:31.213 pm debugin meter report cmd = MeterReport(meterType: 1, precision: 3, scale: 0, size: 4, meterValue: [0, 0, 113, 148], rateType: 1, deltaTime: 617, previousMeterValue: [0, 0, 113, 145]) ep = null
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:30.214 pm debugin basic report cmd = BasicReport(value:0) ep = null
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:23.399 pm debugin refresh
dev:238](http://192.168.1.231/logs#dev238)2021-03-16 04:07:23.306 pm debugin configureä

@kahn-hubitat apparently I am ending up with blank power reports, however, I do see one value for the main switch "power".

Screenshot_3-16-2021-0001

i did some poking around using the manual.

to see what params are set for my smartswitch. I believe i may have a defective smartswitch, 101-103 are all set to 0. What other options might be interfering?

have you ran configure after changing to the driver.

multiple times, i think it might be a faulty unit.