Posting values to Localhost ERROR message

Hello,

I am trying to post the Temp & Hum value to emoncms.org and my local server running with wamp. I am able to get it through emoncms.org website but can not get the values in my localhost. I checked through emonHub log view and found the below error. I suspect that it causing the issue. Please advice 

 

2016-03-06 21:12:41,678 DEBUG MainThread MQTT Subscribed to channel' : ToEmonCMS

2016-03-06 21:12:41,679 INFO MainThread Creating EmonHubEmoncmsReporter 'emonLocal'

2016-03-06 21:12:41,680 ERROR MainThread Unable to create 'emonLocal' interfacer: 'module' object has no attribute 'EmonHubEmoncmsReporter'

Note: I am using the latest emonSD and the emoncms 9.31

M7md's picture

Re: Posting values to Localhost ERROR message

Guys any idea :(

pb66's picture

Re: Posting values to Localhost ERROR message

The "emon-pi" version of emonHub doesn't support the use of a "EmonHubEmoncmsReporter", change the "Type = " in emonhub.conf to "EmonHubEmoncmsHTTPInterfacer" or better still, just delete the "emonLocal" entry, duplicate the existing "emoncmsorg" interfacer and then edit the name, url and apikey to ensure you get all the necessary settings.

Paul

M7md's picture

Re: Posting values to Localhost ERROR message

Oh Paul It works!

I was trying to resolve this issue for like 3 hours. Thanks a lot :)

But why my version not support "EmonHubEmoncmsReporter", do I need to update something?

 

pb66's picture

Re: Posting values to Localhost ERROR message

No the reporters are the orignal way of doing things and are still the better tool for the job if emoncms is not on the same machine. The "emon-pi" variant of emonhub is based on the "experimental" branch of emonhub which introduced the bi-directional interfacers and also retained the original reporters, but the reporters were dropped in this variant as the intended application was to post to the common-host emoncms via mqtt.

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.