imrahil / OctoPrint-NavbarTemp

Plugin for OctoPrint - displays temperatures on navbar
GNU Affero General Public License v3.0
44 stars 50 forks source link

"SoC name to display" vs "Name" configuration fields #97

Open drewoprea opened 11 months ago

drewoprea commented 11 months ago

1. Hardware and operating system version: SolidRun HummingBoard Pro running Debian Bookworm

debian@sr-imx6:~$ uname -a
Linux sr-imx6 6.1.0-10-armmp #1 SMP Debian 6.1.38-2+sr1 (2023-08-03) armv7l GNU/Linux

2. Octoprint version: OctoPrint Version 1.9.2 Python 3.11.2 UI Customizer 0.1.9.8

3. Plugin version: Version 0.15

4. Print screen of plugin configuration: image

5. Plugin full log file No log file?

6. Clear problem description:: Enter "sr-imx6A" as "SoC name to display" Enter "sr-imx6B" as "Name" Enter a command in "Cmd" (You can use "date" as an example, I used " sed -e 's/([0-9])[0-9][0-9]$/.\1\°C/' /sys/class/thermal/thermal_zone0/temp " ) Click "Save" Refresh OctoPrint web page Observe "sr-imx6B: 56.8°C" in the Navbar

7. Expectation: I expected to see the contents of "SoC name to display" in the Navbar, but instead I see the contents of "Name" Based on the descriptions of the configuration fields "SoC name to display" and "Name" I expected to see "sr-imx6A: 56.8°C" in the Navbar rather than "sr-imx6B: 56.8°C".