suppliers:hvac.io:wacnet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
suppliers:hvac.io:wacnet [2015/09/25 17:06] – frozenlock | suppliers:hvac.io:wacnet [2020/10/02 21:59] – old revision restored (2020/09/20 21:25) 192.151.145.178 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Wacnet ====== | ====== Wacnet ====== | ||
+ | Logo : {{: | ||
+ | {{ : | ||
[[https:// | [[https:// | ||
Line 5: | Line 7: | ||
It works with all BACnet/IP networks and doesn' | It works with all BACnet/IP networks and doesn' | ||
- | It is used by hundreds of professional | + | It is used by hundreds of professionals |
- | === Requirements === | ||
- | Java 8 | + | ===== Requirements ===== |
+ | * Java 8 | ||
+ | * BACnet/IP network | ||
- | === Running the Software === | + | ===== Running the Software |
Wacnet can be started by double-clicking on the .jar file, or by using this command: | Wacnet can be started by double-clicking on the .jar file, or by using this command: | ||
Line 21: | Line 24: | ||
</ | </ | ||
- | === Source === | + | ===== Source |
Wacnet is open source software under the GPLv3. | Wacnet is open source software under the GPLv3. | ||
Line 27: | Line 30: | ||
The source can be found at this link: https:// | The source can be found at this link: https:// | ||
- | TODO: DOCS | + | |
+ | ===== Scripts ===== | ||
+ | |||
+ | The REPL can be used to send custom commands on the network. | ||
+ | Here are a few examples and custom scripts. | ||
+ | |||
+ | Check the bacure [[http:// | ||
+ | |||
+ | ==== Find devices ==== | ||
+ | |||
+ | Send WhoIs broadcast for a single device at a time. | ||
+ | Use this if you can't seem to get a response from every device on your network. | ||
+ | |||
+ | <code clojure> | ||
+ | (defn find-devices | ||
+ | "For the entire IDs range, send WhoIs broadcasts with a single | ||
+ | device as a target. Useful to get an answer from particular devices | ||
+ | when the network is congested." | ||
+ | [start-id end-id] | ||
+ | (let [ids (range start-id (inc end-id))] | ||
+ | (doseq [id ids] | ||
+ | (find-remote-device id) | ||
+ | (Thread/ | ||
+ | ;; example to find devices 100 to 200 : (find-devices 100 200) | ||
+ | </ | ||
+ | |||
+ | See the associated [[http:// | ||
+ | |||
+ | ==== Network Profiling / Devices Inventory ==== | ||
+ | |||
+ | This script will export a text file of the following form: | ||
+ | < | ||
+ | | : | ||
+ | |--------------------------+-----------------------------------------+----------------------------------+--------------------| | ||
+ | | ABB | DRIVE_U1_V_ALI | ||
+ | | ABB | DRIVE_U1_V_RET | ||
+ | | ABB | UV01_DRIVE_ALIM | ||
+ | | ABB | UV01_DRIVE_RET | ||
+ | | TELEMECANIQUE | ||
+ | | TELEMECANIQUE | ||
+ | | CARRIER | ||
+ | | Delta Controls | ||
+ | | Delta Controls | ||
+ | ... | ||
+ | (about a hundred more) | ||
+ | </ | ||
+ | |||
+ | <code clojure> | ||
+ | (->> (pmap #(try (remote-object-properties % [:device %] [: | ||
+ | | ||
+ | | ||
+ | | ||
+ | ((fn [x] (with-out-str (print-table x)))) | ||
+ | (spit " | ||
+ | </ | ||
+ | |||
+ | ===== API ===== | ||
+ | |||
+ | Most of the BACnet data visible from Wacnet can be retrieved using the API. | ||
+ | |||
+ | {{: | ||
suppliers/hvac.io/wacnet.txt · Last modified: 2020/10/04 02:13 by 173.249.2.13