That’s EXACTLY what I was trying to do with the other vendor next to Schellenberg (Rademacher, their Wireless System is called „DuoFern“ operating at 433 MHz and there also was a USB Stick).
I am so happy that I find this thread. Has someone achieved the integration using the usb stick and belt winders only?
Hi all,
I got now a working Smartfriends Box with 21110 shutters.
I got the Schellenberg add-on and configured it in HA.
From the SmartFriends App I can set the position and read it as well.
I can send the commands UP/STOP/DOWN but I can’t send the position or get the position.
If I try to get the possition I get a -1 back.
Rolling Shutter GET POSITION command received for device: 4161 (current position => -1)
Rolling Shutter GET POSITION command received for device: 8334 (current position => -1)
2021-01-13T23:02:38.829Z [SmartSocket] Send and Recieve Command: {"command":"setDeviceValue","sessionID":"XXXX","deviceID":8334,"value":80}
Rolling Shutter SET POSITION command received for device: 8334 (new position => 20)
2021-01-13T23:02:38.840Z [SmartSocket] Recieved Data: { "response" : { }, "responseCode" : 1, "responseMessage" : "success" }
2021-01-13T23:02:41.549Z [SmartSocket] Send Command: {"command":"keepalive"}
Rolling Shutter GET POSITION command received for device: 4161 (current position => -1)
Rolling Shutter GET POSITION command received for device: 8334 (current position => -1)
any hint how what I could missed please let me know.
Then look for a device called Position, which is linked to the same master device:
Device found:
> deviceID: 11127 ============> DEVICE FOR POSITION GET/SET
> masterDeviceID : 12332
> masterDeviceName: Roller Shutter
> deviceName: Position
> deviceDesignation: ${SchellenbergPosition_Dual}
Important notice: there have been some changes in the latest version of Smart Friends Box software, current position values are now passed to the client in a different format (getposition). Depending on the type of box and installed firmware, the GET operation might still not work.
thanks for the quick and good response.
I saw this already but as you said the get position isn’t working so wasn’t testing the set position.
the set position is wrong - so if I set 11% it will set it to 89% and so on.
on the get position I only get a -1 as well.
I guess I got the latest version as I installed it 2 days ago.
only one question how to get the list of all devices?
I only see it on the start of the add-on and as it also publish all the mqtt changes I can’t scroll back.
even without debug mode it’s too much so I can’t see all my devices.
found it you only need to use Portainer and check the log of the docker container, as you can show more than 100 lines.
Yes indeed the default log window only shows the last 100 lines.
And yes, only solution is to check the container logs. But still, not the easiest way, and it can be a hassle for some users…
So to simplify the task, a new feature has just been added.
Now the add-on has a web UI showing the device list:
You can sort the list and search, easier to find the information.
Available in v.1.1.1
Hi,
thanks for the great tip, I’ve been looking for a long time.
I have completed the integration of the MQTT broker and the Smart Friends Bridge and both seem to work. Unfortunately, I can’t get a connection to the shutters, at least there is no reaction when using the cover. The entity Shutter_Test is activated and the cover is added to Lovelace.
I’m not sure what I’m doing wrong, so I’ll include the associated screenshots with the individual configurations and outputs (in the following posts).
Yep, with those logs, connection to the box is fine
2 questions:
Just to be sure… in your configuration, does your MQTT Url looks exactly like that: url: 'mqtt: //hassio.local' ?
If that’s the case, you need to remove the space in the url after mqtt:
To check if the bridge is property connected and receiving messages from the MQTT broker, simply click on open/close/position on your cover within Hassio. Immediately after the click, go check the bridge logs. You need to see a message like this:
...
2021-01-27T00:29:02.871Z [String] New message on topic schellenberg/device/value/update/1223: 2
...
It indicates a new message has been received. If not, then there is an issue with the MQTT broker. In that case, download any MQTT client, for instance MQTT.fx (Windows Java Client) and test if the MQTT is working providing the same MQTT credentials.
The second question: regarding the deviceIDs, what exact model of Rolladen are you using?
When I click on the arrows on my cover element, NO entry actually appears in the Smart Friends Log, analogous to your example …
(2021-01-27T00: 29: 02.871Z [String] New message on topic schellenberg / device / value / update / 1223)
Okay, then it’s the MQTT broker, I thought to myself. Which client would you choose for the Mac?
I use the following roller shutter motors:
Schellenberg No. 21240 and 22767
Hey again,
do you have any other idea why it might not work? It can’t be the model of the roller shutter motor, isn’t it the latest model with radio / smart home functionality? Thanks a lot for your help.
Great, that helped. All 9 shutters work after I deleted the MQTT broker and reinstalled it. As a URL I did not enter myhassio.local but the IP address of the broker. Now it works perfectly.
Many thanks for your help!!!