Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PZEM-004T With A6 on Serial
#6
(09-02-2024, 06:31 PM)Techno Wrote:
I made a workaround hack, it is dumb but it works.
Used one of the relays in NO to break GPIO12. and on boot made a sequence so that it switches on (GPIO12 starts working after board has booted)
It ate one of the relay on board, i will wait for the admin for any advice


  on_boot:
    priority: 600  # Boot priority, ensure it happens after most components have started
    then:
      - delay: 10s
      - switch.turn_on: relay_3

I like that, unfortunately all my relays are used.

I think I have no choice but to use a UART to I2C bridge. see https://esphome.io/components/weikai.html
Reply


Messages In This Thread
PZEM-004T With A6 on Serial - by Techno - 09-02-2024, 01:56 PM
RE: PZEM-004T With A6 on Serial - by mikesloper - 09-02-2024, 03:19 PM
RE: PZEM-004T With A6 on Serial - by Techno - 09-02-2024, 06:31 PM
RE: PZEM-004T With A6 on Serial - by mikesloper - 09-03-2024, 01:37 PM
RE: PZEM-004T With A6 on Serial - by admin - 09-03-2024, 06:13 AM
RE: PZEM-004T With A6 on Serial - by mikesloper - 09-03-2024, 01:25 PM
RE: PZEM-004T With A6 on Serial - by Techno - 09-03-2024, 01:41 PM
RE: PZEM-004T With A6 on Serial - by admin - 09-03-2024, 11:47 PM
RE: PZEM-004T With A6 on Serial - by Techno - 09-12-2024, 05:52 PM
RE: PZEM-004T With A6 on Serial - by admin - 09-13-2024, 12:11 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)