I have been already using emoncms for monitoring electricity and PV energy for one year. Today I tried to connect pulse output from heat pump energy meter, but after couple of hours I am not successful. Pulse output is wired directly to RPi: S0+ wire to GPIO4 (pin7) and S0- wire to GND.
For future reference, when posting code or output, please put 3 ‘backticks’ (normally found at the top left of the keyboard) on a line of their own before the code, and 3 more backticks also on a line of their own after the code:
If it is something like php you can add a language identifier after the first 3 backticks: ```php or even ```text if you don’t want any language markup applied.
Type = EmonHubPulseCounterInterfacer
pulse_pin = 15
bouncetime = 5
# bouncetime = 1
# Rate_limit is the rate at which the interfacer will pass data
# to emonhub for sending on. Too short and pulses will be missed.
# rate_limit is minimum number of seconds between data output.
# pulses are accumulated in this period.
# rate_limit default to 2.
rate_limit = 5
pubchannels = ToEmonCMS,
nodeoffset = 3
This setup works when physically connected to pin 15.
Note - the rate_limit must be the same as the logging interval in emoncms.