https://www.home-assistant.io/blog/2017/05/13/home-assistant-on-orange-pi-zero/
Year: 2021
MQTT Testing – Home Assistant
The mosquitto
broker package ships commandline tools (often as *-clients
package) to send and receive MQTT messages. As an alternative have a look at hbmqtt_pub and hbmqtt_sub which are provided by HBMQTT. For sending test messages to a broker running on localhost check the example below:
Another way to send MQTT messages manually is to use the “MQTT” Integration in the frontend. Choose the “Configuration” tab, click “Integrations” and click the “Configure” option under the “MQTT” integration. Enter something similar to the example below into the “topic” field under “Publish a packet*.
and in the Payload field
In the “Listen to a topic” field, type # to see everything, or “home-assistant/switch/#” to just follow the published topic. Press “Start Listening” and then press “Publish”. The result should appear similar to the text below
For reading all messages sent on the topic home-assistant
to a broker running on localhost:
Suggest an edit to this page, or provide/view feedback for this page.
Source: MQTT Testing – Home Assistant
GitHub – zachowj/hass-node-red: Companion Component for node-red-contrib-home-assistant-websocket to help integrate Node-RED with Home Assistant Core
Installation
This integration is available in HACS (Home Assistant Community Store)
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder callednodered
. - Download all the files from the
custom_components/nodered/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- Refresh your browser window (bug in HA where it doesn’t update the integration list after a reboot)
- In the HA UI go to “Configuration” -> “Integrations” click “+” and search for “Node-RED Companion”
Using your HA configuration directory (folder) as a starting point you should now also have this:
custom_components/nodered/translations/en.json
custom_components/nodered/__init__.py
custom_components/nodered/binary_sensor.py
custom_components/nodered/config_flow.py
custom_components/nodered/const.py
custom_components/nodered/discovery.py
custom_components/nodered/manifest.json
custom_components/nodered/sensor.py
custom_components/nodered/services.yaml
custom_components/nodered/switch.py
custom_components/nodered/websocket.py
Home Assistant OS – Google Search
Home Assistant Operating System (HassOS) is based on buildroot. It’s a hypervisor for Docker and supports various kind of hardware.
Scargill’s Tech Blog – Anything to do with gadgets – the stuff that gets me up in the morning full of enthusiasm
Thomas J. Kelly (aerospace engineer)
Thomas Joseph Kelly (June 14, 1929 – March 23, 2002) was an American aerospace engineer. Kelly primarily worked on the Apollo Lunar Module, which earned him the name of “Father of the Lunar Module” from NASA.
Kelly graduated from Cornell University in 1951, where he was a member of the Quill and Daggersociety. Afterwards, Kelly obtained his MS degree from Columbia University and Ph.D. from the Polytechnic Institute of Brooklyn.
Kelly was the project engineer, engineering manager and deputy program manager for Grumman Aircraft‘s Apollo Lunar Module (1962–1970). His 2001 book Moon Lander: How We Developed the Apollo Lunar Module documents the process of designing, building and flying the Lunar Module.
Kelly was portrayed by Matt Craven in the 1998 miniseries From the Earth to the Moon.
https://en.wikipedia.org/wiki/Thomas_J._Kelly_(aerospace_engineer)
Charles Lindbergh
WireGuard
WireGuard is a communication protocol and free and open-source software that implements encrypted virtual private networks (VPNs), and was designed with the goals of ease of use, high speed performance, and low attack surface. It aims for better performance and more power-saving than the IPsec and OpenVPN tunneling protocols. The WireGuard protocol passes traffic over UDP.
In March 2020, the Linux version of the software reached a stable production release and was incorporated into the Linux 5.6 kernel, and backported to earlier Linux kernels in some Linux distributions. The Linux kernel components are licensed under the GNU General Public License(GPL) version 2; other implementations are under GPLv2 or other free/open-source licenses.
#include – Arduino Reference
#include
is used to include outside libraries in your sketch. This gives the programmer access to a large group of standard C libraries (groups of pre-made functions), and also libraries written especially for Arduino.
The main reference page for AVR C libraries (AVR is a reference to the Atmel chips on which the Arduino is based) is here.
Note that #include
, similar to #define
, has no semicolon terminator, and the compiler will yield cryptic error messages if you add one.
Syntax
#include <LibraryFile.h>
#include "LocalFile.h"
https://www.arduino.cc/reference/en/language/structure/further-syntax/include/