- Posts: 248
- Thank you received: 33
My SmartRemote
- bowlingbeeg
- Topic Author
- Offline
- User
-
Less
More
2 years 5 months ago - 2 years 5 months ago #1433
by bowlingbeeg
If you want to control a device using HTWebRemote you will have create things manually. You would create the activate-source macro first by copying one of your current activate-source macros. You would then need to remove the "SetActiveSource" and "SelectDevice" commands because there is no device as far as MyServer6 is concerned. Then you would add commands to turn on the device using the HTWebRemote API. You can do that using a command like this:
GetURL|http://<htwebremote_ip_address>:5000?devname=<device_name_in_htwebremote>&cmd=<cmd>¶m=<parm>.
I would suggest using a macro for each device in HTWebRemote so it's easier to use throughout MyServer6 and MyDesigner6. For example here is the macro(named jvc.cmd.theater) I used for my JVC projector:
So I can send commands to the JVC using this syntax(this is the power on example):
jvc.cmd.theater|PW~1
The most time consuming part is probably setting up the remote in MyDesigner6 because there won't be a device that automatically shows up in index page. So you'll have to decide if you want to totally remove the endless list on the index page and create your own buttons for sources or try and shrink the endless list so that you can put a static button on the page. Once you decide what you want, then you would have that button call the activate-source macro you created and have it call a new scene that you create. In that new scene you would then configure the hard buttons to call HTWebRemote with the appropriate commands(or if you created a macro have them use that).
Replied by bowlingbeeg on topic My SmartRemote
I'm not sure what you mean when you ask about concatenating commands. If you have multiple commands you want run as part of one "operation" then you should use a macro.Hi there,
Could you please point me to documentation where you can concatenate commands?
Also, I want to use IP control for my Storm processor and Oppo blu ray player. I notice that HTWebRemote has IP control of those units. How do I incorporate control of the HTWebRemote into the SmartRemote interface?
Thanks.
If you want to control a device using HTWebRemote you will have create things manually. You would create the activate-source macro first by copying one of your current activate-source macros. You would then need to remove the "SetActiveSource" and "SelectDevice" commands because there is no device as far as MyServer6 is concerned. Then you would add commands to turn on the device using the HTWebRemote API. You can do that using a command like this:
GetURL|http://<htwebremote_ip_address>:5000?devname=<device_name_in_htwebremote>&cmd=<cmd>¶m=<parm>.
I would suggest using a macro for each device in HTWebRemote so it's easier to use throughout MyServer6 and MyDesigner6. For example here is the macro(named jvc.cmd.theater) I used for my JVC projector:
Code:
Macro|GetURL|http://localhost:5000?devname=JVC%20RS2100&cmd= <p1>&parm=<p2> !
So I can send commands to the JVC using this syntax(this is the power on example):
jvc.cmd.theater|PW~1
The most time consuming part is probably setting up the remote in MyDesigner6 because there won't be a device that automatically shows up in index page. So you'll have to decide if you want to totally remove the endless list on the index page and create your own buttons for sources or try and shrink the endless list so that you can put a static button on the page. Once you decide what you want, then you would have that button call the activate-source macro you created and have it call a new scene that you create. In that new scene you would then configure the hard buttons to call HTWebRemote with the appropriate commands(or if you created a macro have them use that).
Last edit: 2 years 5 months ago by bowlingbeeg.
Please Log in to join the conversation.
- kirky27
- Offline
- User
-
Less
More
- Posts: 46
- Thank you received: 0
2 years 5 months ago - 2 years 5 months ago #1434
by kirky27
Replied by kirky27 on topic My SmartRemote
Thank you much for the detailed explanation and your consideration.
Your comments are very insightful.
Much appreciated.
K.
P.S.
I’m That’s exactly what I meant by concatenating commands -running multiple commands one after the other.
Your comments are very insightful.
Much appreciated.
K.
P.S.
I’m That’s exactly what I meant by concatenating commands -running multiple commands one after the other.
Last edit: 2 years 5 months ago by kirky27.
Please Log in to join the conversation.
- bowlingbeeg
- Topic Author
- Offline
- User
-
Less
More
- Posts: 248
- Thank you received: 33
2 years 5 months ago #1435
by bowlingbeeg
Replied by bowlingbeeg on topic My SmartRemote
I should have mentioned that the latest youtube video from Allonis walks through creating your own "activity" buttons instead of using the default list on the index.html page.
Please Log in to join the conversation.
- kirky27
- Offline
- User
-
Less
More
- Posts: 46
- Thank you received: 0
2 years 5 months ago #1436
by kirky27
Replied by kirky27 on topic My SmartRemote
Thanks!
Please Log in to join the conversation.
- ffneil@comcast.net
- Offline
- User
-
Less
More
- Posts: 27
- Thank you received: 0
2 years 5 months ago #1442
by ffneil@comcast.net
Replied by ffneil@comcast.net on topic My SmartRemote
So the virtual switch you created in HA is visible in myserver? I have created some virtual switches in HA but they don't populate in myserver. What did you do to see them in myserver? Thanks In advance.
Please Log in to join the conversation.
- bowlingbeeg
- Topic Author
- Offline
- User
-
Less
More
- Posts: 248
- Thank you received: 33
2 years 5 months ago - 2 years 5 months ago #1443
by bowlingbeeg
Replied by bowlingbeeg on topic My SmartRemote
No, virtual switches don't show up in MyServer6, it would be nice if they did. Instead I turned on the MQTT broker in MyServer6 and then I have HA subscribe to a topic on the MyServer6 broker and that's how I manipulate the virtual switch in HA. As I mentioned this is really hacky. It would be nice if MyServer6 could just publish on the MQTT broker I already have running in HA but I couldn't find a way to do that.So the virtual switch you created in HA is visible in myserver? I have created some virtual switches in HA but they don't populate in myserver. What did you do to see them in myserver? Thanks In advance.
Last edit: 2 years 5 months ago by bowlingbeeg.
The following user(s) said Thank You: ffneil@comcast.net
Please Log in to join the conversation.
Time to create page: 0.189 seconds