seblucas / i2c2mqtt

Get values from sensors in your i2c bus and send it to your MQTT broker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to add Atlas EZO Circuits to your code?

ustunsoz opened this issue · comments

Hello I am using Atlas Tentacle T3 Pi Hat for PH, EC,, Temp Reading. If you could is it possible to add module to your code to read such devices.

If you could, the sample i2c code is at: https://github.com/AtlasScientific/Raspberry-Pi-sample-code

I will be grateful if you could do.

Not the author of this repo, but I just saw your message and have the same issue... that's why I forked this code and I'm currently working on it. Just simple readings of EZO_DO, EZO_EC, EZO_ORP, EZO_PH and EZO_RTD. Temperature and DO is working already, just need a couple more days/weeks :)

Thanks, Looking forward to hear your update.

So I have added a bunch of devices, but only was able to test the temperature sensor. Anyhow, the others should work too. You can give it a try.

Just check out the code

git clone --branch ezo https://github.com/kylhuk/i2c2mqtt.git

Change into the directory v2 and execute it like this:

python3.7 i2c2mqtt.py -d ezo_rtd -t hydroponics/ezo/rtd --host 192.168.50.200

Valid device names are: ezo_do, ezo_ec, ezo_orp, ezo_ph, ezo_rtd

As soon as I know everything works, I will create a pull request, so we can merge the changes.