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

Add enclosure temp sensor after initial setup? #391

Closed
spiff72 opened this issue Jan 30, 2020 · 5 comments
Closed

Add enclosure temp sensor after initial setup? #391

spiff72 opened this issue Jan 30, 2020 · 5 comments
Labels
support Something isn't working with the users setup

Comments

@spiff72
Copy link

spiff72 commented Jan 30, 2020

I recently added a temperature sensor to my enclosure and I think Octodash supports the use of additional temperature sensor(s) (possibly via the enclosure plugin?)?

How can I add this to Octodash? I am using an 18B20 temp sensor and plan to use PWM speed control on a 12 volt 4-wire exhaust fan on the enclosure (once I get the fan installed and wired up).

@spiff72 spiff72 added the enhancement New feature or request label Jan 30, 2020
@tiwo85
Copy link

tiwo85 commented Jan 30, 2020

You must edit the configfile.
nano ~/.config/octodash/config.json
This is my part of the configfile:
"temperatureSensor": {
"ambient": 1,
"filament1": null,
"filament2": null
},
Btw i also use a 18b20

@UnchartedBull UnchartedBull added support Something isn't working with the users setup and removed enhancement New feature or request labels Jan 31, 2020
@UnchartedBull
Copy link
Owner

@tiwo85 is correct, you need to enter the ID of the sensor from the EnclosurePlugin (most likely 1, if this is your only sensor) into the temperatureSensor.ambient attribute. This will be doable via the UI Settings shortly though ...

@spiff72
Copy link
Author

spiff72 commented Jan 31, 2020

Thanks, I will try adding that later today.

Does it matter where in the config file that statement is placed?

@UnchartedBull
Copy link
Owner

UnchartedBull commented Jan 31, 2020 via email

@spiff72
Copy link
Author

spiff72 commented Jan 31, 2020

Ah - OK. Thanks! I poked around in that file before I posted this question, and didn't remember seeing it, but I could have easily missed it. I can't get to the Pi until tonight to try it out...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests

3 participants