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

[shelly] wrong temperature unit on shellyplus1 #16140

Open
ML19821 opened this issue Dec 29, 2023 · 13 comments
Open

[shelly] wrong temperature unit on shellyplus1 #16140

ML19821 opened this issue Dec 29, 2023 · 13 comments
Assignees
Labels
awaiting feedback Awaiting feedback from the pull request author bug An unexpected problem or unintended behavior of an add-on

Comments

@ML19821
Copy link

ML19821 commented Dec 29, 2023

The selection under Settings>Regional Settings>(show advanced)>Unit is Metric.
The Temperatur Channels sends 57° Celsius , but i should be 13,8° Celsius.
Currently the value is Fahrenheit, and the unit is Celsius

e25b36aebb72bc58eed8d69617c03095f9b0c22a

Your Environment

openHAB 4.1.0 - Release Build
Shelly Binding Version 4.1.0

@ML19821 ML19821 added the bug An unexpected problem or unintended behavior of an add-on label Dec 29, 2023
@david-pace david-pace changed the title [shelly] wrong temperatur Unit on shellyplus1 [shelly] wrong temperature unit on shellyplus1 Dec 30, 2023
@markus7017
Copy link
Contributor

Please try to reproduce with latest DEV build. If the problem persists create a DEBUG log of the thing initialization

@markus7017 markus7017 self-assigned this May 11, 2024
@markus7017 markus7017 added the awaiting feedback Awaiting feedback from the pull request author label May 11, 2024
@ML19821
Copy link
Author

ML19821 commented May 13, 2024

@markus7017 unfortunately I do not have a test system.

@markus7017
Copy link
Contributor

@ML19821 but this is easy to setup

  • download the release package from openhab.org fitting your OS
  • unpack in a separate directory, do basic setup, but not adding the Shelly binding
  • get DEV build and follow READMEbeta to install
  • do the test, if the problem persists provide a DEBUG log

4.2-DEV | 4.1-DEV | 4.0.-DEV | 3.4.5-DEV | README | READMEbeta
Avdanced Users - Shelly Manager - Bugs/Features - API Doc | Firmware Index - Firmware Archive


Note: The DEV build is always newer than the version in the official Distro or Milestone builds. Current development is based on 4.2-SNAPSHOT, 4.0.x and 3.4.x are outdated.

Copy link

stale bot commented Jul 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale As soon as a PR is marked stale, it can be removed 6 months later. label Jul 27, 2024
@ML19821
Copy link
Author

ML19821 commented Jul 27, 2024

@markus7017:
This may be a stupid question, but where can I get the DEV build? I basically know what github is, but I'm not sure how to use it.

@stale stale bot removed the stale As soon as a PR is marked stale, it can be removed 6 months later. label Jul 27, 2024
@lsiepel
Copy link
Contributor

lsiepel commented Jul 27, 2024

@markus7017: This may be a stupid question, but where can I get the DEV build? I basically know what github is, but I'm not sure how to use it.

In the footer of Markus his post you see several links. Use the 4.2 dev link….

@ML19821
Copy link
Author

ML19821 commented Jul 28, 2024

I've just downloaded the windows version:
https://github.com/openhab/openhab-distro/releases/download/4.2.0/openhab-4.2.0.zip

I've run feature:install openhab-transport-coap

and the copied the [4.2-DEV] (https://github.com/markus7017/myfiles/blob/master/shelly/org.openhab.binding.shelly-4.2.0-SNAPSHOT.jar?raw=true)

to the add-on folder. I've also tested the [4.3-DEV] (https://github.com/markus7017/myfiles/blob/master/shelly/org.openhab.binding.shelly-4.3.0-SNAPSHOT.jar?raw=true).
But the temperature is still in Fahrenheit.
image
64,4C° ist wrong, 18°C would be correct

@jlaur
Copy link
Contributor

jlaur commented Jul 28, 2024

64,4C° ist wrong, 18°C would be correct

Can you paste your item definition, please? And:

If the problem persists create a DEBUG log of the thing initialization

@ML19821
Copy link
Author

ML19821 commented Jul 28, 2024

I generated the item via:
image

here is the definiton:
image

I don't know why, but currently I cannot change the loglevel via gui:
image

@jlaur
Copy link
Contributor

jlaur commented Jul 28, 2024

@ML19821 - to be sure nothing is missed from the screenshots, can you go to the code tab for the item and paste the text you see there into a code fence, like this:

```yaml
code goes here
```

You can enable debug logging from the karaf console:

log:set debug org.openhab.binding.shelly

And when you are done:

log:set default org.openhab.binding.shelly

@ML19821
Copy link
Author

ML19821 commented Jul 29, 2024

here another Screenshot from the item
image

and here from the code tab

label: Innentemperatur
type: Number:Temperature
category: Temperature
groupNames:
  - ShellyPlus_1
tags:
  - Measurement
  - Temperature

@ML19821
Copy link
Author

ML19821 commented Jul 29, 2024

openhab.log

and here the debug log

@jlaur
Copy link
Contributor

jlaur commented Jul 29, 2024

@ML19821 - might not be related to the temperature issue, but you seem to have two Shelly bindings installed (4.2 and 4.3). You might want to remove one of them for better stability - the logs you have provided shows a lot of exceptions because of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback Awaiting feedback from the pull request author bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

4 participants