Hello all.
I’m very new to this so please be patient :).
I’m now a step closer to my Solar. I’ve had to have my CU swapped out so went big and have Eastrons spread across the place.
A while ago, I repurposed a Pi v3 for emonSD but never had the devices to feed to it.
At the moment, I have 2x SDM120 & 1x SDM230 daisy-chained to a USB converter in the back of the Pi. The end state will be 3x SDM230, 3x SDM120 and a FoxESS H1 Inverter (plus batteries). I want to daisy-chain all these for RS485. The end point will be a USR-W610 RS485 to LAN converter. I intend to then connect emonCMS to the W610 IP address for reading the feeds. I also want to connect HA to the inverter for Foxx Energy Management and inverter control (read/write of registers).
Please can I ask, how would I craft an “Interfacer” for the W610 (IP Modbus) and then crafting the subsequent devices I wish to interrogate via that Interfacer (basically, all my SDMs and eventually my FoxESS H1)? I have successfully connected to an SDM230 and 2x SDM120s via the “Minimal Modbus Interfacer” on USB. But this was a real stretch for my newbie knowledge:
[[SDM230]]
Type = EmonHubMinimalModbusInterfacer
[[[init_settings]]]
device = /dev/ttyUSB0
baud = 9600
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
read_interval = 5
nodename = sdm230_120
# prefix = sdm_
[[[[meters]]]]
[[[[[sdm230main]]]]]
address = 010
registers = 0,6,12,18,30,70,72,74,76
names = V,I,P,VA,PF,FR,EI,EE,RI
precision = 2,3,1,1,3,3,3,3,3
[[[[[sdm120hob]]]]]
address = 012
registers = 0,6,12,18,30,70,72,74,76
names = V,I,P,VA,PF,FR,EI,EE,RI
precision = 2,3,1,1,3,3,3,3,3
[[[[[sdm120eps]]]]]
address = 013
registers = 0,6,12,18,30,70,72,74,76
names = V,I,P,VA,PF,FR,EI,EE,RI
precision = 2,3,1,1,3,3,3,3,3
Any pointers/direction/advice will be greatly received.
Thanks.
Roland.
[edited - by mod - please format code etc with Ctl-E]