Zigbee
I have finally removed the remaining X10 controllers having replaced the outside light controllers two days ago and the main room lighting dimmers today. Time will tell if any of these suffer from interference being 2.4GHz Zigbee but so far, so good. All of the X10 stuff is destined to go on eBay but it doesn't seem to sell well - I guess I waited far too long to update everything here.
It's not a major setup, one Zigbee controller / hub or whatever it's called - USB and currently stuck in the front port of the server, two dimmers, two bulbs, and three relays.
The setup is Mosquitto and Zigbee2mqtt on the server and Homebridge on a Pi. The server is due to be replaced by another Pi shortly to save space and watts. So now Siri rules our lighting - well some of it! Be nice to Siri...
You should also read:
USB interference and Zigbee
Tonight none of the outdoor automated lights came on. On further testing the internal lights also refused to work. Odd, everything was just fine yesterday. I use Zigbee devices around the house with four devices controlling various outdoor lighting, two controlling dimmable internal lights and several devices reporting on room and heating temperatures. Two outdoor lights are all-in-one Zigbee bulbs, the others are diminutive units in various electrical boxes. All use 2.4Ghz Zigbee and all the lighting controllers are also Zigbee repeaters and so form a mesh. The whole lot is controlled by a Raspberry Pi with a Zigbee dongle, zigbee2mqtt, mosquitto and homebridge. This also integrates it into the apple stuff so everything can be controlled from the Apple Home app and/or Siri. Of coure the downside is there are few physical switches now so this was a problem I had to fix. I had no clue what was wrong. Rebooting made no difference. But a bit of searching suggested that USB3 devices can cause issues at 2.4Ghz. Remember from my previous post that I had attached a SSD to the server? Well, that alone made no difference but was a precursor to the issue. Today I had inadvertently moved the server and the USB3 connected SSD closer to the Pi with the Zigbee dongle! Moving it away cured the issue. That caught me out - I had no idea USB3 was a potential source of interference. And my master plan may make things worse because I had planned to move all the home automation software and the Zigbee dongle to the server that had caused today's issue, so in a way it's good that it happened as fault finding after the migration would have been real fun. At least now I know to sit the dongle at the end of a really good extension lead to keep it in the clear. Weird stuff, radio.
Continue reading...Zigbee randomness
Recently the outside lights here decided to switch off at random intervals for no apparent reason. There are 5 different controllers, two being Zigbee bulbs and the others Zigbee switches. All use 2.4GHz. All had been running reliably for maybe a year. On/off cycles are controlled by scripts on the server as well as manually via an app. In each case whichever set of lights had gone out did report as being off and would turn back on via the app. Some days there was no issue, on others at least one would go off at some point. The Zigbee bulbs never failed, just the switches. There was no evidence of any commands being sent to turn the lights off, but there was the occasional error being reported. Rebooting the server made no difference. A power cycle of the server seems to have cured the issue so I am considering it likely to be the Zigbee transceiver itself. This is now nagging at me to figure out what happened and presumably it will reoccur some time in the future. Too many other things to sort out though!
Continue reading...Zigbee
I have always dabbled in home automation, pretty much since before it even became a thing. Most of the control was, and mostly still is via X10 devices and controllers which use mains signalling. This is rather old fashioned now and, being mains signalling is susceptible to interference. At one stage the outdoor light, which are controlled via an X10 appliance module in the workshop were very intermittent, until I discovered the wall-wart on one of the internal cameras was injecting awful noise that caused a scanner AM to buzz wildly when held near any mains outlet in the house! Anyway, that isn’t radio related, but this is… enter Zigbee. I have not read very far into this yet but it uses 2.4GHz among other frequencies for its signalling and there are lots of modules available. I plan to change our two dimmers to Zigbee and it will be pretty much plug and play. Apart from removing the mains signalling path the modules communicate both ways, so the controller can see their status as well as control them. Some of the newer X10 modules do this but very few of them and none of the ones I have. The current setup here is a Raspberry Pi running Homebridge which appears in the Apple Home app and can respond to commands via Siri. The X10 lighting controllers are handled via shell scripts which are called by a Homebridge plugin. But with no status return, if the lights are switched on by a switch or, in the case of the garden and outdoor lights via a script which calculates dusk and dawn the Home app has no clue as to their state. With Zigbee it will. There is a little way to go yet but everything appears to work. The Homebridge software has a plugin that communicates with software on the server which in turn works via a Zigbee 2.4GHz USB dongle. Basically, with very little work new devices feed their names all the way back to the Home app. All I need now is some more!
Continue reading...