Closed nookontherim closed 10 months ago
sorry I just noticed that someone already did them pull request. I will try it out!
@nookontherim , did you manage to get it working? I've had it working with the usual luftdaten script before, but not got it working through enviroplus_exporter so far.
no I haven't tried it yet, the place I have the sensor setup its a bit difficult to get to it, and I find when I do too much over SSH it freezes and needs to be manually rebooted, so I have to bring it inside on of these days to modify the code. the default temperature compensation factor is wrong too because my temp says 27c which is way high. have to get in there and fuss with that too to get the temp right and rel. humidity
Hi Guys,
I too would love an answer on this one I’ve managed to sort the temperature issue by adding a “factor” of 1.75 which kind of works
Sending data to luftdaten is my issue, no matter what I try If I “sudo systemctl stop enviroplus-exporter” I can then run enviroplus-python/examples/luftdaten.py & balena-environ-plus/luftdaten/ luftdaten.py both working fine and sending data
Within enviroplus_exporter.py I’ve also tried changing 'https://api.luftdaten.info/v1/push-sensor-data/', to "https://api.sensor.community/v1/push-sensor-data/",
I’ve also tried to create a script to stop the server, send data to luftdaten.py, kill the connection then restart the server Tried running both together – it doesn’t work If anyone has the answer I would be grateful as I’ve spent way too much time on this Such a project, just need the last bit to work
Thanks, Ian
I am planning to bring my raspy inside this weekend because I need change the wifi network details. will see if I can get this working.
I gave up on this. I just export to luftdaten/sensor.community with the default enviro plus script. I don't know how to use prometheus or grafana and the only thing I want to do with this project for now is to export the data to contribute to a citizen science project, which already works. someday I will try to use the script again, but for now I want to set it and forget it. will continue to follow this project though - happy monitoring!
Just verified this works as expected (sending the stats to sensor.community and exposing the prometheus endpoint. Closing this issue.
would it be possible to run this program but also have the data uploaded to sensor.community at the same time, as the basic enviro-plus library does/is built to do? I imagine the answer is "yes of course its possible". but as a programming noob, I guess the more appropriate question would be would it be really difficult to make it do that? And if I wanted to try to take that project on, might you have any tips on how to do it?