原创 vs2017 vs2019 安裝 ArcEngine10.4

找到計算機\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\12.0 新建字符串  InstallDir   ShellFolder 分別添加安裝路徑 C:\P

原创 espeasy 加入Homeassistan,通過MQTT控制GPIO

首先要在homeassistant中配置conguration.yaml文件,開啓mqtt服務器。 mqtt: password: hello 接下來開始配置espeasy。 1.點擊Controllers,Edit。填入homea

原创 樹莓派3b+刷openwrt固件,做無線路由。樹莓派3b+做無線路由。

1.輸入樹莓派地址,進入管理頁面後,點擊Interface。 2.選擇LAN點擊edit進入編輯頁面。(這裏用LAN是不符合規範的,正常應該是WAN口,由於做演示,我就不改了。) 3.隨便設置一個固定的ip地址,注意不要和光貓的ip相

原创 esphome 配置dht11,接入homeassistant顯示溫溼度狀態。esphome dht11

1.在esphome裏面加入如下配置代碼。 sensor: - platform: dht pin: GPIO23 temperature: name: "Living Room Temperature"

原创 esp32-cam刷入esphome 的方法,esp32 cam使用方法

  1.刷機前把GPIO0接到GND,按rst鍵,重啓,用官方的刷機工具清除原來的固件。工具如下 esp32說明文件 2.在esphome裏面加入如下配置 esp32_camera: name: cam external_

原创 使用Arduino開發ESP32,arduino 安裝esp32 速度慢

方法一 1.下載安裝Arduino IDE 1.8.10 2.Arduino IDE中添加ESP32開發板數據: 安裝完成後選擇:文件>首選項>附加開發板管理器網址 中加入Arduino for esp8266的地址 https://dl

原创 avrdude: stk500v2_ReceiveMessage(): timeout, arduino mega2560 上傳出錯; arduino nano刷bootload後上傳出錯

avrdude: stk500v2_ReceiveMessage(): timeout 此方法適用於其他各型號Arduino   1.將C:\Program Files (x86)\Arduino\hardware\arduino\avr

原创 物聯卡上傳數據到onenet ---- GA6-B 電話卡模塊連接onenet

按順序輸入如下命令 輸入1A之前輸入JSON內容如下 POST /devices/XXXXXX/datapoints HTTP/1.1 api-key:XXXXXX Host:api.heclouds.com Content-Leng

原创 Cannot open: No such file or directory的解決方法

bz2: Cannot open: No such file or directory     根本原因就是解壓的文件需要填寫完整目錄  

原创 c#帶cookie 的get請求

private string HttpGetData(string url, string cookies) { HttpWebRequest myRequest = (HttpWebRequ

原创 win10快速系統修復,,Dism命令檢查和修復系統映像文件

  secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

原创 arcgis安裝後沒有菜單欄和工具欄,,,arcgis10.7安裝後沒有菜單欄

如果出現上面這種情況,打開此目錄 C:\Users\username\AppData\Roaming\esri\Desktop10.x\ArcMap\Templates(Users爲計算機用戶名,自行修改) 找到Normal.mxt文件

原创 ubuntu如何安裝最新版esphome ,如何安裝esphome

  1.sudo apt install python3.8 2.sudo apt install python3-pip 3.sudo pip3 install esphome -i https://pypi.tuna.tsing

原创 esphome的初步使用,點亮esp32的板載小燈

    esphome:   name: test1   platform: ESP32   board: nodemcu-32s wifi:   ssid: "xxxxxx"      //這裏填寫的是想讓esp32接入的wifi  

原创 pip3更換國內資源

首先在當前用戶目錄下建立文件夾.pip,然後在文件夾中創建pip.conf文件,再將源地址加進去即可。 mkdir ~/.pip vim ~/.pip/pip.conf 然後將下面這兩行復制進去就好了 [global] index-u