Skip to content

Instantly share code, notes, and snippets.

View justind000's full-sized avatar

Justin Decker justind000

View GitHub Profile
@justind000
justind000 / main.py
Last active October 1, 2019 09:05
ORP Python
from uFire_ORP import uFire_ORP
orp = uFire_ORP()
orp.measureORP()
@justind000
justind000 / main.cpp
Last active October 1, 2019 09:05
ORP C++
#include <uFire_ORP.h>
uFire_ORP orp;
orp.measureORP()
@justind000
justind000 / main.py
Last active October 1, 2019 09:06
ISE Python example use
from uFire_pH import uFire_pH
ph = uFire_pH()
ph.measurepH()
@justind000
justind000 / main.cpp
Last active October 1, 2019 09:06
ISE C++ example use
#include <uFire_pH.h>
uFire_pH pH;
pH.measurepH();
@justind000
justind000 / ThingsBoard.h
Last active November 13, 2019 17:30
IoT Pool Monitor
#include <WiFi.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
WiFiClient wifiClient;
PubSubClient client(wifiClient);
// your network information
const char *ssid = "";
const char *password = "";
@justind000
justind000 / uFire-net.cpp
Last active April 20, 2020 22:43
uFire.net
#include <WiFiMulti.h>
#include <InfluxDbClient.h> // click to install: http://librarymanager/All#ESP8266-Influxdb
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#define WIFI_SSID "" // WiFi name
#define WIFI_PASSWORD "" // WiFi password
#define INFLUXDB_URL "" // The address of your instance, like 'https://awesome.ufire.net:9999'
#define INFLUXDB_ORG "" // Organization name. It can't have any spaces in it for this library.
#define INFLUXDB_BUCKET "" // Bucket name, // InfluxDB UI -> Load Data -> Buckets -> Make or select a bucket
#define DEVICE "" // The name of this device
@justind000
justind000 / Helium-wq-display.ino
Last active May 4, 2020 14:38
Helium - uFire Project with E-paper display
/* Prior to compiling, install the following libraries:
Isolated EC Probe Interface v1.2.1
Isolated ISE Probe Interface v1.2.0
ArduinoJson v6.14.1
ESP32_LoRaWAN https://github.com/HelTecAutomation/ESP32_LoRaWAN
click links below in the #include section
Follow directions to install the development repository here:
https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series
/* Prior to compiling, install the following libraries:
Isolated EC Probe Interface v1.2.1
Isolated ISE Probe Interface v1.2.0
ArduinoJson v6.14.1
ESP32_LoRaWAN https://github.com/HelTecAutomation/ESP32_LoRaWAN
click links below in the #include section
Follow directions to install the development repository here:
https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series
@justind000
justind000 / MsgPack_Helium.js
Created September 14, 2020 14:20
MsgPack decode for Helium Console - lacks float64
Copyright © 2020, Justin Decker
Copyright © 2019, Yves Goergen, https://unclassified.software/source/msgpack-js
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the “Software”), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
@justind000
justind000 / ADG1608.h
Created November 14, 2020 20:09
Simple class to use the Analog Device ADG1608 8 Channel Multiplexer
/* MIT License
Copyright (c) 2017 Justin Decker
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: