You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate tool.
ction, better handling of multiple simultaneous [[http://commandfusion.com/docs/scripting/net.html#cF.request|CF.request()]] calls
* Improved caching support with cache... ack) if you're not interested in the reply
* CF.request() now accepts any method for an HTTPrequest, not just the base ones defined in the HT... he one that just connected
* Fixed a crasher in HTTPrequest processing
* When iViewer comes back from suspe... Viewer will look at tokens whose name start with "HTTP:" and add them to the request headers (excluding the HTTP: prefix).
* Added p
- Easiest method.
- GET requests only.
- [[http://www.commandfusion.com/docs/scripting/net.html#cF.request|CF.request JavaScript function]]
- Most powerful, but co... d value to send needs to be crafted to follow the HTTPRequest standard formatting.
==== Basic Format ====
Below is an example of a basic HTTPRequest in the format you would need when creating a command within...
</code>
Lets break that down:
- GET defines a HTTP GET request. Another options would be POST (although we wont
====== Commands ======
===== Overview =====
Commands are actions which you add to a System, and then assign to a button, slider, gesture or timer to control a particular device.
==== Creating Commands ====
To create a command, you first have to create a system. The system defines where the command will be sent to, whilst the command simply defines what content will be sent in the message.\\
Once you have created a system, the next step is to create the command and assign it to a button.\\
- Select the system to assign the new command to by highlighting it in the System Manager tree (you can manually set this in the following steps also).
- Click the 'Add Command' button in the System Manager toolbar {{:software:gui-designer:system-manager:icon_addcommand.gif?nolink|}}
- Check the correct system is selected in the drop list
- Give the command a name. In the below example the command is for toggling statusbar, so we called it "Statusbar Toggle"
- Enter the command value. In the below example the command is designed for show/hide the statusbar.
- Press OK and you will see the command added to the System Manager tree, under the chosen system.
{{:software:gui-designer:system-manager:commandproperties.png?nolink&400|}}
==== Optional Join Value Assignment ====
When a command is sent, you can also optionally assign the value of a target join.\\
To do this, firstly select the checkbox to enable the other properties. Then select the join type from the dropdown list.\\
Now enter the join number you want to target and finally enter the value you want to assign to the join.\\
This is handy for many reasons, such as changing an image path, changing a text value or changing a button state.\\
The value can contain [[software:gui-designer:tokens|token replacements]] and [[software:gui-designer:math-expressions|math expressions]].
==== Optionally Stop Macro when Command Fires ====
This will stop all running macros when the command is fired when the checkbox for this option is selected.\\
==== Assigning Commands ====
Commands can be assigned to buttons, sliders, macro, input field, page timers and gestures . Here we will show how to assign the commands to these objects.\\
You will of course first need to create a command following the steps above.
=== Assigning Commands to Buttons ===
- Open the page containing a button you want to assign the new command to.
- Now click and hold on the command in the list and drag it onto the button. You will see the buttons becomes highlighted green, indicating the command can now be dropped
- Release the mouse button and the command is now assigned to the button.
- Alternatively you can double click on any button and assign the command in the Button Properties dialog.
In the button properties dialog you can also set the command repeat delay. This delay time (entered in milliseconds) represents how often the command will be sent whilst the button is held down.</br>
Enter zero for no repeating.
=== Assigning Commands to Sliders ===
Sliders allow sending commands on press, drag and release. Each action can be assigned a separate command via the Slider Properties dialog.\\
The command being sent can also include the slider value. To do this the command value needs to use a special string ''sliderval''\\
The ''sliderval'' string will be replaced with the slider value when the command is sent. The slider value being sent can be manipulated by entering the min and max values within the Slider Properties dialog.\\
So setting the min to 0 and max to 100 will allow you to send a command with the values from 0 to 100 when dragging the slider from left to right (or bottom to top for vertical sliders).\\
Leaving the min and max empty will send the default slider value range of 0 to 65535.\\
The value can be sent as either a decimal value, hex value or hex string value (within the Slider Properties dialog).\\
* Decimal mode just sends the value as a normal string
* Hex mode sends the value in hex bytes, so 0 to 100 would be sent as x00 to x64
* Hex String mode sends the value as the ascii representation of the hex value, so for 0 to 100 it would send 00 to 64.
To assign the various commands, double click on a slider to open the Slider Properties dialog and select the commands for the press, drag and/or release actions.\\
=== Assigning Commands to Macros ===
Go to [[software:gui-designer:system-manager:macros|Macros]] for more details.
=== Assigning Commands to Input Field ===
- Use the Input Tool to create an input field.
- Double-click the input field that has been created to go into Input Field Properties.
- Assign Commands to either the "Send Value Actions" or "On Change Actions" part.
Commands for "Send Value Actions" will only be run when the full input string is entered and when the "Done" button on the onscreen keyboard (OSK) is pressed. Commands for "On Change Actions" will be run for every individual input key that is typed or changed on the OSK.
{{:software:gui-designer:system-manager:input_command.png?nolink&700|}}
=== Assigning Commands to Page Timers ===
Go to [[software:gui-designer:timers|Timers]] for more details.
=== Assigning Commands to Gestures ===
Go to [[software:gui-designer:gesture-manager|Gesture Manager]] for more details.
==== Executing Javascript through Commands ====
To execute Javascript functions, enter the script at the "Javascript" section under the Command Properties. If you want the JS script to receive and use the values from the Command Values section, make sure the box "Javascript sends command value?" is checked.
Below is an example of controlling the volume of the XBMC server using JS. The "XBMCMacMini.XBMC.setVolume(data)" function is the command that sets the volume where the ''sliderval'' string passes the value of the volume to be set via a slider.
{{:software:gui-designer:system-manager:command_js.png?nolink&400|}}
==== Sending Hex Values through Commands ====
To send hex strings or values, append a prefix of "\x" to the hex codes and insert at the Command Value section.
{{:software:gui-designer:system-manager:hexstring.png?nolink&400|}}
==== HTTP Requests as Commands ====
Some devices only have a HTTP control protocol. These devices can be controlled from a web browser by entering specific URLs into the browser.\\
To control these devices via iViewer, the command value to send needs to be crafted to follow the HTTPRequest standard formatting.\\
See the [[http-request-commands|HTTPRequestCommands]] page for more details.
=
* 100 = Invalid Slot Number
==== HTP - Send HTTPRequest ====
The ''HTP'' (HTTP) command allows you to send a HTTPrequest from the Solo and receive a response which can be processed by the rules engine.\\... ][F5]
</sxh>
* **<URL>** = The URL to send the HTTPRequest to. If no port is defined, then port 80 is assumed. Required!
* **<METHOD>** = The HTTPRequest Method to use. Optional, default to ''GET'' if only
ust be a unique name in your project (no systems, commands, macros or feedback parsing can have the same nam... cation protocol. Options are:
* TCP
* UDP
* HTTP
* HTTPS
==== IP Address / Hostname ====
The I... via the chosen protocol and port number, to send commands and receive feedback. DO NOT enter leading zeros ... er is sending messages from. Some systems require commands to be sent to a specific port, but replies are se
sending a [[software:gui-designer:system-manager:http-request-commands|HTTPRequest Command]] to the server hosting the RSS Feed. The... tton for manually requesting the data
- Set the request as the [[software:gui-designer:system-manager:sys... on a page, set to a repeat count of 1 so that the request command is only fired once when the page is shown
note of the firmware version listed, then go to [[http://firmware.commandfusion.com|firmware.commandfusi... are:firmware-update|Firmware Updating page.]]\\
[[http://www.youtube.com/watch?feature=player_detailpage... onnect individual devices to assign their ID.\\
[[http://www.youtube.com/watch?feature=player_detailpage... device to reboot, whilst the refresh button will request the configuration properties from the device and
~~NOTOC~~
====== CommandFusion Wiki ======
This wiki serves as a centralised location for all CommandFusion documentation. Treat this wiki as the manual for guiDesigner, iViewer (all versions), System Commander, IR Learner software and all hardware.
To find what you're after:
- Browse the navigation tree to the left of this page
- Search (top right)
- View all content in the [[?do=index|sitemap]]
===== Getting Started =====
For information on getting started with CommandFusion products. See our [[getting-started-with-commandfusion|Getting Started Guide]].
===== CommandFusion Software =====
CommandFusion [[software:iviewer:start|iViewer]] and [[software:gui-designer|guiDesigner]] software allows you to create a graphical user interface (GUI) and upload it to your mobile device to control almost anything!
CommandFusion [[software:system-commander|System Commander]] allows you to configure your [[hardware:start|CommandFusion hardware]].
Why should you choose iViewer? [[http://www.commandfusion.com/index.php/blog/2013/11/19/why-choose-iviewer-for-mobile-automation-control-systems|See a list of important features and frequently asked questions here.]]
For more details on our software, see the [[software:start|CommandFusion Software]] page.
===== CommandFusion Hardware =====
For more details on our automation and control hardware, see the [[hardware:start|CommandFusion Hardware]] page.
===== Knowledge Base =====
The CommandFusion Hardware knowledge base is [[hardware:knowledge-base:knowledge-base|available here.]]
The CommandFusion Software knowledge base is [[software:knowledge-base:knowledge-base|available here.]]
===== CommandFusion Blog =====
Keep up with all the latest [[http://www.commandfusion.com/blog|CommandFusion news]] by visiting [[http://www.commandfusion.com/blog|our blog]]. It is regularly updated and includes product news, articles, guides and more.
===== Most Popular Pages =====
The following is a list of the most common pages visited in the CommandFusion wiki.
- [[software:gui-designer:gui-designer-basics|guiDesigner Basics]] - a quick overview of guiDesigner
- [[software:gui-designer:gui-linking|GUI File Linking]] - information on linking GUI files in iViewer
- [[hardware:cflink|CFLink Protocol]] - information on CFLink, our hardware communications bus
- [[software:modules-and-examples:|Modules and examples - a list of examples and modules for use with iViewer and guiDesigner]]
- [[software:gui-designer:guidesigner-quick-start-guide|guiDesigner/iViewer Quick Start Guide]] - a quick start guide to help get you started with iViewer and guiDesigner
- [[software:gui-designer:release-notes|guiDesigner Release Notes]]
- [[software:iviewer:iviewer-for-android|iViewer for Android Release Notes]]
- [[software:gui-designer:system-manager:feedback-parsing:feedback-properties|Feedback Properties]] - information on the feedback properties window in guiDesigner
- [[case-studies:barry-gordon|Case Study - Barry Gordon's House]]
- [[software:knowledge-base:brand-knowledge-base:crestron|Knowledge Base - Crestron]]
- [[software:gui-designer:system-manager:http-request-commands|HTTP Requests]] - information on controlling devices via the HTTP protocol with iViewer
g your UI elements, responding to events, sending commands, etc.\\
\\
In some cases, though, you want to hav... Viewer Scripting =====
It is important that you [[http://www.commandfusion.com/docs/scripting/intro.html... th this documentation before submitting a support request.
===== Startup =====
When iViewer loads a new GU... the GUI has Javascripts set up in the project. [[http://www.commandfusion.com/docs/scripting/startup.ht
msung models as well.
This GUI contains all the commands required for easy implementation.
You can downlo... ==== Samsung Smart TV Integration Info ====
* [[http://www.samsungdforum.com/Guide/art00030/index.html... ce Discovery, Authentication, and Pairing]]
* [[http://www.samsungdforum.com/Guide/ref00003/convergence_app_clienttotvappcomm.html#request-headers|Client (HHP) to TV Application Communication]]
* [[http:
same functionality.
The ''Refresh'' button will request the settings from the device and display them in ... ou require assistance please contact us via our [[http://www.commandfusion.com/support|support page.]]
<... r TCP Server mode. When echo is enabled, incoming commands from one TCP Client are echoed out to all other c... ''P01:1|P02:0|P03:0|P04:1''.
===== Slot Startup Commands - COMING SOON IN FIRMWARE UPDATE =====
{{:hardwar
em ======
**Author:** Barry Gordon\\
**Website:** http://the-gordons.net/ \\
**CommandFusion Products:**... uling of events based upon changing status, or by request from a user via an iPad; is handled by Homeseer, ... is possible to use a "sendQueue" to schedule many commands. A command will only be sent after the prior com... two files flagging all discrepancies with simple commands to correct or remove the discrepancies.
=== Ante
Delete.
Below is more information on these three commands, but to make life easier, we have also created a [[http://github.com/CommandFusion/RulesProcessor|RulesProcessor JavaScript object]] that you can... tored on the device
<sxh cflink; light: true>
// Request the Rules stored on device at CFLink ID [03]
> [F
CFLink? ======
Since the release of our initial [[http://www.commandfusion.com/hardware|hardware lineup]... l networking usage, a slow or interrupted network request is no big deal - maybe the web page just needs to... t in a control and automation environment, missed commands or slow reply processing can be extremely frustra