This file contains hidden or 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
| /* | |
| * Example-Code that emulates a DS2502 - 1kbit EEPROM as a dell power supply | |
| * | |
| * Tested with | |
| * - dell notebook https://forum.pjrc.com/threads/33640-Teensy-2-OneWire-Slave | |
| * - DS9490R-Master, atmega328@16MHz as Slave | |
| * - Arduino ProMini clone | |
| * - esp8266 | |
| * | |
| * OneWire messaging starts when AC adapter is plugged to notebook, |
This file contains hidden or 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 | |
| import json | |
| from datetime import datetime | |
| print("Parsing input data...") | |
| records = json.load(open("./Takeout/Location History/Records.json"))['locations'] | |
| print("Done.") | |
| def convert_conn(record): |
This file contains hidden or 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
| alias: "[Washing] Done" | |
| description: "" | |
| trigger: | |
| - platform: numeric_state | |
| entity_id: sensor.washing_machine_power | |
| for: | |
| hours: 0 | |
| minutes: 0 | |
| seconds: 0 | |
| above: "500" |
This file contains hidden or 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
| #include <math.h> | |
| // connected to 'D+' pin on mini USB | |
| const int input_pin = 11; | |
| // connected to 'D-' pin on mini USB | |
| const int output_pin = 12; | |
| void setup() { | |
| // put your setup code here, to run once: | |
| Serial.begin(9600); |
This file contains hidden or 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
| substitutions: | |
| name: esphome-web-1dbf28 | |
| friendly_name: c3pico-therm-1dbf28 | |
| remote_sensor_entity_id: sensor.average_of_temperature_sensors | |
| esphome: | |
| name: ${name} | |
| friendly_name: ${friendly_name} | |
| min_version: 2024.6.0 | |
| name_add_mac_suffix: false |
OlderNewer