• 23.04.2024, 21:21
  • Registrieren
  • Anmelden
  • Sie sind nicht angemeldet.

 

Lieber Besucher, herzlich willkommen bei: Aqua Computer Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

appel

Junior Member

Freitag, 6. September 2013, 21:48

I do not have a Ae5 in my system yet.

did buy it yesterday so will install it next week.

but is it not possible at all to make the software work with just a aquastream xt on direct usb?
i have 3 of them and only 2 Ae5's

Freitag, 6. September 2013, 22:45

I do not have a Ae5 in my system yet.

did buy it yesterday so will install it next week.

but is it not possible at all to make the software work with just a aquastream xt on direct usb?
i have 3 of them and only 2 Ae5's


No, aerotools-ng only works with direct USB comms to the Ae5 and devices attached to it via aquabus. FYI: You can control up to two Aquastream XTs with a single Ae5.

If you absolutely must control your Aquastream XT via direct USB, have a look at libacinfo. Unfortunately it doesn't look like that project is still in active development.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »JinTu« (6. September 2013, 22:48)

Samstag, 7. September 2013, 14:35

ok i got an error. aquaero stops working this morning and 7 hours later the call crashes my whole server...

but the code runs for a week without errors...

appel

Junior Member

Donnerstag, 12. September 2013, 21:56

I got my aquaero 5 and connected it all. went into windows and configured it all.
then i went into linux and ran aerocli.

----------- System -----------
Time: 2013-09-12 21:53:36
Uptime: 01d 05:38:13
CPU Temp: 32.64 °C
---- Temperature Sensors -----
Sensor 1: 26.04 °C
Sensor 2: 25.10 °C
Sensor 3: 27.59 °C
Sensor 4: 29.59 °C
------------ Fans ------------
Fan 1: 0rpm @ 68% 29 °C
Fan 2: 405rpm @ 33% 29 °C
Fan 3: 468rpm @ 33% 29 °C
Fan 4: 0rpm @ 68% 29 °C
-------- Flow Sensors --------
Flow 11: 163 l/h
------- Liquid Levels --------


its missing the pump.

Freitag, 13. September 2013, 07:42

I got my aquaero 5 and connected it all. went into windows and configured it all.
then i went into linux and ran aerocli.

----------- System -----------
Time: 2013-09-12 21:53:36
Uptime: 01d 05:38:13
CPU Temp: 32.64 °C
---- Temperature Sensors -----
Sensor 1: 26.04 °C
Sensor 2: 25.10 °C
Sensor 3: 27.59 °C
Sensor 4: 29.59 °C
------------ Fans ------------
Fan 1: 0rpm @ 68% 29 °C
Fan 2: 405rpm @ 33% 29 °C
Fan 3: 468rpm @ 33% 29 °C
Fan 4: 0rpm @ 68% 29 °C
-------- Flow Sensors --------
Flow 11: 163 l/h
------- Liquid Levels --------


its missing the pump.


Looks like you are running rc0 and not the devel branch (currently Aquastream XT support is only in devel)

appel

Junior Member

Freitag, 13. September 2013, 21:32

Now it works.

all i need now, is to fix zabbix to readout snmp.
shouldnt be too hard with the cacti files that are already provided

Samstag, 14. September 2013, 01:11

Now it works.

all i need now, is to fix zabbix to readout snmp.
shouldnt be too hard with the cacti files that are already provided


Glad to hear you got it going.

FYI: I haven't yet added support for the Aquastream XT to the Perl script that exports aerocli data to SNMP. It's one of the first things on my to do list when I get back from overseas.

appel

Junior Member

Sonntag, 15. September 2013, 01:43

and now at a random moment i get a error that does not seem to be resolvable without reboot:
failed to get names: Failed to find enough matching report pages! (Bad file descriptor)

no idea yet why i got this error.
will look it tomorrow a bit.

Dienstag, 24. September 2013, 00:29

Hi folks,

I am back from overseas and ready to dive back into aerotools-ng.

and now at a random moment i get a error that does not seem to be resolvable without reboot:
failed to get names: Failed to find enough matching report pages! (Bad file descriptor)

no idea yet why i got this error.
will look it tomorrow a bit.


This means that the subroutine that gathers the device names didn't get what it was expecting and bailed out. You might also try unplugging and re-plugging the USB port on the Ae5 to see if it corrects the issue. How frequently does this issue occur, and how frequently are you running aerocli to poll your Ae5?

appel

Junior Member

Dienstag, 24. September 2013, 23:56

i was using watch with default settings, so every 2 seconds.
i changed it to 30seconds and things seem to be a lot better now.
it did occur every boot (i suspend a lot so i did only boot 5x and saw it fail 5x)

Mittwoch, 25. September 2013, 21:52

i was using watch with default settings, so every 2 seconds.
i changed it to 30seconds and things seem to be a lot better now.
it did occur every boot (i suspend a lot so i did only boot 5x and saw it fail 5x)


Thanks appel,

Yes, every 2 seconds seems a bit too aggressive. Suspend/resume with USB on Linux has had problems as far back as I can remember. You might want to delay polling for some period of time until everything on your system has had a chance to reach steady-state.

FYI: There seems to be some fragility with hiddev in the 2.6 and 3.1 kernels that I had hoped had diminished in more recent kernels, but that may not be the case.

appel

Junior Member

Donnerstag, 26. September 2013, 20:08

today i tried to compile it on smartos (opensolaris fork)
renamed boolean_t to boolean_t2 because it was already defined. and then the trouble started, no linux/hiddev.h
searched a while how to work with usb in smartos and can't really figure it out.
so now i will try to make it work with a raspberry pi in the case.

and then while it works i'll try to port it again (i might really need some help here)

Freitag, 27. September 2013, 23:36

today i tried to compile it on smartos (opensolaris fork)
renamed boolean_t to boolean_t2 because it was already defined. and then the trouble started, no linux/hiddev.h
searched a while how to work with usb in smartos and can't really figure it out.
so now i will try to make it work with a raspberry pi in the case.

and then while it works i'll try to port it again (i might really need some help here)


Hi appel,

hiddev is Linux specific, so you are not going to be able to port aerotools-ng to anything other than a Linux-based distro without substantial changes. Any Linux-based distro for your Pi should work fine.

appel

Junior Member

Donnerstag, 3. Oktober 2013, 20:46

Got it running on the raspberry pi.
had to comment the parse_cmdline function (inside) to get it working at all (invalid arguments, Try -h for help.) i got all the time, with and without arguments given.
to get it working with snmp i manually setted out_all = 1; and out_format = F_SCRIPT;
however it doesn't seem to get the names right (fans / temps / sensors)
it also screws up the values from time to time (making a lot 0, and flow 32730 or something like that).

I did make a template for zabbix its not 100% yet but it works.
I can give it if you want.

Montag, 30. Dezember 2013, 17:59

Hi folks,

I took a brief hiatus from working on aerotools-ng for the past couple months due to demands of the day job, but I am back.

I finally added support for setting the sensor/device names (this is checked-in to my repo on GitHub) and would appreciate any additional testing/validation the community could provide.

Note: aerotools-ng currently only support firmware versions 1027-1030 included with releases of Aquasuite 2012. The firmware versions included with all releases of Aquasuite 2013 (1031-1034) are likely incompatible.

To set a device/sensor name use `-n REFERENCE:INDEX:VALUE` i.e. `-n "sensors:1:Sensor 1"`. To get a list of the device/sensor name references and all default names, simply omit the argument to `-n`, which yields the following:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
Defaults:
Reference='buttons'
        index 1 = 'F1'
        index 2 = 'F2'
        index 3 = 'F3'
        index 4 = 'F4'
        index 5 = 'exit'
        index 6 = 'Menu'
        index 7 = 'back'
        index 8 = 'cancel'
        index 9 = 'learn'
        index 10 = 'dummy'
        index 11 = 'dummy'
        index 12 = 'dummy'
        index 13 = 'dummy'
        index 14 = 'dummy'
        index 15 = 'dummy'
        index 16 = 'dummy'
Reference='sensors'
        index 1 = 'Sensor 1'
        index 2 = 'Sensor 2'
        index 3 = 'Sensor 3'
        index 4 = 'Sensor 4'
        index 5 = 'Sensor 5'
        index 6 = 'Sensor 6'
        index 7 = 'Sensor 7'
        index 8 = 'Sensor 8'
Reference='poweradjust'
        index 1 = 'poweradjust 1'
        index 2 = 'poweradjust 2'
        index 3 = 'poweradjust 3'
        index 4 = 'poweradjust 4'
        index 5 = 'poweradjust 5'
        index 6 = 'poweradjust 6'
        index 7 = 'poweradjust 7'
        index 8 = 'poweradjust 8'
Reference='software sensor'
        index 1 = 'Software sensor 1'
        index 2 = 'Software sensor 2'
        index 3 = 'Software sensor 3'
        index 4 = 'Software sensor 4'
        index 5 = 'Software sensor 5'
        index 6 = 'Software sensor 6'
        index 7 = 'Software sensor 7'
        index 8 = 'Software sensor 8'
Reference='virtual sensor'
        index 1 = 'Virtual sensor 1'
        index 2 = 'Virtual sensor 2'
        index 3 = 'Virtual sensor 3'
        index 4 = 'Virtual sensor 4'
Reference='MPS'
        index 1 = 'MPS 1 external'
        index 2 = 'MPS 1 internal'
        index 3 = 'MPS 2 external'
        index 4 = 'MPS 2 internal'
        index 5 = 'MPS 3 external'
        index 6 = 'MPS 3 internal'
        index 7 = 'MPS 4 external'
        index 8 = 'MPS 4 internal'
Reference='aquastream'
        index 1 = 'aquastream 1'
        index 2 = 'aquastream 2'
Reference='external sensors 1'
        index 1 = 'Sensor 39'
        index 2 = 'Sensor 40'
        index 3 = 'Sensor 41'
        index 4 = 'Sensor 42'
        index 5 = 'Sensor 43'
        index 6 = 'Sensor 44'
Reference='fan amplifier'
        index 1 = 'Fan amplifier 1'
        index 2 = 'Fan amplifier 2'
        index 3 = 'Fan amplifier 3'
        index 4 = 'Fan amplifier 4'
        index 5 = 'Fan amplifier 5'
        index 6 = 'Fan amplifier 6'
        index 7 = 'Fan amplifier 7'
        index 8 = 'Fan amplifier 8'
        index 9 = 'Fan amplifier 9'
        index 10 = 'Fan amplifier 10'
        index 11 = 'Fan amplifier 11'
        index 12 = 'Fan amplifier 12'
Reference='CPU'
        index 1 = 'aquaero CPU'
Reference='external sensors 2'
        index 1 = 'Sensor 58'
        index 2 = 'Sensor 59'
        index 3 = 'Sensor 60'
        index 4 = 'Sensor 61'
        index 5 = 'Sensor 62'
        index 6 = 'Sensor 63'
        index 7 = 'Sensor 64'
Reference='fan'
        index 1 = 'Fan 1'
        index 2 = 'Fan 2'
        index 3 = 'Fan 3'
        index 4 = 'Fan 4'
        index 5 = 'Fan 5'
        index 6 = 'Fan 6'
        index 7 = 'Fan 7'
        index 8 = 'Fan 8'
        index 9 = 'Fan 9'
        index 10 = 'Fan 10'
        index 11 = 'Fan 11'
        index 12 = 'Fan 12'
Reference='flow sensor'
        index 1 = 'Flow 1'
        index 2 = 'Flow 2'
        index 3 = 'Flow 3'
        index 4 = 'Flow 4'
        index 5 = 'Flow 5'
        index 6 = 'Flow 6'
        index 7 = 'Flow 7'
        index 8 = 'Flow 8'
        index 9 = 'Flow 9'
        index 10 = 'Flow 10'
        index 11 = 'Flow 11'
        index 12 = 'Flow 12'
        index 13 = 'Flow 13'
        index 14 = 'Flow 14'
Reference='profile'
        index 1 = 'Profile 1'
        index 2 = 'Profile 2'
        index 3 = 'Profile 3'
        index 4 = 'Profile 4'
Reference='aquastream XT'
        index 1 = 'aquastream xt 1'
        index 2 = 'aquastream xt 2'
Reference='multiswitch'
        index 1 = 'multiswitch 1'
        index 2 = 'multiswitch 2'
Reference='target value controller'
        index 1 = 'Target value 1'
        index 2 = 'Target value 2'
        index 3 = 'Target value 3'
        index 4 = 'Target value 4'
        index 5 = 'Target value 5'
        index 6 = 'Target value 6'
        index 7 = 'Target value 7'
        index 8 = 'Target value 8'
Reference='curve controller'
        index 1 = 'Curve controller 1'
        index 2 = 'Curve controller 2'
        index 3 = 'Curve controller 3'
        index 4 = 'Curve controller 4'
Reference='two point controller'
        index 1 = 'Two point 1'
        index 2 = 'Two point 2'
        index 3 = 'Two point 3'
        index 4 = 'Two point 4'
        index 5 = 'Two point 5'
        index 6 = 'Two point 6'
        index 7 = 'Two point 7'
        index 8 = 'Two point 8'
        index 9 = 'Two point 9'
        index 10 = 'Two point 10'
        index 11 = 'Two point 11'
        index 12 = 'Two point 12'
        index 13 = 'Two point 13'
        index 14 = 'Two point 14'
        index 15 = 'Two point 15'
        index 16 = 'Two point 16'
Reference='preset value controller'
        index 1 = 'Preset value 1'
        index 2 = 'Preset value 2'
        index 3 = 'Preset value 3'
        index 4 = 'Preset value 4'
        index 5 = 'Preset value 5'
        index 6 = 'Preset value 6'
        index 7 = 'Preset value 7'
        index 8 = 'Preset value 8'
Reference='power output'
        index 1 = 'Power output 1'
        index 2 = 'Power output 2'
Reference='alert level'
        index 1 = 'Normal operation'
        index 2 = 'Warning'
        index 3 = 'Alarm'
        index 4 = 'Alarm/Warning 4'
        index 5 = 'Alarm/Warning 5'
        index 6 = 'Alarm/Warning 6'
        index 7 = 'Alarm/Warning 7'
        index 8 = 'Alarm/Warning 8'
Reference='aq5'
        index 1 = 'aquaero 5'
Reference='fill level'
        index 1 = 'Fill level 1'
        index 2 = 'Fill level 2'
        index 3 = 'Fill level 3'
        index 4 = 'Fill level 4'
Reference='pressure'
        index 1 = 'Pressure 1'
        index 2 = 'Pressure 2'
        index 3 = 'Pressure 3'
        index 4 = 'Pressure 4'
Reference='humidity'
        index 1 = 'Humidity 1'
        index 2 = 'Humidity 2'
        index 3 = 'Humidity 3'
        index 4 = 'Humidity 4'
Reference='water quality'
        index 1 = 'Water quality 1'
        index 2 = 'Water quality 2'
        index 3 = 'Water quality 3'
        index 4 = 'Water quality 4'
Reference='mps D5'
        index 1 = 'mps D5 - 1'
        index 2 = 'mps D5 - 2'
        index 3 = 'mps D5 - 3'
        index 4 = 'mps D5 - 4'

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »JinTu« (30. Dezember 2013, 19:32)

appel

Junior Member

Dienstag, 31. Dezember 2013, 19:47

i updated my dualboot machine to the new firmware.
i'll try to run it with that one in the near future.

Dienstag, 31. Dezember 2013, 21:00

i updated my dualboot machine to the new firmware.
i'll try to run it with that one in the near future.


Thanks appel,

Unfortunately I am fairly certain that the new firmware from Aquasuite 2013 (1031-1034) isn't compatible yet. I would welcome some USBPcap dumps of Aquasuite and the Ae5 communicating though so I can start scoping the changes that need to be made. I would upgrade myself, but I only have a single Ae5 to develop with at the moment and want to maintain a working reference.

appel

Junior Member

Dienstag, 31. Dezember 2013, 21:14

just tell me which commands you want me to execute.

anyway, doesnt the aquaero save device names, or is this always done local on the computer it is connected to (aqua suit)

Dienstag, 31. Dezember 2013, 21:59

just tell me which commands you want me to execute.

anyway, doesnt the aquaero save device names, or is this always done local on the computer it is connected to (aqua suit)


Hi Appel,

When using Aquasuite, the device/sensor names are synchronized between Aquasuite and the Ae5. The added feature to aerotools-ng allows you to set the names via aerotools-ng instead of requiring Aquasuite. XT and Pro versions of the Ae5 also allow you to set the device/sensor names from the front panel.

However, with the new firmware, I would suggest initially doing the following before trying to change the sensor names:

Set DEBUG=TRUE in the Makefile, and run the following three iterations while capturing the stdout and stderr to a file:

To baseline

Quellcode

1
aerocli


To dump the data HID report to a file

Quellcode

1
aerocli -D data.bin


To dump the settings HID report to a file

Quellcode

1
aerocli -S settings.bin


After these have completed, roll the output and bin files into a zip and post the results in this thread, or PM them to me if you prefer.

Thanks for your help!

Mittwoch, 1. Januar 2014, 15:06

Hi,

I tried it with my 1030-firmware ae5 and got the following:

aerocli -n "sensors:1:Water-Out"
Default for name reference 'sensors', index 1 = 'Sensor 1', changing to 'Water-Out'

However, it doesn't seem to work, I still get:

---- Temperature Sensors -----
Sensor 1: 27.74 °C

However, time synchronization works.

----------- System -----------
Time: 2014-01-01 15:05:43
YT,
Tron

Ähnliche Themen