Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

Gina

Beyond the Event Horizon
  • Posts

    45,326
  • Joined

  • Last visited

  • Days Won

    120

Posts posted by Gina

  1. I have another problem.  Can't upload sketch to ESP32.  Tried cold rebooting Mint box but still the same.

    Quote

    Arduino: 1.8.10 (Linux), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, None"

    Sketch uses 702242 bytes (53%) of program storage space. Maximum is 1310720 bytes.
    Global variables use 40120 bytes (12%) of dynamic memory, leaving 287560 bytes for local variables. Maximum is 327680 bytes.
    python /home/gina/.arduino15/packages/esp32/tools/esptool_py/2.6.1/esptool.py --chip esp32 --port /dev/ttyS0 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 /home/gina/.arduino15/packages/esp32/hardware/esp32/1.0.4/tools/partitions/boot_app0.bin 0x1000 /home/gina/.arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/bin/bootloader_qio_80m.bin 0x10000 /tmp/arduino_build_240309/MQTT_test_ESP32_and_BME280.ino.bin 0x8000 /tmp/arduino_build_240309/MQTT_test_ESP32_and_BME280.ino.partitions.bin
    esptool.py v2.6
    Serial port /dev/ttyS0
    Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
    _

    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    edit - Yes, I did press the BOOT button!

    Tried it with 2 ESP32s.

    HELP - please.

  2. Nearly all my MQTT system deals with just useful information and you can see when it doesn't arrive.  The only control I'm using it for is opening and closing the obsy roof and I have status feedback to check the command I've sent has worked.  Also, I can see the obsy from my living room windows.  (With lantern at night.)  The status will return various messages depending on the state of the roof.

    • Opening
    • Open
    • Closing
    • Closed
    • Stopped
    • Fault

    All these fit in my standard 8 character message strings.

    • Like 2
  3. QoS 2 should virtually guarantee that a message gets through (providing everything is working, or course) though nothing is infallible.  Where i'm relying on control to keep expensive equipment safe (such as ROR) I shall keep control local as far as possible.  eg. with the ROR control, the rain detector will connect directly to the ESP32 controlling the motor - not rely on MQTT.

     

    • Like 2
  4. I plan to go with the Node-RED Dashboard for the time being - "pretty" can come later if I feel like bothering.  One thing I would like in a dashboard is a wind rose or a 360 degree pointer to show wind direction.  I do have plans for a mechanical wall display for weather conditions though to build eventually.  Showing wind direction in compass points will do for a start - ATM I have nothing for wind display and as they say "anything is better than nothing" 😁

  5. I'm trying to use the Node-RED web interface to set other controls and see what happens.  Previously I've just been following the tutorial bit by bit - sort of "blind".  The whole point of it is to be able to set up topics etc. and link clients so I shall need to see how it works if I'm to use it in the future to expand the network,  once learned it should be easier and quicker than writing code I would think.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.