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
"""Dynamic DNS updater | |
""" | |
import sys | |
import base64 as _base64 | |
import argparse as _argparse | |
import json as _json | |
import logging as _logging | |
import http.server as _httpserver | |
# dnspython |
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
"""Simple module for reading temperature and humidity | |
from SHT30 sensor for micropython | |
it is a simplest version only for inspiration, | |
where is no checking availability of sensor | |
and no checking CRC of data | |
for waiting to measured data is used clock stretching | |
""" | |
def read(i2c, address=68): |
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
# macports path | |
if [ -d "/opt/local/bin" ] ; then | |
PATH="/opt/local/bin:$PATH" | |
fi | |
if [ -d "/opt/local/sbin" ] ; then | |
PATH="/opt/local/sbin:$PATH" | |
fi | |
# user path |