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
Re: Posting values to Localhost ERROR message
Guys any idea :(
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
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?
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