Adding new emonHP to HeatPumpMonitor

Hi folks, I’m new to the emon ecosystem and trying to figure out how to plumb everything together. I’ve just had an emonHP fitted by my installer and I’m looking to add the system to HeatPumpMonitor

I can see that the stat collection and upload is working because the system’s stats are viewable at Emoncms - app view which I got from the QR code printed on the monitor hardware.

Filling in the new system form on heatpumpmonitor, when I enter the heatpump’s emonCMS URL (as above) I get a JavaScript alert Invalid access and an error:

Notice: Array to string conversion in /home/oem/hpmon_main/www/index.php on line 170
Array

The monitoring equipment was purchased for me so it isn’t reporting to my emonCMS account which may be contributing to the error?

I’ve read the HeatpumpMonitor.org self hosted systems post which steers me towards using hosted emonCMS rather than giving my local install a globally available URL and using the self hosted heatpumpmonitor option.

I’ve looked into setting up sync on my local emonHP install to my emonCMS account but when I open the sync module there are no feeds available to select as shown in the screenshots in the emoncms/sync GitHub repo

Any pointers folks could provide towards getting it going would be much appreciated, thanks!

Hello! Welcome to the forum :slight_smile:

Where do you see this error? I didn’t have any problem when I entered your URL in the form.

Maybe give it another go?

If this is already working, then maybe you don’t need to sync your local emonHP to it?

Thank you for the help Tim!

I saw it in the Reload system data section. I was reluctant to fill in the rest of the form if this section didn’t work, but I’ve filled in and saved everything now and it seems to be working.

Steps to reproduce this would be:

  1. Open heatpumpmonitor.org
  2. Open My Systems
  3. Add new system
  4. Fill in MyHeatpump App URL with an emonCMS URL
  5. Click Reload

Expected results

Probably nothing if no output is expected until the form is completed and saved :smile:

Actual Results

JavaScript alert() with Invalid access


Now that I’ve completed and saved the form it’s working:

1 Like

Thanks for the clear description. The form should probably hide the Reload button when filling it in for the first time. We’ll get that sorted.

Cheers.

It sounds like you’ve done everything right. Could you share a screenshot of this error?

Here’s a video guide of the process

No, this won’t make a difference.

What’s your usename? I’ll take a look

Hi Glyn!

I also posted the steps to reproduce in Adding new emonHP to HeatPumpMonitor - #3 by keithduncan

No, this won’t make a difference.
What’s your usename? I’ll take a look

I don’t think there’s anything more to look at for now I’ve been able to save and publish the form and have it retrieve the data from my monitoring kit’s URL, so I think we’re sorted!

2 Likes