# Syncing with Emoncms.org

**URL:** <https://community.openenergymonitor.org/t/syncing-with-emoncms-org/23869>\
**Category:** Emoncms.org\
**Tags:** heatpumpmonitor\
**Created:** [7 July 2023 20:57 UTC](https://community.openenergymonitor.org/t/syncing-with-emoncms-org/23869 "2023-07-07T20:57:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![thedawnbefore](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/thedawnbefore/32/18445_2.png) [@thedawnbefore](https://community.openenergymonitor.org/u/thedawnbefore)\
**Post date:** [7 July 2023 20:57 UTC](https://community.openenergymonitor.org/t/syncing-with-emoncms-org/23869/1 "2023-07-07T20:57:46Z")

</div>

HI,

I am looking to sync my emonpi (running local emoncms install) with [emoncms.org](http://emoncms.org) to contribute to [heatpumpmonitor.org](http://heatpumpmonitor.org).

The two emoncms instances connect fine and I’m able to transmit feeds manually by hitting ‘upload’ on the local copy - however i can’t see how to sync on an ongoing basis?

ServiceRunner appears to be running fine along with all other services (screenshot below) - i’m running v11.3.22

I have been reticent to post this issue as I have to think there is something very basic that I’m doing wrong. Could somebody point me in the right direction please? Screenshots below and big thanks in advance.

Local emoncms after hitting upload on first three feeds.

 ![image](https://community.openenergymonitor.org/uploads/default/original/3X/6/2/6204f961476bd7ea5ae4df004953b1534c1a41ac.png)

[Emoncms.org](http://Emoncms.org) after a manual sync

 ![image](https://community.openenergymonitor.org/uploads/default/original/3X/9/b/9b710da132d49c49b7e3b83638dd90aed08c8f9f.png)

Admin on Emonpi. The FeedWriter is showing the pending write…

 ![image](https://community.openenergymonitor.org/uploads/default/original/3X/d/4/d47eaee3796178414ea9c86839ec25ee256edda9.png)

---

<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:** [8 July 2023 12:19 UTC](https://community.openenergymonitor.org/t/syncing-with-emoncms-org/23869/2 "2023-07-08T12:19:23Z")

</div>

Hello Ben

You can set up a sync module cron upload to do this automatically. Start by logging in to your Pi using SSH. Then open crontab:

```
crontab -e

```

add the line:

```
45 1 * * * php /opt/emoncms/modules/sync/sync_upload.php > /dev/null

```

that will upload your latest feed data to the configured remote server at 1:45am every morning, please select a random time (or times) so that we don’t get everyone uploading at the same time.

This will upload only the feeds that you have already started to upload via a manual sync.

---

<div class="post-metadata">

**Author:** ![thedawnbefore](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/thedawnbefore/32/18445_2.png) [@thedawnbefore](https://community.openenergymonitor.org/u/thedawnbefore)\
**Post date:** [9 July 2023 20:06 UTC](https://community.openenergymonitor.org/t/syncing-with-emoncms-org/23869/3 "2023-07-09T20:06:47Z")

</div>

Thanks very much, great help.

Except Disaster, ssh is out of action ‘password denied’ 😭 - no idea why emonpi2016 default isnt working per usual. checked it is enabled from LCD

i remember it used to be possible it retrieve the password via the LCD. Is there any way of retrieving or resetting from within emoncms do you know? doh

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [9 July 2023 21:52 UTC](https://community.openenergymonitor.org/t/syncing-with-emoncms-org/23869/4 "2023-07-09T21:52:52Z")

</div>

Prior to the Nov 2022 image, the SSH user was **pi** and the password **emonpi2016**. For this version on, it became user **pi** and the password **emonsd** – unless of course you changed it to something else.

---

<div class="post-metadata">

**Author:** ![thedawnbefore](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/thedawnbefore/32/18445_2.png) [@thedawnbefore](https://community.openenergymonitor.org/u/thedawnbefore)\
**Post date:** [10 July 2023 07:07 UTC](https://community.openenergymonitor.org/t/syncing-with-emoncms-org/23869/5 "2023-07-10T07:07:41Z")

</div>

Thanks both, sorted now i think! Here’s hoping the data will run overnight.

Much appreciated.

---

<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:** [21 August 2024 17:22 UTC](https://community.openenergymonitor.org/t/syncing-with-emoncms-org/23869/6 "2024-08-21T17:22:23Z")

</div>

A new version of the emoncms sync module is now available that uploads data in a much more efficient way and removes the need for the crontab entry above, replacing it with a background service. I would recommend updating to use this new version, please see release post here: [Emoncms Sync module v3.x.x](https://community.openenergymonitor.org/t/emoncms-sync-module-v3-x-x/26599)

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [22 August 2024 07:53 UTC](https://community.openenergymonitor.org/t/syncing-with-emoncms-org/23869/7 "2024-08-22T07:53:36Z")

</div>

Might be worth editing your previous response. Folk don’t always scroll to the bottom of a thread 🙂
