SmartThings Community

CoRE - Get peer assistance here with setting up Pistons

corelogic
core
pistonmaster
makemypiston

(Dale C) #21

Thanks Jason for setting this up!


(Bob) #22

Does that not say ‘Fade to 100% in 50secs’?
I’m not sure what you are trying to do.


(Jon) #23

I’ve used fade to 100% to dim up a light but i had to make sure level was 0% when command started.

When my hue switches off the level is still 100% so it can’t fade to 100% if it’s already 100%.

May be wrong about this but this the way it seems to happen for me.

I’ve started using set to 0% to ‘turn off’ a dimmable light


(Hobbyboy) #24

ok what is wrong with my logic? The counter updates. It is now 7 on the dashboard. How can I make part two fire and say the message?


(might be my fake name?) #25

I just played with it a little bit. I never knew about the difference between setting level to zero versus turning off. Now I do and it works. Thank you.


(Jason "The Enabler" as deemed so by @Smart) #26

@eric182
I would start this with…

Set level to zero
Set color to honey dew
Fade to 100% over 50 sec.


( I hate Mondays) #27

The “Set color to X’” sets the hue, the saturation and the level of your light to predefined values (which explains your light coming on at high brightness level). Try setting the color by specifying the hue, saturation and level instead and use level 0. Then the fade will work. Also, put both tasks into a single action, chain the fade after the set color.


( I hate Mondays) #28

Check the logs, maybe it does say it but there is something wrong elsewhere. Enable debug and check the logs for the blue info lines


(Hobbyboy) #29

Below is what is logged:

a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:15 PM: trace ╔═══ Task processing took 758ms
a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:15 PM: trace ║░░░ Removing any existing ST safety nets
a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:15 PM: info ║░░░ Executing command: [Private Dancer Speaker].playText([The Dogs Have Eaten Twice Already Today]) (193ms)
a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:15 PM: info ║░░░ Executing virtual command setVariable (23ms)
a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:15 PM: trace ║░░░ Installing ST safety net
a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:15 PM: info ║░░░ Scheduling ST to run in 12645s, at Mon, Jun 13 2016 @ 12:00 AM EDT
a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:15 PM: trace ║░░░ Rescheduling time triggers
a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:15 PM: trace ╚═══ Processing tasks (v0.0.089.20160612)
a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:15 PM: trace ╔═══ Event processing took 422ms
a2318da5-5db7-4099-a63a-8b00d87dcb92 8:29:14 PM: trace ╚═══ Processing event contact for device Dog Food with id 3eefb0c2-9567-4f97-9e01-531ebb069a35, value open, generated on Mon Jun 13 00:29:10 UTC 2016, about 3918ms ago (v0.0.089.20160612)
53a2e304-a990-4c28-9526-5327764e7de6 8:29:15 PM: error groovy.lang.MissingMethodException: No signature of method: physicalgraph.device.HubSoapAction.leftShift() is applicable for argument types: (physicalgraph.device.HubSoapAction) values: [POST /dev/78271048-bc60-a73f-ffff-ffffa6ce7bdf/svc/upnp-org/AVTransport/action HTTP/1.1
Accept: /
User-Agent: Linux UPnP/1.0 SmartThings
Host: 192.168.1.135:56452
CONNECTION: close
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play"
Content-Type: text/xml; charset="utf-8"
Content-Length: 305

<?xml version="1.0" encoding="utf-8"?>

<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/” s:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”><s:Body><u:Play xmlns:u=“urn:schemas-upnp-org:service:AVTransport:1”>01</u:Play></s:Body></s:Envelope>]


( I hate Mondays) #30

And your problem:

error groovy.lang.MissingMethodException: No signature of method: physicalgraph.device.HubSoapAction.leftShift() is applicable for argument types: (physicalgraph.device.HubSoapAction) values: [POST /dev/78271048-bc60-a73f-ffff-ffffa6ce7bdf/svc/upnp-org/AVTransport/action HTTP/1.1 
Accept: / 
User-Agent: Linux UPnP/1.0 SmartThings 
Host: 192.168.1.135:56452 
CONNECTION: close 
SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play" 
Content-Type: text/xml; charset="utf-8" 
Content-Length: 305

<?xml version="1.0" encoding="utf-8"?>
01]

(Hobbyboy) #31

Can you help me understand the problem part?

Thanks


( I hate Mondays) #32

Is any other app (other than CoRE) able to play a message to your device?


(Hobbyboy) #33

Yes. I have rule machine triggers that play “The mail is here” when the mail arrives. Should I delete and re-add the piston?


( I hate Mondays) #34

No. So RM works with playText. Custom command?


(Hobbyboy) #35

Well rule machine is using the built in items to say a message as the action, as the result of the trigger of a contact opening… I’m not sure if the behind the sceen is playText Custom command.


( I hate Mondays) #36

Let me see…


(Hobbyboy) #37

In the time between my posts, i was creating an identical new piston with the same rules as the first. I didn’t read that this wasn’t necessary. It is logging the same error, as you pretty much knew would happen.

Do you want to see the live log of ‘the mail is here’ working?


( I hate Mondays) #38

Yeah, please.


(Hobbyboy) #39

Before I do that,
I updated the “when true” action from “speak text” to “speak” and it worked.


( I hate Mondays) #40

Hmmm… speak vs playText - which one were you using in RM? Maybe you were using speak too? Is this a speech synthesis device?