CC2538 und CC2530+CC2592 ZigBee Raspberry Pi Modul

Mal ne blöde Frage… Manche coordinator sind mit Z-Stack version 3.0.x und manche mit 3.x kompatibel… wo ist da jetzt der Unterschied?

Meines Wissens nach handelt es sich bei beiden um 3er Z-Stacks, aber die Geräte wo 3.0.x drauf läuft brauchen andere Firmware als die für 3.x.

Siehe:

@Adrian, maybe you can clarify on the differences between 3.0.x and 3.x?

As far as I know, for cc2538 only 3.0.x zstack version is provided. The 3.x is provided for some other chips.

Just as an info, IAR embedded workbench is ‘supported’ for 3.0.x, but I managed to compile the sources with Code Composer Studio as well. It was not exactly easy, but I could do it.

Sincerely,
Adrian Roman

1 Like

Hey @pmayer

Leider bekomme ich das Modul nicht zum laufen.

@Adrian ist auch ratlos.

Backup homegaer.zip (2,0 KB)

Das wären meine Einstellungen

Und so ist es montiert

11/14/20 18:56:09.743 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE0121000121
11/14/20 18:56:25.823 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 18:56:39.773 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 18:56:54.803 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00270027
11/14/20 18:56:57.062 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 18:57:10.193 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 18:57:28.223 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE0121000121
11/14/20 18:57:28.311 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 18:57:40.413 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE0525360200003C0028
11/14/20 18:57:41.414 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 18:57:58.253 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 18:57:58.255 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 18:57:58.255 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 18:57:58.255 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 18:57:58.255 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 18:57:59.552 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 18:58:13.283 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00270027
11/14/20 18:58:13.644 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 18:58:13.645 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 18:58:13.645 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 18:58:13.645 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 18:58:13.645 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 18:58:13.645 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 18:58:13.646 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 18:58:13.646 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 18:58:28.673 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 18:58:30.792 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 18:58:31.675 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 18:58:31.675 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 18:58:31.675 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 18:58:31.676 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 18:58:46.703 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE0121000121
11/14/20 18:59:01.705 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 18:59:01.705 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 18:59:01.705 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 18:59:01.706 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 18:59:02.029 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 18:59:16.733 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 18:59:16.735 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 18:59:16.735 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 18:59:16.735 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 18:59:16.735 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 18:59:31.763 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00270027
11/14/20 18:59:32.124 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 18:59:32.124 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 18:59:32.125 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 18:59:32.125 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 18:59:33.266 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 18:59:47.153 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 18:59:50.155 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 18:59:50.155 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 18:59:50.155 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 18:59:50.156 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:00:04.506 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 19:00:05.183 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE0121000121
11/14/20 19:00:20.185 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:00:20.185 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:00:20.185 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:00:20.186 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:00:35.213 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 19:00:35.215 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:00:35.215 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:00:35.215 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:00:35.215 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:00:35.745 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 19:00:50.243 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00270027
11/14/20 19:00:50.604 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:00:50.604 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:00:50.605 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:00:50.605 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:01:05.633 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 19:01:06.978 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 19:01:08.635 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:01:08.635 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:01:08.635 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:01:08.636 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:01:23.663 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE0121000121
11/14/20 19:01:38.224 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 19:01:38.665 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:01:38.665 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:01:38.665 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:01:38.666 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:01:53.693 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 19:01:53.695 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:01:53.695 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:01:53.695 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:01:53.695 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:02:08.723 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00270027
11/14/20 19:02:08.817 Module Zigbee: Zigbee serial module "cc2538": Warning: Connection to device closed. Trying to reconnect...
11/14/20 19:02:09.462 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 19:02:14.174 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:02:14.174 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:02:14.175 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:02:14.175 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:02:29.203 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 19:02:32.205 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:02:32.205 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:02:32.205 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:02:32.206 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:02:40.703 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 19:02:47.233 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE0121000121
11/14/20 19:03:01.961 Info: SIGHUP received. Reloading...
11/14/20 19:03:01.961 Info: Backing up database...
11/14/20 19:03:01.961 Closing database...
11/14/20 19:03:01.962 Debug: Can't execute "COMMIT": cannot commit - no transaction is active
11/14/20 19:03:01.996 Info: Backing up database...
11/14/20 19:03:02.094 Reloading Node-BLUE server...
11/14/20 19:03:02.094 Reloading script engine server...
11/14/20 19:03:02.095 Info: Reload complete.
11/14/20 19:03:02.235 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:03:02.235 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:03:02.235 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:03:02.236 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:03:11.941 Module Zigbee: Zigbee serial module "cc2538": Warning: tryToSend: !!!Not!!! sending packet, because init is not complete.
11/14/20 19:03:17.263 Module Zigbee: Zigbee serial module "cc2538": Error: No response received to packet: FE00210120
11/14/20 19:03:17.264 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 4
11/14/20 19:03:17.265 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 10
11/14/20 19:03:17.265 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 1
11/14/20 19:03:17.265 Module Zigbee: Zigbee serial module "cc2538": Warning: Unknown start byte received: 0
11/14/20 19:03:29.932 Info: Client with IP ::ffff:192.168.2.34 is calling "init".

Das bekomme ich als Meldung

Danke dir für deine Ideen schon mal
FElix

Hey @dr_snuggles,

habe nur kurz drüber geguckt, aber in der config.txt fehlt enable_uart=1. Schau am besten nochmal in die Anleitung, was Pi-seitig gemacht werden muss um die serielle Schnittstelle am GPIO nutzen zu können.

Falls an dem Modul was kaputt sein sollte, tausche ich es natürlich aus :+1:

1 Like

The module seems to receive the packet (hex): 04 10 01 00. This is not a valid zigbee packet, they must start with FE.
I don’t know where that comes from, the first value from it seems to be the packet length.

Hey @pmayer

Wenn du die config auf machst steht es in der 4 letzten Zeile

Enable_uart=1

Und in der Zeile darüber steht das mit dem Bluetooth

Das sollte doch passen?

Hab gestern nochmal meine neuen Pi 4 gestartet und nur das Zigbee Modul eingebunden. Es ist mit den gleichen Fehlern ausgestiegen.

Ich glaube aber trotzdem das irgendwie ein Parameter nicht passt, irgendwie komme ich aber nicht drauf

Gruß
Felix

Please take a look also on:


The raspberry pi section.

Hey @pmayer and @Adrian ,

finally I think it partly works

I could create a peer to my device and didn’t have any fault messages.

The issue was between the lines. The doc says check for ttyAMA0 and serial0 in the cmdline.txt

Somehow I had a ttyS0 in this file. I deleted this and it starts working.
What was also wrong in the Doc the tool Raspi-Config has a fault and will disable ttyAMA0 after using it to reactive the Serial port on the uart. You shouldn’t do this with the tool I found some forums where they say it’s abug in code of the raspberry.

After I reactivate this and then manual remove the serial0 line and the ttyS0 from the cmdline it starts to work.

Now the issue is how to communicate with my osram plug in.

Anybody of you both knew which of the 11 channels i have to manupilate to switch this on and off.

Thanks again.

Felix

2 Likes

Great news!

Try:

sudo homgear -r
ls
fs <famliy id of zigbee>
ls
ps <peer id of osram plug>
config print

Otherwhise have a look in the admin interface or try the “variable in”-node in node blue and select the desired peer there.

Yes this gives me about 13 channels with all over 50 parameters but as I tested non of them will switch on or off the plug.

The plug you use is it working fully? I then will try this if you could just send me the model name of it!
Felix

I don’t use one of the Osram Plugs, only have an innr for testing.

Check node-blue. Switching should be easy with the variable-out-node, as long as the device is supported. Maybe @Adrian can clarify on this.

Please supply the output of the config print.

If there is no device xml file, there should be there some items with ONOFF. The simple ONOFF is read only and can be used to read the state of the device. There should be also some action items, with TOGGLE and ON and OFF, writing to those should change the state of the device.

1 Like
Family 26 - peer 1> config print
MASTER
{
        Channel: 9
        {
                [SCENES.VIEW_SCENE_RESPONSE.TRANSITION_TIME]: 00 00
                [SCENES.VIEW_SCENE.GROUP_ID]: 00 00
                [SCENES.STORE_SCENE_RESPONSE.STATUS]: 00
                [SCENES.REMOVE_SCENE_RESPONSE.STATUS]: 00
                [SCENES.VIEW_SCENE_RESPONSE.EXTENSION_FIELD_SETS]: 00
                [SCENES.VIEW_SCENE.SCENE_ID]: 00
                [SCENES.SCENE_COUNT]: 00
                [SCENES.REMOVE_ALL_SCENES_RESPONSE.STATUS]: 00
                [SCENES.REMOVE_SCENE.GROUP_ID]: 00 00
                [SCENES.ADD_SCENE_RESPONSE.STATUS]: 00
                [SCENES.VIEW_SCENE_RESPONSE.SCENE_NAME]: 00
                [SCENES.ADD_SCENE.TRANSITION_TIME]: 00 00
                [SCENES.RECALL_SCENE.SCENE_ID]: 00
                [SCENES.VIEW_SCENE_RESPONSE.STATUS]: 00
                [SCENES.ADD_SCENE.SCENE_NAME]: 00
                [SCENES.ADD_SCENE.GROUP_ID]: 00 00
                [SCENES.STORE_SCENE.SCENE_ID]: 00
                [SCENES.ADD_SCENE.EXTENSION_FIELD_SETS]: 00
                [SCENES.CURRENT_GROUP]: 00 00
                [SCENES.GET_SCENE_MEMBERSHIP_RESPONSE.STATUS]: 00
                [SCENES.CURRENT_SCENE]: 00
                [SCENES.GET_SCENE_MEMBERSHIP.GROUP_ID]: 00 00
                [SCENES.REMOVE_ALL_SCENES.GROUP_ID]: 00 00
                [SCENES.GET_SCENE_MEMBERSHIP_RESPONSE.CAPACITY]: 00
                [SCENES.STORE_SCENE.GROUP_ID]: 00 00
                [SCENES.GET_SCENE_MEMBERSHIP_RESPONSE.SCENE_LIST]: 00
                [SCENES.SCENE_VALID]: 00
                [SCENES.ADD_SCENE.SCENE_ID]: 00
                [SCENES.NAME_SUPPORT]: 00
                [SCENES.NAME_SUPPORT__SUPPORTED]: 00
                [SCENES.REMOVE_SCENE.SCENE_ID]: 00
                [SCENES.RECALL_SCENE.GROUP_ID]: 00 00
        }
        Channel: 12
        {
                [ONOFF_REPORTING_CONFIG.ONOFF.MIN_REPORTING_INTERVAL]: 00 00
                [ONOFF_REPORTING_CONFIG.ONOFF.MAX_REPORTING_INTERVAL]: 02 58
        }
        Channel: 5
        {
                [IDENTIFY.IDENTIFY_QUERY_RESPONSE.IDENTIFY_TIME]: 00 00
                [IDENTIFY.IDENTIFY.IDENTIFY_TIME]: 00 00
                [IDENTIFY.IDENTIFY_TIME]: 00 00
                [IDENTIFY.IDENTIFY_QUERY.ACTION]: 00
        }
        Channel: 3
        {
                [BASIC.ZCL_VERSION]: 01
                [BASIC.SW_BUILD_ID]: 56 31 2e 30 34 2e 31 32
                [BASIC.MODEL_IDENTIFIER]: 50 6c 75 67 20 30 31
                [BASIC.APPLICATION_VERSION]: 0c
                [BASIC.MANUFACTURER_NAME]: 4f 53 52 41 4d
                [BASIC.STACK_VERSION]: 02
                [BASIC.HW_VERSION]: 01
                [BASIC.POWER_SOURCE__EMERGENCY_MAINS_AND_TRANSFER_SWITCH]: 00
                [BASIC.POWER_SOURCE__UNKNOWN]: 01
                [BASIC.DATE_CODE]: 32 30 31 34 30 33 33 31 44 45 4f 53 2a 2a 2a                                                                                                                                                              2a
                [BASIC.POWER_SOURCE]: 01
                [BASIC.POWER_SOURCE__BATTERY]: 00
                [BASIC.POWER_SOURCE__DC_SOURCE]: 00
                [BASIC.POWER_SOURCE__MAINS_SINGLE_PHASE]: 00
                [BASIC.DEVICE_ENABLED]: 01
                [BASIC.POWER_SOURCE__EMERGENCY_MAINS_CONSTANTLY_POWERED]: 00
                [BASIC.POWER_SOURCE__MAINS_3_PHASE]: 00
                [BASIC.POWER_SOURCE__SECONDARY_POWER_SOURCE]: 00
        }
        Channel: 7
        {
                [GROUPS.VIEW_GROUP.GROUP_ID]: 00 00
                [GROUPS.REMOVE_GROUP_RESPONSE.STATUS]: 00
                [GROUPS.REMOVE_GROUP.GROUP_ID]: 00 00
                [GROUPS.NAME_SUPPORT__SUPPORTED]: 00
                [GROUPS.GET_GROUP_MEMBERSHIP_RESPONSE.CAPACITY]: 00
                [GROUPS.REMOVE_ALL_GROUPS.ACTION]: 00
                [GROUPS.GET_GROUP_MEMBERSHIP.GROUP_LIST]: 00
                [GROUPS.VIEW_GROUP_RESPONSE.STATUS]: 00
                [GROUPS.ADD_GROUP.GROUP_NAME]: 00
                [GROUPS.ADD_GROUP.GROUP_ID]: 00 00
                [GROUPS.ADD_GROUP_IF_IDENTIFYING.GROUP_NAME]: 00
                [GROUPS.ADD_GROUP_RESPONSE.STATUS]: 00
                [GROUPS.VIEW_GROUP_RESPONSE.GROUP_NAME]: 00
                [GROUPS.NAME_SUPPORT]: 00
                [GROUPS.ADD_GROUP_IF_IDENTIFYING.GROUP_ID]: 00 00
                [GROUPS.GET_GROUP_MEMBERSHIP.GROUP_COUNT]: 00
        }
        Channel: 0
        {
                [ROUTER]: 01
                [MAINS_POWERED]: 01
                [END_POINT]: 03 00
                [SHORT_ADDR]: f0 31
                [LISTENING]: 01
        }
}

VALUES
{
        Channel: 13
        {
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE__REACTIVE_MEASUREMENT]:                                                                                                                                                              00
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE__PHASE_C_MEASUREMENT]:                                                                                                                                                              00
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE__PHASE_A_MEASUREMENT]:                                                                                                                                                              01
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE]: 00 00 00 08
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE__PHASE_B_MEASUREMENT]:                                                                                                                                                              00
                [ELECTRICAL_MEASUREMENT.ACTIVE_POWER]: 6d 60
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE__ACTIVE_MEASUREMENT]: 0                                                                                                                                                             0
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE__POWER_QUALITY_MEASUREM                                                                                                                                                             ENT]: 00
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE__APPARENT_MEASUREMENT]:                                                                                                                                                              00
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE__HARMONICS_MEASUREMENT]                                                                                                                                                             : 00
                [ELECTRICAL_MEASUREMENT.MEASUREMENT_TYPE__DC_MEASUREMENT]: 00
        }
        Channel: 11
        {
                [ONOFF.TOGGLE.ACTION]: ff
                [ONOFF.OFF.ACTION]: ff
                [ONOFF.ON.ACTION]: 00
                [ONOFF.ON_TIME]: 00 00
                [ONOFF.GLOBAL_SCENE_CONTROL]: 01
                [ONOFF.OFF_WAIT_TIME]: 00 00
                [ONOFF.ONOFF]: 00
        }
        Channel: 15
        {
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.VERSION]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.TOUCHLINK_INFORMA                                                                                                                                                             TION_RESP__TOUCHLINK_INITIATOR]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.TOUCHLINK_INFORMA                                                                                                                                                             TION_RESP__ADDRESS_ASSIGNMENT]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.RESPONSE_ID]: 00                                                                                                                                                              00 00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.PAN_ID]: 00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.NUMBER_OF_SUBDEVI                                                                                                                                                             CES]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.NETWORK_UPDATE_ID                                                                                                                                                             ]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.NETWORK_ADDRESS]:                                                                                                                                                              00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.LOGICAL_CHANNEL]:                                                                                                                                                              00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.KEY_BITMASK]: 00                                                                                                                                                              00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.GROUP_IDENTIFIER_                                                                                                                                                             COUNT]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST.ZIGBEE_INFORMATION__LOGICA                                                                                                                                                             L_TYPE]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST.ZIGBEE_INFORMATION__RX_ON_                                                                                                                                                             WHEN_IDLE]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST.TOUCHLINK_INFORMATION_REQ_                                                                                                                                                             _FACTORY_NEW]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.NETWORK                                                                                                                                                             _UPDATE_ID]: 00
                [TOUCHLINK_COMMISSIONING.IDENTIFY_REQUEST.INTER_PAN_TRANSACTION_                                                                                                                                                             ID]: 00 00 00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST.TOUCHLINK_INFORMATION_REQ_                                                                                                                                                             _ADDRESS_ASSIGNMENT]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.NETWORK                                                                                                                                                             _ADDRESS]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.GROUP_I                                                                                                                                                             DENTIFIERS_BEGIN]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.FREE_NE                                                                                                                                                             TWORK_ADDRESS_RANGE_END]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.FREE_GR                                                                                                                                                             OUP_IDENTIFIER_RANGE_END]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.EXTENDE                                                                                                                                                             D_PAN_ID]: 00 00 00 00 00 00 00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST.ZIGBEE_INFORMATION]: 00
                [TOUCHLINK_COMMISSIONING.ENDPOINT_INFORMATION.PROFILE_ID]: 00 00                                                                                                                                                             
                [TOUCHLINK_COMMISSIONING.RESET_TO_FACTORY_NEW_REQUEST.INTER_PAN_                                                                                                                                                             TRANSACTION_ID]: 00 00 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.ENCRYPT                                                                                                                                                             ED_NETWORK_KEY]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.RSSI_CORRECTION]:                                                                                                                                                              00
                [TOUCHLINK_COMMISSIONING.GET_GROUP_IDENTIFIERS_REQUEST_RESPONSE.                                                                                                                                                             GROUP_INFORMATION_RECORDS]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.FREE_NETWORK_ADDR                                                                                                                                                             ESS_RANGE_BEGIN]: 00 00
                [TOUCHLINK_COMMISSIONING.ENDPOINT_INFORMATION.NETWORK_ADDRESS]:                                                                                                                                                              00 00
                [TOUCHLINK_COMMISSIONING.GET_GROUP_IDENTIFIERS_REQUEST_RESPONSE.                                                                                                                                                             COUNT]: 00
                [TOUCHLINK_COMMISSIONING.DEVICE_INFORMATION_REQUEST.START_INDEX]                                                                                                                                                             : 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.LOGICAL                                                                                                                                                             _CHANNEL]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.EXTENDED_PAN_ID]:                                                                                                                                                              00 00 00 00 00 00 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.FREE_GROUP_                                                                                                                                                             IDENTIFIER_RANGE_END]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_UPDATE_REQUEST.NETWORK_UPDATE_I                                                                                                                                                             D]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.PROFILE_ID]: 00 0                                                                                                                                                             0
                [TOUCHLINK_COMMISSIONING.DEVICE_INFORMATION_REQUEST_RESPONSE.SIZ                                                                                                                                                             E]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST_RESPONS                                                                                                                                                             E.STATUS]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_UPDATE_REQUEST.INTER_PAN_TRANSA                                                                                                                                                             CTION_ID]: 00 00 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.FREE_NETWOR                                                                                                                                                             K_ADDRESS_RANGE_END]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.GROUP_IDENT                                                                                                                                                             IFIERS_BEGIN]: 00 00
                [TOUCHLINK_COMMISSIONING.DEVICE_INFORMATION_REQUEST_RESPONSE.NUM                                                                                                                                                             BER_OF_SUBDEVICES]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_UPDATE_REQUEST.NETWORK_ADDRESS]                                                                                                                                                             : 00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.TOTAL_GROUP_IDENT                                                                                                                                                             IFIERS]: 00
                [TOUCHLINK_COMMISSIONING.ENDPOINT_INFORMATION.DEVICE_ID]: 00 00
                [TOUCHLINK_COMMISSIONING.ENDPOINT_INFORMATION.IEEE_ADDRESS]: 00                                                                                                                                                              00 00 00 00 00 00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.TOUCHLINK_INFORMA                                                                                                                                                             TION_RESP__TOUCHLINK_PRIORITY_REQUEST]: 00
                [TOUCHLINK_COMMISSIONING.IDENTIFY_REQUEST.IDENTIFY_DURATION]: 00                                                                                                                                                              00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.NETWORK_UPD                                                                                                                                                             ATE_ID]: 00
                [TOUCHLINK_COMMISSIONING.DEVICE_INFORMATION_REQUEST_RESPONSE.DEV                                                                                                                                                             ICE_INFORMATION_RECORDS]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.FREE_GR                                                                                                                                                             OUP_IDENTIFIER_RANGE_BEGIN]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.INTER_P                                                                                                                                                             AN_TRANSACTION_ID]: 00 00 00 00
                [TOUCHLINK_COMMISSIONING.GET_ENDPOINT_LIST_REQUEST.START_INDEX]:                                                                                                                                                              00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.ENDPOINT_ID]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST_RESPONSE.STATUS]:                                                                                                                                                              00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.FREE_NE                                                                                                                                                             TWORK_ADDRESS_RANGE_BEGIN]: 00 00
                [TOUCHLINK_COMMISSIONING.DEVICE_INFORMATION_REQUEST.INTER_PAN_TR                                                                                                                                                             ANSACTION_ID]: 00 00 00 00
                [TOUCHLINK_COMMISSIONING.GET_ENDPOINT_LIST_REQUEST_RESPONSE.COUN                                                                                                                                                             T]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.FREE_NETWORK_ADDR                                                                                                                                                             ESS_RANGE_END]: 00 00
                [TOUCHLINK_COMMISSIONING.ENDPOINT_INFORMATION.VERSION]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.KEY_IND                                                                                                                                                             EX]: 00
                [TOUCHLINK_COMMISSIONING.GET_ENDPOINT_LIST_REQUEST_RESPONSE.ENDP                                                                                                                                                             OINT_INFORMATION_RECORDS]: 00
                [TOUCHLINK_COMMISSIONING.ENDPOINT_INFORMATION.ENDPOINT_ID]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.PAN_ID]: 00                                                                                                                                                              00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.PAN_ID]                                                                                                                                                             : 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.KEY_INDEX]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.FREE_GROUP_                                                                                                                                                             IDENTIFIER_RANGE_BEGIN]: 00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.TOUCHLINK_INFORMA                                                                                                                                                             TION_RESP]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_END_DEVICE_REQUEST.GROUP_I                                                                                                                                                             DENTIFIERS_END]: 00 00
                [TOUCHLINK_COMMISSIONING.GET_ENDPOINT_LIST_REQUEST_RESPONSE.TOTA                                                                                                                                                             L]: 00
                [TOUCHLINK_COMMISSIONING.GET_GROUP_IDENTIFIERS_REQUEST.START_IND                                                                                                                                                             EX]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST.TOUCHLINK_INFORMATION_REQ_                                                                                                                                                             _LINK_INITIATOR]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.ENCRYPTED_N                                                                                                                                                             ETWORK_KEY]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.FREE_NETWOR                                                                                                                                                             K_ADDRESS_RANGE_BEGIN]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.GROUP_IDENT                                                                                                                                                             IFIERS_END]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.FREE_GROUP_IDENTI                                                                                                                                                             FIER_RANGE_BEGIN]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.INTER_PAN_T                                                                                                                                                             RANSACTION_ID]: 00 00 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST_RESPONSE.ST                                                                                                                                                             ATUS]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.KEY_INDEX]:                                                                                                                                                              00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.EXTENDED_PA                                                                                                                                                             N_ID]: 00 00 00 00 00 00 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.LOGICAL_CHA                                                                                                                                                             NNEL]: 00
                [TOUCHLINK_COMMISSIONING.GET_GROUP_IDENTIFIERS_REQUEST_RESPONSE.                                                                                                                                                             TOTAL]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_JOIN_ROUTER_REQUEST.NETWORK_ADD                                                                                                                                                             RESS]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.ENCRYPTED_NETWORK                                                                                                                                                             _KEY]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.GROUP_IDENTIFIERS                                                                                                                                                             _BEGIN]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.EXTENDED_PAN_ID]:                                                                                                                                                              00 00 00 00 00 00 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_UPDATE_REQUEST.EXTENDED_PAN_ID]                                                                                                                                                             : 00 00 00 00 00 00 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.GROUP_IDENTIFIERS                                                                                                                                                             _END]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.INITIATOR_IEEE_AD                                                                                                                                                             DRESS]: 00 00 00 00 00 00 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.INITIATOR_NETWORK                                                                                                                                                             _ADDRESS]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.INTER_PAN_TRANSAC                                                                                                                                                             TION_ID]: 00 00 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.LOGICAL_CHANNEL]:                                                                                                                                                              00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.NETWORK_ADDRESS]:                                                                                                                                                              00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.DEVICE_ID]: 00 00                                                                                                                                                             
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.PAN_ID]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST_RESPONSE.NETWORK_                                                                                                                                                             UPDATE_ID]: 00
                [TOUCHLINK_COMMISSIONING.NETWORK_START_REQUEST.FREE_GROUP_IDENTI                                                                                                                                                             FIER_RANGE_END]: 00 00
                [TOUCHLINK_COMMISSIONING.NETWORK_UPDATE_REQUEST.LOGICAL_CHANNEL]                                                                                                                                                             : 00
                [TOUCHLINK_COMMISSIONING.NETWORK_UPDATE_REQUEST.PAN_ID]: 00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST_RESPONSE.TOUCHLINK_INFORMA                                                                                                                                                             TION_RESP__FACTORY_NEW]: 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST.INTER_PAN_TRANSACTION_ID]:                                                                                                                                                              00 00 00 00
                [TOUCHLINK_COMMISSIONING.SCAN_REQUEST.TOUCHLINK_INFORMATION_REQ]                                                                                                                                                             : 00
        }
        Channel: 1
        {
                [ONOFF]: 00
                [ACTIVEPOWER]: 6d 60
        }
        Channel: 0
        {
                [UNREACH]: 00
                [STICKY_UNREACH]: 00
                [CONFIG_PENDING]: 00
                [LAST_PACKET_RECEIVED]: 5f bd 4e 7f
        }
}

That is the output for the config print of the osram plug.

Felix

I see that it has ONOFF in channel 1, this means it has a device xml file. ONOFF there is both readable and writable.
Also ONOFF.TOGGLE.ACTION can be used to toggle the value by writing into it.

But it looks like you have some other issue with the device, some communication one. Hopefully we’ll figure it out.

Hallo @pmayer

ich habe eine der GPIO-Platinen von dir über codM gekauft, die Erstinbetriebnahme gestaltete sich ziemlich verzwickt, (Pi4b mit USB3 SSD) gelang mir aber irgendwann.

Betrieben wird das in einer iobrokerinstallation mit zigbee-modul, der Grund das ich diese Platine einsetzen möchte waren die vielen möglichen Geräte und ganz wichtig, der Einbau" in das Raspi-Gehäuse und damit weniger strippen im Schaltschrank (Antennenkabel als einziges ist ja notwendig)

Antenne ist eine 3.5dB (hab ich zusammen mit der Platine gekauft (Lieferscheinnummer: 20439)

Nach dem erfolgreichen anlernen einiger Geräte funktionierten diese im Testaufbau, nach einem Umzug des Pi4 hat der cc2538 aber keinen Kontakt mehr zu den vorher angelernten Geräten.

ich habe den Schreibtischaufbau mit einem Osram-Plug+, Xiaomi Fenstersensor, Tradfri ColorE27 und einem TradfriDimmer aufgebaut

die Geräte sind dann erst nach einem erneuten Pairing ansprechbar.

Ich möchte nun aber nicht nach jedem abschalten des raspi, durch mein ganzes Haus laufen und alle 50 ZB geräte erneut pairen, ist das Problem bekannt?, ein abstecken des Sticks geht ectl. bei USB, bei der GPIO Platine aber nicht. wie kann ich nun dafür sorgen das nach einem “Kaltstart” des Raspi alles wieder funktioniert?, hab das Modul deswegen erst mal wieder in den Testaufbau gesteckt und im Schaltschrank wieder einen CC2531 (per USB-Verlängerung) in Betrieb.

ich hab das ganze nochmal mit “zigbee2mqtt” ohne iobroker nachgebildet, sobald der RaspBerry stromlos gemacht wurde, (nach shutdown now) sind alle zuvor angelernten Geräte nicht mehr ansprechbar. auch hier nur wiederbelebbar nach erneutem Pairing.

mit freundlichen Grüssen

Sag mal @iobroker_biicii.de, du hast mir diese Nachricht jetzt auf 4 (VIER!) Wegen geschickt. Io.Broker-Forumsnachricht, io.broker-Chat, E-Mail und hier… irgendwann ist mal gut.

Ich antworte dir morgen per E-Mail, zu meinen normalen Arbeitszeiten.

Zigbee und USB3 hat Konfliktpotenzial, schonmal versucht die SSD mittels langem Kabel vom RPi wegzubewegen?

Habe das gleiche Problem.

Wenn du auf GitHub schaust gibt es das wohl häufiger und ist wohl ein Firmware Problem.

Ich such mal den link.

Edit gefunden

1 Like

Meintest du den?

Ich habe leider momentan 2-3 Leute, die das Problem haben und ich habe noch keine wirkliche Lösung. Das Einzige wo ich gerade froh drum bin, dass die Leute die Firmware selbst ändern können.

Hatte das mal hier dokumentiert:

Ich schaue mir das morgen mal genauer an. Aktuell ist mein Wissensstand aber auch, dass es an der Firmware liegt. Freue mich, wenn ihr mehr wisst als ich.

Alternativ kann man auch mal die JetHome-Firmware draufmachen: