From Wiki for Dragino Project https://web.archive.org/web/20220130061354/https://wiki.dragino.com/index.php?title=Lora/GPS_HAT
The Error
[SYCL-GRAPH] Exception when updating graph, Cannot update using a graph with a different topology. Mismatch found in the number of nodes.
Root Cause
SYCL command graphs can only be updated (via update()) if the new graph has the exact same topology as the cached one—same number of nodes, same kernel types, same execution order. Parameter values (buffer pointers, scalar arguments) can differ, but structure cannot.
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-95b0c8 | |
| friendly_name: ESPHome Web 95b0c8 | |
| esphome: | |
| name: ${name} | |
| friendly_name: ${friendly_name} | |
| min_version: 2024.6.0 | |
| name_add_mac_suffix: false | |
| platformio_options: |
https://autensdirect.com/2022/03/09/ht625b-anemometer-software-download/
========================== Summary =========================
Vendor ID : 0x1A86 (Nanjing Qinheng Microelectronics Co., Ltd.)
Product ID : 0x7523
USB Version : 1.1
Port maximum Speed : High-Speed
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
| { | |
| /* based on https://github.com/helium/sx1302_hal/blob/helium/hotspot/packet_forwarder/global_conf.json.sx1250.AU915 and https://github.com/TheThingsNetwork/gateway-conf/blob/master/AU-global_conf.json */ | |
| "SX1301_conf": { | |
| "lorawan_public": true, | |
| "clksrc": 1, | |
| "clksrc_desc": "radio_1 provides clock to concentrator for most devices except MultiTech. For MultiTech set to 0.", | |
| "antenna_gain": 0, | |
| "antenna_gain_desc": "antenna gain, in dBi", | |
| "radio_0": { | |
| "enable": true, |
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 json | |
| from datetime import datetime | |
| import requests | |
| import paho.mqtt.client as mqtt | |
| from datetime import datetime | |
| import json | |
| import traceback | |
| last_weather = None |
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 bme680 | |
| # import context # Ensures paho is in PYTHONPATH | |
| import paho.mqtt.publish as publish | |
| import time | |
| import platform | |
| hostname = platform.node() | |
| sensor = bme680.BME680() | |
| sensor.set_humidity_oversample(bme680.OS_2X) |
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
| # gdalinfo aus_for18_publish/aus_for18 -nogcp -nomd -noct -nofl | grep "<.*>" | |
| # gdalwarp --config GDAL_CACHEMAX 10096 -multi -of GTiff -co "TILED=YES" -co "TFW=YES" -co BIGTIFF=YES -co COMPRESS=PACKBITS aus_for18 aus_for18.tiff | |
| import xml.etree.ElementTree as ET | |
| rat = ET.parse('rat.xml').getroot() | |
| headers = [defn.find('Name').text for defn in rat.findall('FieldDefn')] | |
| grouped_data = {} | |
| id_to_label = {} | |
| max_value = 0 | |
| id_var = 'VALUE' |
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
| # Python | |
| import time | |
| import logging | |
| import argparse | |
| import os | |
| import sys | |
| import numpy as np | |
| import subprocess | |
| import dothat.backlight as backlight | |
| import dothat.lcd as lcd |
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
| <?xml version="1.0" encoding="ISO-8859-1"?> | |
| <StyledLayerDescriptor version="1.0.0" | |
| xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" | |
| xmlns="http://www.opengis.net/sld" | |
| xmlns:ogc="http://www.opengis.net/ogc" | |
| xmlns:xlink="http://www.w3.org/1999/xlink" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <!-- a Named Layer is the basic building block of an SLD document --> | |
| <NamedLayer> | |
| <Name>default_raster</Name> |
NewerOlder