This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

somfy sonesse zigbee
#1
Hello, 

I have this product and i want to control it with my LM.
with the Zigbee module the product are well recognized but it's impossible tio control the motor with the LM.

Do you have an idea how i can control this motor ?

THX

Attached Files Thumbnail(s)
       
Reply
#2
Hy Hocine,
I think you can ask admin on the forum, may be he can help to you attach this device to LM, but you need show here more info about your device's zigbee profile. Look zigbee on forum, hope will understand more. If your device also have RTS (additional connection for direct control - 4 wires needed - GND, Stop, Up and Down signals) or direct control just with powering wires - I can help you.

Somfy devices has at least 5 possible controlling solutions, it depends from model - direct with power (230V AC - 3 wires usually - N, L1 phase Up and L1 phase down signals), RTS - additional RJ-12 (6 pins, not RJ-45!!) for 6 wires, where 4 is used - (GND, stop, Up and Down). RS-485 - communication protocol (Modbus RTU), Zigbee you have or remote control. Please describe what you have onboard.

BR, Alex
Reply
#3
(25.12.2024, 19:02)AlexLV Wrote: Hy Hocine,
I think you can ask admin on the forum,  may be he can help to you attach this device to LM, but you need show here more info about your device's zigbee profile. Look zigbee on forum, hope will understand more. If your device also have RTS (additional connection for direct control - 4 wires needed - GND, Stop, Up and Down signals) or direct control just with powering wires - I can help you.
Somfy devices has at least 5 possible controlling solutions, it depends from model - direct with power (230V AC - 3 wires usually - N, L1 phase Up and L1 phase down signals), RTS - additional RJ-12 (6 pins, not RJ-45!!) for 6 wires, where 4 is used - (GND, stop, Up and Down). RS-485 - communication protocol (Modbus  RTU), Zigbee you have or remote control. Please describe what you have onboard.
BR, Alex

Thanks AlexLV  my Somfy motor are directly in zigbee, you can find the information here.
The product are recognize by the Zigbee app but the control don't work

https://www.somfysystems.com/en-us/produ...-dc-zigbee

Manufacturer: SOMFY
Model: Sonesse 30 DC 24V Roller
Firmware version: 5

Device type: Router
Power source: Mains
Receive when idle: Yes

Endpoint 1
Profile: 260
Input clusters
- Basic (0)
- Identify (3)
- Groups (4)
- Scenes (5)
- ClosuresWindowCovering (258)

Endpoint 232
Profile: 260
Input clusters
- Basic (0)
- Ota (25)
Output clusters
- Basic (0)
- Ota (25)

Endpoint 242
Profile: 41440
Output clusters
- GreenPower (33)
Reply
#4
Enable debug logs in ZigBee app configuration and post logs after controlling the device.
Reply
#5
(27.12.2024, 09:15)admin Wrote: Enable debug logs in ZigBee app configuration and post logs after controlling the device.
here the log and the monitor 


Nr,Time,Type,Address,Cluster,Action,Data
"16","10:40:09.768","RX 8%","000d6f00162c440a ","Ota","QueryNextImageRequest","FieldControl = 0, FileVersion = 34, ImageType = 8459, ManufacturerCode = 4619"
"15","10:39:51.413","RX","'- ","'-","zcl","fn = getnamedattributes, from = 4cc206fffe182b7f, result = [  ]"
"14","10:39:51.412","RX 64%","4cc206fffe182b7f ","ClosuresWindowCovering","ReadAttributesResponse","ReadAttributeStatusRecords = [ { AttributeIdentifier = 8, Status = CALIBRATION_ERROR }, { AttributeIdentifier = 9, Status = UNSUPPORTED_ATTRIBUTE } ]"
"13","10:39:51.342","TX","'- ","'-","zcl","addr = 4cc206fffe182b7f, args = [ 258, [ CurrentPositionLiftPercentage, CurrentPositionTiltPercentage ], 2 ], fn = getnamedattributes"
"12","10:39:49.947","RX","'- ","'-","zcl","fn = setwindowcovering, from = 4cc206fffe182b7f, result = 2"
"11","10:39:49.921","TX","'- ","'-","zcl","addr = 4cc206fffe182b7f, args = [ Stop ], fn = setwindowcovering"
"10","10:39:42.266","RX 60%","70b3d52b60012702 ","Basic","ReportAttributes","AttributeReports = [ { Attribute = { Type = uint8, Value = 100 }, AttributeIdentifier = 1 } ]"
"9","10:39:41.485","RX 65%","4cc206fffe182b7f ","ClosuresWindowCovering","DefaultResponse","CommandIdentifier = 1, Status = FAILURE"
"8","10:39:41.444","RX 64%","4cc206fffe182b7f ","ClosuresWindowCovering","ReportAttributes","AttributeReports = [ { Attribute = { Type = enum8, Value = 1 }, AttributeIdentifier = 1 } ]"
"7","10:39:41.289","RX","'- ","'-","zcl","fn = setwindowcovering, from = 4cc206fffe182b7f, result = 1"
"6","10:39:40.874","TX","'- ","'-","zcl","addr = 4cc206fffe182b7f, args = [ DownClose ], fn = setwindowcovering"
"5","10:39:35.592","TX","'- ","'-","getotastate","'-"
"4","10:39:35.592","RX","'- ","'-","getpermitjoin","addr = -1, max = 50"
"3","10:39:35.592","TX","'- ","'-","getpermitjoin","'-"
"2","10:39:35.591","RX","'- ","'-","gwdata","connmode = 10c4/bee0, fwversion = 20240710, ieeeaddr = 00124b002f8a9a15"
"1","10:39:35.590","TX","'- ","'-","getgwdata","'-"

the adress of the product and new log

4cc206fffe182b7f

Attached Files
.txt   logs (2).txt (Size: 43.47 KB / Downloads: 1)
Reply
#6
Seems that a calibration procedure is needed for this device to work.
Run this script once and post what you get in LM Logs:
Code:
zb = require('applibs.zigbee')
res, err = zb.cmdsync('getnamedattribute', '4cc206fffe182b7f', 'ClosuresWindowCovering', 'Mode')
log(res, err)
Reply
#7
(27.12.2024, 14:09)admin Wrote: Seems that a calibration procedure is needed for this device to work.
Run this script once and post what you get in LM Logs:
Code:
zb = require('applibs.zigbee')
res, err = zb.cmdsync('getnamedattribute', '4cc206fffe182b7f', 'ClosuresWindowCovering', 'Mode')
log(res, err)

here the log 

"date","script","text"
"2024.12.27 21:16:31","initscript","* arg: 1
  * table:
  [""4""]
    * bool: false
  [""7""]
    * bool: false
  [""3""]
    * bool: false
  [""5""]
    * bool: false
  [""2""]
    * bool: false
  [""6""]
    * bool: false
  [""1""]
    * bool: false
  [""0""]
    * bool: false
* arg: 2
  * nil
"
Reply
#8
Try enabling calibration mode:
Code:
zb = require('applibs.zigbee')

value = {
  [1] = true, -- enable calibration
}

res, err = zb.cmdsync('setnamedattribute', '4cc206fffe182b7f', 'ClosuresWindowCovering', 'Mode', value)
log(res, err)

You might need to disable it afterwards for the device to operate properly. If this does not help then contact the device manufacturer support.
Reply


Forum Jump: