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

[Bug]: No object that shows analog input of shelly plus addon #912

Open
3 tasks done
Rushmed opened this issue Dec 4, 2023 · 6 comments
Open
3 tasks done

[Bug]: No object that shows analog input of shelly plus addon #912

Rushmed opened this issue Dec 4, 2023 · 6 comments
Assignees
Labels
enhancement New feature or request fixed Issue fixed, please test No debug log attached Debug log is missing

Comments

@Rushmed
Copy link

Rushmed commented Dec 4, 2023

I'm sure that

  • This issue is still present in the current beta version of this adapter
  • There is no other (open) issue with the same topic (used the search)
  • This issue is not described in the adapter documentation / FAQ

Shelly device

Shelly Plus2PM and Shelly Plus Addon

Protocol

MQTT

The problem

Hi,

I have a Shelly Addon connected to my Shelly Plus2PM.
Attached to the Addon is a DHT22 and an analog photoresistor.
The DHT is working fine.
For the Photoresistor I do not have an object showing the value in ioBroker.

The value is shown in Shelly WebUI:
image

Input delta threshold is set to 1.

My ioBroker objects:
image

Can you pleas have a look?

Thanks in further.

iobroker.current.log (in debug mode!)

No response

Version of nodejs

v18.19.0

Version of ioBroker js-controller

5.0.16

Version of adapter

v6.6.1

@klein0r klein0r added bug Something isn't working No debug log attached Debug log is missing labels Dec 4, 2023
Copy link

github-actions bot commented Dec 4, 2023

Thanks for reporting a new issue @Rushmed!

  1. Please make sure your topic is not covered in the documentation
  2. Ensure that you use the latest beta version (not the current stable version): 6.6.1
  3. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  4. Search for the issue topic in other/closed issues to avoid duplicates!

Otherwise this issue will be closed.

@Rushmed

This comment was marked as outdated.

@Ganner86
Copy link

Ganner86 commented Dec 12, 2023

I have a plus 1 with an addon and a photoresistor. I had the same problem at the beginning. My mistake was defining the input as analog. I changed the input to voltmeter. Then restarted the Shelly adapter and briefly turned on the light so that there was a change in resistance. Then it worked.

Voltmeter1
Voltmeter2

@Rushmed
Copy link
Author

Rushmed commented Dec 13, 2023

Yes that works but i dont think thats designtaed way.
I think its some kind of datapint definition issue. The input name in Shelly UI is Input (100) but the ioBroker DP input100 expects a boolean value not a number.

@stale stale bot added the wontfix This will not be worked on label Mar 17, 2024
@mcm1957 mcm1957 removed the wontfix This will not be worked on label Mar 17, 2024
@iobroker-community-adapters iobroker-community-adapters deleted a comment from stale bot Mar 17, 2024
@numberdotone
Copy link

numberdotone commented Apr 18, 2024

same here for me. I get data with the "standard" mqtt adapter for a shelly plusI4 including an add-on analog input (with a photo resistor):

image

But no data for the field/data point "input100" like shown on the screenshot above.

What can I deliver to help?

BTW: many thanks to klein0r for the adapter itself and the fantastic work to provide it to the community

@numberdotone
Copy link

numberdotone commented Apr 20, 2024

diagnostics-shelly-plusi4-debug-logA.txt

Now my debug log works, see attachement. @klein0r Does that help?

And a second sensor DHT22 works as well, as described in the add-on wiring

@klein0r klein0r added enhancement New feature or request and removed bug Something isn't working labels Apr 29, 2024
@klein0r klein0r added the fixed Issue fixed, please test label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed Issue fixed, please test No debug log attached Debug log is missing
Projects
None yet
Development

No branches or pull requests

5 participants