supported_hardware:barix
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
supported_hardware:barix [2011/12/01 21:38] – external edit 127.0.0.1 | supported_hardware:barix [2023/02/13 14:52] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====Barix Barionet===== | ||
{{: | {{: | ||
- | XTension has built in support for [[http:// | + | [[http:// |
+ | |||
+ | As of XTension version 9.4.14 the original Barix plugin has been replaced. To ease the conversion of existing databases the original plugin is still included in the application. When creating a new Barix interface please use the " | ||
+ | |||
+ | ====Barix Setup==== | ||
+ | After performing the initial setup of the Barix unit as per their instructions and getting it on your network there are a few other settings necessary so that XTension can connect to it. Visit the Barix in a web browser and click the “Configuration” link towards the top. | ||
+ | |||
+ | ===Static Ip=== | ||
+ | {{ : | ||
+ | |||
+ | ===Command and Control Settings=== | ||
+ | {{ :supported_hardware: | ||
+ | |||
+ | The next section is “I/O State Info” the last entry here “TCP add I/O state subscriptions” needs to be set to “with getio/setio” | ||
+ | |||
+ | |||
+ | XTension does not use the UDP connection method and so no settings there are needed. If you had some other system that needed to connect to the Barix in that way it should work fine to have both that and XTension active at the same time. Otherwise keep the UDP info send to set to all 0’s as in the example image. | ||
+ | |||
+ | Click the “OK” button to save and reboot the device with the new settings. If you changed the IP address you’ll need to reconnect on the new IP if you wish to continue using the web interface. | ||
+ | |||
+ | |||
+ | |||
+ | ====XTension Setup==== | ||
+ | {{ : | ||
+ | |||
+ | Open the Interfaces window in XTension and click the “New Interface” toolbar button. Select “Barix/Barionet | ||
+ | |||
+ | ===Networking Settings=== | ||
+ | Enter the IP address and Port that you setup in the Barix configuration above. | ||
+ | |||
+ | ===Device Info=== | ||
+ | Select the model of your Barix from the Barionet Model popup menu. By default the “Automatically create units in XTension” checkbox is turned on. As soon as you connect to your barix for the first time units will automatically be created for whatever IO is supports as well as any 1-wire temperature sensors that are found. If you have an X8 expander module those units cannot be created automatically, you should create those and assign them the proper register address. | ||
+ | |||
+ | ===Temperature Format=== | ||
+ | Select F or C to choose the temperature scale used when presenting the 1-wire sensor values. | ||
+ | |||
+ | ===Analog, Register and Temperature Sensor defaults=== | ||
+ | |||
+ | These settings here apply to newly created or converted units but will not change the values setup in the individual unit’s settings. For each of the 4 device types that support filtering the Edit Unit dialog will have an identical set of controls so you can change them individually after this initial default is applied when they are created. See the section below on Filtering for a description of the logic used. | ||
+ | |||
+ | ====Filtering==== | ||
+ | {{ : | ||
+ | |||
+ | These analog and sensor inputs can be very chatty. It’s not always necessary to know that the 1-wire sensor has changed by a tenth of a degree. Such inputs may change continually every few seconds or more generating an unnecessary load on your system not to mention filling up your logs with unnecessary precision. XTension can filter these inputs by either time, significant change or both. | ||
+ | |||
+ | The time filter will not allow an update to happen until at least as much time has passed | ||
+ | |||
+ | Significant change will not send an update until the new value is different from the current value by the amount that you have entered. | ||
+ | |||
+ | If you turn both filters on then you can have much slower regular updates, but still catch a rapid change in values. For example by setting the time filter to 5 minutes and the significant change to 0.5 you will remove most of the small fluctuations in the readings but still get updates if the temperature starts changing quickly. | ||
+ | |||
+ | ====Expansion Modules==== | ||
+ | Expander modules such as the X8, can increase the number of inputs and outputs | ||
+ | |||
+ | Temp sensors attached to expansion modules need to have their device | ||
+ | |||
+ | ====Temperature Sensors==== | ||
+ | 1-wire temperature sensors attached to the barix are assigned registers starting at 601 and going to 655. As long as the sensor chain never changes they will keep the same register number. If you add or remove a sensor however the entire bus can re-arrange itself moving your sensors to other registers and you’d have to go through and figure | ||
+ | |||
+ | This basically makes it something that you no longer have to worry about. | ||
+ | |||
+ | If you have an existing barix interface with 1-wire sensors and are using the “native addressing” option then you don’t need to do anything extra when converting. If you have your temperature sensors currently using the real register address as the unit address (601-650) then you will need to swap the addresses between the unit that XTension creates and your original one. For more info see the converting section below. | ||
+ | |||
+ | If you have temperature sensors connected to an X8 expander you will have to create or convert the type of those devices manually. | ||
+ | |||
+ | ====Converting from the Original Barix Plugin==== | ||
+ | If you are using the original Barix plugin then it is necessary to convert your units to the new unit types so that they can be used with the new interface. | ||
+ | |||
+ | * Disable your existing Barix interface. | ||
+ | * Edit the interface and change the device popup from “Barix” to “Barix/ | ||
+ | * Adjust any defaults for filtering your inputs and temperature sensors. | ||
+ | * Save the interface and re-enable it. | ||
+ | |||
+ | Upon re-enabling the interface the old unit types will be converted to the new plugin types. Temperature units already using the “native addressing” system from the old plugin will work with no further adjustment. If you have temperature sensors that are using the real register number as the unit address then you will have to manually change that to the 8 hex character address which will be in the address field of the new temperature sensor units that XTension will create. | ||
+ | |||
+ | If you don’t already have units in the XTension database for all your inputs and outputs found on your Barix they will be created at this time. If you don’t wish to have units in the database for inputs or outputs that you’re not currently using you can delete these and then uncheck the “create units in XTension” checkbox in the Edit Interface dialog. | ||
- | There is a script included with the XTension package that creates | + | ====Other Verbs Supported==== |
+ | ===Query=== | ||
+ | The [[dictionary: | ||
- | The 1-wire | + | In the case of a built in 1-wire |
- | If you need more inputs or analog inputs XTension also supports the more advanced | + | ===Send Data=== |
+ | The [[dictionary:xtension: | ||
- | Once the devices are connected to the network and powered up they will request a DHCP address. So you’ll | + | The command does not need to be terminated by a return as that will be added by the plugin before sending |
- | Barionet devices can be purchased in the US from various places for around $165 a fantastic bargain in our estimation, here’s one distributor: | ||
+ | =====History===== | ||
+ | * The original barix plugin has been part of XTension since 2009 | ||
+ | * the New plugin using the new plugin architecture was added in XTension v9.4.14 on 12/23/2018 | ||
+ | * Support for temp sensors on the X8 expansion modules was added in v9.4.15 on 1/11/2019 | ||
supported_hardware/barix.1322775497.txt.gz · Last modified: 2023/02/13 14:51 (external edit)