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
import requests | |
from bs4 import BeautifulSoup | |
import time | |
# your query as a parameter | |
search_term = "quasi-modo" # just "quasi-modo" with your search query | |
search_url = f"https://www.kleinanzeigen.de/s-suchanfrage.html?keywords={search_term}&categoryId=&locationStr=&locationId=0&radius=0&sortingField=SORTING_DATE&adType=&posterType=&pageNum=1&action=find&maxPrice=&minPrice=&buyNowEnabled=false&shippingCarrier=" | |
def scrape_kleinanzeigen(): | |
response = requests.get(search_url) |
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
template: | |
# Simply delete all the ones you don't want or which are zero. But you can also leave them all in, they will all be retrieved anyway | |
# In this case, in addition to the Zendure AIO, there is also an integrated shelly_em3. Attention: if you only have one aio2400, | |
# the all shelly_em3 sensor must be removed here and all sensors aio2400 should point to [0] instead of [1] | |
- sensor: | |
- name: "shelly_em3_id" | |
state: "{{ state_attr('sensor.zendure_device_infos', 'data')[0].id }}" | |
- name: "shelly_em3_deviceKey" | |
state: "{{ state_attr('sensor.zendure_device_infos', 'data')[0].deviceKey }}" |
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
version: "3.5" | |
services: | |
traefik: | |
image: traefik:latest | |
container_name: traefik | |
command: | |
- --api.insecure=true | |
- --providers.docker=true | |
- --providers.docker.exposedbydefault=false | |
- --entrypoints.web.address=:80 |
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
import requests | |
import json | |
import sys | |
import argparse | |
_strip = ['http://', 'https://', 'www'] | |
G = '\033[92m' | |
Y = '\033[93m' |
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
blueprint: | |
name: Sync TRV temperature for SEA802-Z01 | |
description: Sync external temperature sensor with TRV temperature for SEA802-Z01 with a temp-calibration range of -6 to +6. | |
domain: automation | |
input: | |
ieeeaddressoftrv: | |
name: IEEE Address | |
description: This is the address of the TRV found in your zigbee database. Example 0x459877fffe1f2e83 | |
external_temp: | |
name: Select the external temp sensor |