# EmonHub emon-pi variant interim update

**URL:** <https://community.openenergymonitor.org/t/emonhub-emon-pi-variant-interim-update/6622>\
**Category:** emonPi\
**Tags:** emonhub\
**Created:** [19 February 2018 09:28 UTC](https://community.openenergymonitor.org/t/emonhub-emon-pi-variant-interim-update/6622 "2018-02-19T09:28:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [19 February 2018 09:28 UTC](https://community.openenergymonitor.org/t/emonhub-emon-pi-variant-interim-update/6622/1 "2018-02-19T09:28:38Z")

</div>

Over the last couple of weeks Paul Burnell @pb66 and I have been working through the future direction of emonhub and how we can bring the different versions together. Its a big project, so we are not there yet as there is a lot of detail to work through and we’re taking the opportunity to really look at how emonhub should work from the ground up.

Last year Paul raised with me a number of issues with the emon-pi variant that I created, including:

- Threading bug where the MQTT and http interfacers where not running properly on their own threads - _fixed July 2017_
- http interfacer ever increasing queue if not configured properly potentially causing potential memory issues - _fixed October 2017_
- http interfacer implementation that attempts to send the entire buffer content in a single request to the remote emoncms, likely overloading the emoncms installation or/and failing resulting in a repeated attempts.

Having not quite understood how emonhub worked when I created the emon-pi variant I had somehow removed functionality that did work and replaced it with something that didnt work as well. I have now reverted the buffering code on the emon-pi variant to mirror @pb66’s experimental branch to fix the buffering issue.

The latest version of the emonhub emon-pi variant with these bug fixes is now available (release v2.1.0). _This is in an interim update to the emon-pi variant as we are still working through our discussion of the future direction of emonhub as mentioned above._

**To Upgrade EmonPi/EmonBase:** Just run emonpi/emonbase update from _Setup \> Adminstration_

Or update with git, or download the latest version here  
[https://github.com/openenergymonitor/emonhub](https://github.com/openenergymonitor/emonhub)

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [19 February 2018 09:51 UTC](https://community.openenergymonitor.org/t/emonhub-emon-pi-variant-interim-update/6622/2 "2018-02-19T09:51:43Z")

</div>

Just to add to @Trystan’s note above, this only affects users using the emon-pi variant, there have been no changes to the original emonhub versions at this point.

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [1 March 2018 13:49 UTC](https://community.openenergymonitor.org/t/emonhub-emon-pi-variant-interim-update/6622/3 "2018-03-01T13:49:39Z")

</div>

Changes made in this “interim update”

> **[Comparing 40b30350a78bce2a42712a73bcd01a60de1a0caa...emon-pi ·...](https://github.com/openenergymonitor/emonhub/compare/40b30350a78bce2a42712a73bcd01a60de1a0caa...emon-pi)**
>
> Python service linking and decoding input to MQTT & Emoncms - Comparing 40b30350a78bce2a42712a73bcd01a60de1a0caa...emon-pi · openenergymonitor/emonhub

(includes subsequent fix required for [Emonpi display info bug](https://community.openenergymonitor.org/t/emonpi-display-info-bug/6668) - see [commit](https://github.com/openenergymonitor/emonhub/commit/876cd9589d6f1fed87c9dbc65387d77fd38ce4f8))

[edit - excludes subsequent fix for the [Inputs Nodes Value only rssi Error after update of Emoncms version low-write 9.8.28](https://community.openenergymonitor.org/t/inputs-nodes-value-only-rssi-error-after-update-of-emoncms-version-low-write-9-8-28/6700) issue - see [commit](https://github.com/openenergymonitor/emonhub/commit/9263fc2ba77d081860aa4794f79ff2bbe38e1b85)]
