I came across this Sengled kit that comes with a hub and and some bulbs. They have decent reviews and it looks like the kit goes as low as $28. The hub connects to the network via wifi and the bulbs connect to the hub via Zigbee. I see some posts about the bulbs, but not the hub. Does anyone know if the hub can wotk with HA?
I canât answer your question directly butâŚ
Is there a reason you want that particular hub?
If not then I recommend buying a dedicated zigbee controller stick and buy the Sengled bulbs separately.
That is basically my setup and it works great. I have the HUSBZB-1 stick for my zigbee controller and the Sengled bulbs work perfectly with it.
And Iâm pretty sure that the Sengled hub needs an internet connection for it to work. The HUSBZB-1 connected directly to the Pi bypasses the internet completely so your functionality isnât hampered by a bad internet connection.
It may cost a little more in the end but I wouldnât even consider doing it the other way to save a couple of bucks.
YMMVâŚ
Yeah, I considered the USB thing, but the cost is just so much better. Basically around $10 vs $40. But itâs looking like the Sengled hub doesnât have a component in HA, so I might consider just getting the USB stick or maybe a Wink Hub.
I picked up the starter pack with 2 bulbs and a hub, would be good to use the hub as a Zigbee gateway with HA .
Here is some info on the device:
- Plug into network via cable, use app to configure the hub to connect your WiFi network
- Device is a generic Realtek router with web interface open on the IP address given by your router
- Hidden page allows you to run commands - http://x.x.x.x/syscmd.htm
- Running âtelnetd -l /bin/shâ in the page above starts telnet, you can use tftp to transfer files to and from the device
- The Zigbee portion seems to be controlled by /bin/sengled_gateway_app and /bin/sengled_startup
- running âflash allâ dumps a fair bit of info about the device
I have made a dump of the firmware and explored the filesystem but that is about all I have the knowledge for. Sharing this info in case anyone else wants to muck around, if you want a particular file or command output let me know.
- Flash all output - https://pastebin.com/FCcV0fAf
- sengled_gateway_app - ask me
- Firmware (mtdblock0-3) - ask me
- rcS (start up script) - http://pastebin.com/pAPA5D9z
- Sengled config files GatewayInfo.xml - https://pastebin.com/xE47Hjin LampListInfo.xml - https://pastebin.com/TPKDHNc6 ZigbeeDeviceTypeListInfo.xml - https://pastebin.com/U80xCefd
- List of pages on router - https://pastebin.com/RGApu9Y9
- ls -la / https://pastebin.com/Pzx583an /bin https://pastebin.com/TZBmeZVC /var https://pastebin.com/bvQuHbkr /etc hxxps://pastebin.com/y70NEZ5y /dev hxxps://pastebin.com/CQNWPT4G, /tmp https://pastebin.com/kFjF40Ab
- mtd
dev: size erasesize name
mtd0: 00130000 00001000 âboot+cfg+linux(bank1)â
mtd1: 002d0000 00001000 âroot fs(bank1)â
mtd2: 00130000 00001000 âinux(bank2)â
mtd3: 002d0000 00001000 âroot fs(bank2)â
Hope this is useful in some way, will post anything else useful that I find - at the very least it is easy enough to turn the hub into an AP if there is no other use for it.
Sorry about the links, new user.
Relevant values that can be written with âflash set VARIABLE_NAME valueâ (sanitized)
SENGLED_GW_FACTORY_MODE=0
SENGLED_GW_CONFIG_STATUS=3
SENGLED_GW_DN="B0:CE:18"
SENGLED_GW_PRODUCT="zigbee"
SENGLED_GW_TOKEN="A2CA752CF1F4C560"
SENGLED_GW_SIGN="86591E17A203E31A2A6"
SENGLED_GW_DOMAIN_NAME="https://elements.cloud.sengled.com:443/zigbee/"
SENGLED_GW_USER_ID=8256
SENGLED_GW_NAME="ElementHub4b02"
SENGLED_GW_LAMP_INFO_COUNT=0
SENGLED_GW_LAMP_INFO_LIST=""
SENGLED_GW_COORD_FACTORY_NAME="sengled"
SENGLED_GW_COORD_TYPE_CODE="Z01-A19-Gateway"
SENGLED_GW_COORD_SW_VERSION=4900
SENGLED_GW_COORD_HD_VERSION=2
SENGLED_GW_COORD_NET_STATUS=1
SENGLED_GW_COORD_CHANNEL=25
SENGLED_GW_COORD_PAN_ID=12690
SENGLED_GW_COORD_PROTOCOL_VERSIO=0
SENGLED_GW_CLOUD_DOMAIN=""
SENGLED_GW_CLOUD_PORT=0
SENGLED_STA_CONFIG_STATUS=2
SENGLED_DESIRED_BSSID=14cc2
Next, capture traffic sent to elements.cloud.sengled.com:443
Any advance with it? I also got started kit and I would love to integrate with HA. Yesterday I tried to login on the âhttps://elements.cloud.sengled.com:443/zigbee/â with SENGLED_GW_SIGN, SENGLED_GW_TOKEN, SENGLED_GW_USER_ID without success, Iâve also monitored the traffic with tcpdump but not interesting, maybe we will need to use something like sslstrip
I too am really interested⌠is there anything that could be leveraged from this project: https://www.npmjs.com/package/homebridge-sengled
Thanks for the link! Iâm currently running Homebridge with Homebridge-sengled on a Kali-Linux VM and that exposes my Sengled Hub+lights on the HomeKit API which Home Assistant then picks up. They only appear as switches for on/off status and have status update lag of up to 60 seconds, but better than nothing and now I can turn on/off lights via Home Assistant Automations.
And hereâs a more direct method: The CC2531 zigbee USB stick is only like $4 on ebay (does need a special programmer or an ESP8266 board to act as one to flash the firmware), then it works with Home Assistant via https://www.zigbee2mqtt.io/
So, not much to replace the Sengled Hub we donât have direct control of.
I belive SengLed devices will play nicely with the native ZHA integration as well.
This, like ZigBee2MQTT, opens you up to a whole range of ZWave devices with direct local control via Home Assistant.
I couldnât find what HW this hub uses is it realtek ? Did somone disassembled it to know whatâs inside ?
Did anyone ever make any progress with your Sengled hub? I picked one up today and itâs running firmware v4.3.9 and it looks like they restricted the web interface. Was curious which Zigbee chip it had on it and if it could be hacked to run zigpy/deconz/zigbee-shepherd, etc
Highly doubtful as the Zigbee radio type isnât even specified on the FCC certification. I know it uses a Realtek chip for WiFi and Winbond for memory, but the actual Zigbee radio is still a mystery.
I see this Kit today in the shop at very small price of 22USD for HUB and 3 Bulbs - and i was not able to handle and I buy it. Even i didnt check if is any integration with HA, now iâm testing,but will leave hub behind and start use it straight with Zigbee USB Stick.
But now also wondering if any integration of HUB with HA?
This hub passed FCC Certification:
All info is here:https://fccid.io/2AGN8-Z02HUB
yesterday i open this hub and is exactly like fccid.io
So it is a EM357 chip! That would work with bellows/zigpy/ZHA if it could be rooted.
no dev kit required for this job?
I think this can work,but will not look nice:
I also did some sniffing last night and I can see where the mobile phone queries the sengled servers for the firmware of the hub. Wonder if we can just give it a generic openwrt/tomato type firmware