# Aquarium Controller - Raspberry PI 4B Node-RED, Atlas-Scientific i2c Devices, NCD i2c Relay Board

**URL:** <https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839>\
**Category:** Share Your Projects\
**Created:** [30 April 2020 23:37 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839 "2020-04-30T23:37:39Z")\
**Posts on this page:** 9\
**Page:** 3

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 May 2021 06:58 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839/41 "2021-05-27T06:58:15Z")

</div>

It might be useful to also include a msg.topic property set to the selected type/mode of the node to make combining multiple sensor readings easier.

---

<div class="post-metadata">

**Author:** ![MaddyP](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maddyp/32/53046_2.png) [@MaddyP](https://discourse.nodered.org/u/MaddyP)\
**Post date:** [27 May 2021 17:32 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839/42 "2021-05-27T17:32:42Z")

</div>

Would it be good practice to set this by default or leave it blank? I would think most users will add a topic to the input message in combination with the command. Thoughts?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [28 May 2021 10:03 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839/43 "2021-05-28T10:03:20Z")

</div>

Well you can always test if msg.topic exists on the incoming msg - if it exists leave it alone as the user wanted it set that way... if not then add your own based on the type/mode.

---

<div class="post-metadata">

**Author:** ![MaddyP](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maddyp/32/53046_2.png) [@MaddyP](https://discourse.nodered.org/u/MaddyP)\
**Post date:** [28 May 2021 17:09 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839/44 "2021-05-28T17:09:10Z")

</div>

I'll add it to the development list. 🙂 Thanks for the excellent direction in adding valuable features!

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [28 May 2021 17:22 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839/45 "2021-05-28T17:22:08Z")

</div>

And thanks for the really accessible node. It just works !

---

<div class="post-metadata">

**Author:** ![SonoraTechnical](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sonoratechnical/32/20033_2.png) [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Post date:** [28 May 2021 20:05 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839/46 "2021-05-28T20:05:22Z")

</div>

Dave,  
With the help of the contributors you folks have come a long way with fixing the i2c device nodes (generic i2c, mcp23008, pca9685).

Maddy,  
Now, with this new one from you, users have a very specific node for AtlasEZO devices (which I suspect are powered by AtmelMega328P 28pin mcus or perhaps PIC16F88x 28pim mcus).

---

<div class="post-metadata">

**Author:** ![MaddyP](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maddyp/32/53046_2.png) [@MaddyP](https://discourse.nodered.org/u/MaddyP)\
**Post date:** [29 May 2021 21:16 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839/47 "2021-05-29T21:16:23Z")

</div>

v1.1.2 includes your recommended changes: improved node label text and added `msg.topic` if it doesn't exist on input.

---

<div class="post-metadata">

**Author:** ![takeeco](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@takeeco](https://discourse.nodered.org/u/takeeco)\
**Post date:** [10 July 2021 08:15 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839/48 "2021-07-10T08:15:04Z")

</div>

Hi,

a short question. I also use the Atlas IOT on a Raspberry with a ph, ORP sensor and an EZO-PMP. Unfortunately I have very little experience with Node Red, I know the most important things, but I don't know how to connect contrib-ezo to my Raspberry. Node Red is running on another Rapberry. Can someone show me the Node Red structure in pictures? What am I doing wrong. many thanks for your help

---

<div class="post-metadata">

**Author:** ![SonoraTechnical](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sonoratechnical/32/20033_2.png) [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Post date:** [12 July 2021 12:55 UTC](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839/49 "2021-07-12T12:55:31Z")

</div>

I'm travelling for work and had some family medical emergencies, so I'm quite occupied. When I return home in a few days I'll look up a few basic flows that I have that I can link... They will get you started.

[Previous page](https://discourse.nodered.org/t/aquarium-controller-raspberry-pi-4b-node-red-atlas-scientific-i2c-devices-ncd-i2c-relay-board/25839.md?page=2)
