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

June 10, 2022

Exhaust temperature measure, boat

Updated 2022-06-10 !

In other posts I blogged about a way to measure temperature with a Raspberry Pi(RPi), direct connected or via WiFi, together with the marine applikation SignalK(SK). In this post I will follow up with a short brief about the practical solution, measuring exhaust temperature in a boat and sending an alarm if the temperature exceeds a set value .

In "wet exhaust" systems it is very important that the cooling water, injected in the exhaust system, always is present otherwise major damages can follow.

If you wan't to avoid a RPi check this post with approved NMEA 2000 temperature sensors from Yacht Devices 

February 20, 2022

WeatherLink weather template, v2 API

I have written a post with the same subject before, also using NodeRed(NR), but this post is using the latest WeatherLink v2 API instead of the v1 API

The v2 API supports more devices and now also including the old ones.

If You want a more advanced weather site this is a very nice one coded in PHP also using the v2 API.

October 15, 2021

SIGNL4, automated alerting with free mobile app

I'm involved in several projects where you, as quick as possible, want to get an alert if anything fails. After a lot of Googling I found SIGNL4.

They have several ways to create an alert, can involve a team, have a nice app and is free, up to 5 users, if you use the "STARTER" option.

In this post, as an example, I will show how I detect if my AIS receiver/dispatcher stops receiving AIS targets, sent to Vesselfinder, and how an alert is forwarded to the SIGNL4 app.

I'm using NodeRed on a Raspberry Pi to realize the function

August 24, 2021

Ring doorbell install and relay

The electrical install instructions for the Ring Doorbell maybe could be a little easier to find  ? 

So will give some links where you are connecting to
  1. Internal doorbells
  2. No internal doorbell but charging the battery
  3. External relay, triggering "anything"
  4. Wireless relay

Ring Device manuals are found here.

July 07, 2021

MySQL and NodeRed

Updated 2021-07-07 !

Sometimes the syntax for the Javascript in Node-Red is a little hard to get, despite some Googling. This was evident when i tried the run the "
node-red-node-mysql" node inserting data in a MySQL database.

Also timestamps in different environments are a little complicated.

So this post will cover both areas with some code examples done on a Raspberry Pi.

July 01, 2021

Raspberry fan control, Node-Red


Updated 2021-07-01 !

Do You want to have control over the Raspberry Pi(RPi) ? 

Functions
  • CPU Temperature
  • CPU Load %
  • Free RAM %
  • Disk Usage %
  • Shutdown and Reboot buttons
  • Fan PWM control via GPIO
Other NR posts on this site

March 13, 2021

SignalK switch with NodeRed and WilhelmSK

Updated 2021-03-13 !

Here I'm trying to do the "ultimate" SignalK switch blog post including(no N2K)
  • Shelly 1 as the hardware switch
  • NodeRed as the function engine
  • NodeRed dashboard as input/output interface
  • WilhelmSK as input/output, check picture
  • A http endpoint as state sensing
The post is ment to be a template where you can pick the parts which are right for your setup.

February 15, 2021

Raspberry Pi measuring Voltage

I'm always a little confused that as soon as someone wants to get an analog measure to a Raspberry Pi(RPi) they are often taking a detour via an Arduino/ESP or some other microcontroller. 

Why not just take an Arduino peripheral and use it together with a RPi ? 

In my case I needed to measure the voltage across a fresh water tank level sensor in our boat, but i could be any DC voltage. Hints for sending the data to a Signal K(SK) server is found below. 

In this post I will use an ADS 1115(AD), or ADS 1015, as AD converter.

January 01, 2021

Scanner GUI with NodeRed

In a former post I installed CUPS printer software for a Cannon printer. The scanning functionality is supported by the package SANE. But there is no nice GUI for the scanning function so I made one, with NodeRed(NR), which I really think is "wife" enabled.



December 27, 2020

Homebridge, retrieve accessories information & status

Having Homebridge(HB) up and running it's simple to retrieve and visualize status or measurements from accessories.

For example I'm using the Aeotec MultiSensor 6,(AM6), via the z-way plugin, where I'm sensing the light level. Since Im living in northern Europe it's not very accurate to switch the indoor lightning by sun-rise/set. So instead I'm using the AM6 together with the EVE app to switch the lightning. 

To visualize the measured values over time I'm using NodeRed(NR) and a HomeBridge plugin

October 15, 2020

WeatherLink weather template

Updated 2022-02-21 !

If You are interested in building Your own weathersite with information from Davis Weatherlink(DWL), and don't are a skilled programmer I can really recommend Node-Red(NR). In this post I give an example how to start with the NR dashboard GUI and DWL V1 API.


!! Please note new version with the latest v2 API !!

If You want a more advanced weather site/template this is a very nice one coded in PHP.


August 09, 2020

SignalK, stream data changes

Are You searching for a solution where You want to create graphs and gauges from SignalK(SK) data ?

Use NodeRed(NR), installed as a SK plugin, with the standard dashboard and it's easy to create info as seen in the picture. And this is without a database as InfluxDB and tools like Grafana.

You use the WebSocket interface and subscribe to any change of data from the SK server. 

July 07, 2020

SignalK, measuring temperature II

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

A very easy way to measure temperatures with SK is to use one wire (1W) DS18B20 (DS)temperature sensors. 

In a former post the DS:s where connected direkt to the RPi GPIO:s, but in this post they are WiFi enabled via the Shelly 1(S1). Alarms are also sent when the temperature exceeds a set value.

If humidity is of interest You can use a  DHT22 sensor instead of a DS sensor.

May 09, 2020

HomeKit showing Humidity & Internetspeed

From AppleWatch
Strange mixture ? Humidity & Internetspeed ? 

With HomeKit You can't show Your measured Internet speed in a proper way,  X Mbit/s. So why not show it in % ? the measured speed compared to the one You purchased from Your ISP(Internet Service Provider) ? 

So now You see the point..... Humidity is also in % and can be displayed in the Home app. The only "if" is that the speed is displayed along with a "water drop"..... but maybe You can live with that ? 

May 03, 2020

HomeKit with "ANY" temperature source

From AppleWatch
As long as it's possible to retrieve information, in some way, from a sensor OR a website/webserver, with temperature information, it's possible to show it in HomeKit with HomeBridge(HB).

In this post NodeRed(NR) is retrieving the temperature from Your selected source and is also acting as the WEB endpoint for the HB  "homebridge-http-temperature" plugin.

In my case I wanted an outside temperature so used the measurements from our Davis Weather station and their JSON REST API but it could for example be Your Raspberry CPU temp or showing the speed of Your Internet connection.

April 02, 2020

Underfloor heating hack

I have tried to find some basics how a standard underfloor control system is regulating the heating, but haven't, so started with checking up our own temperature control system from LK(TCS).

I used Node-Red, with Raspberry Pi(RPi), sensing when the TCS applied voltage to the actuator. Since the actuator is running on 24 VAC and the input on a GPIO PIN is maximum 3,3 VDC I used a optocoupler to level shift. Schematics below

Please find another post here where I realized, using Shelly 1 and NodeRed, the regulating of the underfloor !!


February 17, 2020

Node-Red & Mosquitto quick install


A fantastic way to distribute data between devices is using MQTT. In this post I will do a quick and simple setup with Node-Red(NR) and the Mosquitto(MQ) broker on a Raspberry Pi.

Very short, the Broker, installed on a server, handles incoming Publishing and Subscriptions from clients. Every published Message is "linked" to a Topic. All Subscribers use a Topic to "link" to the right Message.

How to install Node-Red(NR) is found here and the MQ manual here.

August 10, 2019

Internet speed measure

Updated 2019-08-10 !

New to Node-Red(NR) and maybe start with a simple application You can benefit direct 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 email.

New ! better version !