Hi guys. Right off the bat I am rather inexperienced with this stuff. This is my first time working with this stuff. So basically I have a PiR Sensor and I'm trying to get those values to the Analytics Dashboard. It works for about an hour and then it stops transmitting. When I try to send an observation it gives me this...
root@edison:~# iotkit-admin observation pirState 1
2015-02-28T20:22:48.389Z - info: Submitting: n=pirState, v=1
throw er; // Unhandled 'error' event
Error: ENOSPC, write
I have tried to: reset the Edison, reactivate the Iot Kit, reinitialize it, and I have tried registering the component again. None of these seemed to do anything. I would love some input.
P.S. attached is my Arduino code. Oh, and I do believe I am running the latest firmware.
firstname.lastname@example.org - have you seen this issue?
ENOSPC means that there is no space on the drive, perhaps /tmp is full and agent cannot write to the log. You can check that by running 'ls' on this directory. You can also change log directory in agent config.
Most likely, it is the journal logs (/var/log/journal) filling up the root partition. I run into this frequently on my device. I found various threads discussing the topic:
No. I'm on a version from last year (edison-rel1-maint-weekly_build_16_2014-10-14_14-56-19).
I shouldn't have said it happened "frequently". It happened 2-3 times in the last few months.