Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Addition of temperature offset #11

Open
snandor opened this issue Mar 17, 2021 · 4 comments
Open

Addition of temperature offset #11

snandor opened this issue Mar 17, 2021 · 4 comments

Comments

@snandor
Copy link

snandor commented Mar 17, 2021

Given that the thermal sensor is in the case, it is showing higher values than the room temp. Would it be possible to add an offset field to the plug-in to adjust the temp, keeping it in sync with the room temp.

Thanks!

@ianmichell
Copy link
Owner

??? The plug draws electricity, the temperature sensors are specifically for the temperature of the plug which changes based on power draw. Don't quite understand what you hope to achieve by offsetting it

@snandor
Copy link
Author

snandor commented Mar 17, 2021

With an offset option, this plug could be used to monitor room temperature when idle/switched off.

@ianmichell
Copy link
Owner

Can't see that working. But feel free to fork and add it in.

@snandor
Copy link
Author

snandor commented Oct 26, 2021

If you want to use this socket to measure external temperature, just append -15 to the end of line 120 in index.js and restart the plugin. This offset properly compensates the heat step between the internal and external temp in idle mode.

@snandor snandor closed this as completed Oct 26, 2021
@snandor snandor reopened this Oct 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants