# INA219 node configuration

**URL:** <https://discourse.nodered.org/t/ina219-node-configuration/48368>\
**Category:** General\
**Created:** [13 July 2021 15:52 UTC](https://discourse.nodered.org/t/ina219-node-configuration/48368 "2021-07-13T15:52:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [13 July 2021 15:52 UTC](https://discourse.nodered.org/t/ina219-node-configuration/48368/1 "2021-07-13T15:52:03Z")

</div>

I use a board with 4 fixed wired INA's on board with fixed adresses.  
Unfortunately the INA219 node is configured to use 2 standard adresses an 2 other adresses, which first seemed to make the node useless, since the adresses are fixed and connot be changed during the setup process.

But there is a fix. Looking in the ina.html in the node-red directory i saw, that it can be edited.  
Editing this part

```auto
<script type="text/x-red" data-template-name="ina-sensor-manager">
	<div class="form-row">
		<label for="node-config-input-address"><i class= "icon-bookmark"></i>Address of ina</label>
		<select id= "node-config-input-address">
			<option value=0x40> 0x40 </option>
			<option value=0x41> 0x41 </option>
			<option value=0x44> 0x44 </option>
			<option value=0x45> 0x45 </option>
		</select>
	</div>

```

was successful to use the fixed adresses of my board.

I wanted to post that just in case someone else ran in trouble like i did.

---

<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:** [13 July 2021 17:18 UTC](https://discourse.nodered.org/t/ina219-node-configuration/48368/2 "2021-07-13T17:18:06Z")

</div>

What did you change it to ?

---

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [13 July 2021 18:04 UTC](https://discourse.nodered.org/t/ina219-node-configuration/48368/3 "2021-07-13T18:04:32Z")

</div>

I replaced the adresses 44 and 45 with the ones used on my board - 42 and 43.  
All 4 channels work as expected.

---

<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:** [13 July 2021 18:29 UTC](https://discourse.nodered.org/t/ina219-node-configuration/48368/4 "2021-07-13T18:29:48Z")

</div>

So is it worth raising a pull request against the node to add those (as well as 44 45 ?

---

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [14 July 2021 19:29 UTC](https://discourse.nodered.org/t/ina219-node-configuration/48368/5 "2021-07-14T19:29:07Z")

</div>

I'm not familiar with pull-requests, never worked with github.  
I'm a AMX/Crestron/Extron programmer who uses node-red to interface all things that cannot interfaced by the mainstream AV-Controllers. For this job github is unusual.  
To be honest, i cannot answer this question.

---

<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:** [14 July 2021 22:12 UTC](https://discourse.nodered.org/t/ina219-node-configuration/48368/6 "2021-07-14T22:12:21Z")

</div>

Ok. Maybe then try asking the author of the node (by raising an issue) if they would be willing to add it instead ?

---

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [15 July 2021 05:21 UTC](https://discourse.nodered.org/t/ina219-node-configuration/48368/7 "2021-07-15T05:21:39Z")

</div>

I opened an issue on github.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 September 2021 05:21 UTC](https://discourse.nodered.org/t/ina219-node-configuration/48368/8 "2021-09-13T05:21:40Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
