am43-ctrl icon indicating copy to clipboard operation
am43-ctrl copied to clipboard

Shade Stopped Working But Battery is fine

Open misperry opened this issue 3 years ago • 3 comments

Hey there, for some reason with the latest update for HASS.IO core core-2021.6.6 and supervisor-2021.06.3 and host OS 6.0 For some reason my AM43 shade item is no longer working.

I am receiving good data for the battery level and light sensor but I cannot raise or lower shades. I see no errors in the MQTT log and when I run the AM43 software I see no errors in it either.

Does anyone know where I could look next?

misperry avatar Jun 23 '21 13:06 misperry

same problem here! Unable to move the shaed, but light and battery sensors works fine

luisgarcia87 avatar Jul 28 '21 01:07 luisgarcia87

Hey @misperry modify the MQTTConnector.js file. Go to the src files inside am43-ctrl folder (my location installed on a Raspberry Pi was /home/pi/node_modules/am43-ctrl/src/MQTTConnector.js and add a line #53 the following:

state_topic: ${deviceTopic}/state,

Based on this fix by @provinzio this PR #35

https://github.com/binsentsu/am43-ctrl/pull/35/files

luisgarcia87 avatar Jul 28 '21 02:07 luisgarcia87

That is awesome @luisgarcia87! That fixed it perfectly! Ho and by the way I added the `` around the it so I added:

state_topic: ${deviceTopic}/state, to my list around line #53. I knew It was just missing something in the definition of the shade. Thanks for the help!

misperry avatar Jul 28 '21 13:07 misperry