migration progress

This commit is contained in:
coelner 2022-01-29 20:41:03 +01:00
parent ebb9ded5f9
commit 30ae6115ca
5 changed files with 158 additions and 42 deletions

14
DSLR.md
View File

@ -1,14 +0,0 @@
#DSLR
Kameratasche Pacsafe V9 Black Banane schwarz (x)
Graufilter (ND Filter)
Stativ
Quick strap hama
Festbrennweite 85mm 1.8
Teleobjekt
Nikon CF-N3000: Kamera-Einschlagtuch (-)
Polfilter Haida Pro II Digital Slim Polfilter Zirkular MC (x)
Gegenlichtblende/Sonnenblende PROFOX LH-73D 67mm (x)
Reinigungsutensilien (x)
Objektivbeutel
Bohnensack
Blitzschuhabdeckung (x)

13
archlinux.md Normal file
View File

@ -0,0 +1,13 @@
# Archlinux
### clean system from old files
```
paccache -r
paccache -ruk0
paccache -rk1
yay -Ycc
flatpak uninstall --unused
journalctl --disk-usage && journalctl --vacuum-size={size}M
```
or prepare the file`/etc/systemd/journald.conf` and this value:`SystemMaxUse=50M`

102
espLowPower.md Normal file
View File

@ -0,0 +1,102 @@
ESP32
ESP8266-32
Energy saving
https://github.com/z2amiller/sensorboard/blob/master/PowerSaving.md
https://tinker.yeoman.com.au/2016/05/29/running-nodemcu-on-a-battery-esp8266-low-power-consumption-revisited/
https://wtarreau.blogspot.de/2017/08/what-esp8266-modules-should-look-like.html
https://www.mikrocontroller.net/topic/385003
https://github.com/espressif/esp-iot-solution/blob/master/documents/touch_pad_solution/touch_sensor_design_en.md
Schoktty diode IN5817 | BAT43
connected RST--- >|---GPIO16
Sendeleistung reduzieren
/*ToDo Check this!
pinMode(D0, WAKEUP_PULLUP);
WiFi.setAutoConnect(false);
WiFi.setAutoReconnect(false);
WiFi.disconnect();
WiFi.mode(WIFI_OFF);
*/
Okay, to sum it up for Version 3.0.0 and 3.1.0:
1. UART is powered by 3.3V
2. Lift Pin16 (VCC) and Pin4 (V3)
3. Connect Pin16 to +V5 rail [or directly to VBUS, not tested yet]
4. Solder a capacitor between Pin1 (GND) and Pin4 (V3) 0.1µF
5. The M6211 has no reverse current protection! (use this instead RP108J or add a pMOSFET)
6. you get 3V on the +5V line while powering over 3.3V
7. I measured 76µA in deepsleep. (20µA ESP8266 Core, 40µA ME6211, 6µA CH340C ???)
8. completely stripped LDO leads to 17µA in deepsleep
9. Replace LDO with this MIC5219-3.3
mqtt/ESP8266
-ssl Zertifkat
-Einrichtung ACL/Benutzer
-Dokumentation und Erstellung Sicherheitskonzept
-SleepMode ESP8266, Intervall > 10 Min
http://iot-playground.com/download
Wetterstation:
TP4056 Laderegler - Nicht geeignet bei Solarpanel ( ggf. DD0503MA)
http://bienonline.magix.net/public/undsonst-boards.html
https://www.elektronik-kompendium.de/forum/forum_entry.php?id=235976&page=0&category=Computertechnik&order=time
http://www.hmsemi.com/downfile/DW01A.PDF
Sensoren:
Helligkeit: TSL2561
https://github.com/kriswiner/VEML6075/blob/master/VEML6075.basicexample.ino
BME680
Infrarot CO2 MH-Z19 Sensor
https://forum.mysensors.org/topic/6952/veml6070-and-veml6075-uv-sensors/29
SI1145 Light, UVI
https://www.basti79.de/mediawiki/index.php/MQTT_-_Daten_sammeln_und_auswerten
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Mosquitto MQTT server on %h</name>
<service>
<type>_mqtt._tcp</type>
<port>1883</port>
<txt-record>info=A MQTT PubSub service! mqtt.org</txt-record>
</service>
</service-group>
OTA
advanced web server (zusätzlich https, LuCi Integration)
https://github.com/seamustuohy/luci_tutorials/blob/master
https://wiki.openwrt.org/doc/uci/uhttpd#embedded_lua
http://jeelabs.org/book/1526e/
http://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html
http://www.whatimade.today/esp8266-on-websockets-mdns-ota-and-leds/
http://bakke.online/index.php/2017/06/02/self-updating-ota-firmware-for-esp8266/
Übersicht:
Meteogram (https://github.com/avaldebe/AQmon)
Spannungsabhängige Messwertübermittlung
Aktuelle Werte: Uhrzeit der letzten Werte, Indikator Lüften, Luftdrucktendenz, Hitzeindex, gefühlte Hitze
Sensor draußen: Temperatur, Luftfeuchtigkeit, \[Batterie-Spannung farbliche Unterlegung]
Sensor drinnen: Temperatur, Luftfeuchtigkeit, Staub, CO², Luftgüte
http://www.loxwiki.eu/display/LOX/Absolute+Luftfeuchtigkeit+berechnen
Erweiterte Ansicht:
Übersicht:
Temparatur/Feuchtigkeit (24h, Max, Min, Durchschnitt, Sonnenaufgang/Untergang)
Temparatur/Feuchtigkeit (31d, Max, Min, Durchschnitt, Sonnenaufgang/Untergang)
Temperatur (31d, Temperaturverlauf Säulendiagramm, farbig siehe http://www.bralug.de/wiki-common/images/e/e6/Heatmap_temperature.png)
https://www.stall.biz/project (Sonnenstand)
Luftdruck (24h, aktuell, Normalhöhe, Sonnenaufgang/Untergang)
Sensor draußen: Absolute Feuchtigkeit
Sensor drinnen: Absolute Feuchtigkeit
Almanach / Astronomische Daten
Prognose:
Tendenz: Barometerverlauf (24h)
Morgen:
Übermorgen:

31
gnuk.md
View File

@ -1,28 +1,14 @@
##Gnuk
Passport-opensc: https://javacardos.com/tools/passport
Passport-opensc:[ https://javacardos.com/tools/passport]( https://javacardos.com/tools/passport)
Black pill pin : https://user-images.githubusercontent.com/13839872/43411278-5f35afd8-9432-11e8-9385-cdd8d3db298d.png
SECG/Koblitz https://github.com/yinheli/koblitz
https://hackaday.io/project/162597/logs
the page mentioning a single free PA pin, the PA5. All other Pins seems to be PBs.
However, chopstx defines the boards and the ack-button. That leads to two places where to patch things. Within the boards definition where is a comments segment, afterwards somehow a pin definition.
* PA5 - input with pull-up: switch output
#define VAL_GPIO_LED_ODR 0xFFFFE6FF <--need fix
ackbtn-stm32f103.c <--need fix
case BOARD_ID_ST_DONGLE:
/* PA5 can be connected to a hall sensor or a switch */
afio_exticr_index = 0;
afio_exticr_extiX_pY = AFIO_EXTICR2_EXTI5_PA;
irq_num = EXTI9_5_IRQ;
pin_config = 0x0020; /* EXTI_PR_PR5 == EXTI_IMR_MR5 == EXTI_RTSR_TR5 */
pin_config |= PINCFG_EDGE_RISING;
break;
Black Pill change for LED, maybe backport to gnuk
https://github.com/gl-sergei/u2f-token/issues/9#issuecomment-408945987
[https://github.com/gl-sergei/u2f-token/issues/9#issuecomment-408945987](https://hackaday.io/project/162597/logs)
schematics
https://s14-eu5.startpage.com/cgi-bin/serveimage?url=https:%2F%2Fembdev.net%2Fwikifiles_en%2Fthumb%2F0%2F09%2FStlink-clone-pinout.JPG%2F800px-Stlink-clone-pinout.JPG&sp=d29ef3816d5c329afdec6221d7c4c7ca
[new] https://gist.github.com/rot42/cd6ff46be45f0b7d7cd461a7bcc14d79
@ -34,20 +20,15 @@ get random data from gnuk more than 32byte?
https://raw.githubusercontent.com/comio/comio-overlay/master/app-crypt/scdtools/files/scdrand.service
https://github.com/vletoux/OpenPGP-CSP/issues
https://incenp.org/dvlpt/scdtools.html
HID feature for more identities?
button backports?
KDF settings?
usb c
polarssl further used?
IC40UP5K (Fomu)
echo scd random 32 | gpg-connect-agent | xxd
-----------------
Nutzer PIN erst mit Zertifikat
adminless Modus mit PIN über 8 Zeichen, User Pin min 6 Zeichen PIN
---------UPGRADE-------------
---------UPGRADE----------—
```bash
koelner ~/src/gnuk/tool $./upgrade_by_passwd.py ../regnual/regnual.bin ../src/build/gnuk.bin
Admin password:
../regnual/regnual.bin: 4432
@ -87,7 +68,7 @@ koelner ~/src/gnuk/tool $./usb_strings.py
Revision: release/1.2.13-1-g3d06051-modified
Config: ST_DONGLE:dfu=no:debug=no:pinpad=no:certdo=yes:factory_reset=yes
Sys: 3.0
```
-------
https://github.com/gl-sergei/u2f-token

View File

@ -1,4 +1,38 @@
## (recharchable) power units
# remotes
# PC hardware
-
### remotes
- TV
- AV receiver
- MagicTV N5 box
- TRÄDFRI remote
- TRÄDFRI movement detector
### PC hardware
- Microsoft wireless keyboard
- logitech mouse
### IOT
- living room
- bath
- outdoor
- office
- kitchen
### misc
- xiaomi Mijia LYWSD03MMC
- torch light [18650]
- torch light [ 3x AAA]
- kitchen clock
- DAB+ radio
- bath clock
- ear medical thermometer x2
- medical thermometer
- medical light
- K Type thermometer
- AC detector
- multimeter
### eqipment
- multimeter
- oscilloscope
- LCR meter
- LCR meter tweezer
- electric screw driver
- UV light