[-]
Szybkie szukanie


Baner sklepu jdtech.pl
Odpowiedz 
 
Ocena wątku:
  • 0 Głosów - 0 Średnio
  • 1
  • 2
  • 3
  • 4
  • 5
CC2531 flashowanie i współpraca z HA
22-02-2020, 18:17
Post: #2
RE: Home Assistant (Hass.io) - ogromne możliwości integracji ID
W sumie nie wiem czy mogę linkować czy nie ale spróbuję jeszcze raz, ja flashowałem sniffera wg np tego tutka: https://lemariva.com/blog/2019/07/zigbee...c-debugger poza nim jest mnóstwo podobnych, nawet p polsku. Wszytko sprowadza sie do podlutowania kabelków do pinów snifera i podłaczenia ich do RPI lub innego podobnego ustrojstwa wyposażonego w GPI - oczywiscie w w takim Odroidzie kabelki woga wyjsć w innym miejscu - czujność niezbędna. Potem tego sniefera WPINA SIĘ DO GNIAZDA USB TEGO SAMEGO RPi w celu zasilenia go podczas flashowania. Potem lecimy wg tutka:


1.On the Raspberry Pi, check if you have already installed Wiring Pi typing: gpio -v in the terminal. If not
Kod:
sudo apt-get install wiringpi
2.Clone the jmichault/flash_cc2531 repository typing the following:
Kod:
git clone https://github.com/jmichault/flash_cc2531.git
3.Go inside the flash_cc2531 folder and check if the Zigbee-USB dongle is wired correctly and if it's identified:
Kod:
cd flash_cc2531
    ./cc_chipid
You should see ID=b524. If you get any other text (e.g. 0000 or ffff), re-check your wiring.
4.Download the latest firmware from Koenkk/Z-Stack-firmware.
Kod:
wget https://github.com/Koenkk/Z-Stack-firmware/archive/master.zip
    unzip Z-Stack-firmware-master.zip
    # (**)
    cd Z-Stack-firmware-master/coordinator/Z-Stack_Home_1.2/bin/default/
    # (*)
    unzip CC2531_DEFAULT_<<yyyymmdd>>.zip
5.Erase the CC2531 flash with
Kod:
./cc_erase
6.Flash the firmware using
Kod:
./cc_write /path/to/CC2531ZNP-Prod.hex
. This will take about 3 min.
7.Disconnect the wires/adapter and reboot the Raspberry Pi

Od i cała filozofia, najdłużej schodzi z lutowaniem pinów. Można jeszcze flashować z poziomu programatora ale go nie mam wieć nie ma czego żałować :-)
Znajdź wszystkie posty użytkownika
Podziękuj Odpowiedz cytując ten post
Odpowiedz 


Wiadomości w tym wątku
RE: Home Assistant (Hass.io) - ogromne możliwości integracji ID - jerzs - 22-02-2020 18:17


MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: './c1jdtech_forum/threadviews.MYI' (errno: 2 "No such file or directory")
Query:
INSERT INTO threadviews (tid) VALUES('5856')