A Forum run by Enthusiasts of MidNite Solar

The Open Source software/hardware corner => Node Red => Topic started by: pixeldigger on August 22, 2021, 06:29:46 PM

Title: I have Questions! (node red-classic modbus)
Post by: pixeldigger on August 22, 2021, 06:29:46 PM
I have a Pi running node red, connected to 2 Classics over Modbus IP
I collect some data, store it in Influx, and have a nice dashboard in Grafana.
My problem is: I cant understand how to pull MORE data from the classic. I can pull some registers and read them, but the registers for the WBJr are far away, and I cant get a second read.

Then I see where Graham has a Python-MQTT thing, but I have no knowlege of this, and only want to write my data to Influx-not to a MQTT broker.

Is it simple to figure out how to continue what I'm doing, or learn how to use MQTT?

Title: Re: I have Questions! (node red-classic modbus)
Post by: pixeldigger on August 22, 2021, 06:42:46 PM
To clarify the first statement
I read 20 registers from 4114
The WhizBang stuff is in the 4300 range. How do I pull a second set of reqisters with the one connection?
Title: Re: I have Questions! (node red-classic modbus)
Post by: ClassicCrazy on August 22, 2021, 09:01:28 PM
I think you might be able to just use Graham and Matt's raspberry pi MQTT project and use Node Red to take whichever data you want from there.
Take a look at some of their posts in the General section of Open Source Software on here.
I am sure they can point you in the right direction.
also look here https://github.com/ClassicDIY

Larry