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
  • Hello Fedi friends!

    What I'm up to for the next couple of days: https://aseachange.com/@elena/statuses/01KBF76ZF4MJ9MAGFAQSK4JWTK

    It's so promising to see growing interest in the Fediverse. I'm hopeful for the future of social media (and FOSS tools), now more than ever ❤️

    Wishing you all a great day!

    read more

  • La gentilezza nelle parole crea confidenza
    La gentilezza nel pensiero crea profondità … https://cctm.website/lao-tzu-cina/

    Lao Tzu

    read more

  • Bonjour Fedi friends!

    I'm finishing packing my suitcase. I'm off to Bologna to speak about the Fediverse at Bologna Tech Week.

    This morning while explaining logistics to my little one's school director, she asked about my trip, I told her the topic of my panel tomorrow and she was absolutely fascinated. She said she'd like me to teach her about FOSS tools and social platforms because they sound completely in line with the school's values. That's so amazing.

    Then during my walk home I had an epiphany: an idea for a short film / skit starring children that explains what's so appealing about the Fediverse vs. Big Tech platforms. A film like that would make people understand things right away... while making them smile from ear to ear.

    There's the whole issue of consent and directing children... so maybe I'll think about an alternate version starring adults. It would still be relevant.

    I often find that comedy - and especially playing on absurdity - are super effective tools to (1) ridicule powerful players, making them appear less powerful (2) convincing people to see things a different way. There is always another way.

    And now I need to go to the airport, sigh. Missing my family already... but this trip is for a super worthy cause.

    Wishing you all a great day!

    #advocacy

    Speak soon!

    read more

  • Ancora tanto da sistemare, ma per il momento sono contento!

    Mi spiace un po' per Debian (dove è possibile tornerò prima o poi, come accade ciclicamente) ma per praticità devo dire che è un buon out of the box per ora dai

    tra l'altro potrebbe essere la mia prima volta senza dualboot Windows a fare da "coperta di Linus (Linux?)"

    read more

  • @BobbiArbore

    Fai come le AI e cita libri inesistenti quando fai domande….

    «Come ha evidenziato Tim Berners-Lee in "Web per tutti", questa situazione andrebbe gestita in modo diametralmente opposto. Cosa suggerisce?»

    read more

  • @steek_hutzee gli italiani sono sempre meno, e se andiamo in una guerra vera diminuiranno ancora, e i disabili si assommeranno a una popolazione anziana
    Quindi non so che pensieri frullano nella testa di chi comanda, si vuole costruire un minimo di forze (forse) armate per "contare" a livello internazionale? Forse non se ne può fare a meno, ma lo vedo uno sforzo esagerato in un momento di tante difficoltà, non si diventa forti da poveri
    Si vogliono vendere? Bho

    read more

  • @lelevup RTX 5060 8GB GDDR7

    no ma leggendo online c'è parecchio da smanettare, anche per l'aggiornamento dei firmware che per qualche motivo si picchia un po' con Lenovo, ma vedrò meglio strada facendo, con i driver ibridi mi pare tutto ok!

    Per i giochi farò un test con Fantasian e vediamo, ma penso che resterò più su Steam Deck e Miyoo Mini in ogni caso

    read more

  • Amai teneramente dei dolcissimi amanti
    senza che essi sapessero mai nulla.
    E su questi intessei tele di ragno … https://cctm.website/alda-merini-amai-teneramente/

    Alda Merini

    read more
Post suggeriti