Showing posts with label Node-Red. Show all posts
Showing posts with label Node-Red. Show all posts

April 01, 2024

IVT, Bosch heat pump easy integration, NodeRed

If you are running the IVT Anywhere or the Bosch Easy remote app you probably also can retrieve its data with for example NodeRed. 

With the nice application Bosch XMPP you can set up an integration with the cloud service supplied by your vendor.


March 01, 2024

OpenPlotter V3, install guide

Updated 2024-03-01 !

OpenPlotter(OP), a Boat Navigation application, is really a nice and simple installation of
and other supporting applications for Your boat.

An overall information about the OP package is found here.

February 10, 2024

DMI forecast API for atmosphere, ocean and sea ice, free !

Updated 2024-02-10

DMI is the Danish Meteorological Institute and the
 Open Data API provides free and open access to DMI’s data.They are covering a pretty big area not just Denmark.

I'm maintaining the weather station for Domstens yacht club and have become really interested in weather "issues".

The actual use case for me is that I have to change the mooring, of our boat, if the water level exceeds 60 cm from normal. For several years I have been searching for a free forecast API so I can get an early warning when the water level rises.

Node-Red is used.

January 08, 2024

Install Weather34 with WeatherLink, v2 API

Updated 2024-01-08 OK with Bookworm 64 bit, PHP 8.2 !

This post is an update from a former post which handles on how to set up a weather WEB-site with data from Davis Weather Link(WL) but here adapted to the latest WL API v2.

Any product that reports weather data to WL can be used as a source for this weather template.

This is made without additional software such as Cumulus, Weather display or the Meteobridge product.

December 01, 2023

Signal K quick install

Updated 2023-12-01 !

I have got some questions installing, just, Signal K(SK) so will do a summary, on a Raspberry Pi, with links.

Signal K is the hub to receive data, from different devices in different data formats, and send it on to different equipment, or databases, in different formats. Most common for standard marine equipment are the old NMEA 0183 and the newer NMEA 2000 protocol which is also handled. 

Besides the SK "hub" function developers have created plugins for different purposes. This is due to that SK is open-source ! Sharing is caring !

In this post you can check the devices I'm using connected to the SK server and also my setup.

November 05, 2023

SignalK, measuring temperature

Updated 2023-11-05 !

An introduction to the SignalK, Marine application, is given here.

A very easy way to measure temperature with Raspberry Pi, RPi, is to connect one wire (1W) DS18B20 (DS)temperature sensors direkt to the RPi GPIO.

Here You find a post where the temperatures are transfered via WiFi

October 30, 2023

RuuviTag and Node-Red

 Updated 2023-10-30 ! OK with Bookworm ! New simple install ! 

For a new project I needed a small wireless temperature sensor, there You don't have to change battery so often, and this gave the RuuviTag.


Having used Node-Red(NR) on Raspberry Pi before, the first application was this dashboard. 
Tested and works with with Node.js V18 !












September 13, 2023

Remote access, remote.it, made simple

Sometimes it's really nice to reach your applications at home when you are somewhere else. 

There are several applications but this post will be describe a really quick setup with remote.it on a Raspberry Pi(RPi) or another Linux platform. Of course there also is a Windows version.

For non-commercial use, with up to 5 devices, it's free !

The most used services are; http, ssh, vnc, rdp, SAMBA(smb/cifs) .....

I'm using it to display NodeRed dashboard, access servers with "ssh" and file sharing with SAMBA there all applications are running on RPi:s at home.

August 10, 2023

Optimizing your energy, electricity, bill. NodeRed !

In this post I will give some thoughts, high level, and methods for matching the hourly prices from your energy supplier.

I will also list some gadgets and by using NodeRedget the data, visualize it and control the consumption.

So in that perspective there are some needed prerequisites.....

July 12, 2023

Bluetooth and Node-Red

Updated 2023-07-12 !

There are some Node-Red nodes, (NRN), that are dependent on the old Noble package which don't work on Node > v8. 


One nice and simple NRN is the node-red-contrib-noble which have the same problem. I picked up the freshest source, dependent on @abandonware/noble, forked it and added install instructions. It works with Node <= v18. 

March 27, 2023

Node-Red on MCU:s, Raspberry Pi Pico W

Since I'm not a programmer, and probably never will be 😉, I really like Node-Red(NR). NR is also a nice way trying to learn some JavaScript via the function nodes.

I also appreciate hardware, MCUs, like ESP32 and Raspberry Pi Pico but find it a little hard to code in MicroPython or C++.

Somewhere ?? on the WEB i found some applications that can export NR json code to C++ and run it on several MCUs.

As you understand I had to check it out... 

March 12, 2023

Upgrade from Buster to Bullseye, Raspberry

Uppdated 2023-10-28 !

I have been running a Raspberry Pi 2(RPi) for several years with Buster and the applications;

When I started with the RPi it was Jessie, then Stretch and Buster. Every time I upgraded the SD card to the latest OS and it just worked. It should been said that I always waited a year or so and I'm using the RPi headless without any GUI.

Now it was time to go from Buster to Bullseye !

February 21, 2023

Receive temperature, 433 MHz sensors, with RTL-SDR

In my underfloor heating project, using Node-RED, I have to have one sensing thermometer per room/zone, seems to be 8 in total, so therefore it would be nice with a wireless battery sourced device with good resolution and frequent updates.

During the test phase I used a Z-way device but the resolution was pretty bad. Another device mentioned is the Ruuvi tag but since it's a bluetooth device the transmitting range could be better.

After some googling I went for 433 MHz devices.

February 14, 2023

Underfloor heating with PID controller, NodeRed

In a former post I did some hacking/checking how our underfloor heating control system handled the valves, actuators, regulating the heat. 

Now it was time to do some tests with NodeRed(NR), with a PID controllerand a Shelly 1(S1) connected via WiFi and driving the actuator.

The actuators are in my case controlled by 24 VAC and the S1 accepts 110 - 240 VAC, 24 - 60 VDC and 12 VDC. So in this case it was simple to just add a rectifier and a capacitor, to the 24 VAC, to get approx 36 VDC to source the S1.

December 18, 2022

CTC heatpump MODBUS interface

The installation of a CTC heat pump(HP), EcoAir 600, and the indoor module, Eco Zenith i360, was not optimal from the beginning, so to monitor it closely I checked how to retrieve data. 

The newer CTC HP:s are always shipped with a MODBUS TCP interface, without any additional hardware, which solved the issue.

MODBUS was new to me but after some reading and checking I found that there is a NodeRed node which solves the interface dialog.

November 28, 2022

Calculate wind using U and V GRIB components, NodeRed, JS

Updated 2022-11-28 !

In a former post I showed how to download and extract data from forecast GRIB files but avoided to handle if the wind direction and speed was declared as U and V components, vectors. 

In this post I will extract wind data from a GRIB forecast file and use the U V components to calculate, and display, wind speed and direction at a chosen point. The data is visualized as graphs in a NodeRed dashboard.

Normally, using charts in NodeRed, the timestamp is taken from the time when the input message is created but here I will use the timestamp from the forecast, loading the whole chart in one go.

October 01, 2022

Internet speed measure II

New to Node-Red(NR) ? Maybe start with a simple application You direct can benefit from.

This application is measuring Your Internet connection at chosen intervals using speedtest.net and showing the result in a graph. If the speed is under a set value it will send You an e-mail.

Show the measured Internet speed in Apples Home app ?

August 14, 2022

Node-Red quick install

Updated 2022-08-14 !

Node-Red(NR) is Flow-based programming for the Internet of Things

This post isn't made as a complete install guide, there are several, just some links to the best information I have found.

The best thing is that even if you don't are a skilled programmer, but like logic flows, you can make really advanced things. It's pre-installed on some Raspberry Pi(RPi) distributions.

July 27, 2022

RS-232 with displays & AV equipment

The use case for this post is that a got a request from a customer where a commercial displays brightness, used for digital signage, should be put at a minimum when there is no people in the surroundings.

After some checking I found that on most displays, even on our own TV set, there is a
 connector for the RS - 232 protocol that accepts commands similar to the commands sent by the remote control.

A nice explanation on how it works is found here.

July 04, 2022

Node-Red multiple instances, RPi

Updated 2022-07-04 !

O
n the same server/hardware you can have
  • a test environment for Node-Red(NR), separated from production
  • separated instances for different applications
Setup will follow for a Raspberry Pi(RPi) including how to auto start at power on.

A post for NR quick install.