profile
viewpoint
ronaldvdmeer ronaldvdmeer Netherlands https://keybase.io/ronaldvdmeer Crypto, security, tech and gadget enthusiast

ronaldvdmeer/yubikey-openpgp-macos-catalina 7

This tutorial describes how to set up your Yubikey with macOS Catalina, generate the keys securely and make it work with your SSH client.

ronaldvdmeer/multical402-4-domoticz 2

Script for reading Kamstrup Mutlical 402 (via IR) information and submit it to multiple virtualdevices in Domoticz

ronaldvdmeer/bitcoin 0

Bitcoin Core integration/staging tree

ronaldvdmeer/botvac 0

PHP library for Neato Botvac

ronaldvdmeer/lightning 0

c-lightning — a Lightning Network implementation in C

ronaldvdmeer/lnd 0

Lightning Network Daemon ⚡️

startedronaldvdmeer/yubikey-openpgp-macos-catalina

started time in a month

issue openedronaldvdmeer/yubikey-openpgp-macos-catalina

gpg-agent & GUI applications

It seems this does not work for GUI-applications (e.g. gitkraken, transmit) using ssh-agent in the background.

For this, adding a .plist for launchd seems to be working:

  • https://evilmartians.com/chronicles/stick-with-security-yubikey-ssh-gnupg-macos
  • https://jms1.net/yubikey/make-ssh-use-gpg-agent.md

created time in a month

startedronaldvdmeer/yubikey-openpgp-macos-catalina

started time in a month

startedronaldvdmeer/yubikey-openpgp-macos-catalina

started time in 2 months

fork Achimh3011/yubikey-openpgp-macos-catalina

This tutorial describes how to set up your Yubikey with macOS Catalina, generate the keys securely and make it work with your SSH client.

fork in 2 months

pull request commentronaldvdmeer/multical402-4-domoticz

Fix for superfluous sensor reading

@ronaldvdmeer this works up to line 335, I don't have Domoticz running so I can't test the rest.

Note that this still over-queries the meter in case you want to run multiple operations on the same index, e.g. the example command queries the meter 3x. Perhaps you could cache the values for all indices the users wants, and then run the Domoticz operations.

Command:

/usr/bin/python3 ./multical402-4-domoticz.py /dev/ttyUSB0 327:60:2:323,322:60:1:323,323:60:0

Output:

=======================================================================================
Kamstrup Multical 402 serial optical data received: 2020-11-18 20:02:41
Meter vendor/type: Kamstrup M402
---------------------------------------------------------------------------------------
Heat Energy (E1)          13.37 Gj
Heat Energy (E1)          13.37 Gj
Heat Energy (E1)          13.37 Gj

ronaldvdmeer

comment created time in 2 months

issue openedronaldvdmeer/multical402-4-domoticz

Superfluous sensor reading

Thanks for your PyKamstrup port for Multical energy meters! When adapting this for influxdb, I noticed you are superfluously querying your energy meter, thus depleting the battery faster than needed (up to 30x more than needed).

You loop over all (30) multical variables here and query them, but only parse the ones issued on the command line (~1-2?), see: https://github.com/ronaldvdmeer/multical402-4-domoticz/blob/f6aa7b9351a0f37fa265f68b05417e01586851b0/multical402-4-domoticz.py#L315

To fix, only loop over command line variables or only query the sensor in the inner loop.

created time in 2 months

fork tvwerkhoven/multical402-4-domoticz

Script for reading Kamstrup Mutlical 402 (via IR) information and submit it to multiple virtualdevices in Domoticz

fork in 2 months

more