Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote logging does not relay further #126

Open
maglub opened this issue Oct 8, 2015 · 0 comments
Open

Remote logging does not relay further #126

maglub opened this issue Oct 8, 2015 · 0 comments
Labels

Comments

@maglub
Copy link
Owner

maglub commented Oct 8, 2015

The REST API use the php funciton setRRDDataBySensorId() to log data. Until recently, this function called a shell script, logTemperature.

The script logTemperature put the data into the proper rrd-database, as well as kicking off the remote-logging scripts. The setRRDDataBySensorId() nowadays use rrd_update() directly, but I forgot to kick off the remote-logging.

The following scenario does not work, then:

  • Device A, relays only to Device B
  • Device B relays to piLogger-cloud

The data goes from A -> B, but this data is not relayed to piLogger-cloud (or any other devices either).
The data gathered locally from B goes from B to piLogger-Cloud.

The solution will be to either:

  • Go back to use the ./logTemperature script (bad)
    or
  • Fix the relaying in php
@maglub maglub added the bug label Oct 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant