Closed DIYtechie closed 4 years ago
Progress! After updating the node to 0.0.15. I can now get status and control my devices from Node-RED, using these payloads:
update:
turn on:
However, I'm still not getting any events from the buttons/input devices:
Could you try to prefix your webhook URL with http://?
Thank you for your response 😊 I think I already tried that, but will try again. Just thought that that couldn’t be the issue since I am able to send commands to the devices and get status. I assume that I only need to change this in the url in the SmartThings app?
Yes.
Em seg, 13 de jan de 2020 06:59, PiRune notifications@github.com escreveu:
Thank you for your response 😊 I think I already tried that, but will try again. Just thought that that couldn’t be the issue since I am able to send commands to the devices and get status. I assume that I only need to change this in the url in the SmartThings app?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/otaviojr/node-red-contrib-smartthings/issues/17?email_source=notifications&email_token=AAWMITKUGYCD6Y2GG66WVXLQ5Q3PXA5CNFSM4KFUOHHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIYDQ4Q#issuecomment-573585522, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWMITJJBAJYBBNVE3A3VS3Q5Q3PXANCNFSM4KFUOHHA .
Just tried it, but with no luck. Both in the app and in the simulator
I can control the connected devices via Node-RED, but not get any events when I push a button. I even bought a SmartThings button to make sure that the issue was not with the IKEA remote, but still no events...
Is your nodered install listening on port 80? Or 1880?
If it is listening at 1880 the address should be:
http://192.168.3.6:1880/smartthings/webhook
Regards
On Mon, 13 Jan 2020 at 19:18 PiRune notifications@github.com wrote:
Just tried it, but with no luck. Both in the app and in the simulator [image: Skærmbillede 2020-01-13 kl 23 12 48] https://user-images.githubusercontent.com/20454469/72296663-7a989d00-365a-11ea-8de8-e2dd39e11565.png
I can control the connected devices via Node-RED, but not get any events when I push a button. I even bought a SmartThings button to make sure that the issue was not with the IKEA remote, but still no events...
[image: Skærmbillede 2020-01-13 kl 23 13 42] https://user-images.githubusercontent.com/20454469/72296721-98660200-365a-11ea-9a80-7e27abc619c4.png
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/otaviojr/node-red-contrib-smartthings/issues/17?email_source=notifications&email_token=AAWMITILSM6NJDB6EFJ457DQ5TSC5A5CNFSM4KFUOHHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI2QFVA#issuecomment-573899476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWMITLDBEBNKYJBGRIQGOLQ5TSC5ANCNFSM4KFUOHHA .
That was it. It worked! YES! Thank you very very much :)
Good news!!!!!
I installed using
npm install node-red-contrib-smartthings
I have followed the 11 steps and installed the smartApp from code. Set it up for local control and even tried the simulator:
and I get this (which I assume is ok for non-virtual buttons):
And the devices (wemo switch and IKEA remote) are available in the Node-RED nodes:
But I can't get any events in Node-RED and I can't control any devices. Also, the examples don't seem to be working:
What am I missing? Why isn't it working? Any help is greatly appreciated :)