Skip to content

Instantly share code, notes, and snippets.

@bmxp
bmxp / Funktion_Wasserzaehler_auslesen.py
Created January 27, 2023 05:28
MBus Wasserzähler auslesen
#!/usr/bin/env python3
import serial
import meterbus
import time
from threading import Lock
address = 254
serialport = '/dev/ttyUSB0'
baudrate = 2400
@bmxp
bmxp / dlms.py
Last active December 20, 2021 15:02
DLMS Improvement
#!/usr/bin/env python3
# vim: set encoding=utf-8 tabstop=4 softtabstop=4 shiftwidth=4 expandtab
#########################################################################
# Copyright 2013 - 2015 KNX-User-Forum e.V. http://knx-user-forum.de/
# Copyright 2016 - 2021 Bernd Meiners Bernd.Meiners@mail.de
#########################################################################
#
# DLMS plugin for SmartHomeNG
#
# This file is part of SmartHomeNG.py.
@bmxp
bmxp / Demo.py
Last active August 18, 2019 20:03
Doctype Bug
import os, os.path
import random
import string
import cherrypy
class Demo(object):
@cherrypy.expose
@bmxp
bmxp / connection.py
Last active April 15, 2018 07:16
lib/connection.py
#!/usr/bin/env python3
#########################################################################
# Copyright 2013 Marcus Popp marcus@popp.mx
#########################################################################
# This file is part of SmartHomeNG. https://github.com/smarthomeNG//
#
# SmartHomeNG is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@bmxp
bmxp / Pydio_update.rst
Created January 12, 2018 09:17
How to update a Pydio Installation one by one (starting with 6.2.2)

How to update a Pydio Installation one by one

Pydio has an internal updater. I was however unlucky to find out that the upgrade from 6.2.2 to the latest version failed between 7.0.1. and 7.0.2. But I was lucky to have a backup so I did not have to repair but could just restore the whole machine.

So I decided, there must be a _more manual way to update just some steps. So here are my findings if anyone else got the same trouble.

If one enters the Settings and below the basic setting the plugin setting then the menu item action is found. Upon edit one can specify the update server.

@bmxp
bmxp / mitschnitt.log
Created August 25, 2017 11:37
Mitschnitt um PA zu programmieren
This file has been truncated, but you can view the full file.
---------------------------------------------------
knxd 0.14.18 (master)
ETS5 V 5.5.4 (Build 5.5.952.23148)
Siemens IP Interface N148 ( ETS lokale Adresse: 1.1.143 )
Neustart knxd mit -B log vor -b ipt: ... eingefügt
---------------------------------------------------
Aug 25 12:48:44 sh11 systemd[1]: Starting KNX Daemon...