Skip to content

Instantly share code, notes, and snippets.

View SidMarc's full-sized avatar

SidMarc SidMarc

View GitHub Profile
@SidMarc
SidMarc / datalogger_googlesheets_script_v10
Created October 29, 2021 16:15
Google Sheets Script for Datalogger PLCnext Library
// PLCnext Datalogger with Google Sheets
// Version: 1.0 - 29/10/2021
function doGet(e){
return handleResponse(e);
}
function doPost(e){
return handleResponse(e);
}
@SidMarc
SidMarc / start_nodered
Last active May 3, 2019 12:41
Script to start node-red with PLCnext from Phoenix Contact using init.d
#! /bin/sh
### BEGIN INIT INFO
# Provides: node-red
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 6
# Short-Description: Start or stop the node-red server
### END INIT INFO