Mosquitto_pub crashing MQTT on every message

If you have a modified file, it is highly likely the whole of the emonhub files are not the latest version.

But you seem to ignore my suggestions so I’ll duck out - good luck.

Hi.

When I said “it is in the parent directory”, I was referring to the file location when compared with the old system (the one I want to replace and is still working).
Old System:

root@emonpi:/home/pi/emonhub/src/interfacers# pwd
/home/pi/emonhub/src/interfacers
root@emonpi:/home/pi/emonhub/src/interfacers# ls -l emonhub_interfacer.py
-rw-r--r-- 1 pi pi 21608 May 16  2016 emonhub_interfacer.py

New System:

root@emonpi:/opt/openenergymonitor/emonhub/src# pwd
/opt/openenergymonitor/emonhub/src
root@emonpi:/opt/openenergymonitor/emonhub/src# ls -l emonhub_interfacer.py
-rw-r--r-- 1 root root 23667 Jun 24 20:02 emonhub_interfacer.py

I don’t know what you mean with “ignore my suggestions”, I did the git commands to put the system up-to-date. But now I need to be able to get it to work as needed, yet even before modifying anything I don’t seem to be able to send messages to it.

Cheers.

Hi there.
This was the solution to my problem
https://github.com/openenergymonitor/emonhub/issues/80

Maybe it should be implemented in the original code.

Cheers.