Pachube non-starter

9 replies [Last post]
andy_godber
Offline
Joined: 13 Sep 2011

Derek has kindly provided a replacement PCB for the Livebox, after I fried the old one.

I wanted to post the internal temp to Pachube, but having no luck.

Have set up a new feed, and provided the API key, but the Pachube Debug Info isnt even registering an attempt to post to it.

(My existing Current Cost, not yet attached to HAH) is posting OK.

XFX Viewer doesnt seem to be sending anything, although I did have a Pachube heartbeat, but that seems to have disappeared now as well.

 

Any thoughts?

 

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Sounds like a configuration issue somewhere

If xFXViewer is not seeing any 1wire events I'm not sure why you think Pachube would see them?  I would proceed in this order

  1. Setup 1wire making sure the ROMID assigned to your sensor is correct this is done via the WEB GUI, if you have replaced your 1wire sensors then I suggest you erase all the existing configurations for it and remap Via Automation>Configure
  2. Verify you see the 1wire value being reporting on the Automation>Control page.
  3. Verify that the 1wire device is reporting a value using xFXViewer, if 2. is working 3. should be too.
  4. Configure pachube - make sure to RESTART the service once you've set it up.

At each step do not proceed to the next until each has been completed.

With the information you've supplied is pretty hard to figure out what you've done, not done, or where you are at.  Pachube will only POST when it has receive some valid data, if your 1wire sensor is not setup there is no reason for it to post as no data would have been received by this service.

Brett

andy_godber
Offline
Joined: 13 Sep 2011
1 wire ok

1-3 are all working, with Viewer observing the correct temps. Thats where it stops though - should there be any Pachube events for it see? How can I check if the service is running on HAH?

brett
Offline
Providence, United States
Joined: 9 Jan 2010
I don't understand

Pachube does not generate events it receives events generated from xAP endpoints.  If the pachube screen is allowing you to enter datastreams then the process is enabled.  If the 1wire sensors are setup and reporting information on the web page then you have a pachube configuration problem if they are not appearing on pachube.  Have you looked at the wiki page for pachube configuration and setup?  Which part is confusing?

Brett

andy_godber
Offline
Joined: 13 Sep 2011
Viewer

Sorry, I meant does the HAH Pachube sevice generates event - I had seen a Pachube.heartbeat,but a reboot has made it disappear. I'll upgrade to 301, and start a new feed.

brett
Offline
Providence, United States
Joined: 9 Jan 2010
I'm really confused!?

You seem to be trashing about instead of make educated decisions about what you are doing why you are about to do it because I can't understand clearly where you problem is.  Every process generates a heartbeat message this is part of the xAP specification.  Sorry I'm missing your point.  What is your point? 

Yes a reboot will make it disappear for about 30sec whilst the HAH reboots and then when the xap-pachube process startup again so too will you see heartbeat messages from it.  These are part of the Auto-discovery nature of xAP.  Updating to 301 isn't goign to solve your problem if indeed you have some sort of problem with its configuration.  In fact now you are just going to get even more options and more confused about how to set it up.

Brett

andy_godber
Offline
Joined: 13 Sep 2011
My point is
...that there is no Pachube heartbeat.
brett
Offline
Providence, United States
Joined: 9 Jan 2010
Check the logs

Check /var/log/xap-pachube.log to see if there is a valid reason for it shutting down.

Try starting tit manually and see what output you get.

Brett

andy_godber
Offline
Joined: 13 Sep 2011
Working....
There was nothing in the log file. Coincidentally, I started the FTP service, and the Pachube heartbeat appeared, as well as real-data started posting to Pachube. Are the two services connected?
brett
Offline
Providence, United States
Joined: 9 Jan 2010
FTP and Pachube

These are most definately in now way connected at all.  Even their startup scripts are separated.  Perhaps you had a xap-livebox.ini corruption and by starting another service it caused the file to be re-read and re-written removing whatever corruption was in there.  I'm at a lost to explain why restarting FTPD would have any affect on xap-pachube at all.

Brett

Hardware Info