agrif / OctoPrint-InfluxDB

Writes temperatures and events to an Influx database.
GNU Affero General Public License v3.0
24 stars 15 forks source link

enhancement: record enclosure temp #8

Closed petitxef closed 4 years ago

petitxef commented 4 years ago

Hi! I'm wondering if it's possible to add the enclosure temps on this plugin.

I'm using a BME280 sensor (using octoprint-Enclosure plugin) and it'll be a nice enhancement.

Thanks!

agrif commented 4 years ago

Possibly -- are enclosure temperatures something OctoPrint can read out of the box? or only with this plugin? I think it can work both ways, but I've never used enclosure sensors before, so I'm unfamiliar with how this works.

petitxef commented 4 years ago

Hi! I’m not familiar with programming, but the octoprint-enclosure plugin use the I2C:

https://github.com/vitormhenrique/OctoPrint-Enclosure/blob/master/README.md

agrif commented 4 years ago

This looks possible -- OctoPrint-Enclosure sends out some events I can hook into. So it's just a matter of finding time to set up a test server and get it working. I'll try to do that this week, but if I take much longer feel free to poke me about it.

petitxef commented 4 years ago

Thanks for your time!

petitxef commented 4 years ago

Hi Agrif!

Just a remind with this improvement!

Thanks!

agrif commented 4 years ago

Things are taking a little bit longer than expected -- that OctoPrint plugin refuses to even load on anything other than a raspberry pi, even if you only intend to use it with the virtual debug sensors :(

petitxef commented 4 years ago

Ok, so don’t worry, don’t spend more time, just thought was much easier :) Thanks anyway