Sorryfor being such a Noob. I have bough a CC2531 from iTead it came flashed with z2m.
I am having trouble with an ikea E1743 and from this forum I understand it might be because i need to update the firmware on the cc2531.
On the odroid, zigbee2mqtt doesn't log any error (I can even turn off the led of the cc2531 with a zigbee2mqtt parameter - see this post for the full zigbee2mqtt log), but it doesn't detect any devices.
I personally have not tried the newest versions of openwrt- if they are still using 8.10. or if they upgrade nodejs to +8.11 yet.. if they did then I really would not worry to much about zigbee2mqtt package. it would probably be just as easy to manually install it and that way you are most likely to have the most support for zigbee devices
I there a way to compile it directly into the firmware without having to install gcc and make onto the router?
I can't fit everything onto the image it gets too large whne I compile node.js and gcc into the firmware
a ways you could try -- extend your filed system
I never tried but it should be doable.. you could expand your file system using a usbstick complile the packages. then tar compress it save the compile revision to usb stick - -- reflash your router or just remove the the overlay - then copy the pre compiled version of zigbee2mqtt folder back on to your openwrt router .. and if it works fine you could upload the precompile version to github to save other people the trouble at a later date or provide me a link to it and I will upload it for you to github under a universal header so multiple people can send me a for various types of modems hope that helps
Alternative to running zigbee2mqtt on the router is to use USB over IP so that you can still plug the Zigbee receiver into the router but run the software elsewhere wherever you're running HA/Domoticz whatever.
but i failed as it ran out of space.... and seeing your comment her about compiling it and then moving it looked like an answer! - Id rather not extend the space as there is only a single USB port on the Mango and im resisting the need to run a USB hub if at all possible.
So, i was hoping i can just copy the working /opt/zigbee2mqtt/ from my Rpi onto the Mango...
yes you need to copy over everything - but you can trim stuff that is unused if you like I just never tried so it will be trial and error . I would just rename the folder test see what happens if it crashes rename it back and try again
I connected 3 dimmable IKEA Tradfri light bulbs and the round 5 button IKEA Tradfri Remote Control. They show up under devices and I can add the bulbs to control them individually on the Switches page. The 3 bulbs are also in a group (in zigbee2mqtt/data/cofiguration.yaml). I can add the group as well but by default it is only a On/Off Plug, not a Dimmer. If I change it to be a Dimmer. I can Turn all bulbs on with a single button press. All have the lowest brightness. Any other action I do (increase brightness , trun On /Off) turns them all off and I can never turn them on again.
I started to develop a script to help with the setup of cc2531 and domoticz on openwrt. As of now there are a lot of TODO's. If you want to help please go ahead and contact me or open up a merge request on:
I know this thread is a bit old, but how did you manage to get cc2531 recognised on your usb?
I'm trying to get my router to see /dev/ttyACM0 but I just can't get the Pi to recognise it..
I tried installing cdc modules, cc2530 driver ( via opkg) etc. but nothing.
(the module works on a debian based system just fine)
For you to know what's the deal: I got a CC2531 USB Stick, the downloader cable as well as the CC Debugger.
Flashing works perfectly fine, the firmware is uploaded and verified properly. All LED's are green.
It even told me the EB firmware is out of date and it shall be updated - which I did (later on) - didn't change the behaviour
But after flashing things start to crumble down. The CC2531 USB Board is not recognized at all.
Tried it on 2 different Windows PCs, prepared with drivers and all that stuff - not even an unknown device in the device manager.
On Linux (Raspberry Pi), dmesg does not do a thing. lsusb neither
A funny fact which brings me to the thought it is not a defective hardware: When both, the CC Debugger and the CC2531 USB Stick are connected, the Device Control Panel of SmartRF Studio actually receives packages from a nearby Zigbee Device when discovering the network on button press
sniffer_fw_cc2531.hex found at C:\Program Files (x86)\Texas Instruments\SmartRF Tools\Packet Sniffer\bin\general\firmware should be a workable firmware. By running sniffer_fw_cc2531.hex on CC2531EMK, you should see "CC2531 USB dongle" in Cebal controlled devices of Windows device manager. It's strange that you cannot see even an unknown device in the device manager. What's your Windows version? I attached my workable sniffer_fw_cc2531.hex so you can try it to see if it can work on your CC2531EMK.
On this PC I got Windows 10 1903 (Build 18362.295) installed. But I also tried another Laptop with Windows 10 1809 and a Raspberry Pi 3 with a standard Raspbian Image on it - dmesg doesn't do a thing when attaching the USB Stick alone.
When you connect CC2531EMK with CC Debugger and use SmartRF Studio, it use Debugger interface not USB. When you connect CC2531EMK to desktop USB console, it go through USB interface and there might be something wrong on the USB part of your CC2531EMK. I would suggest you to ask for replacement from your supplier.
banging my head 3 days already. OMV stands on PC now made already from page description zigbee stick now stuck with zigbee2mqtt instaliation.
i download pull koenkk/zigbee2mqtt image pressing run image and now no idea what to change here?
I am no programmer at all but would it be possible to make an app for a zigbee2mqtt?
Nice way to bypass the zigbee from the Homey.
I know most do not like that but i would make life a bit easier
I know but if you have a lot of devices and need to make a flow for every device on a mobile phone it takes for ever.
And with a good app you would be able to snif the connected devices and have them added to homey automatic
I agree, the idea of being able to add a zigbee2mqtt device as Homey device would work much easier then creating a list of flows using the MQTT client. For instance, if you have a flow that turns off all lights, it will automatically work if you can add a zigbee2mqtt device as a regular light device.
I recently installed these nodes onto a RPi 4. I plugged in the CC2531 into the Pi. My question is, how does Node-Red populate with the Zigbee devices? I k now it is probably a stupid question, but I have tried to go into the Dashboard and add items and groups nothing seems to happen.
I've played with this for the past two weeks and added a second flow that will report the status of the batteries in the Zigbee devices. I've paired several device to the CC2531 and the batteries an other data reports fine in this flow.
But the Z2M Admin flow is a bust. I'm not sure what I'm missing and perhaps it is very simple, but I can't seem to get these device to show up in the dashboard. I've not changed anything in the flow. There is a Note node that states "connect this to MQTT OUT", but there is no MQTT node on the flow for out bound messages.
That is all right. I use zigbee2mqtt + telegram + aqara sensors as a home alarm system. I just installed then z2m admin panel (never used before) to see if I could be of any help to you. The installation was smooth. I had to install one missing node (ui_list). At a first glance the z2m admin panel seems to work well. It was able to get the list of zigbee devices.
You mentioned that there is no MQTT node on the flow. I am confused as there are a couple of MQTT nodes in the flow. Can you possibly double check your flow and let me know if you see those two nodes as well as tell me what is their state (pic below) ?
We will use Home assisant as our smart home hub. Then, We will connect home assistant to an MQTT broker. We will configure Zigbee2mqtt to send the data to the same MQTT broker. At the end, the zigbee2mqtt will connect to the zigbee devices using cc2531 dongle and will collect the data and send commands.
3a8082e126