Interfacing with Zigbee

I would like to connect a CC2530 to an ESP8266. Right now I would like to get both speaking together and being able to see information through the console. But I am completely lost. I don't know where to start.

How can I interact one with the other and get some outputs in the console?

Look at the website ptvo. The author provides various code configurations for the CC2530 that will allow you to talk to the ESP32. Most likely you would use the UART option.

This eliminates the need for you to obtain a cc2530 development license.

I created a firmware with UART enabled in P0.2 as shown here and I flashed it. But now, how should I interact with the CC2530 from the ESP8266?

At the end of the day, what I would like to do is being able to read if a door is open or closed.

Let's go back a step. Pls explain the whole signal chain as you imagine it.

i.e. what will the cc2530 "talk " to in Zigbee

I have a MiJia door & window contact sensor Xiaomi MCCGQ01LM. I want to receive the signal (door open/close, battery status, ...) into the CC2530 and send that information using serial communication into ESP8266. Later I want to send the notification via Telegram to my mobile.

So in summary, I want to replace my current chain: Sensor - CC2531 - RPi4 with OpenHAB - Telegram, with something simpler (on the paper) and less power hungry.

With Linux and zigbee2mqtt it is easy to read the info from the sensor. I don't know how to do that step in the ESP8266.

I suggest you go on the PTVO website and ask there. I've not done any work on having a cc2530 send information to my hub, however I've not had any reason to receive data from another Zigbee client.

Did you already found the solution for your CC2530 <> arduino question? I've the same advantage

I end up using Tasmota. It simplified a lot what I wanted to do.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.