Skip to content

Instantly share code, notes, and snippets.

Mar 3 14:29:52 beaglebone daemon.warn dnsmasq[1419]: ignoring nameserver 127.0.0.1 - local interface
Mar 3 14:29:52 beaglebone daemon.info dnsmasq[1419]: stopped using nameserver 127.0.0.1#53
Mar 3 14:30:23 beaglebone daemon.warn dnsmasq[1419]: ignoring nameserver 127.0.0.1 - local interface
Mar 3 14:30:23 beaglebone daemon.info dnsmasq[1419]: stopped using nameserver 127.0.0.1#53
Mar 3 14:30:53 beaglebone daemon.warn dnsmasq[1419]: ignoring nameserver 127.0.0.1 - local interface
Mar 3 14:30:53 beaglebone daemon.info dnsmasq[1419]: stopped using nameserver 127.0.0.1#53
Mar 3 14:31:23 beaglebone daemon.warn dnsmasq[1419]: ignoring nameserver 127.0.0.1 - local interface
Mar 3 14:31:23 beaglebone daemon.info dnsmasq[1419]: stopped using nameserver 127.0.0.1#53
Mar 3 14:31:54 beaglebone daemon.warn dnsmasq[1419]: ignoring nameserver 127.0.0.1 - local interface
Mar 3 14:31:54 beaglebone daemon.info dnsmasq[1419]: stopped using nameserver 127.0.0.1#53
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit qmakeve
inherit daemontools
SRC_URI = " \
gitsm://github.com/osaether/dbus-tsmppt.git;tag=v${PV};protocol=https \
"
const dbus = require('dbus-native');
const bus = dbus.sessionBus();
if (!bus) {
throw new Error('Could not connect to the DBus session bus.');
}
var services = {};
function signal_receive(m) {
@mpvader
mpvader / dummybattery.py
Last active November 19, 2017 15:14
python script that creates dummy data from a battery monitor on D-Bus
#!/usr/bin/env python
# Simple script that generates dummy data on the D-Bus. Its (only)
# the main readouts on com.victronenergy.battery. All alarms and
# history data are currently missing, but they are simply enough
# to add. For a complete list of data normally available see:
# https://github.com/victronenergy/venus/wiki/dbus#battery-monitor
#
# Note on update rate:
# All paths that change have an update rate of 1 Hz, in this script.