Skip to content

Instantly share code, notes, and snippets.

.#include <DMXSerial.h>
void setup() {
DMXSerial.init(DMXController);
}
unsigned int n = 0;
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use Net::MQTT::Simple;
use Net::Graphite;
# Setup mqtt connection
@daveol
daveol / gateway-stats.pl
Created February 25, 2018 19:15
Put lora statistics in graphite
#!/usr/bin/perl
package GTG;
use strict;
use warnings;
use Date::Manip;
use JSON::Parse 'parse_json';
use Net::Graphite;
[Unit]
Description=Check online
After=network.target
Before=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/fping %i
[Install]

Keybase proof

I hereby claim:

  • I am daveol on github.
  • I am dave_o (https://keybase.io/dave_o) on keybase.
  • I have a public key whose fingerprint is 45B1 095C 97FE B5C7 FED4 0983 86F6 952D 633A 5E55

To claim this, I am signing this object: