Skip to content

Instantly share code, notes, and snippets.

@SimedruF
SimedruF / platform_OpenMQTTGateway_RelayControl.ini
Created May 20, 2022 08:53
platform_OpenMQTTGateway_RelayControl.ini
[env:esp32_relayONOFF-basic]
platform = ${com.esp32_platform}
board = esp32dev
upload_speed = 115200
board_build.partitions = min_spiffs.csv
lib_deps =
${com-esp.lib_deps}
${libraries.wifimanager32}
build_flags =
${com-esp.build_flags}
@SimedruF
SimedruF / ArduinoNano_Every_fishd_dispenserPIO.ino
Created May 15, 2022 07:09
ArduinoNano_Every_fishd_dispenserPIO.ino
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
@SimedruF
SimedruF / platformio_arduino_nano_every.ini
Created May 15, 2022 06:58
platformio_arduino_nano_every.ini
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
@SimedruF
SimedruF / sensors_template.yaml
Created April 8, 2022 14:31
sensors_template.yaml
- platform: template
sensors:
window_state:
friendly_name: "Window State"
unit_of_measurement: "State"
entity_id: sensor.window_state
value_template: >-
{% set mapper = {
'5' : 'Open',
'9' : 'Closed'
@SimedruF
SimedruF / ATTiny85_WindowOpen_platformio.ini
Created March 20, 2022 14:13
ATTiny85_WindowOpen_platformio.ini
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
@SimedruF
SimedruF / ATMega2560_WindowOpenReceiver_platformio.ini
Created March 20, 2022 14:10
ATMega2560_WindowOpenReceiver_platformio.ini
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
@SimedruF
SimedruF / ATTiny85_WindowOpen.ino
Created March 20, 2022 14:00
ATTiny85_WindowOpen.ino
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
@SimedruF
SimedruF / ATMega2560_WindowOpenReceiver.ino
Created March 20, 2022 13:54
ATMega2560_WindowOpenReceiver.ino
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
@SimedruF
SimedruF / sensors.yaml
Created March 13, 2022 10:30
CPU and GPU temperature
- platform: command_line
name: CPU Temperature
command: 'cat /sys/class/thermal/thermal_zone1/temp'
unit_of_measurement: '°C'
value_template: '{{ value | multiply(0.001) | round(1) }}'
- platform: command_line
name: GPU Temperature
command: 'cat /sys/class/thermal/thermal_zone2/temp'
unit_of_measurement: '°C'
@SimedruF
SimedruF / ESP32CAM_VideoStreamingWebServer.ino
Last active March 6, 2022 13:52
ESP32CAM_VideoStreamingWebServer.ino
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.