I have Two buildings. An electrical panel in each building.
One building has an emontx with 4 x CTs connected.
The other building has an emonPi with local emonCMS.
The buildings are separated by distance… too far for reliable radio transmission.
I have purchased a emonbase installed in close proximity to the emontx in Building1.
I want the emonBase in Building1 to receive RFM data from emonTX and EmonTH’s, then relay the information over ethernet to the EmonPi / local emonCMS in building2.
Ethernet transmission will resolve the rfm distance issue.
Building1 - emonbase (10.0.1.52) with local EmonCMS installed.
Building2 - emonpi (10.0.1.1) with local EmonCMS (full bundle from OpenEnergy Monitor)
I’m trying to get the emonBase 10.0.1.52 to send it’s inputs to the emonPi 10.0.1.1.
on restarting emonHub on the emonBase i get the message:
WARNING savages-road-emonpi savages-road-emonpi couldn't send to server, HTTPError: 404 WARNING savages-road-emonpi send failure: wanted 'ok' but got ''
So the emonBase appears to be trying to send the data to the emonPi… but is not succeeding. where can I start looking…
looking in the target EmonCMS located on the emonPi (10.0.1.1), the Apache web server has this in the /var/log/apache2/access.log
10.0.1.52 - - [11/Feb/2019:10:43:36 +0000] "POST /input/bulk.json?apikey=293769cbaa615ee1eec2b3dbe8a2ab95 HTTP/1.1" 404 471 "-" "Python-urllib/2.7"
Is this an auth issue? I’m confident i’m using the correct read/write api key.
Maybe the emonBase needs a new NodeID?
Both Pi and base are running emonCMS 9.9.5 emonSD-30Oct18 (clean image from github)
I’m trying to get the local emonBase to send inputs/log data to the local emonPi cms.
I have the config done on the emonBase to send data to emonPi below.
[[savages-road-emonpi]] Type = EmonHubEmoncmsHTTPInterfacer [[[init_settings]]] [[[runtimesettings]]] pubchannels = ToRFM12, subchannels = ToEmonCMS, url = http://10.0.1.1 #my emonPi emonCMS apikey = myemonpi API key in here senddata = 1 # Enable sending data to Emoncms.org sendstatus = 1 # Enable sending WAN IP to Emoncms.org MyIP > https://emoncms.org/myip/list sendinterval= 10 # Bulk send interval to Emoncms.org in seconds
Issue/log output below:
Edit - formatted text for readability. BT, Moderator.