Comments (15)
from broadlink-rm-smartthings-alexa.
Hi - thanks for quick response.
- Yes, using cloud version at graph.api.smartthings.com *
- No, but just tried the simulator, and not getting a response. I selected 'TV' in preferences and clicked the On|Off options. Unfortunately the log is not providing any feedback with nothing printed. Is there an option to enable this or is it there are simply no errors to report.
- Yes, it tests successfully from http://rm-bridge.fun2code.de
- Just reread your help - "externally accessible ip address". If I grab my IP from WhatsMyIP presumably this is the one I need (albeit not static but can sort that out if necc). I was using the LAN IP. However, no joy with external IP either but guessing this could be a router issue? I'm using the Virgin Media Hub 3.0 and it has a habit of not saving any changes - appalling piece of kit. I might need to dig out my spare Netgear D7000. I've set up port forwarding on the Hub 3.0 and seems to have stuck - doesnt appear to have helped. Also tried adding .18 as DMZ as well but didnt make any difference.
Also - should the simulator actually switch devices on|off or is it literally just a dry run?
Thanks again
from broadlink-rm-smartthings-alexa.
from broadlink-rm-smartthings-alexa.
from broadlink-rm-smartthings-alexa.
Hi - Port Forwarding is working. I've tested this by logging into RM Bridge online on my phone and disconnected phone wifi. It successfully switched TV on|off using external IP and port 7474.
I had a look round SmartThings API Hub and found the live logger. It generates a log when talking to Alexa so that connection is working. Not exactly sure what to make of the log - hope you can shed some light on the content (below)
The bit I'm struggling to understand is how SmartThings API talks to the RM Bridge on my Android. Is there something I can test on the Android? FYI It's an Samsung Tab3 running Android 4.4.2
Regards Richard
control, params: [appId:60001429-8f74-4c28-b80f-925ea2f9c2ab, param1:control, param2:3a46217f-37d5-41ec-8b0a-e5cde13cba76, param3:TurnOffRequest, action:[GET:executeSmartAppGet, POST:executeSmartAppPost, PUT:executeSmartAppPut, DELETE:executeSmartAppDelete, OPTIONS:executeSmartAppOptions], controller:smartAppApi, id:3a46217f-37d5-41ec-8b0a-e5cde13cba76, command:TurnOffRequest], request: [:], devices: null params.id: 3a46217f-37d5-41ec-8b0a-e5cde13cba76 params.command: TurnOffRequest params.value: null
from broadlink-rm-smartthings-alexa.
from broadlink-rm-smartthings-alexa.
Hi - checked the names.
ST Device Name/Label/NetworkID all = 'TV' - I think code uses device.deviceNetworkId
(I tried device.NetworkId but that generated error log which is reassuring - and changed it back - although it still controlled simulator okay which means I still don't fully understand code!)
RM Bridge Codes are 'TV on' & 'TV off'
The SmartThings app on the Android Tablet reflects what the simulator is doing so definitely talking to my LAN - which is also good. The bit (more!) I don't understand is how RM Bridge picks up the incoming command or even what format it takes - it must be as simple as 'TV on' or 'TV off' as this is what follows the URL? Presumably the RM Bridge running on the Android sends this to the MAC address of the RMPro. I think it's this link that is failing. Even the local SmartThings app on the Android has no affect.
Can RM Bridge run on Android 4.4.1?
Sorry lots of questions again - thanks in advance.
Regards Richard
from broadlink-rm-smartthings-alexa.
from broadlink-rm-smartthings-alexa.
from broadlink-rm-smartthings-alexa.
Focussing on the login I commented it out :-
/def userpass = "Basic " + userpassascii.encodeAsBase64().toString()/
I would have expected this simulator to generate a login error but it doesn't generate any log entries at all.
One question - what directs the command to RM Bridge - is the 7474 port number?
I know it is reaching my LAN because the SmartThings App on the Android syncs with the simulator. I dont quite understand what directs the command to RM Bridge and this is where it seems to be failing.
regards
from broadlink-rm-smartthings-alexa.
from broadlink-rm-smartthings-alexa.
from broadlink-rm-smartthings-alexa.
AHHHHHH! - using wrong device handler - should have been using Broadlink-RM-SmartThings-Alexa/RM Bridge Switch Cloud
DOH!
I'm now in business - thanks for you help
from broadlink-rm-smartthings-alexa.
from broadlink-rm-smartthings-alexa.
Hi - very embarrassing - I was using the wrong device handler! I was using LAN instead of Cloud version. Everything is working now and having great fun adding TV functionality.
One question - 'TV on|off' and 'TV Guide on|off' work well. Any suggestions for up|down or PgUp|PgDn? The voice command 'Turn up on' doesn't really track very well. Should I be using a different controller?
Regards
Richard
from broadlink-rm-smartthings-alexa.
Related Issues (20)
- Some of the devices not working from Smartthings HOT 5
- Almost certainly something I am missing. Can't get ST to control the RM2 HOT 2
- Duplicated end of comment section cause RM Bridge Switch Cloud Multikeys to fail adding as handler
- Example for RF switch
- Alexa unable to discover devices in RM Tasker plugin on Android TV box HOT 1
- Downgrade of RM pro+ can brick the device HOT 15
- Rm 2 check data failed
- Location
- Different codes while learning... normal? HOT 4
- Smarthings Hub not linking to Alexa correctly HOT 1
- RM Plugin Lite issue HOT 2
- RM Bridge not working?
- New issue with RM frequency learning HOT 1
- RM MINI 3 cant connect to internet
- error groovy.lang.MissingPropertyException HOT 1
- rm pro + no permissions
- Only the off command is working HOT 11
- java.lang.IllegalArgumentException: Text must not be null or empty @line 66 (lanResponseHandler)
- Location - Create device HOT 5
- Unable to load codes from RM Bridge host HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broadlink-rm-smartthings-alexa.