Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

At this weekend I finally established another network in my home — a ZigBee network.

Uncategorized
1 1 0
  • At this weekend I finally established another network in my home — a ZigBee network. A looong time ago (in 2010 year) I touched the ZigBee networking in my university (ITMO, previously IFMO, in Saint-Petersburg) — these times it was a new technology, not used widely. And as a student I have some fun time playing with ZigBee main router, supplemental router and end-devices. You can view old photos and screenshots of old software on a my extremely old blog: http://h0rr0rr-drag0n.blogspot.com/2010/04/cc2530zdk.html (and read a blogpost, if you understand Russian).

    It is kindly fascinating, that now, after 15 years, I can just buy some ZigBee-powered devices from AliExpress (using Black Friday discounts) and connect them to the network inside my house right in the way I did it in the university 15 years ago!

    Sadly, although I bought native supported main router device, based on the EFR32MG2 with some software from Ember (EZSP v8) inside, the OpenHAB doesn't support this device natively — it supports it, but since my server is running NetBSD, I got problems with some bundled with OpenHAB things. Looks like some native libraries (rxtx-java) don't have bundled NetBSD versions. And the same library in the repository built for Java 8, not for Java 17.

    So, I decided to use Zigbee2MQTT, not to build the necessary Java library myself. It was kinda scary — use program, which connects my ZigBee network via ZigBee USB-dongle to the MQTT server — which is written on JavaScript . Not on the C (as I can totally understand, for a such low-level program, operating with embedded devices) or at least on the C++/Perl/Python/whatever. But, looks like it works good enough, if I don't try to pair the device in wrong mode (my window sensors has two modes to pair them with network: first "common" mode causes zigbee2mqtt to silently crash and the second "compatible" mode works without problems).

    And I could understand now, why people has so much problems with smart home security. Installed MQTT server mosquitto — it allows unauthenticated connections by default. Installed zigbee2mqtt — it allow connections to frontend without any password by default

    At least these two services don't each much memory: 1.2 Mb for Mosquitto and 75.6 Mb for ZigBee2MQTT.

    For now, my ZigBee sensors works pretty well and robust, like these devices from university 15 years ago

  • stefano@mastodon.bsd.cafeundefined stefano@mastodon.bsd.cafe shared this topic

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    0 Views
    I’m so stucked… Black Friday reactivated the “store everything on a NAS” project in my poor brain. As the goal is quite simple : reduce to the minimum the use (and the costs) of our family iCloud plan, you would expect the solution is simple (of course not…). But should also be added to the equation the need to secure data already on external usb disks. (And aging). So, the quest for the right choice begins with a Nas appliance. Syno? No thanks, solid software, old hardware and discutable moves to lock everyone to use their parts catalog. So… considered ugreen Nas such as dxp2800 (two disks, not very upgradable so use huge capacity for a start). Dxp4800 four bays so it is possible to gradually extend the pool in the future. Then there is also MiniPC with nvme slots such as beelink Me Mini. In all cases, storage will be ZFS and data should be encrypted (don’t want thieves to read my data). Software will likely be truenas. A bare FreeBSD would be great but I have no time or skills to build everything from scratch with the insurance that I don’t leave some door opened for exploits. Either ugreen and N100 based pc should be enough for immich and one or two lightweight containers/jails. Costs are also to be considered, as RAM and disks (and NVME) are becoming very pricey. I read some blogs articles from our barista and of course it was so very interesting to build a backup server, remote access in a diy manner, (the geek in me was very tempted, but the end-user in me having to ensure the data from everybody in the house is secured is worried) #homelab #NAS
  • 0 Votes
    2 Posts
    0 Views
    @pandolin I love this - the LEGO penguin on top is 👌🏻 can I ask which 3D printed case design you used there?
  • 0 Votes
    1 Posts
    1 Views
    The new hard drives for my NAS (Network Attached Storage) build have arrived. Two WD (Western Digital) RED 8TB. I will go shopping now after unpacking, so they can adapt to room temperature for a few hours before I install them and power them up. Never forget that step! Wait until they have reached room temperature. And then wait a few hours more. When you spin them up too early, they might get damaged. Don't ask why I know ;)#Selfhost #Homelab @homelab
  • 0 Votes
    1 Posts
    4 Views
    Lil guide about OpenHAB4 installation into the NetBSD sandbox.https://eugene-andrienko.com/it/2025/11/07/install-openhab4-to-netbsd.html#NetBSD #OpenHAB #HomeAutomation