question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] RGBW2 binary_sensor for switch not reporting correct value (FW 1.8.3)

See original GitHub issue

Environment

  • ShellyForHASS release with the issue: 0.2.0.beta.3
  • Last working ShellyForHASS release (if known): 1.9
  • Home Assistant Core release with the issue: 0.114.4
  • Operating environment (Home Assistant/Supervised/Docker/venv): Docker

Describe the bug

After updating to the new beta build of ShellyForHass and updating one of my Shelly RGBW2 is now showing an odd behavior where it cycles the state of the switch sensor On/Off/On/Off. I can confirm with a second RGBW2 that this issue only shows up on the new firmware.

Steps to Reproduce

  1. Update Shelly RGBW2 to newest firmware (1.8.3 at the time of writing)
  2. Observe binary_sensor.shelly_shrgbw2_xxxxxxxx_switch

Expected behavior

It should represent the actual signal of the switch hooked up to it 😄

Additional context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ttajmajercommented, Sep 2, 2020

I’ve tested beta 4. Now RGBW2 with firmware 1.8+ works fine, but the second RGBW2 with firmware 1.6 is reporting switch toggle on/off all the time. I’ll update to the newest firmware, however maybe the old one should be supported in the code as well?

1reaction
david-kalbermattencommented, Sep 2, 2020

Seems to work as expected now. I’ll test it more extensively in the evening

Read more comments on GitHub >

github_iconTop Results From Across the Web

Template Binary Sensors not updating · Issue #4549 - GitHub
For example, my flood_sensor template binary_sensor always remains off even when I physically trigger the z-wave flood sensor to a value of 255....
Read more >
Shellies Discovery Script - Scripts - Home Assistant Community
On the Shelly 2.5 the switch inputs (binary sensor 0 and 1) are inverted (connecting to live is off). Ticking the reverse option...
Read more >
Shelly latest firmware - Stephan Wegner
Every now and then there is a firmware update (it is now running 1.10.4), but I am not able to find any release...
Read more >
Universal Binary Sensor - FIBARO Manuals
FIBARO Universal Binary Sensor is a wireless module allowing to improve the functionality of any wired sensor with a binary output by adding...
Read more >
Shelly plug s firmware download
However, the Shelly integration complains that my firmware is not ...Shelly Plug S. can function as a standalone device, as an accessory to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found