Skip to content

I2C Node #84

Answered by phoddie
Sineos asked this question in Q&A
Feb 12, 2023 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

I think you are very close. I appreciate your methodical approach. Going back to the RPi nodes, and even the Node.js JavaScript, helps. I believe I know what's going on, but I don't have an SHT3x to try.

First, there was a bug in the I2C In & I2C Out node editors. I committed a fix for that. After updating, you should restart Node-RED and hard reload the browser to make sure the caches are flushed. You'll also need to delete the existing I2C In & I2C Out nodes to get the new behavior. The bug is that the Command field always had a value -- you should be able to leave it blank to mean "no command". That's the main reason you were getting garbage.

I updated your flow. It eliminates the "fun…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@Sineos
Comment options

@phoddie
Comment options

@Sineos
Comment options

@phoddie
Comment options

Answer selected by Sineos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants