Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. jrossouw
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Best 0
    • Groups 0

    jrossouw

    @jrossouw

    0
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jrossouw Unfollow Follow

    Latest posts made by jrossouw

    • T-Zigbee motion alarm and measure voltage

      Hi,

      I am building a custom Zigbee device and trying to send a motion alarm and voltage measurement report using the zbhci_ZclSendReportCmd command. I am using clusters IAS Zone (0x0500) and Electrical Measurement (0x0B04) for that, but not sure what the data structure should look like. I assume i need to send some kind of a stuct (ZCL_DATA_TYPE_STRUCT or ZCL_DATA_TYPE_ARRAY). Any help will be appreciated.

      posted in Technical Discussion
      J
      jrossouw
    • RE: T-Zigbee OSX Development

      @jrossouw Figured it out - the serial speed was wrong. Changed it to 115200 and now it is working.

      posted in Build environment
      J
      jrossouw
    • T-Zigbee OSX Development

      Hi,

      I am brand new to the LILIGO platform and have a few questions. I have a few LILGO T-Zigbee devices which I purchased to make my own Zigbee sensors. I have managed to configure my Adruino IDE to compile some sample code for the ESP32, but the upload is not working - log attached below.

      Also where can i find the zbhci library for Arduino IDE?

      I have also attempted to set up Visual Studio with the PlatformIO plugin - the compiler works, but I am not sure how to upload the binary.

      Sketch uses 854694 bytes (65%) of program storage space. Maximum is 1310720 bytes.
      Global variables use 39212 bytes (11%) of dynamic memory, leaving 288468 bytes for local variables. Maximum is 327680 bytes.
      "/Users/johanr/Library/Arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool" --chip esp32c3 --port "/dev/cu.usbserial-56770013341" --baud 921600  --before default_reset --after hard_reset write_flash  -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 "/private/var/folders/1b/ml884x4s5xs35q3wsc5pwj200000gn/T/arduino/sketches/80664C528B835C6BE2428DCD6219C480/lilygo-test.ino.bootloader.bin" 0x8000 "/private/var/folders/1b/ml884x4s5xs35q3wsc5pwj200000gn/T/arduino/sketches/80664C528B835C6BE2428DCD6219C480/lilygo-test.ino.partitions.bin" 0xe000 "/Users/johanr/Library/Arduino15/packages/esp32/hardware/esp32/2.0.11/tools/partitions/boot_app0.bin" 0x10000 "/private/var/folders/1b/ml884x4s5xs35q3wsc5pwj200000gn/T/arduino/sketches/80664C528B835C6BE2428DCD6219C480/lilygo-test.ino.bin" 
      esptool.py v4.5.1
      Serial port /dev/cu.usbserial-56770013341
      Connecting....
      Chip is ESP32-C3 (revision v0.3)
      Features: WiFi, BLE
      Crystal is 40MHz
      MAC: 60:55:f9:82:61:4c
      Uploading stub...
      Running stub...
      Stub running...
      Changing baud rate to 921600
      Changed.
      
      A fatal error occurred: Unable to verify flash chip connection (No serial data received.).
      Failed uploading: uploading error: exit status 2
      
      posted in Build environment
      J
      jrossouw