home.social

#nut — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #nut, aggregated by home.social.

fetched live
  1. ИБП Энергия Smart.2 в Home Assistant: два одинаковых с виду ИБП и два разных протокола

    Всем привет! Примерно с лета 2025 у меня работает ИБП Энергия Smart.2 1000W с внешней LiFePO4-батареей, и всё это время он был подключен к Home Assistant - я видел напряжение сети, заряд батареи, нагрузку и всё остальное прямо в дашборде. Написать об этом статью мне тогда в голову не пришло, т.к. всё завелось довольно быстро и казалось, что ничего интересного тут нет. Исправляюсь. А поводом всё-таки сесть и написать стало то, что недавно я купил второй ИБП - Энергия Smart.2 600W под роутеры. Логика была простая: модель та же, конфиг уже готов, скопировал - работает. По факту же скопированный конфиг не заработал вообще, все сенсоры повисли в unavailable, и в процессе разбирательств выяснилось, что под одним и тем же названием «Smart.2» продаются два ИБП на совершенно разных платформах с разными протоколами. Об этом и расскажу: как подключить оба варианта, чем они отличаются и на какие грабли я наступил. Кстати, в марте на Хабре выходила статья про подключение Энергии Smart к NUT - там 1000-ваттник подключали через dummy-ups и самописный Python-скрипт. Способ рабочий, но у меня к тому моменту уже давно всё работало более простым путём - через нативную интеграцию Modbus в Home Assistant, без NUT и без скриптов. Его и покажу первым.

    habr.com/ru/articles/1060646/

    #ИБП #Home_Assistant #Modbus #NUT #Network_UPS_Tools #Умный_дом #Энергия_Smart2 #энергия #резервное_питание #raspberry_pi

  2. The #nut butter battle rages on; we've evolved in complexity & depth of flavor.
    I require a submissive to do some PBCBT! The task is simple:
    - heat some PB until it's drippy, then drizzle it on your #balls like candle wax. 30-45 seconds in the microwave should do, we want the temperature between 115°F & 149°F (46°C-65°C) aka wax play temps!
    - Once your balls are covered in butter...
    1/2
    #femdom #femaleDomination

  3. When does a UPS/gateway race condition happen? When you are lots of kms from the office, of course…
    So, I learned how to solve the race condition correctly using #nut and #OpenBSD with my #Eaton UPS (strongly recommended 'cos they don't cloudy cloud and speak USB or serial perfectly).
    The problem statement is simple:

    * UPS on battery
    * shutdown initiated
    * shutdown completes
    * power returns before UPS is a 0%
    * gateway machine remains happily off because there is no up/down on the power
    * you are far from the office and there is nobody to press the power button on the gateway for you.

    The solution I worked out with documentation and searches (thank you @kagihq ) is:

    upsmon detects FSD (low battery / POWERDOWNFLAG trigger)
    -> creates POWERDOWNFLAG file (e.g. /var/run/killpower)
    -> executes SHUTDOWNCMD ("shutdown -p now")
    -> OS shuts down processes, remounts FS read-only
    -> /etc/rc.shutdown runs
    -> checks: upsmon -K (exits 0 if POWERDOWNFLAG exists)
    -> calls: upsdrvctl shutdown
    -> starts a fresh driver instance: usbhid-ups -a eaton -k
    -> driver sends "shutdown.return" to UPS
    -> UPS timer starts (ups.delay.shutdown seconds)
    -> OS completes power-off via ACPI
    -> UPS cuts load output
    -> (mains may already be back)
    -> UPS restores load on mains presence
    -> BIOS "boot on power restore" fires

    Hope this helps someone else too :flan_hacker:​

  4. When does a UPS/gateway race condition happen? When you are lots of kms from the office, of course…
    So, I learned how to solve the race condition correctly using #nut and #OpenBSD with my #Eaton UPS (strongly recommended 'cos they don't cloudy cloud and speak USB or serial perfectly).
    The problem statement is simple:

    * UPS on battery
    * shutdown initiated
    * shutdown completes
    * power returns before UPS is a 0%
    * gateway machine remains happily off because there is no up/down on the power
    * you are far from the office and there is nobody to press the power button on the gateway for you.

    The solution I worked out with documentation and searches (thank you @kagihq ) is:

    upsmon detects FSD (low battery / POWERDOWNFLAG trigger)
    -> creates POWERDOWNFLAG file (e.g. /var/run/killpower)
    -> executes SHUTDOWNCMD ("shutdown -p now")
    -> OS shuts down processes, remounts FS read-only
    -> /etc/rc.shutdown runs
    -> checks: upsmon -K (exits 0 if POWERDOWNFLAG exists)
    -> calls: upsdrvctl shutdown
    -> starts a fresh driver instance: usbhid-ups -a eaton -k
    -> driver sends "shutdown.return" to UPS
    -> UPS timer starts (ups.delay.shutdown seconds)
    -> OS completes power-off via ACPI
    -> UPS cuts load output
    -> (mains may already be back)
    -> UPS restores load on mains presence
    -> BIOS "boot on power restore" fires

    Hope this helps someone else too :flan_hacker:​

  5. This little guy was #busy scurrying by with a peanut in his mouth. A little motion blur on his back end. 📷 Pentax K-70 🔘 Pentax 18-135mm APS-C #Photography #Animals #Squirrel #SquirrelSaturday #Peanut #Nut #Wildlife #Nature #NaturePhotography #EastCoastKin #ECK #BlueSkyArtShow #Pentax #P558

  6. This little guy was #busy scurrying by with a peanut in his mouth. A little motion blur on his back end. 📷 Pentax K-70 🔘 Pentax 18-135mm APS-C #Photography #Animals #Squirrel #SquirrelSaturday #Peanut #Nut #Wildlife #Nature #NaturePhotography #EastCoastKin #ECK #BlueSkyArtShow #Pentax #P558

  7. Well THIS certainly looks handy! I can power down AND power up my server automatically with NUT on a Pi? 🤯

    linuxlinks.com/upswake-sends-w

  8. Well THIS certainly looks handy! I can power down AND power up my server automatically with NUT on a Pi? 🤯

    #Linux #HomeLab #SelfHost #NUT #RaspberryPi

    linuxlinks.com/upswake-sends-w

  9. Your UPS is useless if Linux doesn't know it's dying. 🔋

    Full NUT setup guide for Linux — driver detection, graceful shutdowns, email alerts & proper shutdown testing. Great for homelabs & older UPS hardware.

    medium.com/@chribonn/48f962977

    #Linux #Homelab #SysAdmin #NUT #SelfHosted #TTMO

  10. Your UPS is useless if Linux doesn't know it's dying. 🔋

    Full NUT setup guide for Linux — driver detection, graceful shutdowns, email alerts & proper shutdown testing. Great for homelabs & older UPS hardware.

    medium.com/@chribonn/48f962977

    #Linux #Homelab #SysAdmin #NUT #SelfHosted #TTMO

  11. NUT (Network UPS Tools) is nearly 30 years old, GPL-licensed, and still the best way to monitor your UPS on Linux — but setup can get tricky with older or obscure hardware.

    New guide covers the full stack: driver detection, immutable battery thresholds, upsmon shutdown logic, email alerts & testing with forced shutdown commands.

    Essential reading for homelab and Linux sysadmins. 🔌

    alanbonnici.com/2026/03/settin

    #NUT #Linux #Homelab #SelfHosted #OpenSource #SysAdmin #UPS #FOSS #TTMO

  12. NUT (Network UPS Tools) is nearly 30 years old, GPL-licensed, and still the best way to monitor your UPS on Linux — but setup can get tricky with older or obscure hardware.

    New guide covers the full stack: driver detection, immutable battery thresholds, upsmon shutdown logic, email alerts & testing with forced shutdown commands.

    Essential reading for homelab and Linux sysadmins. 🔌

    alanbonnici.com/2026/03/settin

    #NUT #Linux #Homelab #SelfHosted #OpenSource #SysAdmin #UPS #FOSS #TTMO

  13. Robin Greenfield spends a year growing and foraging his own food

    GROCERY DELIVERY AND MEAL KITS, IMAGINE TAKING THE STEP OUT OF SOCIETAL NORMS. THAT’S EXACTLY WHAT ONE ENVIRONMENTAL ACTIVIST IS DOING RIGHT NOW. HE’S TWO MONTHS INTO A CHALLENGE TO FORAGE A HUNDRED PERCENT OF HIS…
    #dining #cooking #diet #food #Food #foraging #ForsythPark #Fruit #growing #Nut #RobinGreenfield #savannah #trees
    diningandcooking.com/2549272/r

  14. Robin Greenfield spends a year growing and foraging his own food

    GROCERY DELIVERY AND MEAL KITS, IMAGINE TAKING THE STEP OUT OF SOCIETAL NORMS. THAT’S EXACTLY WHAT ONE ENVIRONMENTAL ACTIVIST IS DOING RIGHT NOW. HE’S TWO MONTHS INTO A CHALLENGE TO FORAGE A HUNDRED PERCENT OF HIS…
    #dining #cooking #diet #food #Food #foraging #ForsythPark #Fruit #growing #Nut #RobinGreenfield #savannah #trees
    diningandcooking.com/2549272/r

  15. Как подключить ИБП Энергия Smart к мониторингу NUT

    tldr: ИБП использует Modbus (а не Megatec/Voltronic), параметры BAUDRATE = 9600, DEVICE_ID = 10, START_ADDR = 30000. У меня была задача - купить ИБП для домашней системы хранения / homelab сервера. Идея была купить что-то не слишком дорогое, с возможностью подключения внешних АКБ и мониторинга через стандартный протокол NUT (Network UPS Tools, стандартный протокол по которому можно мониторить UPS в linux, NAS типа Synology и т.д.) .

    habr.com/ru/articles/1005742/

    #ups #nut #modbus

  16. How come we still don't have anything simpler to configure a bludy #UPS! Damn it!

    #homelab #linuxAdmin #NUT

  17. How come we still don't have anything simpler to configure a bludy #UPS! Damn it!

    #homelab #linuxAdmin #NUT

  18. #Nut #Bolt #Puzzle #Games no #install

    Nut Bolt Puzzle Game, Develop into a professional at unscrewing nuts and bolts whereas Nut Bolt Puzzle Game no install, having fun with the exciting journey forward. Start on an Game no install, exhilarating excursion where bolts, nuts, and wooden puzzles no install, intertwine to create a mind-boggling challenge. Plunge into a earth
    freefunarena.com/game/nut-bolt-puzzle-game-no-install

  19. Run done, ramen restaurant lunch done, grocery shopping done, now a nostalgia sweet and some current events reading.

    #pearsons #maple #nut #goodies

  20. Run done, ramen restaurant lunch done, grocery shopping done, now a nostalgia sweet and some current events reading.

    #pearsons #maple #nut #goodies

  21. #CentralAsia’s #fruit and #nut #forests: the real Garden of Eden?

    Birthplaces of some of the world’s most beloved snacks

    by Monica Evans
    17 December 2020

    "Millions of years ago, in the temperate montane forests of a little-known region in Central Asia, some of the world’s best-loved fruit and nut trees began to grow. #Apples, #apricots, #cherries, #plums, #grapes, #figs, #peaches, #pomegranates, #pears, #almonds, #pistachios and #walnuts all originated in the hills and valleys of the #TianShan mountain range, which stretches from #Uzbekistan in the west to #China and #Mongolia in the east.

    "The area is volcanic and geologically tumultuous, but fertile – scientists have hypothesized that in a place prone to frequent eruptions, earthquakes and landslides, shorter-lived tree species that could disperse their seeds widely by making themselves palatable to large mammals had a better shot at survival than long-lived, slow-maturing trees.

    "And that tasty survival strategy has served these species well. For residents of the region, the foods represent both security and social currency. 'From the taxi drivers to the ministers to the local people, almost everyone carries some #DriedFruit or #Nuts with them,' says Paola Agostini, a lead natural resources specialist for Europe and Central Asia at the World Bank. 'It’s like this safety net, and it’s also a lovely gift: something to share with others that is always appreciated.'

    "Central Asian marketplaces offer a cornucopia of colors, flavors, textures and varieties – many more than those most of us are accustomed to finding in our local supermarket’s produce aisle. 'I was always astonished that people in the region could so easily tell which country a particular dried apricot came from,' says Agostini. 'Their knowledge of these products is just so deep.'

    "Procuring and sharing these energy-dense treats is an ancient practice in the area. Fruit and nuts were major commodities on the Silk Road, an ancient network of trade routes that tracked through the heart of Central Asia, linking Europe, the Middle East and Asia, from the first century BC through to the mid-1400s. Over centuries of trade and travel – and lots of munching by humans, camels and horses along the way – prized fruit and nut species spread their seeds wider and wider, and new hybrid varieties were created, many of which are now supermarket and home-orchard staples, cultivated enthusiastically in temperate regions across the globe.

    "Narratives of plant domestication often tend to overstate the role of humans, but newer science suggests that 'evolution in parallel' with the plants we love is often a more accurate way of framing this process. 'It’s very unlikely that when somebody took an apple from #Kazakhstan and carried it across an entire continent, they were thinking that they could cross it with another variety and end up with something better,' says #RobertSpengler, a paleo-ethnobotanist at the Max Planck Institute in Jena, Germany. 'They were more likely just carrying the seeds to plant somewhere else. And in doing so, they inadvertently set off a chain reaction of hybridization events.'

    "According to Spengler’s research into the origins of apples, humans were not the first mammals to participate in that process of dispersal and co-evolution, either. In the late #Miocene, which spanned the period from 11.63 to 5.33 million years ago, large mammals such as #mammoths and #horses played critical roles in dispersing apple seeds and facilitating their evolutionary process into the large, sweet, flavor-rich fruits we enjoy today."

    Learn more:
    thinklandscape.globallandscape

    #SolarPunkSunday #Ethnobotany #PlantHistory #SaveTheForests #SaveTheTrees #FruitTrees #NutTrees

  22. #CentralAsia’s #fruit and #nut #forests: the real Garden of Eden?

    Birthplaces of some of the world’s most beloved snacks

    by Monica Evans
    17 December 2020

    "Millions of years ago, in the temperate montane forests of a little-known region in Central Asia, some of the world’s best-loved fruit and nut trees began to grow. #Apples, #apricots, #cherries, #plums, #grapes, #figs, #peaches, #pomegranates, #pears, #almonds, #pistachios and #walnuts all originated in the hills and valleys of the #TianShan mountain range, which stretches from #Uzbekistan in the west to #China and #Mongolia in the east.

    "The area is volcanic and geologically tumultuous, but fertile – scientists have hypothesized that in a place prone to frequent eruptions, earthquakes and landslides, shorter-lived tree species that could disperse their seeds widely by making themselves palatable to large mammals had a better shot at survival than long-lived, slow-maturing trees.

    "And that tasty survival strategy has served these species well. For residents of the region, the foods represent both security and social currency. 'From the taxi drivers to the ministers to the local people, almost everyone carries some #DriedFruit or #Nuts with them,' says Paola Agostini, a lead natural resources specialist for Europe and Central Asia at the World Bank. 'It’s like this safety net, and it’s also a lovely gift: something to share with others that is always appreciated.'

    "Central Asian marketplaces offer a cornucopia of colors, flavors, textures and varieties – many more than those most of us are accustomed to finding in our local supermarket’s produce aisle. 'I was always astonished that people in the region could so easily tell which country a particular dried apricot came from,' says Agostini. 'Their knowledge of these products is just so deep.'

    "Procuring and sharing these energy-dense treats is an ancient practice in the area. Fruit and nuts were major commodities on the Silk Road, an ancient network of trade routes that tracked through the heart of Central Asia, linking Europe, the Middle East and Asia, from the first century BC through to the mid-1400s. Over centuries of trade and travel – and lots of munching by humans, camels and horses along the way – prized fruit and nut species spread their seeds wider and wider, and new hybrid varieties were created, many of which are now supermarket and home-orchard staples, cultivated enthusiastically in temperate regions across the globe.

    "Narratives of plant domestication often tend to overstate the role of humans, but newer science suggests that 'evolution in parallel' with the plants we love is often a more accurate way of framing this process. 'It’s very unlikely that when somebody took an apple from #Kazakhstan and carried it across an entire continent, they were thinking that they could cross it with another variety and end up with something better,' says #RobertSpengler, a paleo-ethnobotanist at the Max Planck Institute in Jena, Germany. 'They were more likely just carrying the seeds to plant somewhere else. And in doing so, they inadvertently set off a chain reaction of hybridization events.'

    "According to Spengler’s research into the origins of apples, humans were not the first mammals to participate in that process of dispersal and co-evolution, either. In the late #Miocene, which spanned the period from 11.63 to 5.33 million years ago, large mammals such as #mammoths and #horses played critical roles in dispersing apple seeds and facilitating their evolutionary process into the large, sweet, flavor-rich fruits we enjoy today."

    Learn more:
    thinklandscape.globallandscape

    #SolarPunkSunday #Ethnobotany #PlantHistory #SaveTheForests #SaveTheTrees #FruitTrees #NutTrees