Skip to content

Instantly share code, notes, and snippets.

View dirkjanfaber's full-sized avatar

Dirk-Jan Faber dirkjanfaber

View GitHub Profile
@dirkjanfaber
dirkjanfaber / README.md
Last active August 23, 2026 08:34
Solar yield forecasting using forecast.solar

This subflow uses the http request node to fetch solar forecasts for geographical positions, using the API from https://forecast.solar/. Please check their website and consider getting a paid account.

Solar forecast flow

Do note that, on a free account, you are limited in the number of requests to do. Also note that the data only gets updated once every 15 minutes, so there is no reason to query more often. There is rate limiting built in the subflow not to perform requests more than once every 15 minutes.

Configuration

Solar forecast properties

@dirkjanfaber
dirkjanfaber / flow.json
Created December 11, 2022 13:31
Update interval of Victron output node in Node-RED flow
[
{
"id": "d1dcac4acb3637a1",
"type": "inject",
"z": "bb43ebac.8ecdd8",
"name": "interval every 30 sec",
"props": [
{
"p": "payload"
},
@dirkjanfaber
dirkjanfaber / README.md
Last active April 21, 2023 13:13
Victron Modbus

This subflow tries to make it easier to use modbus tcp to query and modify Victron Energy equipment via modbus tcp. By default the subflow will try to connect to 127.0.0.1.

Victron Modbus flow

It requires the following node to be added to the palette before installing the subflow:

Installing the subflow is a matter of copying the flow below and pasting it via the Import menu. (ctrl-i)

Unit ID

@dirkjanfaber
dirkjanfaber / README.md
Last active January 4, 2023 12:16
Energy zero

This subflow uses the energy zero API for retrieving the hourly energy prices from the API of https://www.energyzero.nl/ for either today or the next day. These are the prices as they are used by the Dutch energy providers ANWB energie, Energie van Ons and others.

Energy zero

In order not to load the API too heavy a rate limiter of 1 query per 15 minutes has been added to the subflow.

Do note that tomorrows prices can be queried after 15:00, so there is a delay built in the node that handles that.

@dirkjanfaber
dirkjanfaber / README.md
Last active June 2, 2025 09:38
Alecto weatherstation

This subflow node is for retrieving the weather information from an Alecto weatherstation. It does this by listening for post requests.

In order to get this working, you need to add a customized service to the weather station. This can be done in the WS View app, under device list. Under Customized add:

  • Enable - set the Customized service to
@dirkjanfaber
dirkjanfaber / ruuvi-tamper-flow.json
Created May 10, 2023 17:50
Graph Ruuvi tag movement in Node-RED
[
{
"id": "728dba344d605fca",
"type": "victron-input-temperature",
"z": "da916ea9eff5bed3",
"service": "com.victronenergy.temperature/41",
"path": "/AccelX",
"serviceObj": {
"service": "com.victronenergy.temperature/41",
"name": "RuuviTag"
@dirkjanfaber
dirkjanfaber / entsoe.json
Last active May 31, 2023 06:37
Entsoe Node-RED interface
[
{
"id": "e78d2a1efd2c46e1",
"type": "subflow",
"name": "Entsoe",
"info": "",
"category": "",
"in": [
{
"x": 220,
@dirkjanfaber
dirkjanfaber / two-inputs.json
Created June 23, 2023 19:17
Node Red decision flow based on two inputs
[
{
"id": "188103abad4ff1bc",
"type": "tab",
"label": "2 inputs",
"disabled": false,
"info": "",
"env": []
},
{
@dirkjanfaber
dirkjanfaber / gist:21e262da24411ec2dcf96ce89f8407c2
Last active July 5, 2023 10:57
Graph EskomSePush api calls
[
{
"id": "cd12b4d0f3bb0e8c",
"type": "ui_chart",
"z": "482a4fb117466f9e",
"name": "",
"group": "89d78a937bb98c19",
"order": 0,
"width": 0,
"height": 0,
@dirkjanfaber
dirkjanfaber / serial-flow.json
Created August 30, 2023 14:31
Node-Red show serial
[
{
"id": "dbd3635678fe7351",
"type": "victron-input-system",
"z": "fc595badb082c140",
"service": "com.victronenergy.system/0",
"path": "/Serial",
"serviceObj": {
"service": "com.victronenergy.system/0",
"name": "Venus system"