This is great! Any info on the case? Also how could I get fahrenheit out of this?
Ad Widget
Collapse
A hardware ZABBIX Agent made with Arduino Mega
Collapse
X
-
Zaniwoop,
Your response is both insulting and useful:
"It's called maths." = insulting/unnecessary.
"Create a calculated item." = useful and, the only answer you needed to give.
I'm new to Zabbix so I had no idea you could create a Calculated item. There was no need to make an insulting comment.Comment
-
Sorry, didn't mean to insult.
You can read about calculated items at https://www.zabbix.com/documentation...pes/calculated
Formula to C to F:where Tf is temp in Fahrenheit and Tc is temp in CelsiusCode:Tf = (9/5)*Tc+32
Comment
-
is it possible to add some sensors to replace somthing like that: http://www.knurrusa.com/vmchk/Knurr-...-II%C2%AE.html
??
and why do you use arduino instead of raspberry pi??Debian-User
Sorry for my bad english
Comment
-
Remote commands?
Hi,
it is possible to add support for simple remote commands? For example turn on and off some digital pin(s). I want to use your great project for rack monitoring and create action if temperature rise above defined value then turn on fan in rack. I know that it is possible to hardcode this but it is not that flexibile.
PS: I am trying to do that but I don't understand zabbix protocol and so trying sniff network packets between zabbix server and arduino. No luck so far
Thanks for your reply.
<- chasgoj ->Last edited by chasgoj; 25-06-2013, 15:48.Comment
-
Got it
I finally get some time to check it out and got solution. Is is very simply and no modification to your code is even needed.
if(cmd.equals("system.run[\"Re1off\",\"nowait\"]")) is the solution.
Just replace Re1off with cmd in zabbix remote command
Edit: maybe a little edit to code. i change #define MAX_CMD_LENGTH to 40
I tested code on Uno R3 and it works like a charm, but you can't use digital pins 10-12 (ISP pins on Uno) so DHT must be connected to other pin (if use 11 then ethernetshield not working).Comment
-
Sure, from what I can read, this is basically reading analogue voltage and translating to temperature based on a scale.is it maybe possible to use a pt100 with it?
Of course, you can't simply connect it and expect it to work. The conversion code for arduino must be written, and most likely a calibration routine.
in the PT100 case, you apply a given voltage in one end, and measure voltage in the other to figure out the resistance.
At 0 degrees C, the resistance is 100Ohm, and will increase 0,385Ohm/C in a close to linear fashion.
You probably knew that, but since I read up on it, I thought I'd share with everyone.
Comment
-
Hello.
I rewrote the code of Arduino Zabbix agent and expanded his functionality.
Old Arduino releases (ATmega 186) was supported with W5100 shield. ENC28J60 shield supported too, but with Arduino based on ATmega 328.
Have fun. Sorry for my English.Comment
Comment