Резервный мониторинг послушного дома

Хотя концепция "умного дома" в полном объёме мало кем используется в жизни (и ещё меньше кем самостоятельно реализована), отдельные его компоненты - разного рода датчики, умные розетки, камеры и прочее, с доступом через "облако" - давно не редкость. До покупки дачи меня всё это слабо волновало - в квартире я вполне обходился механическими выключателями и градусником на окне. Тем не менее, необходимость следить за состоянием загородного дома вынудила заняться этим вопросом и я пошёл по самому простому пути с MiHome и кучей датчиков. Конечно, в нём хватает проблем - баги, которые не устраняют годами, датчики для разных регионов, периодически [кратковременно] отваливающееся облако. В целом, однако, всё это удовлетворительно работает уже не первый год, технического интереса не представляет и рассказать я хотел не об этом. Вопрос, который меня всерьёз стал беспокоить уже на вторую зиму ((а именно зима - самый проблемный сезон) - необходимость в резервном решении на случай, если информация от MiHome перестанет поступать и надо будет решать - нужно ли срочно ехать и топить/чинить дом или можно ещё подождать, пока проблема сама рассосётся. Основных причин прекращения поступления информации три:

https://habr.com/ru/articles/817001/

#esp32 #postgraphile #nodejs #arduino

Резервный мониторинг послушного дома

"Мне нужен не умный дом, мне нужен послушный дом" - / из Интернета / Хотя концепция "умного дома" в полном объёме мало кем используется в жизни (и ещё меньше, кем самостоятельно реализована),...

Хабр
#PostGraphile V5 beta is now publicly available and we need your help to get it ready for release! If you use V4 already, find out how you can help in our announcement blog post: https://dev.to/graphile/postgraphile-v5-public-beta-get-involved-1lg9
PostGraphile V5 public beta — get involved!

It’s finally here! The day has come that you can get your hands on an early release of...

DEV Community
Part two is out now, in which @Benjie introduces the new unified plugin and preset system in #PostGraphile version 5 https://dev.to/graphile/intro-to-postgraphile-v5-part-2-plugins-and-presets-26fe #GraphQL #Node
Intro to PostGraphile V5 (Part 2): Plugins and Presets

Benjie is the community–funded maintainer of the Graphile suite — a collection of MIT–licensed...

DEV Community
In our new blog post series, we are beginning to lift the curtain of secrecy which has surrounded Version 5 for the past few years. Each week, @Benjie will dive in to a key feature of this massive new release - this week is an exploration of replacing the look-ahead system https://dev.to/graphile/intro-to-postgraphile-v5-part-1-replacing-the-foundations-3lh0 #GraphQL #Grafast #PostGraphile
Intro to PostGraphile V5 (Part 1): Replacing the Foundations

Benjie is the community–funded maintainer of the Graphile suite — a collection of MIT–licensed...

DEV Community
J'utilise avec succès et plaisir https://www.graphile.org/postgraphile/ depuis fin 2019.
Lors d'un #spike de https://postgrest.org j'ai la mauvaise surprise de constater que contrairement à #Postgraphile (GraphQL) les routes #PostgREST ne sont pas personnalisables avec des commentaires #postgres 😥

Bien que #PostgREST est plus ancien (2014) que #Postgraphile (2016), je trouve ce dernier plus complet, plus paramétrable.
C'est dommage, je vais devoir trouver une autre solution, 😥 j'ai pris l'habitude de la génération d'API par introspection avec #Postgraphile.
Graphile | Powerful, Extensible and Performant GraphQL APIs Rapidly

Utilities to build powerful, performant and extensible GraphQL APIs rapidly

« Ask HN: Example of row-level security in open source project? » 👍 #Postgraphile #PostgreSQL #RLS
https://news.ycombinator.com/item?id=26921178
Ask HN: Example of row-level security in open source project? | Hacker News

stephane-klein/poc-serveyjs-gatsby

Survey Forms as code (TypeForm, Google Forms alternative) based on SurveyJS + Gatsby + Postgraphile - stephane-klein/poc-serveyjs-gatsby

Pour le moment, pas de problèmes majeurs rencontré chez https://www.spacefill.fr avec #PostgreSQL #RLS + #Postgraphile pour gérer finement les droits d'accès #GraphQL
Je pense que la fonctionnalité « Row-Level Security (RLS) policies » (https://www.postgresql.org/docs/current/static/ddl-rowsecurity.html) de #PostgreSQL permet par exemple à #Postgraphile de répondre à problématique de finesse des droits d'accès abordée dans cet article https://www.sennder.com/post/the-rise-and-fall-of-graphql-at-sennder
PostgreSQL: Documentation: 12: 5.8. Row Security Policies