I’m drjim, an ED Consultant. 23 ago I first played with linux on various pentium PC’s, compiled software and then developed an interest in unix workstations, went through loads of Sun/SGI hardware and then had family etc etc. Now I’m playing with arduinos in my spare time!
Last year I made an Arduino/pi pool controller to run pumps/heat on my above ground intex pool. I tell you this not to show off I have a pool, but to suggest I have a clue.
I have a couple of solar panels I want to monitor, and obviously need to keep eye on consumption in general. So I now have a pi with a pulse counter on the gpis which is logging to emoncms on said pi. All great.
Just got a tx shield and soldered it all up. Voltage CT on it, removed 33 ohm resistor from board. 9v AC adaptor from the shop (seems to give 12v). Programmed using arduino IDE it sends values via serial. Approx calibrated the voltage by using multimeter to compare with the number in serial output and adjust calibration number (note 12v from adaptor). Usb serial input now shows…
Node: 6 448.79 247.60 - think I need to look at the voltage cal again, but it started out saying 292 when meter said 243 so this is an improvement!
But although I have this coming in to usb, and I configured a node 6 in the nodes section of emonhub, I can’t seem to get anything to happen from there. I can see my pulse counter on the pi gpio working and logs show this stuff…
2023-01-20 21:08:34,049 DEBUG USB0 Node: 6 472.19 246.13 2023-01-20 21:08:35,059 DEBUG Dummy-7 pulse : pulse received - count: 34 2023-01-20 21:08:35,072 DEBUG pulse Data to Post: last_time: 1674248909 time_now: 1674248915 2023-01-20 21:08:35,072 DEBUG pulse 65 NEW FRAME : 2023-01-20 21:08:35,073 DEBUG pulse 65 Timestamp : 1674248915.072000 2023-01-20 21:08:35,073 DEBUG pulse 65 From Node : 3 2023-01-20 21:08:35,074 DEBUG pulse 65 Values :  2023-01-20 21:08:35,074 DEBUG pulse 65 Sent to channel(start)' : ToEmonCMS 2023-01-20 21:08:35,075 DEBUG pulse 65 Sent to channel(end)' : ToEmonCMS 2023-01-20 21:08:35,168 DEBUG MQTT Publishing: emon/3/Pulse 34 LOG LEVEL: DEBUG
I’ve tried configuring devices inputs etc but nothing seems to come through from the usb. When I pulled the arduino to add the node 6 on the serial line it added a device 567 when I plugged back in with 4 inputs (4 CT inputs on Tx shield??), but couldn’t work out how to get anything to show.
Anyone got any advice as to what I am doing wrong??
Once I’ve done this I need to put a CT on a nodeMCU via MQTT for the solar panel input, so hopefully I’ll figure it soon!