Skip to content

Instantly share code, notes, and snippets.

View roboticboyer's full-sized avatar
🏠
Working from home

Giorgio Boiero roboticboyer

🏠
Working from home
  • Robotic Boyer
  • Piossasco Italy
View GitHub Profile
@krdarrah
krdarrah / ATMEGA328P_TEST.ino
Last active April 1, 2024 20:25 — forked from speters/uid.ino
Arduino atmega328p unique id/serial number
//found this code here
//https://gist.github.com/speters/f889faec42b510052a6ab4be437d38ca
//Purpose is to simply run a memory check on ATMEGA238P to test for counterfeit parts
#include <avr/boot.h>
#define SIGRD 5
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
.ipynb_checkpoints
@Paraphraser
Paraphraser / MQTT_Node-Red_Influx.md
Last active April 5, 2024 00:20
Efficient recipe for getting MQTT data into an InfluxDB database using Node-Red

Recipe: from MQTT to InfluxDB via Node-Red

  • 2023-12-02 revise graphics to correspond with InfluxDB-in node, and explain the pros and cons of InfluxDB 1.8 vs InfluxDB 2.

Introduction

Getting data produced by IoT sensors into a database is practically a mandatory step before effective visualisation (eg dashboards).

This recipe shows you how to get an MQTT payload into an InfluxDB database using three Node-Red nodes. It makes the following assumptions:

@Acuf5928
Acuf5928 / Main.py
Last active August 16, 2017 13:32
# -*- coding: utf-8 -*-
# NOTE: richiede intallazione di jinja via pip install jinja2
# NOTE: testato su
import urllib.request
import csv
from datetime import datetime
from jinja2 import Template
import io
def cazzillo_text_parser(cazzillotext):