Open nalajcie opened 4 years ago
Hi,
I had the same problem with my shellies 2.5 in roller mode and button type momentary.
Hi, had the same issue with the shelly rgbw2 controller it turns on and I can still change the brightness, but not change the color because it shows it's offline, it still works over shelly cloud app. In hass it looks like this (I reseted the device where it changed to unavaiable).
have the same issue with all my Shelly dimmers, after hassio update the switch reverts back to off in homeasssitnt but the actual lightis still on.
my 2 shelly 1s does not have this issue
I have the same issue with my Shelly Dimmer 2 on HassIO v114.3. Don't have any problems with the Shelly 1's I have.
hi all, this is due to the shelly firmware 18 , i just downgraded and its working fine
yo have to singe up to shelly supports to get the old firmware here it is for the dimmer
http://archive.shelly-support.eu/v1.7.7/SHDM-1_build.zip
you can execute in a browser to do a OTA upgrade
http://
don't use this for another device then a dimmer , if you have a different device get your proper zip file
go here https://www.shelly-support.eu/index.php?shelly-firmware-archive/
there is also a shelly toll you can upgrade/downgrade firmware easy
hi all, this is due to the shelly firmware 18 , i just downgraded and its working fine
My original issue occurs on Shelly 2.5 with FW 1.7.0, so it's not a problem with new CoAP implementation.
IsaacBreuer is right. The issue comes with the latest firmware. And it is not only with shelly 2.5 also with shelly 1 and shelly bulbs.
IsaacBreuer is right. The issue comes with the latest firmware. And it is not only with shelly 2.5 also with shelly 1 and shelly bulbs.
No, he's not. You're mixing 2 things:
debug
mode, but even if not, You may see something like:
2020-08-22 12:13:01 ERROR (CoAP) [pyShelly] Error receive CoAP
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pyShelly/coap.py", line 182, in _loop
self._root.update_block(device_id, device_type,
File "/usr/local/lib/python3.8/site-packages/pyShelly/__init__.py", line 242, in update_block
block.update(data, ipaddr)
File "/usr/local/lib/python3.8/site-packages/pyShelly/block.py", line 92, in update
dev.update(data)
File "/usr/local/lib/python3.8/site-packages/pyShelly/relay.py", line 50, in update
self.info_values[INFO_VALUE_CURRENT_CONSUMPTION] = round(consumption)
TypeError: type NoneType doesn't define __round__ method
this is being discussed in #366 and it's duplicates
Thx @nalajcie I moved the post as "off-topic" to avoid confusion on this issue.
Simone
I am facing the same issue - after upgrading to "Shelly For HASS - version 0.2.0" (and upgrading my Shellys to FW1.8.3). This is however only on ONE of 23 Shelly devices - one 1PM. I keeps changing the the "physical switch-state" (binary_sensor.switch / event: "shelly_switch_click") on every "poll" (checked in the logs - and compared to DeveloperTools-Events and NodeRed).
I have however other "1PM"-devices which do not constantly change the "physical switch-state" (binary_sensor.switch / event: "shelly_switch_click").
I rebooted this shelly, took it off power, deleted the full integration in HASS (and reconfigured it) - the issue remains. I have NO idea why the switch-state is triggered on "polling". There is a physical switch connected to the SW port of the Shelly-1PM, but this physical-switch is not being touched (nor can I measure and amperage or voltage change on the SW port).
Also, no signal for an SW state change is coming from CoAP. The state change is ONLY triggered though Polling (and I cannot see why ...) .
The Timing seems to happen in sync with the polling:
I tried to capture this in this animated GIF (it happens every 60 sec - due to the polling interval ...) - unfortunately the animation was removed by GITHUB - so only an image) :
Can "polling" be turned-off" in any way? (As CoAP is just working fine ....) What would I "loose" by "disabling polling"?
Look like it is the switch (not the relay) that turns on/off. Do you have a physical switch connected to the device?
You can't turn off the polling because that is needed for lots of extra information.
I have the same issue with one of my three Shelly 1PM's. The other two work fine but one of them (connected to a physical switch) flips the binary_sensor between on and off every minute. What happens if I simply tell Home Assistant to stop logging this event?
I have not tested it - but it might be some "stray" interference. Adding a 470kOhm (1/4W, 1% tolerance) resistor between the physical-switch and the SW-port of the Shelly might help to resolve this issue (in a shrinking tube, soldered ) - and could be tested.
Environment
Describe the bug
Device: Shelly 2.5 with FW 1.7.0 -> button type configured as "Edge Switch" (changes state on every hit)
binary_sensor for switch changes state to ON/OFF rapidly without hitting the switch.
Steps to Reproduce
Expected behavior
binary_sensor.shelly_shsw_25_98f4abf2ef44_2_switch should only change the state when physically hitting the button
Screenshots
Traceback/Error logs
Sample CoAP messages received
I can provide more logs if needed.
Additional context