This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 \ | |
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |