Support for "BridgeCo AG Telnet server" (Marantz-Denon AVR)
Under Consideration
Unfortunatally the implementation of "socket request" functionallity is insufficient to control AV systems like Marantz and Denon. I did not succeed to manage an AV (example: sending a "PWON" message via socket request towards <IP av> on port 23)
http://us.marantz.com/DocumentMaster/US/Marantz_AV_SR_NR_PROTOCOL_V01.xls
No connection
Real-time notifications may not work
I defenetally support this request. Till now have no idea how to control Denon.
I defenetally support this request. Till now have no idea how to control Denon.
From protocol specification:
I believe that the problem you might have is the CR (carriage return) symbol to be sent at the end of the command.
Did you try using the \r escape sequence with the command?
E.g. for Body in socket request add MV35\r or MV35
Windows uses \r\n (CR+LF), Linux \n (LF) and Mac only \r (CR)
Unfortunately it seems that socket request doesn't work at the moment.
Rule creator says "rule2java: Unknown element type: hr.chus.model.action.generic.SocketClient".
I guess Zipato have disabled that at the moment.
From protocol specification:
I believe that the problem you might have is the CR (carriage return) symbol to be sent at the end of the command.
Did you try using the \r escape sequence with the command?
E.g. for Body in socket request add MV35\r or MV35
Windows uses \r\n (CR+LF), Linux \n (LF) and Mac only \r (CR)
Unfortunately it seems that socket request doesn't work at the moment.
Rule creator says "rule2java: Unknown element type: hr.chus.model.action.generic.SocketClient".
I guess Zipato have disabled that at the moment.
You can control it by using telnet. Is their a way to use telnet in rules?
You can control it by using telnet. Is their a way to use telnet in rules?
Ok, so all those of you who insist on making this via ZipaBox, I found a solution to send 0x0d :)
1. Open firefox and make sure you have firebug installed.
2. Go to my.zipato.com and login
3. Create or edit your rule that will (or already contains) do the socket request(s).
Here is simple rule I created for the purpose of this example.
4. Configure your socket request(s) and write what you need to send in body or just add text markers for request body (like ##body1##, ##body2##... etc.). In my example it is MV35u000D (we will fix u000D to be full \u000D later)
5. Click save button to close socket request configuration
6. Open firebug and make sure console and net is enabled so you see browser requests. Maybe you can open firebug at earlier step or even before loading my.zipato.com
7. Click "Save" on rule and monitor Firebug console for "saveProgramTrigger" request
8. Right click on the request line and select "Copy as cURL"
9. Paste in some text editor. I am using Notepad++ and it will look like the following:
10. Now find your body placeholders or body text (yeah it might be hard). Replace it with whatever body you need for the request(s).
In my case I am replacing MV35u000D to MV35\u000D. Yes, escape sequences are properly understood now and MV35\u000D will be translated to MV35 + 0x0D which was the initial topic.
11. Now you need curl to execute the request. Linux/*NIX users probably won't have any trouble with this. Windows user may ssh somewhere or download curl for windows and struggle with command prompt :)
Some terminals may find command line data too long and truncate it, so you may copy the part after --data to some file like data.txt and load from there.
If you get "success":true in response then you did everything properly.
12. Now you should not forget to go to my.zipato.com and click "Synchronize rules" on the right side of app dashboard.
13. And here is the result with simple socket server listening and dumping the data.
Ok, so all those of you who insist on making this via ZipaBox, I found a solution to send 0x0d :)
1. Open firefox and make sure you have firebug installed.
2. Go to my.zipato.com and login
3. Create or edit your rule that will (or already contains) do the socket request(s).
Here is simple rule I created for the purpose of this example.
4. Configure your socket request(s) and write what you need to send in body or just add text markers for request body (like ##body1##, ##body2##... etc.). In my example it is MV35u000D (we will fix u000D to be full \u000D later)
5. Click save button to close socket request configuration
6. Open firebug and make sure console and net is enabled so you see browser requests. Maybe you can open firebug at earlier step or even before loading my.zipato.com
7. Click "Save" on rule and monitor Firebug console for "saveProgramTrigger" request
8. Right click on the request line and select "Copy as cURL"
9. Paste in some text editor. I am using Notepad++ and it will look like the following:
10. Now find your body placeholders or body text (yeah it might be hard). Replace it with whatever body you need for the request(s).
In my case I am replacing MV35u000D to MV35\u000D. Yes, escape sequences are properly understood now and MV35\u000D will be translated to MV35 + 0x0D which was the initial topic.
11. Now you need curl to execute the request. Linux/*NIX users probably won't have any trouble with this. Windows user may ssh somewhere or download curl for windows and struggle with command prompt :)
Some terminals may find command line data too long and truncate it, so you may copy the part after --data to some file like data.txt and load from there.
If you get "success":true in response then you did everything properly.
12. Now you should not forget to go to my.zipato.com and click "Synchronize rules" on the right side of app dashboard.
13. And here is the result with simple socket server listening and dumping the data.
It might be possible to alter the post body directly from browser (Firefox/Chrome) using some extension that allows it. You just need to find the post data for body and insert \u000D there for 0x0D.
I believe you can research that on your own :)
Also... if you modify your rule with puzzle editor... i believe you will have to repeat the procedure to insert 0x0d in place.
It might be possible to alter the post body directly from browser (Firefox/Chrome) using some extension that allows it. You just need to find the post data for body and insert \u000D there for 0x0D.
I believe you can research that on your own :)
Also... if you modify your rule with puzzle editor... i believe you will have to repeat the procedure to insert 0x0d in place.
Ok, it works. Will no modify my wake up rule to include sound. :-)
Ok, it works. Will no modify my wake up rule to include sound. :-)
Great to hear it works for you.
Maybe you can share with others your wake up rule? :)
This forum needs more rule examples.
Great to hear it works for you.
Maybe you can share with others your wake up rule? :)
This forum needs more rule examples.
Replies have been locked on this page!